2 Replies Latest reply on Feb 11, 2004 5:24 AM by Thomas Peuss

    JBoss 3.0.8 on AIX 4.3 / IBM JDK 1.3.1 dies with NoClassDefF

    Thomas Peuss Newbie

      Hello AIX-gurus!

      I have a problem with JBoss 3.0.8 on AIX 4.3 with the IBM JDK 1.3.1 (latest patches applied). I have compiled the JBoss with Sun JDK 1.3.1_05 if this helps.

      JBoss dies with a NoClassDefFoundError on startup. This looks like a JDK-Bug to me...

      Here is the stacktrace:
      17:37:55,073 ERROR [MainDeployer] could not create deployment: file:/home/pronet2/jboss-3.0.8/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 or
      g.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)
      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:191)
      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 java.lang.reflect.Method.invoke(Native Method)
      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:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:513)
      + 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.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)
      at org.jboss.system.ServiceController.install(ServiceController.java:231)
      at java.lang.reflect.Method.invoke(Native Method)
      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:191)
      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 java.lang.reflect.Method.invoke(Native Method)
      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:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:513)


      CU
      Thomas

        • 1. Re: JBoss 3.0.8 on AIX 4.3 / IBM JDK 1.3.1 dies with NoClass
          Juha Lindfors Master

          There's an issue and fix with the 3.2.1 distribution:

           <!-- Preload all custom editors for VMs that don't use the thread
           context class loader when searching for PropertyEditors. Uncomment
           if your JDK 1.3.0 VM fails to find JBoss PropertyEditors.
           < mbean code="org.jboss.varia.property.PropertyEditorManagerService"
           name="jboss:type=Service,name=BootstrapEditors">
           < attribute name="BootstrapEditors">
           java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor
           java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor
           java.lang.Class=org.jboss.util.propertyeditor.ClassEditor
           java.util.Date=org.jboss.util.propertyeditor.DateEditor
           java.io.File=org.jboss.util.propertyeditor.FileEditor
           java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor
           java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor
           javax.management.ObjectName=org.jboss.util.propertyeditor.ObjectNameEditor
           java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor
           [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
           java.net.URL=org.jboss.util.propertyeditor.URLEditor
           < /attribute>
           < /mbean>
           -->
          


          I don't remember if that was included in 3.0.8, check your conf/jboss-service.xml and see if you have a similar section there.