4 Replies Latest reply on Nov 15, 2003 6:39 AM by Noel Rocher

    module bb, build.xml

    Noel Rocher Apprentice

      Hi Julien,

      There's typos in the build.xml xhen doing nukes-bb-ear. the names of jar files are wrong.
      I corrected it locally but was not able to commit the change.


        • 1. Re: module bb, build.xml
          Viet Master

          what is the problem ? I don't have any.
          what changed is that now, there are two containers for EJBs, one is readonly (well mostly) on the other is RW. so each EJB is deployed twice.


          • 2. Re: module bb, build.xml
            Andreas Newbie

            I have the same problem too.

            After having updated via cvs, running ./build.sh deploy - the jboss log tells me this:
            org.jboss.deployment.DeploymentException: Failed to find module file: nukes-bb-ejb-ro.jar

            There must be something wrong in one of the deploment descriptors.


            03:04:18,604 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss/jboss-3.2.2/server/default/nukes/nukes-bb.ear
            03:04:18,622 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss/jboss-3.2.2/server/default/nukes/nukes-bb.ear
            03:04:18,730 ERROR [MainDeployer] Could not initialise deloyment: file:/usr/local/jboss/jboss-3.2.2/server/default/nukes/nukes-bb.ear
            org.jboss.deployment.DeploymentException: Failed to find module file: nukes-bb-ejb-ro.jar
            at org.jboss.deployment.EARDeployer.init(EARDeployer.java:171)
            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
            at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy164.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
            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)

            • 3. Re: module bb, build.xml
              Noel Rocher Apprentice

              In the build.xml of the bb module,

              <!-- nukes-bb.ear -->

              <include name="nukes-bb-ejb-wo.jar"/>
              <include name="nukes-bb-ejb-wr.jar"/>

              The bolded strings should be replaced by respectively : ro and rw.

              But let me change it with my new CVS RW access. This will be my first direct change. ... exciting ;o)


              • 4. Re: module bb, build.xml
                Noel Rocher Apprentice