GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- JDBC connection (broken pipe)
Operating System - HP-UX
1856472
Members
3638
Online
104113
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 05:54 PM
04-22-2003 05:54 PM
JDBC connection (broken pipe)
i need help..
when i tested the below source, there was the following error.(broken pipe)
is there a person who knows about this problem..?
thanks in advance..
373-th connected
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092608)
(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12547)(EMFI=4))
(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=517)(EMFI=4))(ERROR=(BUF='HPUX Error: 32: Broken
pipe'))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:184)
-----connect test source------
/* JDBC
java.sql.Connection(the number of process of ORACLE init.ora) */
import java.util.*;
import java.sql.*;
public class DbMaxConnTest
{
public static int MAX=10000;
public static void main(String[] args)
throws Exception
{
Class.forName("oracle.jdbc.driver.OracleDriver");
Vector conns = new Vector();
try
{
for(int i=0 ; i< MAX; i++) {
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@server:1531:ORACLE_SID", "user", "*****");
conns.addElement(conn);
System.out.println((i+1) + "-th connected");
}
}
catch(Exception e)
{
e.printStackTrace();
}
finally
{
Enumeration enum = conns.elements();
while(enum.hasMoreElements())
{
Connection conn = (Connection)enum.nextElement();
try { conn.close();}catch(Exception e){}
}
}
}
}
when i tested the below source, there was the following error.(broken pipe)
is there a person who knows about this problem..?
thanks in advance..
373-th connected
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092608)
(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12547)(EMFI=4))
(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=517)(EMFI=4))(ERROR=(BUF='HPUX Error: 32: Broken
pipe'))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:184)
-----connect test source------
/* JDBC
java.sql.Connection(the number of process of ORACLE init.ora) */
import java.util.*;
import java.sql.*;
public class DbMaxConnTest
{
public static int MAX=10000;
public static void main(String[] args)
throws Exception
{
Class.forName("oracle.jdbc.driver.OracleDriver");
Vector conns = new Vector();
try
{
for(int i=0 ; i< MAX; i++) {
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@server:1531:ORACLE_SID", "user", "*****");
conns.addElement(conn);
System.out.println((i+1) + "-th connected");
}
}
catch(Exception e)
{
e.printStackTrace();
}
finally
{
Enumeration enum = conns.elements();
while(enum.hasMoreElements())
{
Connection conn = (Connection)enum.nextElement();
try { conn.close();}catch(Exception e){}
}
}
}
}
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2003 09:02 PM
04-22-2003 09:02 PM
Re: JDBC connection (broken pipe)
hi,
is this a duplicate post?
see:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfb7038dfa974d711abdc0090277a778c,00.html
regards
Yogeeraj
is this a duplicate post?
see:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfb7038dfa974d711abdc0090277a778c,00.html
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP