Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Problem Connecting to Oracle from JRE 1.5.0_01
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tobias Besch  
View profile  
 More options Jan 21 2005, 2:54 am
Newsgroups: comp.lang.java.databases
From: Tobias Besch <m...@privacy.net>
Date: 21 Jan 2005 07:54:25 GMT
Local: Fri, Jan 21 2005 2:54 am
Subject: Problem Connecting to Oracle from JRE 1.5.0_01
My Java application accesses an Oracle database via JDBC.
The Connection is established by the getConnection() method of a
OracleDataSource object.
This worked fine on all PCs with JRE 1.4.2.
With JRE 1.5.0_01 it doesn't work on some PCs while it still does on
most.
On those PCs where it doesn't work with JRE 1.5.0_01 it still does
work with JRE 1.4.2.
Where it doesn't work with JRE 1.5.0_01 the following SQLException is
thrown:

java.sql.SQLException: E/A-Exception: The Network Adapter could not
establish the connection
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
 at oracle.jdbc.ttc7.TTC7Protocol.handleIOException
(TTC7Protocol.java:3649)
 at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353)
 at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:368)
 at oracle.jdbc.driver.OracleDriver.getConnectionInstance
(OracleDriver.java:549)
 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:349)
 at oracle.jdbc.pool.OracleDataSource.getConnection
(OracleDataSource.java:169)
 at oracle.jdbc.pool.OracleDataSource.getConnection
(OracleDataSource.java:105)
 at bdv2.components.sqlutilities.ConnParam.getConnection
(ConnParam.java:143)
 at bdv2.menu.BdvMenu.connect(BdvMenu.java:145)
 at bdv2.menu.BdvMenu.<init>(BdvMenu.java:118)
 at bdv2.menu.BdvMenu.main(BdvMenu.java:137)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.sun.javaws.Launcher.executeApplication(Unknown Source)
 at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
 at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
 at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
 at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
 at com.sun.javaws.Launcher.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

Any suggestions?

Cheers,
    Tobias


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google