1 Reply Latest reply on Aug 20, 2003 7:01 AM by Darran Lofthouse

    Error deploying Struts example -- can't see full stacktrace!

    squeak Newbie

      I am using JBoss 3.2.1

      I am trying to follow the directions given on the following site to build the struts-example with Eclipse and deloy it to my server:

      http://jakarta.apache.org/struts/faqs/eclipse.html

      All will compile fine, but I get a deployment error. Now, I don't know what my issue is, and I can't seem to find it either because JBoss truncates the stacktrace, and thus I am not seeing a real reason my deployment issues.

      Is there a way to see the full stacktrace so I can find this issues (or do you know my original issue is)?

      Here is the complete message:

      2003-07-16 15:07:09,748 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/usr/local/jboss/jboss-3.2.1/server/default/deploy/struts-example.war
      org.jboss.deployment.DeploymentException: Fatal module configuration error, see previous messages; - nested throwable: (javax.servlet.ServletException: Fatal module configuration error, see previous messages)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:353)
      at org.jboss.jetty.JettyService.performDeploy(JettyService.java:242)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor26.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
      Caused by: javax.servlet.ServletException: Fatal module configuration error, see previous messages
      at org.apache.struts.plugins.ModuleConfigVerifier.init(ModuleConfigVerifier.java:212)
      at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
      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:436)
      at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
      at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)
      at org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
      at org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext.java:89)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:331)
      ... 17 more
      2003-07-16 15:07:09,758 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@b5fef14{ url=file:/usr/local/jboss/jboss-3.2.1/server/default/deploy/struts-example.war, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Fatal module configuration error, see previous messages; - nested throwable: (javax.servlet.ServletException: Fatal module configuration error, see previous messages)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:353)
      at org.jboss.jetty.JettyService.performDeploy(JettyService.java:242)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:357)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor26.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
      Caused by: javax.servlet.ServletException: Fatal module configuration error, see previous messages
      at org.apache.struts.plugins.ModuleConfigVerifier.init(ModuleConfigVerifier.java:212)
      at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
      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:436)
      at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
      at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)
      at org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85)
      at org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext.java:89)
      at org.jboss.jetty.Jetty.deploy(Jetty.java:331)
      ... 17 more