My Oracle Support Banner

OPSS - Unable To Start Application Due To JDBC Connection Error (Doc ID 1549780.1)

Last updated on APRIL 21, 2021

Applies to:

Oracle Platform Security for Java - Version 11.1.1.6.0 to 12.2.1.4.200724 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

Unable to startup application due to JDBC connection error. 

<BEA-101216> <Servlet: "AgentServlet" failed to preload on startup in Web application: "<APPLICATION>".
ODI-1400: Agent OracleDIAgent start failure: JDBC connection error occurs while connecting to the <PRIMARY> repository.
Caused by: java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=<MAPNAME>,keyName=<KEYNAME> read)
 at oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:345)
 at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:239)
 at javax.servlet.GenericServlet.init(GenericServlet.java:242)
 at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
.................
Caused By: java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=<MAPNAME>,keyName=<KEYNAME> read)
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
 at java.security.AccessController.checkPermission(AccessController.java:546)
 at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:458)
 at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:518)
 at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:544)
 at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:644)
 at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:430)
 at oracle.odi.runtime.agent.support.JPSCredentialProvider$1.run(JPSCredentialProvider.java:44)
 at oracle.odi.runtime.agent.support.JPSCredentialProvider$1.run(JPSCredentialProvider.java:1)
 at oracle.odi.runtime.agent.support.JPSCredentialProvider.getCredential(JPSCredentialProvider.java:40)
 at oracle.odi.runtime.agent.CompositeCrendentialProvider.getCredential(CompositeCrendentialProvider.java:48)
 at oracle.odi.runtime.agent.servlet.AgentServlet.startup(AgentServlet.java:323)
 at oracle.odi.runtime.agent.servlet.AgentServlet.init(AgentServlet.java:239)
 at javax.servlet.GenericServlet.init(GenericServlet.java:242)
 at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
 at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
 at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
 at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
 at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
 at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
 at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
 at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
 at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
 at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
 at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
 at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
 at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
 at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
 at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
................. 

  

Changes

Weblogic Admin Server was restarted for the issue, but the ODI server, it wasn't restarted

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.