Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC Datasource connection failure from WAS6.0

558024Jan 24 2007 — edited Jan 24 2007
I am using Websphere Application Server 6.0 and trying to create a JDBC Datasource (Connection Pool flavor) to connect to Oracle 10g Express. I have supplied what I THINK is the correct URL (guessing at the port and service) and credentials (verified through SQL Plus). I am getting an error message. All details are below. Please advise:

Oracle version information:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production

Data store helper: Oracle 10g data store helper
URL: jdbc:oracle:thin:@//localhost:1521/XE (I assumed the default port, and service=XE from the Oracle admin web console parameters)

JAR file: ojdbc14.jar, referenced by WAS in Oracle 10g installation directory.

Error:
Failed to connect to the DataSource. Encountered "": java.lang.LinkageError: Class oracle/net/ns/Packet violates loader constraints: definition mismatch between parent and child loaders
at oracle.net.ns.NSProtocol.connect(Unknown Source)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:844)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:157)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:94)
at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1012)

stack trace continues....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2007
Added on Jan 24 2007
1 comment
348 views