0 Replies Latest reply on Mar 12, 2002 6:29 AM by abcd abcd

    error while deploying  a .war file

    abcd abcd Newbie

      my jar file gets deploted correctly, but not my war.it gives me the following error.
      pls. help.

      thks.

      [INFO,ContainerFactory] Deploying:file:/E:/JBoss-2.4.4_Tomcat-4.0.1/JBoss-2.4.4_Tomcat-4.0.1/jboss/t
      mp/deploy/Default/calc.war
      [ERROR,ContainerFactory]
      Bean : Calc
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements t
      he enterprise bean's business methods.

      [ERROR,ContainerFactory]
      Bean : Calc
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home inter
      face in the home element.

      [ERROR,ContainerFactory]
      Bean : Calc
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote int
      erface in the remote element.

      [INFO,ContainerFactory] Deploying Calc
      [ERROR,ContainerFactory] DeploymentError
      java.lang.ClassNotFoundException: CalcHome
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
      at org.jboss.ejb.StatelessSessionContainer.init(StatelessSessionContainer.java:147)
      at org.jboss.ejb.Application.init(Application.java:202)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.jav
      a:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [ERROR,J2eeDeployer] Starting calc.war failed!
      [ERROR,Default] java.lang.NullPointerException
      [ERROR,Default] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.stop(BaseLocalConta
      inerInvoker.java:152)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.ejb.Container.stop(Container.java:382)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.ejb.StatelessSessionContainer.stop(StatelessSessionContainer.ja
      va:216)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.ejb.Application.stop(Application.java:231)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:400)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      [ERROR,Default]
      [ERROR,Default] at java.lang.reflect.Method.invoke(Native Method)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)

      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      [ERROR,Default]
      [ERROR,Default] at java.lang.reflect.Method.invoke(Native Method)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      [ERROR,Default]
      [ERROR,Default] at java.lang.reflect.Method.invoke(Native Method)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configur
      ationService.java:967)
      [ERROR,Default]
      [ERROR,Default] at $Proxy0.start(Unknown Source)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      [ERROR,Default]
      [ERROR,Default] at java.lang.reflect.Method.invoke(Native Method)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.Main.(Main.java:208)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.Main$1.run(Main.java:110)
      [ERROR,Default]
      [ERROR,Default] at java.security.AccessController.doPrivileged(Native Method)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.Main.main(Main.java:106)
      [ERROR,Default]
      [INFO,J2eeDeployer] Module calc.war is not running
      [INFO,J2eeDeployer] Destroying application calc.war
      [ERROR,AutoDeployer] DeploymentInfo failed:file:/E:/JBoss-2.4.4_Tomcat-4.0.1/JBoss-2.4.4_Tomcat-4.0.
      1/jboss/deploy/calc.war
      org.jboss.deployment.J2eeDeploymentException: Error while starting calc.war: null, Cause: java.lang.
      NullPointerException
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:530)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.jav
      a:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [INFO,AutoDeployer] Auto deploy of file:/E:/JBoss-2.4.4_Tomcat-4.0.1/JBoss-2.4.4_Tomcat-4.0.1/jboss/
      deploy/lib/jms-ra.rar
      [INFO,RARDeployer] Attempting to deploy RAR at 'file:/E:/JBoss-2.4.4_Tomcat-4.0.1/JBoss-2.4.4_Tomcat
      -4.0.1/jboss/deploy/lib/jms-ra.rar'
      [WARN,JmsXA] Using default value 'java:DefaultJMSProvider' for config property 'JmsProviderAdapterJN
      DI'