struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danilo Luiz Rheinheimer <dan...@floripa.com.br>
Subject Struts application on jboss/jetty
Date Fri, 10 Jan 2003 15:26:28 GMT
Hello,

  I have a struts working fine on tomcat standalone.
  But when I try to deploy it to JBoss 3.2 with integrated Jetty it
fails.
  This is the error log :

2003-01-10 12:17:43,595 ERROR [org.apache.struts.action.ActionServlet] Parsing error processing
resource path /WEB-INF/struts-config.xml
java.lang.NoSuchMethodError: org.apache.commons.digester.Rule: method <init>()V not
found
        at org.apache.struts.config.AddDataSourcePropertyRule.<init>(ConfigRuleSet.java:286)
        at org.apache.struts.config.ConfigRuleSet.addRuleInstances(ConfigRuleSet.java:113)
        at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1250)
        at org.apache.struts.action.ActionServlet.initConfigDigester(ActionServlet.java:1211)
        at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:923)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
        at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:422)
        at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:142)
        at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:490)
        at org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
        at org.jboss.jetty.Jetty.deploy(Jetty.java:368)
        at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:302)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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(URLDeploymentScanner.java:400)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:619)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:472)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:195)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:206)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:185)
2003-01-10 12:17:43,605 INFO  [org.jboss.jbossweb] Stopped WebApplicationContext[/SigeaWeb,jar:file:/C:/prg/jboss/server/default/tmp/deploy/server/default/deploy/SigeaWeb.war/46.SigeaWeb.war!/]
2003-01-10 12:17:43,605 INFO  [org.jboss.jbossweb] Deregister jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/SigeaWeb
2003-01-10 12:17:43,605 INFO  [org.jboss.jbossweb] Successfully undeployed file:/C:/prg/jboss/server/default/tmp/deploy/server/default/deploy/SigeaWeb.war/46.SigeaWeb.war
2003-01-10 12:17:43,605 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2003-01-10 12:17:43,605 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2003-01-10 12:17:43,605 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2003-01-10 12:17:43,605 ERROR [org.jboss.deployment.MainDeployer] could not start deployment:
file:/C:/prg/jboss/server/default/deploy/SigeaWeb.war
org.jboss.deployment.DeploymentException: Parsing error processing resource path /WEB-INF/struts-config.xml;
- nested throwable: (javax.servlet.UnavailableException: Parsing error processing resource
path /WEB-INF/struts-config.xml)
        at org.jboss.jetty.Jetty.deploy(Jetty.java:390)
        at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:302)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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(URLDeploymentScanner.java:400)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:619)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:472)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:195)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:206)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:185)
Caused by: javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
        at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:952)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
        at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:422)
        at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:142)
        at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:490)
        at org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
        at org.jboss.jetty.Jetty.deploy(Jetty.java:368)
        ... 18 more
2003-01-10 12:17:43,625 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to
deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@bebf9c95{ url=file:/C:/prg/jboss/server/default/deploy/SigeaWeb.war,
deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Parsing error processing resource path /WEB-INF/struts-config.xml;
- nested throwable: (javax.servlet.UnavailableException: Parsing error processing resource
path /WEB-INF/struts-config.xml)
        at org.jboss.jetty.Jetty.deploy(Jetty.java:390)
        at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:302)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
        at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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(URLDeploymentScanner.java:400)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:619)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:472)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:195)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:206)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:185)
Caused by: javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml
        at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:952)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219)
        at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:422)
        at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:142)
        at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:490)
        at org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
        at org.jboss.jetty.Jetty.deploy(Jetty.java:368)
        ... 18 more
  
  Any help ?

-- 
Best regards,
 Danilo                          mailto:danilo@floripa.com.br



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message