3 Replies Latest reply on Oct 6, 2004 3:30 PM by spatel

    Problem with Tutorial-Deployment

    pscheid

      Hello everybody,

      the last days i've installed the Eclipse and JBoss and tried to do the "JBoss-IDE 1.2.2 - Tutorial Guide"

      I installed
      - Eclipse 3.0
      - JBoss 3.2.5
      - JBoss 4.0.0RC
      last but not least
      - JBoss-IDE 1.3.30

      Anything in the Tutorial works fine, with some little changes who depends on the more actuall versions I use.
      With one exception...
      At the end I would deploy the tutorial to the JBoss i've configured and the I get the following exception:

      "16:23:32,940 INFO [EARDeployer] Init J2EE application: file:/C:/Peter/jboss-3.2.5/server/default/deploy/FiboApp.ear
      16:23:32,960 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Peter/jboss-3.2.5/server/default/deploy/FiboApp.ear
      org.jboss.deployment.DeploymentException: Invalid module content, must be one of: ejb, web, java, connector, service,
      at org.jboss.deployment.J2eeModuleMetaData.importXml(J2eeModuleMetaData.java:138)
      at org.jboss.deployment.J2eeModuleMetaData.(J2eeModuleMetaData.java:42)
      at org.jboss.deployment.J2eeApplicationMetaData.importXml(J2eeApplicationMetaData.java:123)
      at org.jboss.deployment.J2eeApplicationMetaData.(J2eeApplicationMetaData.java:45)
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:124)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:700)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)"

      I think i've forgotten one small thing and perhaps... anybody could tell me.

      Regards
      Peter

        • 1. Re: Problem with Tutorial-Deployment
          mmieszek

          Hi,

          Have You solved the problem? What is the content of FiboApp.ear after unpacking? It shoud be:

          - META-INF
          |- application.xml
          - FiboEJB.jar
          - FiboWeb.war

          Check the content of FiboEJB.jar and FiboWeb.war as well, perhaps You missed something during packaging.

          Marcin

          • 2. Re: Problem with Tutorial-Deployment
            pscheid

            Hello,

            no, i haven't solved my problem :-(


            FiboApp.ear:
            - META-INF
            |- application.xml
            |- MANIFEST.MF
            - FiboEJB.jar
            - FiboWeb.war

            FiboEJB.jar
            - META-INF
            |- ejb-jar.xml
            |- jboss.xml
            - tutorial
            |- ejb
            |- FiboBean.class
            |- interfaces
            |- Fibo.class
            |- FiboHome.class


            FiboWeb.war
            - META-INF
            |- MANIFEST.MF
            - WEB-INF
            |- lib
            ||- FiboEJB-client.jar
            |- jboss-web.xml
            |- web.xml
            - index.html

            FiboEJB-client.jar
            - META-INF
            |- MANIFEST.MF
            - tutorial
            |- interfaces
            |- Fibo.class
            |- FiboHome.class

            I don't know how often I've checked the packaging. It looks exactly as it does in the tutorial-screenshot. Maybe i've overlooked something befor the packaging.

            Peter

            • 3. Re: Problem with Tutorial-Deployment

              Hi,

              I am having the same problem as yours.
              Did you able to depoly the project yet?

              Thanks,