DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

exception: java.lang.ClassNotFoundException: DSRA8000E: Java archive (JAR) or compressed files do not exist in the path or the required access is not allowed. Path: /ojdbc6.jar.

February 23, 2018 DbAppWeb Admin

I have installed WebSphere Application Server 8.5 on a new RHEL 6.8 server. After WAS installation I created the data source but when I tried to test the database connection for this data source it becomes failed with the message given below.

Problem

I got the below error message while performing Test Connection for a newly created data source.

Messages
The test connection operation failed for data source CRISDATASOURCE on server nodeagent at node PCPEPSRAPPNode01 with the following exception: java.lang.ClassNotFoundException: DSRA8000E: Java archive (JAR) or compressed files do not exist in the path or the required access is not allowed. Path: /ojdbc6.jar. View JVM logs for further details.

01 test connection operation failed for data source

01 test connection operation failed for data source

Reason

The connection failed because ORACLE_JDBC_DRIVER_PATH was not set in the WebSphere variables. The path was not set due to which jar file ojdbc6.jar (required for connection) was not accessible.

 

Solution

  • Log in to WebSphere Integrated Solutions Console as admin user and go to Environment >> WebSphere Variables. 

    02 test connection operation failed for data source

    02 test connection operation failed for data source

  • Select the scope from the dropdown as Cell/Node and search for the variable ORACLE_JDBC_DRIVER_PATH.

    03 test connection operation failed for data source

    03 test connection operation failed for data source

  • Click on variable name ORACLE_JDBC_DRIVER_PATH and assign the value /opt/IBM/WebSphere/AppServer/universalDriver/lib to this variable.

    04 test connection operation failed for data source

    04 test connection operation failed for data source

  • If variable ORACLE_JDBC_DRIVER_PATH is not available under a scope then create the variable and assign the value.
  • Click on Apply button and review it.

    05 test connection operation failed for data source

    05 test connection operation failed for data source

  • Click on the OK button.

    06 test connection operation failed for data source

    06 test connection operation failed for data source

  • Now go to data sources and run the Test Connection it will be successful.

    07 test connection operation failed for data source

    07 test connection operation failed for data source

Note: I faced the above problem on WebSphere Application Server 8.5 while trying to connect the Oracle Database 11g.

Prev Article
Next Article
Tags:Linux Sys Admin WAS Websphere Application Server (WAS)

One Response

  1. Viji

    Helped me to solve the issue. Thanks

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com
 

Loading Comments...