OAM 11gR2 : OAM Server Deployment Shows Status "Failed" And Error "Datasource jdbc/oamds not found" is Displayed (Doc ID 1586388.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Access Manager - Version 11.1.2.1.1 and later
Information in this document applies to any platform.

Symptoms

####<> <> weblogic.application.ModuleException: [HTTP:101216]Servlet: "AMInitServlet" failed to preload on startup in Web application: "oam".
java.lang.ExceptionInInitializerError
  at oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.checkAndInit(AbstractSessionAdapterImpl.java:110)
  at oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.(AbstractSessionAdapterImpl.java:88)
..
Caused by: oracle.security.am.common.utilities.exception.AmRuntimeException: OAM Server Key initialization failed.
..
Caused by: java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=OAM_STORE,keyName=jks read)
  at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
  at java.security.AccessController.checkPermission(AccessController.java:549)

at the same time we see many of the error:

<Warning> <oracle.oam.config> <BEA-000000> <Datasource jdbc/oamds not found>
<Warning> <oracle.oam.config> <BEA-000000> <Failed to get Datasource>


Changes

 Create an new OAM stack in a virtual environment

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