• Bug
  • Status: Resolved
  • 2 Major
  • Resolution: Not a Bug
  • ehcache-server
  • cdennis
  • Reporter: sevior
  • February 27, 2013
  • 0
  • Watchers: 4
  • June 06, 2013
  • March 28, 2013

Description

I have deployed ehcache standalone in my unix server. But everytime I try to run it (sh startup.sh) it always generates an error and will not successfully run.

Here are the specs of my ehcache: *java version 1.6.0_33, also tried with 1.7.0_15 but still had the same error *ehcache-standalone-server-1.0.0-distribution.tar.gz

Here is the logs: {noformat} [root@qbic-romeo01 bin]# sh startup.sh

Ehcache standalone server initializing…

Starting standalone ehcache server on httpPort 8181 with WAR file or directory ../war Feb 28, 2013 2:32:57 AM com.sun.enterprise.v3.server.AppServerStartup run INFO: GlassFish v3 (74.2) startup time : Embedded(529ms) startup services(371ms) total(900ms) Feb 28, 2013 2:32:57 AM com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate Feb 28, 2013 2:32:57 AM org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread run INFO: JMXStartupService: JMXConnector system is disabled, skipping. Feb 28, 2013 2:32:57 AM AppServerStartup run INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started Feb 28, 2013 2:32:57 AM org.hibernate.validator.util.Version INFO: Hibernate Validator null Feb 28, 2013 2:32:57 AM org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver. Feb 28, 2013 2:32:58 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady INFO: Grizzly Framework 1.9.18-k started in: 170ms listening on port 8181 Feb 28, 2013 2:32:58 AM com.sun.common.util.logging.LoggingConfigImpl openPropFile INFO: Cannot read logging.properties file. Feb 28, 2013 2:32:58 AM com.sun.enterprise.web.WebContainer createHttpListener INFO: Created HTTP listener embedded-listener on port 8181 Feb 28, 2013 2:32:58 AM com.sun.enterprise.web.WebContainer configureHttpServiceProperties WARNING: pewebcontainer.invalid\_http\_service\_property Feb 28, 2013 2:32:58 AM com.sun.enterprise.web.WebContainer createHosts INFO: Created virtual server server Feb 28, 2013 2:32:58 AM com.sun.enterprise.web.WebContainer loadSystemDefaultWebModules INFO: Virtual server server loaded system default web module Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.SecurityLifecycle INFO: security.secmgroff Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.ssl.SSLUtils checkCertificateDates SEVERE: java\_security.expired\_certificate Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: Security startup service called Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.PolicyLoader loadPolicy INFO: policy.loading Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: Realm admin-realm of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created. Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: Realm file of classtype com.sun.enterprise.security.auth.realm.file.FileRealm successfully created. Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.auth.realm.Realm doInstantiate INFO: Realm certificate of classtype com.sun.enterprise.security.auth.realm.certificate.CertificateRealm successfully created. Feb 28, 2013 2:36:10 AM com.sun.enterprise.security.SecurityLifecycle onInitialization INFO: Security service(s) started successfully.... classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@379d2f6b

