java.lang.ExceptionInInitializerError

Oracle Community | 807573 | 8 years ago
  1. 0

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

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

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

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

    Problem configuring policyagent with GlassFish

    Oracle Community | 7 years ago | 807573
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Policy agent instalation

    Oracle Community | 1 decade 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.ExceptionInInitializerError

      No message provided

      at com.sun.identity.agents.arch.Manager.<clinit>()
    2. com.sun.identity
      AmAgentBaseFilter.doFilter
      1. com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:641)
      2. com.sun.identity.agents.filter.AmAgentBaseFilter.initializeFilter(AmAgentBaseFilter.java:189)
      3. com.sun.identity.agents.filter.AmAgentBaseFilter.getAmFilterInstance(AmAgentBaseFilter.java:251)
      4. com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:36)
      4 frames
    3. WebSphere
      WebContainer.handleRequest
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
      4. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:759)
      5. com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3177)
      6. com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)
      7. com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)
      8. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)
      8 frames
    4. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:114)
      1 frame
    5. WebSphere
      WorkQueueManager.requestComplete
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
      4. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
      5. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
      6. com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
      6 frames