13 Replies Latest reply on Aug 5, 2003 2:55 AM by Viet

    Build Nukes/JBoss from CVS failed

    paxson Newbie

      Hi, I checked out the source files of nukes this morning and built it. However, I encountered the following errors

      >>>
      _default:compile-classes:
      [mkdir] Created dir: D:\javaproject\jboss\nukes\sections\output\classes
      [depend] Deleted 0 out of date files in 0 seconds
      [javac] Compiling 9 source files to D:\javaproject\jboss\nukes\sections\output\classes

      _default:compile-etc:
      [mkdir] Created dir: D:\javaproject\jboss\nukes\sections\output\etc
      [copy] Copying 3 files to D:\javaproject\jboss\nukes\sections\output\etc

      _default:compile-resources:
      [copy] Copying 9 files to D:\javaproject\jboss\nukes\sections\output\resources

      compile:

      output:
      [mkdir] Created dir: D:\javaproject\jboss\nukes\sections\output\lib

      BUILD FAILED
      file:D:/javaproject/jboss/nukes/sections/build.xml:165: D:\javaproject\jboss\nukes\sections\src\bin\nukes-sections-lib-j
      ar not found.

      Total time: 2 minutes 17 seconds
      >>>

      I checked and found that there is no such directory named "D:\javaproject\jboss\nukes\sections\src\bin\nukes-sections-lib-j
      ar". If I comment out the line refer to that directory in the build.xml of sections, it works perfectly. Is there something wrong with my build steps.

        • 1. Re: Build Nukes/JBoss from CVS failed
          Viet Master

          this is very strange because I have this directory in my nukes/sections/bin/resources.

          how did you checkout nukes ? "cvs co nukes" ?

          btw : thanks for the feedback on your blog

          julien

          • 2. Re: Build Nukes/JBoss from CVS failed
            paxson Newbie

            Sorry, I missed that directory because I enabled the attribue of "Prune empty directories" of my Eclipse. Now I have such directory and re-built it. However, I encountered some problems while executing the "build deploy-distrib" command in $SRC_ROOT/distrib.

            >>>
            init:

            assembledb:
            [sql] Executing file: D:\javaproject\jboss\nukes\distrib\output\sql\setup\hsqldb.ddl
            [sql] Failed to execute: INSERT INTO nuke_journal_stats (pn_sid,pn_uid,pn_nop,pn_lp,pn_micro) VALUES (1,1,0,'2003-
            01-20:11:33:19','2003-01-20:11-33-19')

            BUILD FAILED
            file:d:/javaproject/jboss/nukes/distrib/build.xml:188: java.sql.SQLException: Wrong data type: Timestamp format must be
            yyyy-mm-dd hh:mm:ss.fffffffff in statement [INSERT INTO nuke_journal_stats (pn_sid,pn_uid,pn_nop,pn_lp,pn_micro) VALUES
            (1,1,0,'2003-01-20:11:33:19','2003-01-20:11-33-19')]

            Total time: 21 seconds
            >>>

            I found that the values of type timestamp are incorrect. The value of '2003-01-20:11:33:19' should be '2003-01-20 11:33:19'.

            paxson

            • 3. Re: Build Nukes/JBoss from CVS failed
              paxson Newbie

              I also found that there are some problems with the jboss-service.xml of the following modules:

              1. adminmessages
              2. faq
              3. sections

              The tage did not terminated by but .

              paxson

              • 4. Re: Build Nukes/JBoss from CVS failed
                Viet Master

                I fixed the wrong xmbean tags.
                The module distrib is really out of sync and fixing the sql will not be enough. The build is somewhat wrong (bad included libraries + bad jboss-service.xml (old style)), plus the sql generated is not the good one as you pointed it out.

                I have to work on that soon, we plan to do an alpha release soon since we have enough modules now.

                If you have distrib building something working could you send me the patched files ? otherwise I will work on that later.

                julien

                • 5. Re: Build Nukes/JBoss from CVS failed
                  Khuong Dinh Pham Newbie

                  I have just update nukes from cvs today.

                  I get the following fail when I execute /build/build.bat :

                  [execmodules] E:\cvs\nukes\nukes\src\main\org\jboss\nukes\component\ComponentSupport.java:23: cannot resolve symbol
                  [execmodules] symbol : class SynchronizedCachePolicy
                  [execmodules] location: package util
                  [execmodules] import org.jboss.util.SynchronizedCachePolicy;

                  JBOSS_HOME = D:\jboss-3.2.2RC1_tomcat-4.1.24

                  • 6. Re: Build Nukes/JBoss from CVS failed
                    Viet Master

                    this is code I commited and is present only from 3.2.2RC2, use tomcat version please.

                    julien

                    • 7. Re: Build Nukes/JBoss from CVS failed
                      madlion Newbie

                      Hi,

                      i checkout the last code from cvs but couldn't get it running.
                      Build works properly but if i deploy the ear i get the following trace:

                      12:40:44,813 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.2RC2/server/default/deploy/nukes-distrib.ear
                      12:40:44,826 INFO [EARDeployer] Init J2EE application: file:/opt/jboss-3.2.2RC2/server/default/deploy/nukes-distrib.ear
                      12:40:45,976 WARN [MainDeployer] The manifest entry in file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/commons-logging-api.jar references URL file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/log4j.jar which could not be opened, entry ignored
                      12:40:45,976 WARN [MainDeployer] The manifest entry in file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/commons-logging-api.jar references URL file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/log4j-core.jar which could not be opened, entry ignored
                      12:40:47,020 WARN [ClassLoadingTask] Duplicate class found: org.apache.commons.collections.BeanMap$1
                      Current CS: (file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/commons-collections.jar <no certificates>)
                      Duplicate CS: (file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47647commons-collections.jar <no certificates>)
                      12:40:47,043 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
                      12:40:47,043 ERROR [MainDeployer] could not create deployment: file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/nukes.sar
                      org.jboss.deployment.DeploymentException: create operation failed for package file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/nukes.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
                      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
                      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
                      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:768)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                      at sun.reflect.GeneratedMethodAccessor15.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy7.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:200)
                      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                      at sun.reflect.GeneratedMethodAccessor8.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:550)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
                      at $Proxy0.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:394)
                      at sun.reflect.GeneratedMethodAccessor7.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy5.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
                      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy6.deploy(Unknown Source)
                      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:383)
                      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:290)
                      at org.jboss.Main.boot(Main.java:150)
                      at org.jboss.Main$1.run(Main.java:388)
                      at java.lang.Thread.run(Thread.java:536)
                      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
                      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
                      at org.jboss.system.ServiceController.install(ServiceController.java:225)
                      at sun.reflect.GeneratedMethodAccessor12.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy5.install(Unknown Source)
                      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
                      ... 49 more
                      Caused by: java.lang.reflect.UndeclaredThrowableException
                      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)
                      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)
                      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
                      ... 58 more
                      Caused by: java.lang.LinkageError: duplicate class definition: org/apache/commons/collections/BeanMap$1
                      at org.apache.commons.collections.BeanMap.(Unknown Source)
                      at org.jboss.nukes.core.modules.core.CoreModule.(CoreModule.java:97)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
                      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:851)
                      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:295)
                      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:110)
                      ... 60 more
                      12:40:47,047 ERROR [MainDeployer] could not create deployment: file:/opt/jboss-3.2.2RC2/server/default/deploy/nukes-distrib.ear
                      org.jboss.deployment.DeploymentException: create operation failed for package file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/nukes.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
                      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
                      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
                      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:768)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                      at sun.reflect.GeneratedMethodAccessor15.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy7.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:200)
                      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                      at sun.reflect.GeneratedMethodAccessor8.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:550)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
                      at $Proxy0.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:394)
                      at sun.reflect.GeneratedMethodAccessor7.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy5.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
                      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy6.deploy(Unknown Source)
                      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:383)
                      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:290)
                      at org.jboss.Main.boot(Main.java:150)
                      at org.jboss.Main$1.run(Main.java:388)
                      at java.lang.Thread.run(Thread.java:536)
                      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
                      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
                      at org.jboss.system.ServiceController.install(ServiceController.java:225)
                      at sun.reflect.GeneratedMethodAccessor12.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy5.install(Unknown Source)
                      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
                      ... 49 more
                      Caused by: java.lang.reflect.UndeclaredThrowableException
                      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)
                      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)
                      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
                      ... 58 more
                      Caused by: java.lang.LinkageError: duplicate class definition: org/apache/commons/collections/BeanMap$1
                      at org.apache.commons.collections.BeanMap.(Unknown Source)
                      at org.jboss.nukes.core.modules.core.CoreModule.(CoreModule.java:97)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
                      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:851)
                      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:295)
                      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:110)
                      ... 60 more
                      12:40:47,051 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@56ea1797{ url=file:/opt/jboss-3.2.2RC2/server/default/deploy/nukes-distrib.ear, deployedLastModified=0 }
                      org.jboss.deployment.DeploymentException: create operation failed for package file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/nukes.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
                      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
                      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
                      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:768)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                      at sun.reflect.GeneratedMethodAccessor15.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy7.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:200)
                      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                      at sun.reflect.GeneratedMethodAccessor8.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:550)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
                      at $Proxy0.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:394)
                      at sun.reflect.GeneratedMethodAccessor7.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy5.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
                      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                      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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy6.deploy(Unknown Source)
                      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:383)
                      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:290)
                      at org.jboss.Main.boot(Main.java:150)
                      at org.jboss.Main$1.run(Main.java:388)
                      at java.lang.Thread.run(Thread.java:536)
                      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
                      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
                      at org.jboss.system.ServiceController.install(ServiceController.java:225)
                      at sun.reflect.GeneratedMethodAccessor12.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:550)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                      at $Proxy5.install(Unknown Source)
                      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
                      ... 49 more
                      Caused by: java.lang.reflect.UndeclaredThrowableException
                      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)
                      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155)
                      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
                      ... 58 more
                      Caused by: java.lang.LinkageError: duplicate class definition: org/apache/commons/collections/BeanMap$1
                      at org.apache.commons.collections.BeanMap.(Unknown Source)
                      at org.jboss.nukes.core.modules.core.CoreModule.(CoreModule.java:97)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
                      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:851)
                      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:295)
                      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:110)
                      ... 60 more
                      12:40:47,060 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
                      Cause: Incomplete Deployment listing:
                      Packages waiting for a deployer:
                      [org.jboss.deployment.DeploymentInfo@94beaeac { url=file:/opt/jboss-3.2.2RC2/server/default/deploy/jbosscmp-jdbc-entity-commands.xml }
                      deployer: null
                      status: null
                      state: INIT_WAITING_DEPLOYER
                      watch: file:/opt/jboss-3.2.2RC2/server/default/deploy/jbosscmp-jdbc-entity-commands.xml
                      lastDeployed: 1059907231870
                      lastModified: 1059907231000
                      mbeans:
                      ]Incompletely deployed packages:
                      [org.jboss.deployment.DeploymentInfo@94beaeac { url=file:/opt/jboss-3.2.2RC2/server/default/deploy/jbosscmp-jdbc-entity-commands.xml }
                      deployer: null
                      status: null
                      state: INIT_WAITING_DEPLOYER
                      watch: file:/opt/jboss-3.2.2RC2/server/default/deploy/jbosscmp-jdbc-entity-commands.xml
                      lastDeployed: 1059907231870
                      lastModified: 1059907231000
                      mbeans:
                      , org.jboss.deployment.DeploymentInfo@56ea1797 { url=file:/opt/jboss-3.2.2RC2/server/default/deploy/nukes-distrib.ear }
                      deployer: org.jboss.deployment.EARDeployer@1343ed0
                      status: Deployment FAILED reason: create operation failed for package file:/opt/jboss-3.2.2RC2/server/default/tmp/deploy/tmp47670nukes-distrib.ear-contents/nukes.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
                      state: FAILED
                      watch: file:/opt/jboss-3.2.2RC2/server/default/deploy/nukes-distrib.ear
                      lastDeployed: 1059907246679
                      lastModified: 1059907244000
                      mbeans:
                      ]MBeans waiting for classes:

                      MBeans waiting for other MBeans:
                      [ObjectName: nukes.modules:name=adminmessages
                      state: CONFIGURED
                      I Depend On: nukes.modules:name=core
                      jboss.j2ee:service=EJB,jndiName=nukes/adminmessages/AdminMessages

                      Depends On Me: , ObjectName: nukes.blocks:name=adminmessages
                      state: CONFIGURED
                      I Depend On: nukes.modules:name=core
                      jboss.j2ee:service=EJB,jndiName=nukes/adminmessages/AdminMessages

                      Depends On Me: , ObjectName: nukes.modules:name=faq
                      state: CONFIGURED
                      I Depend On: nukes.modules:name=core
                      jboss.j2ee:service=EJB,jndiName=nukes/faq/Faq
                      jboss.j2ee:service=EJB,jndiName=nukes/faq/FaqCategory

                      Depends On Me: , ObjectName: nukes.modules:name=journal
                      state: CONFIGURED
                      I Depend On: nukes.modules:name=core
                      jboss.j2ee:service=EJB,jndiName=nukes/journal/Journal
                      jboss.j2ee:service=EJB,jndiName=nukes/journal/Stat
                      jboss.j2ee:service=EJB,jndiName=nukes/journal/Comment

                      Depends On Me: ]
                      12:40:47,072 INFO [URLDeploymentScanner] Started
                      12:40:47,204 INFO [MainDeployer] Deployed package: file:/opt/jboss-3.2.2RC2/server/default/conf/jboss-service.xml


                      I have absolutly no idea what's wrong. The old version on jboss 3.2.2RC1 works perfect.

                      Any ideas?

                      Greetings

                      • 8. Re: Build Nukes/JBoss from CVS failed
                        Viet Master

                        I think you are not using the good version of JBoss, you are using 3.2.2rc2 with jetty instead of 3.2.2rc2 with tomcat.

                        • 9. Re: Build Nukes/JBoss from CVS failed
                          madlion Newbie

                          I wish it would be so but i think i have the right version because of these output:

                          ...
                          12:40:21,240 INFO [EmbeddedCatalinaService41] Creating
                          12:40:21,255 INFO [EmbeddedCatalinaService41] Created
                          12:40:21,275 INFO [EmbeddedCatalinaService41] Starting
                          12:40:22,288 INFO [STDOUT] Apache Tomcat/4.1.24-LE-jdk14
                          12:40:22,412 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on port 8080
                          12:40:22,428 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on port 8080
                          12:40:22,773 WARN [JkMain] No properties file found /opt/jboss-3.2.2RC2/server/default/conf/jk2.properties
                          12:40:22,801 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
                          12:40:22,806 INFO [JkMain] Jk running ID=0 time=0/33 config=null
                          ...

                          Any other idea? Maybe the sdk? I'm using j2jdk1.4.1_02 on SuSE Linux 8.1.

                          • 10. Re: Build Nukes/JBoss from CVS failed
                            Khuong Dinh Pham Newbie

                            I have the same error with jboss3.2.2.RC2 (tomcat version)

                            I am using j2sdk1.4.2 on windows 2000

                            • 11. Re: Build Nukes/JBoss from CVS failed
                              Viet Master

                              one question have you done a fresh CVS checkout ? because the problem is that the beanmap class from commons-collection is deployed two times in the server : one time by tomcat and one time by Nukes.

                              Nukes now has been adapted for that and does not contains the commons-collections.jar anymore, if you're using an old version of nukes this would explain that exception you have during the deployment phase.

                              julien

                              • 12. Re: Build Nukes/JBoss from CVS failed
                                madlion Newbie

                                I just managed it!
                                The advice with the commons-collection was good.
                                I did a new fresh cvs checkout but it dosn't work so i removed the commons-collection entries from distrib/build.xml and distrib/src/resources/nukes-distrib-ear/META-INF/application.xml.
                                And this works for me.

                                The problem is still in cvs i think.

                                • 13. Re: Build Nukes/JBoss from CVS failed
                                  Viet Master

                                  yes hte distrib module was the only one I did not update. paxson sent me changes to make to it. just be a little bit patient :-)

                                  julien