4 Replies Latest reply on Apr 23, 2003 9:29 PM by yjyang

    Problem on runing the jboss

    yjyang Newbie

      There weren't any problems when i run the jboss ago.
      But today ,when i run the jboss,it tell me the following errors:
      10:08:22,208 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@c398a3d8{ url=file:/D:/jboss-tom/serve
      r/default/deploy/tomcat41-service.xml, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.E
      mbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: javax/servlet/S
      ervletContext; - nested throwable: (RuntimeErrorException: instantiating org.jbo
      ss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError
      : javax/servlet/ServletContext
      Cause: java.lang.NoClassDefFoundError: javax/servlet/ServletContext)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :153)
      at org.jboss.system.ServiceController.install(ServiceController.java:231
      )
      at sun.reflect.GeneratedMethodAccessor7.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 $Proxy2.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:189)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at sun.reflect.GeneratedMethodAccessor8.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 $Proxy3.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.GeneratedMethodAccessor4.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.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:1003)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:413)
      at sun.reflect.GeneratedMethodAccessor3.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 $Proxy2.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:230)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      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.system.server.ServerImpl.doStart(ServerImpl.java:325)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedC
      atalinaService41 failed: java.lang.NoClassDefFoundError: javax/servlet/ServletCo
      ntext
      Cause: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBean
      ServerImpl.java:883)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      816)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      266)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      293)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
      tor.java:165)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :128)
      ... 55 more

      What is it wrong?I didn't change any configuration.And now When i test the page:http://localhost:8080/jmx-console,it doesn't work.
      Who can tell me what has happened?and how to resolve it ?
      Thanks.