[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Standalone server - Exception while start (newbie question)  XML
Forum Index -> Ehcache
Author Message
sswf

neo

Joined: 07/31/2012 12:52:29
Messages: 4
Offline

Hello,

I'm new to Ehcache and now I'm trying to check it if it meet my needs.
I've downloaded ehcache-standalone-server-1.0.0-distribution.tar.gz from sourceforge (date of file is quite old - is it still valid?) and tried to run it on linux machine.
It started but with exceptions. Here is log:

Ehcache standalone server initializing...

Starting standalone ehcache server on httpPort 8080 with WAR file or directory ../war
Jul 31, 2012 3:47:36 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 (74.2) startup time : Embedded(490ms) startup services(221ms) total(711ms)
Jul 31, 2012 3:47:36 PM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
Jul 31, 2012 3:47:36 PM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
Jul 31, 2012 3:47:36 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Jul 31, 2012 3:47:36 PM org.hibernate.validator.util.Version <clinit>
INFO: Hibernate Validator null
Jul 31, 2012 3:47:36 PM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
Jul 31, 2012 3:47:37 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady
INFO: Grizzly Framework 1.9.18-k started in: 77ms listening on port 8080
Jul 31, 2012 3:47:37 PM com.sun.common.util.logging.LoggingConfigImpl openPropFile
INFO: Cannot read logging.properties file.
Jul 31, 2012 3:47:37 PM com.sun.enterprise.web.WebContainer createHttpListener
INFO: Created HTTP listener embedded-listener on port 8080
Jul 31, 2012 3:47:37 PM com.sun.enterprise.web.WebContainer configureHttpServiceProperties
WARNING: pewebcontainer.invalid_http_service_property
Jul 31, 2012 3:47:37 PM com.sun.enterprise.web.WebContainer createHosts
INFO: Created virtual server server
Jul 31, 2012 3:47:37 PM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules
INFO: Virtual server server loaded system default web module
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.SecurityLifecycle <init>
INFO: security.secmgroff
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.ssl.SSLUtils checkCertificateDates
SEVERE: java_security.expired_certificate
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: Security startup service called
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.PolicyLoader loadPolicy
INFO: policy.loading
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: Realm admin-realm of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: Realm file of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created.
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.auth.realm.Realm doInstantiate
INFO: Realm certificate of classtype com.sun.enterprise.security.auth.realm.certificate.CertificateRealm successfully created.
Jul 31, 2012 3:48:10 PM com.sun.enterprise.security.SecurityLifecycle onInitialization
INFO: Security service(s) started successfully....
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetCache
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetCacheResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getExceptionBeanClass
INFO: Dynamically creating exception bean Class net.sf.ehcache.server.soap.jaxws.CacheExceptionBean
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.LoadAll
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.LoadAllResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetStatus
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetStatusResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.AddCache
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.AddCacheResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getExceptionBeanClass
INFO: Dynamically creating exception bean Class net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getExceptionBeanClass
INFO: Dynamically creating exception bean Class net.sf.ehcache.server.soap.jaxws.ObjectExistsExceptionBean
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.RemoveCache
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.RemoveCacheResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.CacheNames
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.CacheNamesResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetKeysWithExpiryCheck
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetKeysWithExpiryCheckResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetKeysNoDuplicateCheck
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetKeysNoDuplicateCheckResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetQuiet
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetQuietResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.PutQuiet
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.PutQuietResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getExceptionBeanClass
INFO: Dynamically creating exception bean Class net.sf.ehcache.server.soap.jaxws.IllegalArgumentExceptionBean
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.RemoveQuiet
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.RemoveQuietResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetStatistics
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetStatisticsResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetStatisticsAccuracy
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetStatisticsAccuracyResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.ClearStatistics
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.ClearStatisticsResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetAllWithLoader
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetAllWithLoaderResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetWithLoader
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetWithLoaderResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.Ping
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.PingResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.Remove
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.RemoveResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.Get
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getExceptionBeanClass
INFO: Dynamically creating exception bean Class net.sf.ehcache.server.soap.jaxws.NoSuchCacheExceptionBean
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.Put
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.PutResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.Load
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.LoadResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetSize
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetSizeResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.RemoveAll
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.RemoveAllResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class net.sf.ehcache.server.soap.jaxws.GetKeys
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperClass
INFO: Dynamically creating response wrapper bean Class net.sf.ehcache.server.soap.jaxws.GetKeysResponse
Jul 31, 2012 3:48:12 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:256)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:323)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:189)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4591)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:535)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5193)
at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
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:1933)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.startWithGlassfish(Server.java:264)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.run(Server.java:237)
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable[] net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean.suppressed
at net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean

