0 Replies Latest reply on Jan 16, 2006 5:37 PM by chi lin

    Problem deploying the JBoss Admin Console

    chi lin Newbie

      Since late last week,we've been getting a ClassNotFoundException while deploying the admin console. We've verified that the subject class (org.apache.struts.action.ActionServlet.class) exists in struts-1.2.6.jar which is (and has always been) included in admin-console.war, so we're not quite sure why all of a sudden we're getting this error. The problem looks very similar to JIRA issue JBAS-2072 (
      http://jira.jboss.org/jira/browse/JBAS-2072), but we definitely need a quicker fix.

      Here're the error messages:

      09:01:38,418 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-he
      ad/build/output/jboss-5.0.0alpha/server/default/deploy/admin-console.war
      org.jboss.ws.WSException: java.lang.ClassNotFoundException: org.apache.struts.ac
      tion.ActionServlet
       at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebS
      erviceDeployerJSE.java:159)
       at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
      :97)
       at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJS
      E.java:65)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
      create(SubDeployerInterceptorSupport.java:175)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
      ptor.java:92)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:262)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
       at $Proxy31.create(Unknown Source)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
       at sun.reflect.GeneratedMethodAccessor44.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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:157)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:138)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:140)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:262)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
       at $Proxy9.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:334)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:522)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:207)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:218)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:197)
      Caused by: java.lang.ClassNotFoundException: org.apache.struts.action.ActionServ
      let
       at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
       at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebS
      erviceDeployerJSE.java:149)
       ... 30 more