10 Replies Latest reply on Feb 6, 2004 2:36 PM by David Tauzell

    JBoss 3.0.5 fails on IBM JDK 1.4 for Linux

    Dennis Cartier Newbie

      Hello,

      I am not able to start JBoss 3.0.5 on the IBM 1.4 JVM. This version was compiled from source using the IBM JDK. I also included Tomcat 4.1.18.

      It dies right away, as soon as it hits the MainDeployer.

      When I compile this same code under Sun 1.4.1, it works fine. Has anyone else run into this or have any idea how to fix it?

      Thanks,

      Dennis

      ====Trace====
      11:17:11,690 INFO [Server] Core system initialized
      11:17:11,691 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.5_tomcat-4.1.18/server/all/conf/jboss-service.xml
      11:17:13,752 ERROR [MainDeployer] could not create deployment: file:/usr/local/jboss-3.0.5_tomcat-4.1.18/server/all/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService))
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
      at org.jboss.system.ServiceController.install(ServiceController.java:231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
      at java.lang.reflect.Method.invoke(Method.java:335)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy2.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:189)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
      at java.lang.reflect.Method.invoke(Method.java:335)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:566)
      Caused by: RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:883)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:165)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:128)
      ... 25 more
      11:17:13,779 ERROR [Server] start failed
      org.jboss.deployment.DeploymentException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService))
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
      at org.jboss.system.ServiceController.install(ServiceController.java:231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
      at java.lang.reflect.Method.invoke(Method.java:335)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy2.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:189)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
      at java.lang.reflect.Method.invoke(Method.java:335)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:566)
      Caused by: RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:883)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:165)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:128)
      ... 25 more
      org.jboss.deployment.DeploymentException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService))
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
      at org.jboss.system.ServiceController.install(ServiceController.java:231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
      at java.lang.reflect.Method.invoke(Method.java:335)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy2.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:189)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
      at java.lang.reflect.Method.invoke(Method.java:335)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:325)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:222)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:566)
      Caused by: RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:883)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:165)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:128)
      ... 25 more
      11:17:13,784 INFO [Server] Undeploying all packages

        • 1. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
          Dennis Cartier Newbie

          This is the same for IBM 1.3.1 JDK as well. It compiles fine but fails at the same place as the 1.4 JVM version.

          If I try to use a copy compiled with a Sun JDK (1.4.1), and then ran under an IBM JVM, it gives the same failure, so I think this is a bug dealing with running under an IBM JVM and not a compiling issue.

          Somebody must be using an IBM JVM? Anybody?

          Dennis

          • 2. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
            Antonio Da Silva Newbie

            same problem on
            java version "1.3.1"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
            Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020302 (JIT enabled: jitc))


            But my first exception is :

            18:34:32,636 INFO [MainDeployer] Starting deployment of package: file:/home/tonio/jboss/jboss-3.0.5/server/default/conf/jboss-service.xml
            java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.(ZipFile.java:127)
            at java.util.jar.JarFile.(JarFile.java:138)
            at java.util.jar.JarFile.(JarFile.java:80)
            at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:526)
            at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:491)
            at sun.misc.URLClassPath$2.run(URLClassPath.java:287)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
            at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
            at sun.misc.URLClassPath.getResource(URLClassPath.java(Compiled Code))
            at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:675)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:238)
            at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:441)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:513)
            at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:247)
            ....
            18:34:37,601 ERROR [MainDeployer] could not create deployment: file:/home/tonio/jboss/jboss-3.0.5/server/default/conf/jboss-service.xml
            org.jboss.deployment.DeploymentException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.varia.property.PropertyEditorManagerService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)
            Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService))
            at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
            at org.jboss.system.ServiceController.install(ServiceController.java:231)
            at java.lang.reflect.Method.invoke(Native Method)
            ....


            Some jar file corrupted for IBM jvm ??
            Same install work fine on windows 2k via samba

            • 4. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
              Rod Burgett Newbie

              This has now been fixed; thanks, Mr Stark.

              The workaround he mentions in the bug report is found in 3.0 and 3.2 source.

              • 5. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
                Marcus Brito Novice

                Apparently this bug crawled on again in JBoss 3.2.0 RC1:
                [pre]org.jboss.deployment.DeploymentException: create operation failed for package file:/home/mbrito/jboss-3.2.0RC1/server/default/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: instantiating org.jboss.logging.Log4jService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/logging/Log4jService); - nested throwable: (RuntimeErrorException: instantiating org.jboss.logging.Log4jService failed: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/logging/Log4jService)
                Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/logging/Log4jService)))
                at org.jboss.deployment.SARDeployer.create(SARDeployer.java:275)
                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:584)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:40)
                at java.lang.reflect.Method.invoke(Method.java:335)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
                at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
                at $Proxy6.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:323)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:230)
                at org.jboss.Main.boot(Main.java:155)
                at org.jboss.Main$1.run(Main.java:393)
                at java.lang.Thread.run(Thread.java:566)
                [/pre]

                IBM JDK 1.4, Linux. This wasn't happening in beta2.

                • 6. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
                  Dennis Cartier Newbie

                  Release 3.0.6 also fails to run on IBM JDK 1.4.0

                  I could have sworn that Scott had mentioned that this was fixed in 3.0.6, but it still fails to get off the ground for me.

                  I have relented and decided to wait until this is a bit further long before spending anymore time on it. The Sun JDK will have to do. Bleh.

                  • 7. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
                    Dominik Kacprzak Newbie

                    Actually, I don't think that Java version has anything to do with it. Looks like the run.sh script does not create a proper CLASSPATH. I got the jboss server up and running by setting up the classpath from a command line.
                    I will try to fix the script and submit as a patch tomorrow.

                    - Dominik

                    • 8. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
                      Dennis Cartier Newbie

                      Hey Dominik,

                      Were you able to make a patch to fix this? Your posting piqued my interest in seeing this resolved again. Please let me know if you were successful and were the patch could be obtained.

                      Thanks,

                      Dennis

                      • 9. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
                        Antonio Da Silva Newbie

                        Hi,

                        I have some problems with IBM jdk1.3.1 on linux box,
                        but I compile JBoss with this jdk, and now my apps
                        run on it with no problem, just some

                        "java.util.zip.ZipException: error in opening zip file"

                        on start, but not blocking errors
                        may be it is the solution

                        NioTo

                        • 10. Re: JBoss 3.0.5 fails on IBM JDK 1.4 for Linux
                          David Tauzell Newbie

                          I'm getting the same with JBoss 3.0.8 and the IBM JDK:

                          java version "1.4.1"
                          Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
                          Classic VM (build 1.4.1, J2RE 1.4.1 IBM build cxia321411-20030930 (JIT enabled: jitc))