- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem in Connecting to Oracle9i DB using Oracle9...
Operating System - HP-UX
1753971
Members
8049
Online
108811
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
10-11-2004 06:34 PM
10-11-2004 06:34 PM
Problem in Connecting to Oracle9i DB using Oracle9i JDBC OCI driver in HP-UX11.11
I can not able to connect to the Oracle9i DB using with 9i JDBC OCI driver.I was able to connect to the Oracle9i DB using 8i JDBC OCI driver. But it’s giving the following exception while i was trying to connect to the Oracle9i DB using 9i JDBC OCI driver class.
“ java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2382)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:496)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:365)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177) “
I have specified the PATH variable to 9i DB. export PATH=/opt/oracle/product/9.2.0/bin:$PATH
I have set the ORACLE_HOME pointing to the Oracle9i DB. And I have specified the 9i JDBC OCI driver classes into the CLASSPATH variable. Also I have made the SHLIB_PATH environment settings pointing the Oracle9i DB.
The following are the configuration settings.
Oracle home:
export ORACLE_HOME=/opt/oracle/product/9.2.0
Classpath:
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/
classes12.zip
Shared library path:
export SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/bin:$ORACLE_HOME/jdbc/lib:${SHLIB_PATH:-}
and the JDBC URL is jdbc:oracle:oci:@ORCL_SID
where ORCL_SID is the oracle9i DB.
Please let me know how can i resolve this
“ java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2382)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:496)
at oracle.jdbc.driver.OracleConnection.
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177) “
I have specified the PATH variable to 9i DB. export PATH=/opt/oracle/product/9.2.0/bin:$PATH
I have set the ORACLE_HOME pointing to the Oracle9i DB. And I have specified the 9i JDBC OCI driver classes into the CLASSPATH variable. Also I have made the SHLIB_PATH environment settings pointing the Oracle9i DB.
The following are the configuration settings.
Oracle home:
export ORACLE_HOME=/opt/oracle/product/9.2.0
Classpath:
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/
classes12.zip
Shared library path:
export SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/bin:$ORACLE_HOME/jdbc/lib:${SHLIB_PATH:-}
and the JDBC URL is jdbc:oracle:oci:@ORCL_SID
where ORCL_SID is the oracle9i DB.
Please let me know how can i resolve this
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:33 PM
10-12-2004 08:33 PM
Re: Problem in Connecting to Oracle9i DB using Oracle9i JDBC OCI driver in HP-UX11.11
Hi Siva,
Are you using Oracle E-Business Suite? If so, what's the value of FND_MAX_JDBX_CONNECTIONS?
If there is a firewall then check the timeout parameter set on by the firewall admin for idle connections.
See also Note 103313.1 from Metalink...
Best Regards,
Eric Antunes
Are you using Oracle E-Business Suite? If so, what's the value of FND_MAX_JDBX_CONNECTIONS?
If there is a firewall then check the timeout parameter set on by the firewall admin for idle connections.
See also Note 103313.1 from Metalink...
Best Regards,
Eric Antunes
Each and every day is a good day to learn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:41 PM
10-12-2004 08:41 PM
Re: Problem in Connecting to Oracle9i DB using Oracle9i JDBC OCI driver in HP-UX11.11
Hi Eric,
Thanks for your time.Got resolved the problem.The problem with NLS variable which has been pointing to 8i DB.I have unset the option and could able to connect to 9i using 9i JDBC OCI driver.
Thanks,
Siva
Thanks for your time.Got resolved the problem.The problem with NLS variable which has been pointing to 8i DB.I have unset the option and could able to connect to 9i using 9i JDBC OCI driver.
Thanks,
Siva
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP