Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-605

Tomcat J2ee Agent initialization fails on Windows 2003

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Agents-3.0.1, Agents-3.0.2, Agents-3.0.3
    • Agents-5.0
    • j2ee agents
    • OS: Windows 2003 Enterprise Edition
      JVM: Sun/Oracle HotSpot VM 6.0.20
      Container: Tomcat 6.0.32
      Agent: Tomcat J2ee Agent 3.0.3
      User: Administrator
    • Rank:
      1|hzluin:

      Description

      Install Tomcat as 'administrator'
      Install Tomcat Agent J2ee agent as 'administrator'

      Start Tomcat as 'administrator'

      catalina-log shows:
      ===================
      ava.lang.ExceptionInInitializerError

      at com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:643)

      at com.sun.identity.agents.tomcat.v6.AmTomcatRealm.<clinit>(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:524)

      at org.apache.catalina.startup.Catalina.load(Catalina.java:562)

      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.RuntimeException: Failed to get configuration file:OpenSSOAgentBootstrap.properties

      at com.sun.identity.agents.arch.AgentConfiguration.setConfigurationFilePath(AgentConfiguration.java:488)

      at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:677)

      at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1140)

      at com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1579)

      ... 31 more

      setenv.bat contains the correct configuration

      set JAVA_OPTS=%JAVA_OPTS% -Dopenam.agents.bootstrap.dir=D:/OpenAM/tomcat_v6_agent_303/j2ee_agents/tomcat_v6_agent/Agent_001/config

      Bootstrapfile within directory "D:/OpenAM/tomcat_v6_agent_303/j2ee_agents/tomcat_v6_agent/Agent_001/config/" is accessible.

        Attachments

          Activity

            People

            diego.colantoni Diego Colantoni [X] (Inactive)
            bthalmayr Bernhard Thalmayr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: