Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

jboss unable to read web-app_2_3.dtd,struts-config_1_1.dtd out of struts.jar

15 views
Skip to first unread message

Carsten Hammer

unread,
Mar 6, 2003, 11:36:22 AM3/6/03
to
Hi,
I have problems deploying a struts application to jboss. Does anybody know
what this error message means?:

...
...
17:21:03,342 INFO [EntityContainer] Started

17:21:03,342 INFO [EjbModule] Started

17:21:03,733 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/IDSClient,
warUrl=file:/E:/jboss-3.2.0RC2_tomcat-4.1.18/server/default/tmp/deploy/serve
r/default/deploy/JBoss3MySqlTest.ear/32.JBoss3MySqlTest.ear-contents/IDSClie
nt.war

17:21:03,893 INFO [Engine] WebappLoader[/IDSClient]: Deploying class
repositories to work directory
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient

17:21:04,464 INFO [Engine] WebappLoader[/IDSClient]: Deploy class files
/WEB-INF/classes to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\classes

17:21:04,464 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-beanutils.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-beanutils.jar

17:21:04,474 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-collections.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-collections.jar

17:21:04,534 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-dbcp.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-dbcp.jar

17:21:04,554 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-digester.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-digester.jar

17:21:04,604 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-fileupload.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-fileupload.jar

17:21:04,624 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-lang.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-lang.jar

17:21:04,634 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-logging.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-logging.jar

17:21:04,664 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-pool.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-pool.jar

17:21:04,774 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-resources.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-resources.jar

17:21:04,774 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/commons-validator.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\commons-validator.jar

17:21:04,874 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/jakarta-oro.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\jakarta-oro.jar

17:21:04,874 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/jdbc2_0-stdext.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\jdbc2_0-stdext.jar

17:21:04,894 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/jstl.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\jstl.jar

17:21:04,965 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/standard.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\standard.jar

17:21:05,545 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/struts-el.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\struts-el.jar

17:21:05,555 INFO [Engine] WebappLoader[/IDSClient]: Deploy JAR
/WEB-INF/lib/struts.jar to
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\struts.jar

17:21:21,939 INFO [Engine] ContextConfig[/IDSClient]: Added certificates ->
request attribute Valve

17:21:25,434 INFO [EmbeddedCatalinaService41] Using Java2 parent
classloader delegation: true

17:21:25,434 INFO [Engine] StandardManager[/IDSClient]: Seeding random
number generator class java.security.SecureRandom

17:21:25,434 INFO [Engine] StandardManager[/IDSClient]: Seeding of random
number generator has been completed

17:21:25,434 INFO [Engine] StandardWrapper[/IDSClient:default]: Loading
container servlet default

17:21:26,676 INFO [PropertyMessageResources] Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true

17:21:26,676 INFO [PropertyMessageResources] Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true

17:21:26,926 ERROR [ActionServlet]

java.io.FileNotFoundException: JAR entry
org/apache/struts/resources/web-app_2_3.dtd not found in
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\struts.jar

at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)

at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)

at java.net.URL.openStream(Unknown Source)

at org.apache.commons.digester.Digester.resolveEntity(Digester.java:1364)

at
org.apache.xerces.util.EntityResolverWrapper.resolveEntity(EntityResolverWra
pper.java:138)

at
org.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:
537)

at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocu
mentScannerImpl.java:809)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)

at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:529)

at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:585)

at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)

at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:114
8)

at org.apache.commons.digester.Digester.parse(Digester.java:1514)

at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1379)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:461)

at javax.servlet.GenericServlet.init(GenericServlet.java:256)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
4)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCa
talinaService41.java:431)

at
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatal
inaService41.java:306)

at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:304)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:819)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612)

at java.lang.reflect.Method.invoke(Native Method)

at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

at $Proxy7.deploy(Unknown Source)

at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:404)

at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:531)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:195)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:206)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:185)

17:21:27,407 ERROR [ActionServlet] Parsing error processing resource path

java.io.FileNotFoundException: JAR entry
org/apache/struts/resources/struts-config_1_1.dtd not found in
E:\jboss-3.2.0RC2_tomcat-4.1.18\tomcat-4.1.x\work\MainEngine\localhost\IDSCl
ient\WEB-INF\lib\struts.jar

at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)

at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)

at java.net.URL.openStream(Unknown Source)

at org.apache.commons.digester.Digester.resolveEntity(Digester.java:1364)

at
org.apache.xerces.util.EntityResolverWrapper.resolveEntity(EntityResolverWra
pper.java:138)

at
org.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:
537)

at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocu
mentScannerImpl.java:809)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.java:333)

at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:529)

at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:585)

at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)

at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:114
8)

at org.apache.commons.digester.Digester.parse(Digester.java:1495)

at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
44)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)

at javax.servlet.GenericServlet.init(GenericServlet.java:256)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
4)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCa
talinaService41.java:431)

at
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatal
inaService41.java:306)

at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:304)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:819)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612)

at java.lang.reflect.Method.invoke(Native Method)

at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

at $Proxy7.deploy(Unknown Source)

at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:404)

at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:531)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:195)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:206)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:185)

17:21:27,667 INFO [Engine] StandardWrapper[/IDSClient:action]: Marking
servlet action as unavailable

17:21:27,667 ERROR [Engine] StandardContext[/IDSClient]: Servlet /IDSClient
threw load() exception

javax.servlet.UnavailableException: Parsing error processing resource path

at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
52)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)

at javax.servlet.GenericServlet.init(GenericServlet.java:256)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
4)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCa
talinaService41.java:431)

at
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatal
inaService41.java:306)

at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:304)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:819)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612)

at java.lang.reflect.Method.invoke(Native Method)

at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

at $Proxy7.deploy(Unknown Source)

at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:404)

at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:531)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:195)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:206)

at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:185)

17:21:27,677 INFO [Engine] StandardWrapper[/IDSClient:invoker]: Loading
container servlet invoker

17:21:27,988 INFO [MainDeployer] Deployed package:
file:/E:/jboss-3.2.0RC2_tomcat-4.1.18/server/default/deploy/JBoss3MySqlTest.
ear


I made sure that the files that jboss complains about are really inside of
the jar files where jboss looks for them.
Best regards,
Carsten Hammer


alexj

unread,
Mar 6, 2003, 10:14:36 PM3/6/03
to
I got same trouble some time ago,

I never solve this trouble but I use instead jboss+jetty.

--
Alexandre Jaquet

"Carsten Hammer" <Hammer....@oce.de> a écrit dans le message de news:
10469685...@igate1.ops.de...

0 new messages