Topic
2 replies Latest Post - ‏2013-04-22T17:56:04Z by AmitJain15
SystemAdmin
SystemAdmin
37426 Posts
ACCEPTED ANSWER

Pinned topic WAS7 with OJDBC14.jar issue

‏2013-02-21T22:11:47Z |
Hi All

After our application has been migrated into WAS7 from WAS6.1. we are facing java.lang.IllegalAccessException while connecting DB. it was working fine with WAS6.1 and OJDBC14.jar..after migrated part of my application is working fine with OJDBC6.jar in WAS7. I am not sure what is blocking me in WAS7 with OJDBC14.jar.. Can someone help me on this?

Error:
java.lang.IllegalAccessException: Class com.abc.Utils can not access a member of class oracle.jdbc.driver.OracleResultSet with modifiers "public"
Updated on 2013-02-22T13:38:14Z at 2013-02-22T13:38:14Z by Sunit
  • Sunit
    Sunit
    181 Posts
    ACCEPTED ANSWER

    Re: WAS7 with OJDBC14.jar issue

    ‏2013-02-22T13:38:14Z  in response to SystemAdmin
    Because the Java SDK version changes between WAS6 and WAS7 and you need oracle jdbc driver supporting the right version of SDK.

    --Sunit
  • AmitJain15
    AmitJain15
    6 Posts
    ACCEPTED ANSWER

    Re: WAS7 with OJDBC14.jar issue

    ‏2013-04-22T17:56:04Z  in response to SystemAdmin

    Plz use ojdbc6.jar

     

    Thanks

    Amit