000016814 - AAOP - Adaptive Authentication - Unable to get DB connection.

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000016814
Applies ToAAOP - 6.0.2.1 SP2 .
SUSE Linux 11
IBM WebSphere Version 6.1
Oracle 11g
JDBC driver ojdbc5.jar
IssueUnable to get DB connection in logs on start up of Adaptive Authentication
CauseThe following error appears in the specific Adaptive authentication Application log.  [server.startup : 0] [] [] [com.passmarksecurity.dao.util.DBConnectionFactory] - <Unable to get DB connection>
ResolutionDepending on the patch level of Web sphere being used it may be necessary to use the Oracle 10g DataStoreHelper. See this IBM article for full details: http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg21298347
Notes

User was unable to bring up the Adaptive Authentication.

2011-01-13 11:45:46,594 ERROR [server.startup : 0] [] [] [com.passmarksecurity.config.admin.ConfigTool] - <exception caught: exception loading the ApplicationContext for this configSpace PMRoot because: Error creating bean with name 'dataSource' defined in ConfigResource: Invocation of init method failed; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.reflect.InvocationTargetException]] ; Initilizing PassMark config context failed>
com.passmarksecurity.config.PassMarkConfigException: exception loading the ApplicationContext for this configSpace PMRoot because: Error creating bean with name 'dataSource' defined in ConfigResource: Invocation of init method failed; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is java.lang.reflect.InvocationTargetException]]
 at com.passmarksecurity.config.bean.ConfigSpace.loadApplicationContext(ConfigSpace.java:479)
 at com.passmarksecurity.config.bean.ConfigSpaceTree.loadApplicationContexts(ConfigSpaceTree.java:141)
 at com.passmarksecurity.config.configmanager.ConfigImpl.loadConfigSpaceTree(ConfigImpl.java:449)
 at com.passmarksecurity.config.configmanager.ConfigImpl.loadConfigSpaceTree(ConfigImpl.java:170)
 at com.passmarksecurity.config.admin.ConfigTool.load(ConfigTool.java:233)
 at com.passmarksecurity.servlet.support.AdaptiveAuthenticationInitializer.init(AdaptiveAuthenticationInitializer.java:90)
 at com.passmarksecurity.servlet.RsaContextLoaderListener.contextInitialized(RsaContextLoaderListener.java:65)
 at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:653)
 at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:370)
 at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:293)
 at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:93)
 at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:162)
 at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:673)
 at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:626)
 at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
 at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
 at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1250)
 at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1140)
 at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
 at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:819)
 at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:921)
 at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2100)
 at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
2011-01-13 11:45:46,718 ERROR [server.startup : 0] [] [] [com.passmarksecurity.dao.util.DBConnectionFactory] - <Unable to get DB connection>

Legacy Article IDa53652

Attachments

    Outcomes