OAM 11g: Getting java.lang.NumberFormatException when starting OAM Managed server (Doc ID 1293047.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version: 11.1.1.3.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When starting the OAM managed server the following stack is generated:


<Jan 3, 2011 10:12:39 AM CST> <Warning> <oracle.oam.engine.policy> <BEA-000000> <Starting OAM Authorization Subsystem. This can take several minutes. Do not abort.>
[EL Info]: 2011-01-03 10:12:40.494--ServerSession(489250121)--EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634
[EL Info]: 2011-01-03 10:12:41.281--ServerSession(489250121)--file:/opt/ora/idmdev/Middleware/IDMDEV/oam/server/lib/oes-d8/jps-internal.jar-JpsDBDataManager login successful
<Jan 3, 2011 10:12:43 AM CST> <Error> <oracle.jps.authorization.framework> <JPS-10757> <Error during initialization of the security framework.
java.lang.reflect.InvocationTargetException
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:597)
at com.bea.security.micro.Util.initializeProvider(Util.java:184)
at com.bea.security.ssal.micro.MicroSecurityServiceManagerWrapper.<init>(MicroSecurityServiceManagerWrapper.java:86)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.security.ssal.FrameworkFactory.getFramworkManager(FrameworkFactory.java:103)
at com.bea.security.ssal.FrameworkFactory.getSecurityServiceManager(FrameworkFactory.java:81)
at com.bea.security.impl.SecurityRuntimeImpl.getNewInstance(SecurityRuntimeImpl.java:259)
at com.bea.security.impl.SecurityRuntimeImpl.initialize(SecurityRuntimeImpl.java:313)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
..
.
Caused By: java.lang.NumberFormatException: For input string: "w�(ZdXQz����9��#/policy/OAM11gApplication"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.<init>(Integer.java:660)
at com.bea.security.providers.authorization.asi.ARME.engine.Policy.readApplications(Policy.java:605)
at com.bea.security.providers.authorization.asi.ARME.engine.Policy.read(Policy.java:544)
at com.bea.security.providers.authorization.asi.ARME.engine.Policy.<init>(Policy.java:120)

The OAM managed server may continue startup and reach a running state.

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