java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • JBoss tell me that it does not find the com.opensymphony.module.oscache.web.tag.UseCachedTag class. But the oscache.jar is available. I tried also version oscache-2.4.1.jar. This is the log: 21:55:32,164 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."JSPWiki.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."JSPWiki.war".INSTALL: Failed to process phase INSTALL of deployment "JSPWiki.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_24] at java.lang.Thread.run(Unknown Source) [:1.6.0_24] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to load class com.opensymphony.module.oscache.web.tag.UseCachedTag at org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:95) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) ... 5 more Caused by: java.lang.ClassNotFoundException: com.opensymphony.module.oscache.web.tag.UseCachedTag from [Module "deployment.JSPWiki.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101) at java.lang.Class.forName0(Native Method) [:1.6.0_24] at java.lang.Class.forName(Unknown Source) [:1.6.0_24] at org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:93) ... 6 more
    via by Markus Ebel,
    • java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.initialize(J9VMInternals.java:222) at org.apache.geronimo.connector.wrapper.work.SecurityContextHandler.<init>(SecurityContextHandler.java:71) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) at java.lang.reflect.Constructor.newInstance(Constructor.java:527) at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:933) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702) at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:211) at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:91) at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107) at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32) Caused by: java.lang.SecurityException: ???????????? at javax.security.auth.Policy.getPolicyNoCheck(Policy.java:268) at javax.security.auth.Policy.getPolicy(Policy.java:219) at javax.security.auth.SubjectDomainCombiner$5.run(SubjectDomainCombiner.java:513) at java.security.AccessController.doPrivileged(AccessController.java:202) at javax.security.auth.SubjectDomainCombiner.compatPolicy(SubjectDomainCombiner.java:509) at javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:223) at java.security.AccessController.getContext(AccessController.java:141) at org.apache.geronimo.security.ContextManager$3.run(ContextManager.java:274) at java.security.AccessController.doPrivileged(AccessController.java:224) at javax.security.auth.Subject.doAsPrivileged(Subject.java:645) at org.apache.geronimo.security.ContextManager.registerSubject(ContextManager.java:272) at org.apache.geronimo.security.ContextManager.<clinit>(ContextManager.java:84) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) ... 24 more
    No Bugmate found.