Hello --
I'm trying to get glassfish-embedded to work with a fairly complex web
app that uses jsf (icefaces), and I'm having some troubles getting it
load the application. I can use the same embedded main routine that I'm
using to start a very simple web app.
INFO: Created virtual server server
Feb 17, 2009 3:21:22 PM com.sun.enterprise.web.WebContainer createHosts
INFO: Created virtual server __asadmin
Feb 17, 2009 3:21:24 PM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader org.glassfish.internal.api.DelegatingClassLoader_at_455dd32a class org.glassfish.internal.api.DelegatingClassLoader
Feb 17, 2009 3:24:34 PM org.apache.catalina.startup.TldConfig tldScanJar
SEVERE: PWC3036: Exception processing TLD META-INF/myfaces_ext.tld in JAR at resource path /home/dpb/src/svn/cast/dpb_i6_embed/embed/target/gfe/domains/domain1/applications/CAST/WEB-INF/lib/tomahawk-1.1.1.jar in context /CAST
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:837)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:703)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1026)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1694)
at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:728)
at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:659)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:473)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5338)
at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2187)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1873)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:572)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:559)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
at org.glassfish.embed.EmbeddedDeployer.deploy(EmbeddedDeployer.java:111)
at org.glassfish.embed.EmbeddedDeployer.deploy(EmbeddedDeployer.java:69)
at com.hp.cast.embed.Embed.<init>(Embed.java:57)
at com.hp.cast.embed.Embed.main(Embed.java:29)
Feb 17, 2009 3:27:43 PM org.apache.catalina.startup.TldConfig tldScanJar
SEVERE: PWC3036: Exception processing TLD META-INF/tomahawk.tld in JAR at resource path /home/dpb/src/svn/cast/dpb_i6_embed/embed/target/gfe/domains/domain1/applications/CAST/WEB-INF/lib/tomahawk-1.1.1.jar in context /CAST
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:837)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:703)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1026)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1694)
at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:728)
at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:659)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:473)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5338)
at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2187)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1873)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:572)
at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:559)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
at org.glassfish.embed.EmbeddedDeployer.deploy(EmbeddedDeployer.java:111)
at org.glassfish.embed.EmbeddedDeployer.deploy(EmbeddedDeployer.java:69)
at com.hp.cast.embed.Embed.<init>(Embed.java:57)
at com.hp.cast.embed.Embed.main(Embed.java:29)
I'm using the following maven dependency to pull in the relevant glassfish jar:
<dependency>
<groupId>org.glassfish.embedded</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<version>3.0-Prelude-Embedded-SNAPSHOT</version>
</dependency>
The particular tomahawk jar that is being complained about is in the bundled war I'm trying to deploy:
<dependency>
<groupId>myfaces</groupId>
<artifactId>tomahawk</artifactId>
<version>1.1.1</version>
</dependency>
Any ideas???
-dpb
[Message sent by forum member 'dpb1' (dpb1)]
http://forums.java.net/jive/thread.jspa?messageID=332505