OAM Server Fails To Start with error-Unable to create bundle cache lock file: java.io.FileNotFoundException: /servers/IAMServer/oam/plugincache/cache.lock (Permission denied)

(Doc ID 2167332.1)

Last updated on SEPTEMBER 11, 2016

Applies to:

Oracle Access Manager - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

On : 11.1.1.7.0 version

ACTUAL BEHAVIOR
---------------
OAM Server fails to start

After shutdown, while starting OAM Server fails to start with the following message:

<Jul 31, 2016 10:37:09 PM EDT> <Warning> <Coherence> <BEA-000000> <2016-07-31 22:37:09.387/71.697 Oracle Coherence GE 3.5.3/465p2 <Warning> (thread=DistributedCache, member=3): Assigned 257 orphaned primary partitions>
[EL Info]: 2016-07-31 22:37:09.777--ServerSession(1923384049)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
[EL Info]: 2016-07-31 22:37:09.946--ServerSession(1923384049)--file:/home/app/oracle/iam/middleware/Oracle_IAM/oam/server/lib/oes-d8/jps-internal.jar-JpsDBDataManager login successful
ERROR: Error creating bundle cache. (java.lang.Exception: Unable to create bundle cache lock file: java.io.FileNotFoundException: ./servers/IAMServer/oam/plugincache/cache.lock (Permission denied))
java.lang.Exception: Unable to create bundle cache lock file: java.io.FileNotFoundException: ./servers/IAMServer/oam/plugincache/cache.lock (Permission denied)
at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:132)
at org.apache.felix.framework.Felix.init(Felix.java:588)
at org.apache.felix.framework.Felix.start(Felix.java:775)
at oracle.security.am.plugin.felix.FelixPluginProviderImpl.start(FelixPluginProviderImpl.java:575)
at oracle.security.am.plugin.internal.OSGIPluginService.start(OSGIPluginService.java:92)
at oracle.security.am.pbl.transport.http.AMInitServlet.startOSGIPluginService(AMInitServlet.java:166)
at oracle.security.am.pbl.transport.http.AMInitServlet.initializeAmServer(AMInitServlet.java:120)
at oracle.security.am.pbl.transport.http.AMInitServlet.init(AMInitServlet.java:79)
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.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

<Jul 31, 2016 10:37:12 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "AMInitServlet" failed to preload on startup in Web application: "oam".
javax.servlet.ServletException: oracle.security.am.pbl.transport.http.AMInitServlet
Error in initialization configuration.
at oracle.security.am.pbl.transport.http.AMInitServlet.throwServletException(AMInitServlet.java:260)
at oracle.security.am.pbl.transport.http.AMInitServlet.initializeAmServer(AMInitServlet.java:134)
at oracle.security.am.pbl.transport.http.AMInitServlet.init(AMInitServlet.java:79)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace



Changes

 None

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