0 Replies Latest reply on Mar 20, 2002 11:02 PM by boram

    DeploymentException (using JBuilder)

    boram Newbie

      I tried to deploy my EJB using JBuilder.
      My EJB jar file(quickstart_!.jar) was copied to JBoss/deploy successfully.
      But in the JBoss command window, I found deployment error messages like this.
      What's my problem?

      ________

      /deploy/quickstart_!.jar
      [INFO,J2eeDeployer] Deploy J2EE application: file:/C:/JBoss/JBoss-2.4.4_Tomcat-4
      .0.1/jboss/deploy/quickstart_!.jar
      [INFO,J2eeDeployer] Create application quickstart_!.jar
      [INFO,J2eeDeployer] install EJB module quickstart_!.jar
      [INFO,ContainerFactory] Deploying:file:/C:/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/
      tmp/deploy/Default/quickstart_!.jar
      [ERROR,ContainerFactory] DeploymentError
      org.jboss.deployment.DeploymentException: Failed to obtain xml doc from URL, Cau
      se: java.util.zip.ZipException: Can't find the file
      at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav
      a:229)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:143)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:436)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:369)
      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:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      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:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at java.lang.Thread.run(Thread.java:484)
      [ERROR,J2eeDeployer] Starting quickstart_!.jar failed!
      [ERROR,Default] org.jboss.deployment.DeploymentException: Could not deploy file:
      /C:/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/quickstart_!.jar, Ca
      use: org.jboss.deployment.DeploymentException: Failed to obtain xml doc from URL
      , Cause: java.util.zip.ZipException: Can't find the file[ERROR,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
      y.java:403)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
      y.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(MBeanSe
      rverImpl.java:1628)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1523)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDe
      ployer.java:487)
      [ERROR,Default]
      [ERROR,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2
      eeDeployer.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(MBeanSe
      rverImpl.java:1628)
      [ERROR,Default]
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.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.ja
      va:233)
      [ERROR,Default]
      [ERROR,Default] at java.lang.Thread.run(Thread.java:484)
      [ERROR,Default]
      [INFO,J2eeDeployer] Module quickstart_!.jar is not running
      [INFO,J2eeDeployer] Destroying application quickstart_!.jar
      [ERROR,AutoDeployer] DeploymentInfo failed:file:/C:/JBoss/JBoss-2.4.4_Tomcat-4.0
      .1/jboss/deploy/quickstart_!.jar
      org.jboss.deployment.J2eeDeploymentException: Error while starting quickstart_!.
      jar: Could not deploy file:/C:/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/D
      efault/quickstart_!.jar, Cause: org.jboss.deployment.DeploymentException: Could
      not deploy file:/C:/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/tmp/deploy/Default/quic
      kstart_!.jar, Cause: org.jboss.deployment.DeploymentException: Failed to obtain
      xml doc from URL, Cause: java.util.zip.ZipException: Can't find the file
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:518)

      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:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at java.lang.Thread.run(Thread.java:484)