java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to > load > resource [net.sf.ehcache.transaction.xa.processor.XARequestProcessor], > because it has not yet been started, or was already stopped at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1410) > > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1368) > >

Oracle Community | atomicknight | 6 years ago
  1. 0

    Classloading issue when accessing class for the first time during JPA shutdown (Glassfish 3.1)

    Oracle Community | 6 years ago | atomicknight
    java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to > load > resource [net.sf.ehcache.transaction.xa.processor.XARequestProcessor], > because it has not yet been started, or was already stopped at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1410) > > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1368) > >
  2. 0

    Cocoon Hangs with OpenSessionInViewFilter

    apache.org | 1 year ago
    java.lang.IllegalStateException: The cocoon-ehcache-1 Cache is not alive.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    This mailing list is for discussion of development of the Bouncy Castle Crypto API package. ()

    gmane.org | 6 months ago
    java.lang.IllegalStateException: WEB9031: WebappClassLoader > unable to load resource > [org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi], because it has not > yet been started, or was already stopped > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1401) > ~[war-util.jar:3.1.2.1-SNAPSHOT] > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359) > ~[war-util.jar:3.1.2.1-SNAPSHOT] > at java.security.Provider$Service.getImplClass(Provider.java:1262)
  5. 0

    Trying to deploy IWebMvc2 (http://code.google.com/p/internna/) several errors appear in the console log: INFO: Started bundle org.glassfish.web.war-util [178] ADVERTENCIA: Exception while scanning WEB-INF/lib/icu4j-2.6.1.jar java.lang.ArrayIndexOutOfBoundsException: 48188 at org.objectweb.asm.ClassReader.readClass(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.glassfish.deployment.common.AnnotationScanner.scanArchive(AnnotationScanner. java:100) at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.j ava:148) at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(Applicatio nLifecycle.java:384) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:232) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:172) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:4 03) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:4 18) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:5 05) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1 38) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java :217) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:16 6) 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.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379 ) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619) INFO: security.secmgroff INFO: Started bundle org.glassfish.security.webservices.security [49] INFO: Security startup service called INFO: policy.loading INFO: Security service(s) started successfully.... INFO: Started bundle org.glassfish.web.glue [80] INFO: Started bundle org.glassfish.web.cli [60] INFO: Created HTTP listener http-listener-1 on port 8080 INFO: Created HTTP listener admin-listener on port 4848 INFO: Created virtual server server INFO: Created virtual server __asadmin INFO: Started bundle org.glassfish.deployment.dol [155] INFO: Started bundle org.glassfish.ejb.ejb-container [185] INFO: Started bundle org.glassfish.web.core [90] INFO: Virtual server server loaded system default web module INFO: Dual registration of jndi stream handler: factory already defined INFO: Started bundle org.glassfish.web.jstl-connector [41] INFO: Started bundle org.glassfish.web.jspcaching-connector [189] INFO: Started bundle org.glassfish.web.jsf-connector [76] INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate INFO: Started bundle org.glassfish.deployment.javaee-core [58] GRAVE: Unknow type constant pool 60 at position41 GRAVE: Unknow type constant pool -26 at position42 GRAVE: Unknow type constant pool -70 at position43 GRAVE: Unknow type constant pool -99 at position44 GRAVE: Unknow type constant pool 60 at position45 GRAVE: Unknow type constant pool -23 at position46 GRAVE: Unknow type constant pool -119 at position47 GRAVE: Unknow type constant pool 60 at position41 GRAVE: Unknow type constant pool -26 at position42 GRAVE: Unknow type constant pool -70 at position43 GRAVE: Unknow type constant pool -99 at position44 GRAVE: Unknow type constant pool 60 at position45 GRAVE: Unknow type constant pool -23 at position46 GRAVE: Unknow type constant pool -119 at position47 INFO: DOL Loading time7516 INFO: Started bundle org.glassfish.security.websecurity [188] GRAVE: log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. GRAVE: log4j:ERROR The class "org.apache.log4j.Appender" was loaded by GRAVE: log4j:ERROR [WebappClassLoader (delegate=true; repositories=WEB- INF/classes/)] whereas object of type GRAVE: log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)]. GRAVE: log4j:ERROR Could not instantiate appender named "stdout". GRAVE: PWC3026: Parse error in default web.xml java.lang.IllegalStateException: WebappClassLoader unable to load resource [org.apache.xerces.util.EntityResolverWrapper], because it has not yet been started, or was already stopped at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1357 ) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at org.apache.xerces.parsers.AbstractSAXParser.setEntityResolver(Unknown Source) at org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:1040) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1698) at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.jav a:819) at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:760) at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1014) at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextCon fig.java:180) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.ja va:142) at org.apache.catalina.core.StandardContext.init(StandardContext.java:6428) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5084) at com.sun.enterprise.web.WebModule.start(WebModule.java:483) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1816) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1520) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:307) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:172) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:4 03) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:4 18) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:5 05) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1 38) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java :217) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:16 6) 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.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379 ) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619) GRAVE: log4j:ERROR Could not read configuration file from URL [file:/C:/Archivos de programa/glassfishv3- b65/glassfish/domains/domain1/generated/jsp/org.internna.iwebmvc_iwebmvc- demo_war_2.0-SNAPSHOT/loader/log4j.properties]. GRAVE: java.io.FileNotFoundException: C:\Archivos de programa\glassfishv3- b65\glassfish\domains\domain1\generated\jsp\org.internna.iwebmvc_iwebmvc- demo_war_2.0-SNAPSHOT\loader\log4j.properties (El sistema no puede hallar la ruta especificada) GRAVE: at java.io.FileInputStream.open(Native Method) GRAVE: at java.io.FileInputStream.<init>(FileInputStream.java:106) GRAVE: at java.io.FileInputStream.<init>(FileInputStream.java:66) GRAVE: at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70) GRAVE: at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.jav a:161) GRAVE: at java.net.URL.openStream(URL.java:1009) GRAVE: at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:433) GRAVE: at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java :470) GRAVE: at org.apache.log4j.LogManager.<clinit>(LogManager.java:122) GRAVE: at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73) GRAVE: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:88) GRAVE: at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java :155) GRAVE: at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java :131) GRAVE: at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:272) GRAVE: at org.internna.iwebmvc.spring.jee.IWebMvcContextLoaderListener.<init>(IWebMvcConte xtLoaderListener.java:38) GRAVE: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) GRAVE: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI mpl.java:39) GRAVE: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA ccessorImpl.java:27) GRAVE: at java.lang.reflect.Constructor.newInstance(Constructor.java:513) GRAVE: at java.lang.Class.newInstance0(Class.java:355) GRAVE: at java.lang.Class.newInstance(Class.java:308) GRAVE: at org.apache.catalina.core.StandardContext.createListener(StandardContext.java:282 4) GRAVE: at org.apache.catalina.core.StandardContext.loadListener(StandardContext.java:4750) GRAVE: at com.sun.enterprise.web.WebModule.loadListener(WebModule.java:1523) GRAVE: at org.apache.catalina.core.StandardContext.addListener(StandardContext.java:2709) GRAVE: at org.apache.catalina.core.StandardContext.addApplicationListener(StandardContext. java:1943) GRAVE: at com.sun.enterprise.web.TomcatDeploymentConfig.configureApplicationListener(Tomca tDeploymentConfig.java:277) GRAVE: at com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymen tConfig.java:136) GRAVE: at com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java: 277) GRAVE: at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextCon fig.java:176) GRAVE: at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.ja va:142) GRAVE: at org.apache.catalina.core.StandardContext.start(StandardContext.java:5263) GRAVE: at com.sun.enterprise.web.WebModule.start(WebModule.java:483) GRAVE: at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928) GRAVE: at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) GRAVE: at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) GRAVE: at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1816) GRAVE: at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1520) GRAVE: at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93) GRAVE: at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) GRAVE: at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229) GRAVE: at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214) GRAVE: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:307) GRAVE: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:172) GRAVE: at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) GRAVE: at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:4 03) GRAVE: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:4 18) GRAVE: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:5 05) GRAVE: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1 38) GRAVE: at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355) GRAVE: at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195) GRAVE: at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) GRAVE: at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) GRAVE: at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java :217) GRAVE: at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753) GRAVE: at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661) GRAVE: at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914) GRAVE: at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:16 6) GRAVE: at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain. java:135) GRAVE: at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) GRAVE: at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) GRAVE: at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) GRAVE: at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53 ) GRAVE: at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) GRAVE: at com.sun.grizzly.ContextTask.run(ContextTask.java:69) GRAVE: at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379 ) GRAVE: at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) GRAVE: at java.lang.Thread.run(Thread.java:619) GRAVE: log4j:ERROR Ignoring configuration file [file:/C:/Archivos de programa/glassfishv3- b65/glassfish/domains/domain1/generated/jsp/org.internna.iwebmvc_iwebmvc- demo_war_2.0-SNAPSHOT/loader/log4j.properties]. Then the application cannot start because Spring cannot access the transation: INFO: 2009-09-26 15:12:46,249 ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseDAO': Injection of persistence fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/C:/src/IWebMvc2/iwebmvc-demo/target/iwebmvc-demo/WEB-INF/lib/iwebmvc- model-2.0-SNAPSHOT.jar!/spring/glassfish.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Transaction is not active in the current thread. at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postP rocessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:311) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ulateBean(AbstractAutowireCapableBeanFactory.java:959) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC reateBean(AbstractAutowireCapableBeanFactory.java:472) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r un(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ateBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ctBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract BeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe anFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe anFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory Initialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA pplicationContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex tLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL oader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context LoaderListener.java:45) at org.internna.iwebmvc.spring.jee.IWebMvcContextLoaderListener.contextInitialized( IWebMvcContextLoaderListener.java:54) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4680 ) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5305) at com.sun.enterprise.web.WebModule.start(WebModule.java:483) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1816) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1520) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:93) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:229) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:307) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.ja va:172) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:4 03) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:4 18) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:5 05) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1 38) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:355) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:195) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java :217) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:753) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:661) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:914) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:16 6) 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.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379 ) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [jar:file:/C:/src/IWebMvc2/iwebmvc-demo/target/iwebmvc-demo/WEB-INF/lib/iwebmvc- model-2.0-SNAPSHOT.jar!/spring/glassfish.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Transaction is not active in the current thread. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini tializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC reateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r un(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ateBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ctBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract BeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe anFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe anFactory.java:164) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findD efaultEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:507) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findE ntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:473) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$Persi stenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:5 99) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$Persi stenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:57 0) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.i nject(InjectionMetadata.java:180) INFO: at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(Inje ctionMetadata.java:105) at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postP rocessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:308) ... 55 more Caused by: java.lang.IllegalStateException: Transaction is not active in the current thread. at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.validateT ransactionManager(JavaEETransactionManagerJTSDelegate.java:401) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.suspendIn ternal(JavaEETransactionManagerJTSDelegate.java:395) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.suspend(J avaEETransactionManagerJTSDelegate.java:319) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.suspend(JavaEE TransactionManagerSimplified.java:959) at com.sun.enterprise.transaction.TransactionManagerHelper.suspend(TransactionManag erHelper.java:106) at org.hibernate.cache.jbc2.BasicRegionAdapter.suspend(BasicRegionAdapter.java:334) at org.hibernate.cache.jbc2.BasicRegionAdapter.activateLocalClusterNode(BasicRegion Adapter.java:92) at org.hibernate.cache.jbc2.BasicRegionAdapter.<init>(BasicRegionAdapter.java:80) at org.hibernate.cache.jbc2.TransactionalDataRegionAdapter.<init>(TransactionalData RegionAdapter.java:41) at org.hibernate.cache.jbc2.entity.EntityRegionImpl.<init>(EntityRegionImpl.java:49 ) at org.hibernate.cache.jbc2.JBossCacheRegionFactory.buildEntityRegion(JBossCacheReg ionFactory.java:125) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:255) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfigur ation.java:867) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration. java:669) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(Hiber natePersistence.java:132) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeE ntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet( AbstractEntityManagerFactoryBean.java:291) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.inv okeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini tializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 71 more GRAVE: PWC1306: Startup of context /demo failed due to previous errors

    Java.net JIRA | 7 years ago | xmaniac
    java.lang.IllegalStateException: WebappClassLoader unable to load resource [org.apache.xerces.util.EntityResolverWrapper], because it has not yet been started, or was already stopped at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1357 )

    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.IllegalStateException

      WEB9031: WebappClassLoader unable to > load > resource [net.sf.ehcache.transaction.xa.processor.XARequestProcessor], > because it has not yet been started, or was already stopped at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1410) > > at > org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1368) > >

      at net.sf.ehcache.CacheManager.shutdown()
    2. Ehcache
      CacheManager.shutdown
      1. net.sf.ehcache.CacheManager.shutdown(CacheManager.java:1174)
      1 frame