java.lang.ExceptionInInitializerError

Oracle Community | 807573 | 1 decade ago
  1. 0

    Policy agent instalation

    Oracle Community | 1 decade ago | 807573
    java.lang.ExceptionInInitializerError
  2. 0

    Failed to load configuration: ApplicationSSOTok... | Oracle Community

    oracle.com | 11 months ago
    java.lang.ExceptionInInitializerError
  3. 0

    Downloaded appserver_v9_agent_3.zip Installed the agent as per instructions on a separate GlassFIsh V3 domain, with amendments as follows: * copy the necessary jar files into glassfish/domains/domain1/lib (agent.jar and openssoclientsdk.jar) * copy the locale/* files and the Agent_001/config/* files into glassfish/domains/domain1/lib/classes folder These amendments are necessary otherwise the above files are not found. Please refer to: https://kir-dev.sch.bme.hu/kategoriak/english/ http://forums.java.net/jive/thread.jspa?messageID=378158 Deployed the sample application When opening in browser, the error is: java.lang.RuntimeException: Failed to load configuration: C:\Program%20Files\sges-v3\glassfish\domains\domain2\lib\classes\OpenSSOAgentBootstrap.properties (The system cannot find the path specified) Please note the %20 in the path. I don't know why systems are installed in directories that include spaces if they cannot read from them. There is not much I can do about it because the NetBeans IDE installs the GlassFish V3 server in this directory. java.lang.ExceptionInInitializerError at com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:643) at com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:260) at com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:350) at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Failed to load configuration: C:\Program%20Files\sges-v3\glassfish\domains\domain2\lib\classes\OpenSSOAgentBootstrap.properties (The system cannot find the path specified) at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:714) at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1054) at com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1498) ... 29 more

    ForgeRock JIRA | 7 years ago | bht
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem configuring policyagent with GlassFish

    Oracle Community | 7 years ago | 807573
    java.lang.ExceptionInInitializerError
  6. 0

    agent filter issue with IBM Web Sphere portal 6 , polic Agent 2.2 , AM7

    Oracle Community | 8 years ago | 807573
    java.lang.ExceptionInInitializerError

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failed to get configuration file:AMAgent.properties

      at com.sun.identity.agents.arch.AgentConfiguration.setConfigurationFilePath()
    2. com.sun.identity
      AmAgentBaseFilter.doFilter
      1. com.sun.identity.agents.arch.AgentConfiguration.setConfigurationFilePath(AgentConfiguration.java:393)
      2. com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:456)
      3. com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:853)
      4. com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1130)
      5. com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:622)
      6. com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:217)
      7. com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:279)
      8. com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:64)
      8 frames
    3. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
      2. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      3 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
      3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
      10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
      11 frames
    6. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
      1 frame
    7. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
      3. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
      5. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
      6. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
      6 frames