Feb 28, 2013 2:39:21 AM org.apache.catalina.core.StandardContext callServletContainerInitializers SEVERE: PWC1420: Error invoking ServletContainerInitializer org.apache.jasper.runtime.TldScanner org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:325) at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:366) at org.apache.jasper.runtime.TldScanner.scanTld(TldScanner.java:526) at org.apache.jasper.runtime.TldScanner.scanJar(TldScanner.java:379) at org.apache.jasper.runtime.TldScanner.scanJars(TldScanner.java:607) at org.apache.jasper.runtime.TldScanner.scanTlds(TldScanner.java:282) at org.apache.jasper.runtime.TldScanner.onStartup(TldScanner.java:228) at org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5279) at com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:550) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5190) 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.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) at sun.net.www.http.HttpClient.(HttpClient.java:227) at sun.net.www.http.HttpClient.New(HttpClient.java:300) at sun.net.www.http.HttpClient.New(HttpClient.java:317) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1313) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1280) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1191) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1087) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1000) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:296) ... 24 more Feb 28, 2013 2:39:21 AM org.apache.catalina.core.StandardContext start SEVERE: PWC1306: Startup of context /ehcache failed due to previous errors Feb 28, 2013 2:39:21 AM 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) Feb 28, 2013 2:39:21 AM org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar 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: org.apache.catalina.LifecycleException: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar at org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5287) at com.sun.enterprise.web.WebModule.callServletContainerInitializers(WebModule.java:550) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5190) ... 15 more Caused by: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:325) at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:366) at org.apache.jasper.runtime.TldScanner.scanTld(TldScanner.java:526) at org.apache.jasper.runtime.TldScanner.scanJar(TldScanner.java:379) at org.apache.jasper.runtime.TldScanner.scanJars(TldScanner.java:607) at org.apache.jasper.runtime.TldScanner.scanTlds(TldScanner.java:282) at org.apache.jasper.runtime.TldScanner.onStartup(TldScanner.java:228) at org.apache.catalina.core.StandardContext.callServletContainerInitializers(StandardContext.java:5279) ... 17 more Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) at sun.net.www.http.HttpClient.(HttpClient.java:227) at sun.net.www.http.HttpClient.New(HttpClient.java:300) at sun.net.www.http.HttpClient.New(HttpClient.java:317) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1313) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1280) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1191) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1087) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1000) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:296) ... 24 more Feb 28, 2013 2:39:21 AM com.sun.enterprise.web.WebApplication start WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar 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) Feb 28, 2013 2:39:21 AM 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: org.apache.catalina.LifecycleException: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar 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) Feb 28, 2013 2:39:21 AM org.glassfish.api.ActionReport failure SEVERE: Exception while loading the app java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: org.apache.jasper.JasperException: PWC6177: XML parsing error on file file:/home/users/ehcache-standalone-server-1.0.0/war/WEB-INF/lib/jersey-server-1.1.5.jar 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) classLoader = WebappClassLoader (delegate=true; repositories=WEB-INF/classes/) SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@379d2f6b Feb 28, 2013 2:39:22 AM net.sf.ehcache.server.standalone.Server$GlassfishServerThread startWithGlassfish INFO: Glassfish server running on httpPort 8181 with WAR ../war \{noformat\}

Comments

Sevior Austria 2013-02-27

I’m running on a 64bit server

Tim Eck 2013-03-05

I’m no expert but this looks like it is trying to connect to some external http:// url perhaps to fetch a DTD or something like that. The server might be down and/or unreachable from the machine running this code.

Chris Dennis 2013-03-05

I think the behavior you are seeing is a symptom of this: http://java.net/jira/browse/GLASSFISH-11516

The server is trying to pull DTDs as part of XML validation, and it’s failing (likely due to your networking environment - firewall maybe?). The trunk of standalone-server is now using Glassfish 3.1 which does not suffer from this bug.

Sevior Austria 2013-03-05

Hi Chris, thanks for this. I have installed an internet connection to my server and solved the error :D

Tim Eck 2013-03-05

now the question is, can we do something in our libraries (ie. ehcache and friends) can do anything about this? Can we disable this resolving of an external resource like this (perhaps with some tradeoff of possible verification)? Just thinking out loud, I don’t really know what I’m talking about :-)

Sevior Austria 2013-03-05

if i may suggest, can we have a config to disable the XML verification?

Chris Dennis 2013-03-28

I’m resolving this as “Not a Bug” since it’s not a bug in our code, but in Glassfish. To my knowledge there is no way to prevent Glassfish from attempting this XML parsing/validation step - the only solution (if ensuring a valid internet connection is off the table) would be to move up to Glassfish 3.1 which is currently used in trunk of standalone-server. I’m going to file the necessary jira’s to get the release process on standalone-server moving, but there are issues that need to be sorted out in this project before that can happen (i.e. it can’t happen immediately).