at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
... 26 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable[] net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean.suppressed
at net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean

at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:472)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:106)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:73)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:152)
... 28 more

Jul 31, 2012 3:48:12 PM org.apache.catalina.core.StandardContext start
SEVERE: PWC1306: Startup of context /ehcache failed due to previous errors
Jul 31, 2012 3:48:12 PM org.apache.catalina.core.StandardContext start
SEVERE: PWC1305: Exception during cleanup after start failed
org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5383)
at com.sun.enterprise.web.WebModule.stop(WebModule.java:530)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5211)
at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
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:1933)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.startWithGlassfish(Server.java:264)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.run(Server.java:237)

Jul 31, 2012 3:48:12 PM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5216)
at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
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:1933)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.startWithGlassfish(Server.java:264)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.run(Server.java:237)
Caused by: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:118)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4591)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:535)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5193)
... 15 more
Caused by: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:256)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:323)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:189)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
... 18 more
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable[] net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean.suppressed
at net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean

at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
... 26 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
java.lang.StackTraceElement does not have a no-arg default constructor.
this problem is related to the following location:
at java.lang.StackTraceElement
at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
at java.lang.Throwable
at public java.lang.Throwable[] net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean.suppressed
at net.sf.ehcache.server.soap.jaxws.IllegalStateExceptionBean

at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:472)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:106)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:73)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:152)
... 28 more

Jul 31, 2012 3:48:13 PM com.sun.enterprise.web.WebApplication start
WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
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:1933)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.startWithGlassfish(Server.java:264)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.run(Server.java:237)

Jul 31, 2012 3:48:13 PM org.glassfish.api.ActionReport failure
SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.startWithGlassfish(Server.java:264)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.run(Server.java:237)

Jul 31, 2012 3:48:13 PM net.sf.ehcache.util.UpdateChecker doCheck
INFO: New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]. Please check http://ehcache.org for the latest version.
Jul 31, 2012 3:48:13 PM org.glassfish.api.ActionReport failure
SEVERE: Exception while loading the app
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:117)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:214)
at org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:144)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.startWithGlassfish(Server.java:264)
at net.sf.ehcache.server.standalone.Server$GlassfishServerThread.run(Server.java:237)

Jul 31, 2012 3:48:13 PM net.sf.ehcache.server.standalone.Server$GlassfishServerThread startWithGlassfish
INFO: Glassfish server running on httpPort 8080 with WAR ../war

Could somebody help me? I do not mind to work with source code but I'm looking for easiest way to run it for myself to be able to test it before invest time into exploring the code.

Thank you much!
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Can you please explain the steps you followed to start the standalone server.

Rakesh Joshi
Senior Consultant
Terracotta.
cupcake

neo

Joined: 12/03/2012 15:48:23
Messages: 1
Offline

I'm getting the exact same problem. Running the standalone server with: ./startup.sh in the bin folder.

Downloadable file is from 2010. Is that why? I suspect it could be an incompatibility with Java 1.7 (currently using 1.7.0_09).
gyan10

ophanim

Joined: 06/28/2011 23:15:25
Messages: 701
Offline

Following workaround worked :
1. Install tomcat 6(6.0.36)
2. Install war file (1.0.0)
3. Delete these files:
\WEB-INF\lib\
ehcache-core-2.0.1.jar
ehcache-terracotta-2.0.1.jar
slf4j-api-1.5.8.jar
4. copy these files from 3.7.3 TSA to the \WEB-INF\lib\
terracotta-toolkit-1.6-runtime-ee-5.3.0
ehcache-terracotta-ee-2.6.3
ehcache-core-ee-2.6.3
slf4j-jdk14-1.6.1
slf4j-api-1.6.1
5. After that we edited the ehcache.xml to connect to TSA
WEB-INF\classes

Gyan Awasthi
Terracotta -A Software AG company
blacar

neo

Joined: 02/18/2015 07:15:15
Messages: 1
Offline

Same issue.

I can't believe it. This has been happening for years an still Terracotta is offering a buggy software?

ljacomet

master

Joined: 03/06/2013 07:45:49
Messages: 79
Offline

Ehcache standalone server is an open source component that is no longer maintained. As such it will not work with newer versions of Ehcache but should still work with the versions it was targeting.

Louis Jacomet
Terracotta engineer
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team