My Oracle Support Banner

Encountered Java.lang.ClassNotFoundException: DSRA8000E: Java Archive (JAR) Or Compressed File (Doc ID 2724922.1)

Last updated on NOVEMBER 02, 2020

Applies to:

JDBC - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.0.2.0 version, Thin JDBC driver

While configuring Oracle JDBC in WebSphere the next error is reported.
If the ojdbc8.jar is included in the classpath, this problem is not reproduced.

ERROR
-----------------------


[10/27/20 15:27:16:982 UTC] 00004dab DataSourceCon E DSRA8040I: Failed to connect to the DataSource "<NAME>". Encountered java.lang.ClassNotFoundException: DSRA8000E: Java archive (JAR) or compressed files do not exist in the path or the required access is not allowed. Path: /opt/oracle/lib/ojdbc8.jar
  at com.ibm.ws.rsadapter.DSConfigurationHelper.createClassLoaderForHelper(DSConfigurationHelper.java:1420)
  at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2259)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
  at java.lang.reflect.Method.invoke(Method.java:508)
  at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:556)
  at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:484)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
  at java.lang.reflect.Method.invoke(Method.java:508)
  at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)
  at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
  at java.lang.reflect.Method.invoke(Method.java:508)
  at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)
  at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1263)
  at java.security.AccessController.doPrivileged(AccessController.jar
...

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.