11 Replies Latest reply on Nov 15, 2002 4:20 AM by Scott Dossey

    Starting Jboss under Linux

    nusa Novice

      Hi,

      Something weird when I try to run JBoss 3.0.0 under Linux Mandrake 8.2.
      Here is the output :

      ================================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /home/dana/Java/Software/jboss-3.0.0

      JAVA: /opt/IBMJava2-131/bin/java

      JAVA_OPTS: -Dprogram.name=run.sh

      CLASSPATH: /home/dana/Java/Software/jboss-3.0.0/bin/run.jar:/opt/IBMJava2-131/lib/tools.jar

      ================================================================================

      22:05:32,371 INFO [Server] JBoss Release: JBoss-3.0.0 CVSTag=JBoss_3_0_0
      ...
      then further down, I have this :
      ...
      22:05:41,462 INFO [MainDeployer] Starting deployment of package: file:/home/dana/Java/Software/jboss-3.0.0/server/default/deploy/properties-service.xml
      22:05:41,494 ERROR [STDERR] java.util.zip.ZipException: error in opening zip file
      22:05:41,497 ERROR [STDERR] at java.util.zip.ZipFile.open(Native Method)
      22:05:41,500 ERROR [STDERR] at java.util.zip.ZipFile.(ZipFile.java:127)
      22:05:41,503 ERROR [STDERR] at java.util.jar.JarFile.(JarFile.java:138)
      22:05:41,506 ERROR [STDERR] at java.util.jar.JarFile.(JarFile.java:80)
      ...
      then, again this :
      ...
      22:05:41,709 INFO [MainDeployer] Starting deployment of package: file:/home/dana/Java/Software/jboss-3.0.0/server/default/deploy/mail-service.xml
      22:05:41,725 ERROR [STDERR] java.util.zip.ZipException: error in opening zip file
      22:05:41,728 ERROR [STDERR] at java.util.zip.ZipFile.open(Native Method)
      22:05:41,731 ERROR [STDERR] at java.util.zip.ZipFile.(ZipFile.java:127)
      22:05:41,735 ERROR [STDERR] at java.util.jar.JarFile.(JarFile.java:138)
      ...
      then again this :
      ...
      22:05:42,158 INFO [MainDeployer] Starting deployment of package: file:/home/dana/Java/Software/jboss-3.0.0/server/default/deploy/jms-service.xml
      22:05:42,167 ERROR [STDERR] java.util.zip.ZipException: error in opening zip file
      22:05:42,171 ERROR [STDERR] at java.util.zip.ZipFile.open(Native Method)
      22:05:42,174 ERROR [STDERR] at java.util.zip.ZipFile.(ZipFile.java:127)
      22:05:42,178 ERROR [STDERR] at java.util.jar.JarFile.(JarFile.java:138)
      22:05:42,181 ERROR [STDERR] at java.util.jar.JarFile.(JarFile.java:80)
      ...
      but at the end , I have this :
      ...
      2002-07-03 22:05:49,081 DEBUG [org.jboss.deployment.MainDeployer] Final (start) deployment step successfully completed on package: jboss-service.xml
      2002-07-03 22:05:49,081 INFO [org.jboss.deployment.MainDeployer] Successfully completed deployment of package: file:/home/dana/Java/Software/jboss-3.0.0/server/default/conf/jboss-service.xml
      2002-07-03 22:05:49,082 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.0.0 Date:200205311035] Started in 0m:16s:682ms

      I've checked the right access in the jboss-3.0.0 and its sub-directories.
      Is it because my $JAVA_HOME is under /opt rather under my $HOME ?
      So I reinstall my JDK under $HOME, but it gave me the same log.

      Any idea ?

      Thanks.

        • 1. Re: Starting Jboss under Linux
          E. A. Graham Jr. Newbie

          Well, I personally have never had any luck running the IBM JDK on any of my Linux boxes (all RedHat), so I would suggest getting the Sun JDK and trying that.

          • 2. Re: Starting Jboss under Linux
            yang Newbie

            I also has the same problem. I run IBMJava2-131 in redhat 7.2 .

            Any idea?

            Because I feel the JDK from SUN is not as stable as that of IBM.

            yang

            • 3. Re: Starting Jboss under Linux
              Georg Schmid Newbie


              As far as I can remember there has been a limitation
              on the length of zip file entry names that has only been removed recently in the 1.4 versions.

              Just one of the many possible reasons.

              Cheers
              Georg

              • 4. Re: Starting Jboss under Linux
                Jochen Schurich Newbie

                hi!

                i have exactly the same problem (but on a ibm ppc: rs-6000 44p model 270).

                did you find a solution?

                thanx,
                joe

                • 5. Re: Starting Jboss under Linux
                  nusa Novice

                  As crackers suggest, I finally use Sun JDK instead of IBM one, and it worked fine. No idea why it didn't work ...:(

                  • 6. Re: Starting Jboss under Linux
                    Ratchapong Newbie

                    I have the same problem with IBM's but when i change to SUn's it work fine..

                    I'm using Redhat 7.2 with jdk1.4 everythings seem to work fine.

                    • 7. Re: Starting Jboss under Linux
                      Ram Newbie

                      I also have the same problem. Is this a problem with IBM JDK or JBoss?

                      I don't have a choice of using Sun's JDK. I'm using os390(zVM). Any suggestions?

                      • 8. Re: Starting Jboss under Linux
                        Skander Newbie

                        I have the same problem on Redhat 7.3 with SUN j2sdk 1.4.0 !!! any solutions? (jboss 3.0 with catalina)

                        • 9. Re: Starting Jboss under Linux
                          Skander Newbie

                          Ho, not really the same problem, but it's about opening zip file, look what i got when running jboss :

                          .........
                          .........

                          05:21:16,392 INFO [MainDeployer] Starting deployment of package: file:/usr/java
                          /jboss/server/default/lib/jboss.jar
                          05:21:16,451 WARN [JARDeployer] operation failed; ignoring
                          java.util.zip.ZipException: error in opening zip file
                          at java.util.zip.ZipFile.open(Native Method)
                          at java.util.zip.ZipFile.(ZipFile.java:112)
                          at java.util.jar.JarFile.(JarFile.java:117)
                          at java.util.jar.JarFile.(JarFile.java:55)
                          at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:55)
                          at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:40)
                          at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:53)
                          at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.ja
                          va:85)
                          at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection
                          .java:69)
                          at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubD
                          eployerSupport.java:197)
                          at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:
                          121)
                          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:556)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:501)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                          at $Proxy2.deploy(Unknown Source)
                          at org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:4
                          65)
                          at org.jboss.deployment.SARDeployer.init(SARDeployer.java:155)
                          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:556)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:501)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
                          at org.jboss.Main.boot(Main.java:142)
                          at org.jboss.Main$1.run(Main.java:375)
                          at java.lang.Thread.run(Thread.java:536)
                          05:21:16,518 INFO [JARDeployer] deploying non-jar/xml file: file:/usr/java/jbos
                          s/server/default/lib/jboss.jar
                          05:21:16,524 INFO [MainDeployer] Successfully completed deployment of package:
                          file:/usr/java/jboss/server/default/lib/jboss.jar
                          ..........
                          ..........

                          and then again :

                          05:21:16,660 INFO [MainDeployer] Starting deployment of package: file:/usr/java
                          /jboss/server/default/lib/castor.jar
                          05:21:17,086 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/castor.jar references URL file:/usr/java/jboss/server/default/li
                          b/xerces.jar, which could not be opened, entry ignored
                          05:21:17,090 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/castor.jar references URL file:/usr/java/jboss/server/default/li
                          b/jdbc-se2.0.jar, which could not be opened, entry ignored
                          05:21:17,094 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/castor.jar references URL file:/usr/java/jboss/server/default/li
                          b/jndi.jar, which could not be opened, entry ignored
                          05:21:17,097 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/castor.jar references URL file:/usr/java/jboss/server/default/li
                          b/jta1.0.1.jar which could not be opened, entry ignored
                          05:21:17,100 INFO [MainDeployer] Successfully completed deployment of package:
                          file:/usr/java/jboss/server/default/lib/castor.jar
                          05:21:17,103 INFO [MainDeployer] Starting deployment of package: file:/usr/java
                          /jboss/server/default/lib/jboss-jca.jar
                          05:21:17,242 INFO [MainDeployer] Successfully completed deployment of package:
                          file:/usr/java/jboss/server/default/lib/jboss-jca.jar

                          ........
                          ........

                          and again :

                          05:21:17,375 INFO [MainDeployer] Starting deployment of package: file:/usr/java
                          /jboss/server/default/lib/xalan.jar
                          05:21:17,608 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/xalan.jar references URL file:/usr/java/jboss/server/default/lib
                          /jaxp.jar which could not be opened, entry ignored
                          05:21:17,612 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/xalan.jar references URL file:/usr/java/jboss/server/default/lib
                          /xerces.jar which could not be opened, entry ignored
                          05:21:17,615 WARN [MainDeployer] The manifest entry in file:/usr/java/jboss/ser
                          ver/default/lib/xalan.jar references URL file:/usr/java/jboss/server/default/lib
                          /crimson.jar which could not be opened, entry ignored
                          05:21:17,619 INFO [MainDeployer] Successfully completed deployment of package:
                          file:/usr/java/jboss/server/default/lib/xalan.jar

                          ........
                          ........

                          05:21:21,294 ERROR [SARDeployer] create operation failed for package file:/usr/j
                          ava/jboss/server/default/conf/jboss-service.xml
                          org.jboss.deployment.DeploymentException: instantiating org.jboss.resource.conne
                          ctionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org
                          /jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedList
                          ener; - nested throwable: (RuntimeErrorException: instantiating org.jboss.resour
                          ce.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundEr
                          ror: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionSta
                          rtedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :178)
                          at org.jboss.system.ServiceController.install(ServiceController.java:194
                          )
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                          at $Proxy3.install(Unknown Source)
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:206)
                          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
                          at org.jboss.Main.boot(Main.java:142)
                          at org.jboss.Main$1.run(Main.java:375)
                          at java.lang.Thread.run(Thread.java:536)
                          Caused by: RuntimeErrorException: instantiating org.jboss.resource.connectionman
                          ager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/t
                          m/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener
                          at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBean
                          ServerImpl.java:857)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          790)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          240)
                          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
                          267)
                          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
                          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
                          tor.java:190)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :153)
                          ... 25 more
                          05:21:21,342 WARN [NestedThrowable] Duplicate throwable nesting of same base ty
                          pe: class org.jboss.deployment.DeploymentException is assignable from: class org
                          .jboss.deployment.DeploymentException
                          05:21:21,345 ERROR [MainDeployer] could not create deployment: file:/usr/java/jb
                          oss/server/default/conf/jboss-service.xml
                          org.jboss.deployment.DeploymentException: instantiating org.jboss.resource.conne
                          ctionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org
                          /jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedList
                          ener; - nested throwable: (RuntimeErrorException: instantiating org.jboss.resour
                          ce.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundEr
                          ror: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionSta
                          rtedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener); - nested throwable: (org.jboss.
                          deployment.DeploymentException: instantiating org.jboss.resource.connectionmanag
                          er.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/tm/
                          usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener; - ne
                          sted throwable: (RuntimeErrorException: instantiating org.jboss.resource.connect
                          ionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/j
                          boss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListen
                          er
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener))
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:221)
                          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
                          at org.jboss.Main.boot(Main.java:142)
                          at org.jboss.Main$1.run(Main.java:375)
                          at java.lang.Thread.run(Thread.java:536)
                          Caused by: org.jboss.deployment.DeploymentException: instantiating org.jboss.res
                          ource.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoun
                          dError: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransaction
                          StartedListener; - nested throwable: (RuntimeErrorException: instantiating org.j
                          boss.resource.connectionmanager.CachedConnectionManager failed: java.lang.NoClas
                          sDefFoundError: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTra
                          nsactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :178)
                          at org.jboss.system.ServiceController.install(ServiceController.java:194
                          )
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                          at $Proxy3.install(Unknown Source)
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:206)
                          ... 15 more
                          Caused by: RuntimeErrorException: instantiating org.jboss.resource.connectionman
                          ager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/t
                          m/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener
                          at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBean
                          ServerImpl.java:857)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          790)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          240)
                          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
                          267)
                          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
                          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
                          tor.java:190)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :153)
                          ... 25 more
                          05:21:21,402 ERROR [Server] start failed
                          org.jboss.deployment.DeploymentException: instantiating org.jboss.resource.conne
                          ctionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org
                          /jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedList
                          ener; - nested throwable: (RuntimeErrorException: instantiating org.jboss.resour
                          ce.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundEr
                          ror: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionSta
                          rtedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener); - nested throwable: (org.jboss.
                          deployment.DeploymentException: instantiating org.jboss.resource.connectionmanag
                          er.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/tm/
                          usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener; - ne
                          sted throwable: (RuntimeErrorException: instantiating org.jboss.resource.connect
                          ionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/j
                          boss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListen
                          er
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener))
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:221)
                          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
                          at org.jboss.Main.boot(Main.java:142)
                          at org.jboss.Main$1.run(Main.java:375)
                          at java.lang.Thread.run(Thread.java:536)
                          Caused by: org.jboss.deployment.DeploymentException: instantiating org.jboss.res
                          ource.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoun
                          dError: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransaction
                          StartedListener; - nested throwable: (RuntimeErrorException: instantiating org.j
                          boss.resource.connectionmanager.CachedConnectionManager failed: java.lang.NoClas
                          sDefFoundError: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTra
                          nsactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :178)
                          at org.jboss.system.ServiceController.install(ServiceController.java:194
                          )
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                          at $Proxy3.install(Unknown Source)
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:206)
                          ... 15 more
                          Caused by: RuntimeErrorException: instantiating org.jboss.resource.connectionman
                          ager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/t
                          m/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener
                          at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBean
                          ServerImpl.java:857)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          790)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          240)
                          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
                          267)
                          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
                          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
                          tor.java:190)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :153)
                          ... 25 more
                          org.jboss.deployment.DeploymentException: instantiating org.jboss.resource.conne
                          ctionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org
                          /jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedList
                          ener; - nested throwable: (RuntimeErrorException: instantiating org.jboss.resour
                          ce.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundEr
                          ror: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionSta
                          rtedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener); - nested throwable: (org.jboss.
                          deployment.DeploymentException: instantiating org.jboss.resource.connectionmanag
                          er.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/tm/
                          usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener; - ne
                          sted throwable: (RuntimeErrorException: instantiating org.jboss.resource.connect
                          ionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/j
                          boss/tm/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListen
                          er
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener))
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:221)
                          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:314)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
                          at org.jboss.Main.boot(Main.java:142)
                          at org.jboss.Main$1.run(Main.java:375)
                          at java.lang.Thread.run(Thread.java:536)
                          Caused by: org.jboss.deployment.DeploymentException: instantiating org.jboss.res
                          ource.connectionmanager.CachedConnectionManager failed: java.lang.NoClassDefFoun
                          dError: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTransaction
                          StartedListener; - nested throwable: (RuntimeErrorException: instantiating org.j
                          boss.resource.connectionmanager.CachedConnectionManager failed: java.lang.NoClas
                          sDefFoundError: org/jboss/tm/usertx/client/ServerVMClientUserTransaction$UserTra
                          nsactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :178)
                          at org.jboss.system.ServiceController.install(ServiceController.java:194
                          )
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                          at $Proxy3.install(Unknown Source)
                          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:206)
                          ... 15 more
                          Caused by: RuntimeErrorException: instantiating org.jboss.resource.connectionman
                          ager.CachedConnectionManager failed: java.lang.NoClassDefFoundError: org/jboss/t
                          m/usertx/client/ServerVMClientUserTransaction$UserTransactionStartedListener
                          Cause: java.lang.NoClassDefFoundError: org/jboss/tm/usertx/client/ServerVMClient
                          UserTransaction$UserTransactionStartedListener
                          at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBean
                          ServerImpl.java:857)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          790)
                          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
                          240)
                          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
                          267)
                          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
                          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
                          tor.java:190)
                          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
                          :153)
                          ... 25 more
                          05:21:21,560 INFO [Server] undeploying all packages
                          05:21:21,563 INFO [MainDeployer] Undeploying file:/usr/java/jboss/server/defaul
                          t/conf/jboss-service.xml

                          .........
                          .........

                          5:21:21,745 INFO [ServiceController] Exception removing mbean: jboss.managemen
                          t.single:j2eeType=J2EEDomain,name=Manager
                          javax.management.InstanceNotFoundException: jboss.management.single:j2eeType=J2E
                          EDomain,name=Manager is not registered.
                          at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistr
                          y.java:403)
                          at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java
                          :502)
                          at org.jboss.system.ServiceConfigurator.internalGetConfiguration(Service
                          Configurator.java:543)
                          at org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigur
                          ator.java:534)
                          at org.jboss.system.ServiceController.unregisterClassName(ServiceControl
                          ler.java:733)
                          at org.jboss.system.ServiceController.handleNotification(ServiceControll
                          er.java:719)
                          at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
                          ficationListenerProxy.java:71)
                          at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
                          ficationBroadcasterSupport.java:84)
                          at org.jboss.mx.loading.UnifiedLoaderRepository.removeClassLoader(Unifie
                          dLoaderRepository.java:702)
                          at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader
                          .java:198)
                          at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:259)
                          at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:432)
                          at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:346)
                          at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:293)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
                          erverImpl.java:673)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:6
                          56)

                          ...............
                          ...............

                          05:21:21,844 INFO [ServiceController] Exception removing mbean: jboss.security:
                          name=JaasSecurityManager
                          javax.management.InstanceNotFoundException: jboss.security:name=JaasSecurityMana
                          ger is not registered.
                          at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistr
                          y.java:403)
                          at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java
                          :502)
                          at org.jboss.system.ServiceConfigurator.internalGetConfiguration(Service
                          Configurator.java:543)
                          at org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigur
                          ator.java:534)
                          at org.jboss.system.ServiceController.unregisterClassName(ServiceControl
                          ler.java:733)
                          at org.jboss.system.ServiceController.handleNotification(ServiceControll
                          er.java:719)
                          at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
                          ficationListenerProxy.java:71)
                          at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
                          ficationBroadcasterSupport.java:84)
                          at org.jboss.mx.loading.UnifiedLoaderRepository.removeClassLoader(Unifie
                          dLoaderRepository.java:702)
                          at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader
                          .java:198)
                          at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:259)
                          at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:432)
                          at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:346)
                          at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:293)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
                          erverImpl.java:673)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:6
                          56)
                          05:21:21,878 INFO [ServiceController] Exception removing mbean: jboss.security:
                          name=SecurityConfig
                          javax.management.InstanceNotFoundException: jboss.security:name=SecurityConfig i
                          s not registered.
                          at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistr
                          y.java:403)
                          at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java
                          :502)
                          at org.jboss.system.ServiceConfigurator.internalGetConfiguration(Service
                          Configurator.java:543)
                          at org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigur
                          ator.java:534)
                          at org.jboss.system.ServiceController.unregisterClassName(ServiceControl
                          ler.java:733)
                          at org.jboss.system.ServiceController.handleNotification(ServiceControll
                          er.java:719)
                          at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
                          ficationListenerProxy.java:71)
                          at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
                          ficationBroadcasterSupport.java:84)
                          at org.jboss.mx.loading.UnifiedLoaderRepository.removeClassLoader(Unifie
                          dLoaderRepository.java:702)
                          at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader
                          .java:198)
                          at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:259)
                          at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:432)
                          at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:346)
                          at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:293)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
                          erverImpl.java:673)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:6
                          56)
                          05:21:21,904 INFO [ServiceController] Exception removing mbean: jboss.security:
                          name=XMLLoginConfig
                          javax.management.InstanceNotFoundException: jboss.security:name=XMLLoginConfig i
                          s not registered.
                          at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistr
                          y.java:403)
                          at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java
                          :502)
                          at org.jboss.system.ServiceConfigurator.internalGetConfiguration(Service
                          Configurator.java:543)
                          at org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigur
                          ator.java:534)
                          at org.jboss.system.ServiceController.unregisterClassName(ServiceControl
                          ler.java:733)
                          at org.jboss.system.ServiceController.handleNotification(ServiceControll
                          er.java:719)
                          at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Noti
                          ficationListenerProxy.java:71)
                          at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
                          ficationBroadcasterSupport.java:84)
                          at org.jboss.mx.loading.UnifiedLoaderRepository.removeClassLoader(Unifie
                          dLoaderRepository.java:702)
                          at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader
                          .java:198)
                          at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:259)
                          at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:432)
                          at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:346)
                          at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:293)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
                          nDispatcher.java:284)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
                          erverImpl.java:673)
                          at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:6
                          56)

                          ...........
                          ...........

                          05:21:21,961 INFO [Server] Shutdown complete
                          Shutdown complete



                          Any suggestions ???

                          Thanx

                          • 10. Re: Starting Jboss under Linux
                            Eric Wills Newbie

                            I get the same problem when running JBoss and the IBM vm on Windows. Has anyone found a work around? I've tried loading the jars via my own code and it works fine.

                            Thanks in advance,
                            Eric

                            • 11. Re: Starting Jboss under Linux
                              Scott Dossey Newbie

                              I have a potential fix to the ZipException problem using the IBM 1.3.1 JRE with Jboss. For more information see the more recent thread "IBM VM INSTALLATION".

                              -Scott Dossey
                              seveirein@yahoo.com