1 Reply Latest reply on Jan 24, 2003 10:40 AM by Adrian Brock

    Error when starting JBoss with Struts

    Alphonsus Magno Newbie

      Hi all,
      We're running JBoss 3.0.4 and added Struts to the CLASSPATH which then caused the error below to appear when starting the Server.

      TIA,
      Alphonsus.

      12:38:27,775 INFO [EmbeddedCatalinaService41] Creating
      12:38:27,775 INFO [EmbeddedCatalinaService41] Created
      12:38:27,785 INFO [EmbeddedCatalinaService41] Starting
      12:38:28,376 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@cb998d6c{ url=file:/C:/jboss-3.0.4_tom
      cat-4.1.12/server/default/deploy/tomcat41-service.xml, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/
      jboss-3.0.4_tomcat-4.1.12/server/default/deploy/tomcat41-service.xml; - nested t
      hrowable: (java.lang.NoClassDefFoundError: org/apache/log4j/Layout)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:656)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:261)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      65)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces