Oracle Weblogic Server (MOSC)

MOSC Banner

weblogic 10.3 not using WEB-INF/lib jdbc driver

edited Jun 5, 2009 6:12AM in Oracle Weblogic Server (MOSC) 2 commentsAnswered
 why i am getting exception even i have ons in classpath.
java.lang.NoClassDefFoundError: oracle/ons/ONS
at oracle.jdbc.pool.OracleConnectionCacheManager$1.run(OracleConnectionCacheManager.java:250)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleConnectionCacheManager.java:242)
.....................................
....................................

i have two jars in classpath ojdbc6_g.jar, ons.jar.

Putting ons.jar in weblogic classpath (editing setDomainEnv.sh) works perfectly.
I suspect Weblogic is loading its own jdbc driver jar. Weblogic does not complain about jdbc driver Even removing ojdbc6_g.jar from deployed service library(WEB-INF/lib).

I am implementing oracle failover connection in service of axis2 1.3 which is deployed in oracle weblogic server 10.3.0.0(used jdk instead of jrockit).

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center