My Oracle Support Banner

J2ee Agent Blocks Web Container Startup (Doc ID 1456374.1)

Last updated on MARCH 16, 2019

Applies to:

Oracle OpenSSO - Version 8.0.1.3 and later
Information in this document applies to any platform.

Symptoms


In cases the j2ee policy agent web container starts prior than the opensso
server the web container doesn't starts correct - no listener were open and
initialization could not completed.

The initialize were not completed, when OpenSSO instance is online. It's required from the OpenSSO deployment OpenSSO is present in the startup phase.

The following exception were created.

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 org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ExceptionInInitializerError
  at com.sun.identity.agents.arch.Manager.(Manager.java:643)
  at com.sun.identity.agents.tomcat.v6.AmTomcatRealm.(AmTomcatRealm.java:64)
  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 java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
  at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
  at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
  at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1356)
  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
  at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
  at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:510)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
  ... 6 more
Caused by: java.lang.RuntimeException: Failed to load configuration: ApplicationSSOTokenProvider.getApplicationSSOToken(): Unable to get Application SSO Token
  at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:745)
  at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1095)
  at com.sun.identity.agents.arch.AgentConfiguration.(AgentConfiguration.java:1543)
  ... 31 more


These issue were seen with tomcat 6 and Weblogic 10 GA agent 3 and agent 3.0-01


expected behavior:

  1. agent goes in a initialization loop until the opensso is started or web container could be stopped normal
  2. pages in the notenforced list works (minior)

Changes

 

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
References


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