[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]
Messages posted by: sswf  XML
Profile for sswf -> Messages posted by sswf [4]
Author Message
Yes it works now. Thank you!
Hello,

I use installation of terracotta-3.7.0-installer.jar I took jars from its directory:
ehcache-core-2.6.0.jar
ehcache-terracotta-2.6.0.jar
terracotta-toolkit-1.6-runtime-5.0.0.jar
and slf jars

I'm sorry I could not find something interesting in server logs. Interesting thing is that I added all permisions, run the app and now removed permissions, but the app is able to run so it looks like it needed to do something only once.
Hello,

I'm trying to add Ehcache to Java app that uses security policy. It worked ok for local cache but when I tried to add cluster support I got a problem.
I added terracotta tag to ehcache.xml and run terracotta. Then each time I started the app error log asked me to add some permision to security.policy. Finally I got following exception:
Code:
 10:19:27.333 INFO TerracottaClient     Thread [main] [cacheManager: no name]: Creating new ClusteredInstanceFactory
 Server exception: net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was java.security.AccessControlException: access denied ("java.security.AllPermission" "<all permissions>" "<all actions>")
 net.sf.ehcache.CacheException: Unable to load class net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory. Initial cause was java.security.AccessControlException: access denied ("java.security.AllPermission" "<all permissions>" "<all actions>")
         at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:109)
         at net.sf.ehcache.terracotta.TerracottaClusteredInstanceHelper.newClusteredInstanceFactory(TerracottaClusteredInstanceHelper.java:176)
         at net.sf.ehcache.terracotta.TerracottaClient.createNewClusteredInstanceFactory(TerracottaClient.java:186)
         at net.sf.ehcache.terracotta.TerracottaClient.createClusteredInstanceFactory(TerracottaClient.java:138)
         at net.sf.ehcache.CacheManager.doInit(CacheManager.java:424)
         at net.sf.ehcache.CacheManager.init(CacheManager.java:374)
         at net.sf.ehcache.CacheManager.<init>(CacheManager.java:356)
         {my code}
 Caused by: java.lang.RuntimeException: java.security.AccessControlException: access denied ("java.security.AllPermission" "<all permissions>" "<all actions>")
         at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:378)
         at com.terracotta.express.ClientFactoryImpl.newClient(ClientFactoryImpl.java:286)
         at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:279)
         at com.terracotta.express.ClientFactoryImpl.createClient(ClientFactoryImpl.java:266)
         at com.terracotta.express.ClientFactoryImpl.getOrCreateClient(ClientFactoryImpl.java:203)
         at org.terracotta.express.ClientFactory.getOrCreateClient(ClientFactory.java:30)
         at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.<init>(StandaloneTerracottaClusteredInstanceFactory.java:37)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
         at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:92)
         ... 12 more
 Caused by: java.security.AccessControlException: access denied ("java.security.AllPermission" "<all permissions>" "<all actions>")
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
         at java.security.AccessController.checkPermission(AccessController.java:555)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
         at java.net.URLClassLoader$4.run(URLClassLoader.java:690)
         at java.net.URLClassLoader$4.run(URLClassLoader.java:688)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.getPermissions(URLClassLoader.java:688)
         at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:206)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at com.terracotta.express.L1Loader.findClass(L1Loader.java:32)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)
         at java.lang.Class.getConstructor0(Class.java:2714)
         at java.lang.Class.getConstructor(Class.java:1674)
         at com.terracotta.express.ClientImpl.<init>(ClientImpl.java:355)
         ... 23 more
 


Why do it need all permissions? How to avoid granting all permissions?
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!
 
Profile for sswf -> Messages posted by sswf [4]
Go to:   
Powered by JForum 2.1.7 © JForum Team