OES10g - Getting a ClassNotFoundException: oracle.jdbc.driver.OracleDriver in Web Services SSM with Attribute Retriever Configured (Doc ID 1068462.1)

Last updated on SEPTEMBER 03, 2015

Applies to:

Oracle Entitlements Server - Version 10GR3 and later
Information in this document applies to any platform.

Symptoms

The Web Service SSM  system_console.log reports the following error

<1.0.0-SNAPSHOT-SNAPSHOT fatal store error> org.apache.openjpa.util.StoreException: oracle.jdbc.driver.OracleDriver
at org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:119)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:802)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:708)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:808)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource2(JDBCConfigurationImpl.java:815)
at org.apache.openjpa.jdbc.sql.OracleDictionary.ensureDriverVendor(OracleDictionary.java:235)
at kodo.jdbc.sql.OracleAdvancedSQL.setDriverVendorDefaults(OracleAdvancedSQL.java:50)
at kodo.jdbc.sql.OracleAdvancedSQL.getBatchLimit(OracleAdvancedSQL.java:28)
at kodo.jdbc.kernel.AutoOrderUpdateManager.setConfiguration(AutoOrderUpdateManager.java:56)
at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:418)
at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:375)
at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:102)
at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:79)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getUpdateManagerInstance(JDBCConfigurationImpl.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:282)
at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1413)
at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:547)
at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:497)
at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:120)
at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:88)
at kodo.jdo.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:478)
at com.bea.security.providers.authorization.asi.ARME.evaluator.RdbmsAttributeRetrieverImpl.getKodoPersistenceManager(RdbmsAttributeRetrieverImpl.java:280)
at com.bea.security.providers.authorization.asi.ARME.evaluator.RdbmsAttributeRetrieverImpl.getAttributeValue(RdbmsAttributeRetrieverImpl.java:156)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.getOrComputeVariable(BoolEvaluator.java:1336)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.computeCredVar(BoolEvaluator.java:1199)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.computeByBuiltInEvalFuncs(BoolEvaluator.java:1049)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.boolEvalRecursive(BoolEvaluator.java:960)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.boolEvaluate(BoolEvaluator.java:869)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.evaluateGrantDenyRoles(BoolEvaluator.java:1605)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.queryRoles(BoolEvaluator.java:1425)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.authEvalWorker(BoolEvaluator.java:375)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.authEval(BoolEvaluator.java:345)
at com.bea.security.providers.authorization.asi.ARME.evaluator.BoolEvaluator.authEval(BoolEvaluator.java:322)
at com.bea.security.providers.authorization.asi.ARME.engine.AuthorizationServer.queryAccess(AuthorizationServer.java:139)
at com.wles.arme.Credentials_ca.queryAccess(Credentials_ca.java:401)
at com.wles.arme.Credentials_ca._accessAllowed(Credentials_ca.java:295)
at com.wles.arme.CredentialsImpl._accessAllowed(CredentialsImpl.java:399)
at com.wles.arme.CachingCredentialsImpl._accessAllowed(CachingCredentialsImpl.java:275)
at com.wles.arme.CredentialsImpl.accessAllowed(CredentialsImpl.java:436)
at com.bea.security.providers.authorization.asi.AuthorizationProviderImpl.ARMEisAccessAllowed(AuthorizationProviderImpl.java:760)
at com.bea.security.providers.authorization.asi.AuthorizationProviderImpl.isAccessAllowed(AuthorizationProviderImpl.java:271)
at com.bea.security.providers.authorization.asi.AuthorizationProviderStub.isAccessAllowed(AuthorizationProviderStub.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy10.isAccessAllowed(Unknown Source)
at com.bea.common.security.internal.service.AccessDecisionServiceImpl.isAccessAllowed(AccessDecisionServiceImpl.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy11.isAccessAllowed(Unknown Source)
at com.bea.common.security.internal.service.AuthorizationServiceImpl.isAccessAllowed(AuthorizationServiceImpl.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:57)
at $Proxy13.isAccessAllowed(Unknown Source)
at com.bea.security.ssal.css.CSSAuthorizationManagerWrapper.isAccessAllowed(CSSAuthorizationManagerWrapper.java:81)
at com.bea.security.AuthorizationService.isAccessAllowed(AuthorizationService.java:732)
at com.bea.security.AuthorizationService.isAccessAllowed(AuthorizationService.java:542)
at com.bea.security.ssmws.authorization.SsmAuthorizationBindingImpl.isAccessAllowed(SsmAuthorizationBindingImpl.java:271)
at com.bea.security.ssmws.server.wsdl.AuthorizationBindingSkeleton.isAccessAllowed(AuthorizationBindingSkeleton.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:416)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at com.bea.security.scm.soap.AxisSoapEngine.invoke(AxisSoapEngine.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:92)
at $Proxy0.invoke(Unknown Source)
at com.bea.security.ssmws.server.handlers.SsmSoapHandler.handlePost(SsmSoapHandler.java:122)
at com.bea.security.scm.soap.JettySoapHandler.handle(JettySoapHandler.java:149)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:991)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms