3 Replies Latest reply on Apr 18, 2005 11:48 AM by Arie Ozarov

    jboss 3.2.6 on Solaris using 64 bits JVM

    Arie Ozarov Newbie

      We are running sucessfuly Jboss3.2.6 on solaris 8 with java j2sdk1.4.2_08
      We want to switch to the 64 bits JVM.
      I applied the following changes in run.conf

      JAVA_HOME="/export/home/stargus/j2sdk1.4.2_08"
      JAVA="/export/home/stargus/j2sdk1.4.2_08/bin/sparcv9/java"

      The 64 bit JVM seems to reside under $JAVA_HOME/bin/sparcv9 or $JAVA_HOME/jre/bin/sparcv9/

      No matter how I try to configure it I always get the same deployment exception:
      Caused by: java.lang.NoClassDefFoundError: org/jboss/verifier/BeanVerifier
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
      at java.lang.Class.getConstructor0(Class.java:1930)
      at java.lang.Class.getConstructor(Class.java:1027)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:870)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:290)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:317)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:123)
      ... 37 more
      14:48:31,771 INFO [Server] JBoss SHUTDOWN: Undeploying all packages

        • 1. Re: jboss 3.2.6 on Solaris using 64 bits JVM
          Arie Ozarov Newbie

          Just to add for that is that when trying to run it using jdk 1.5
          I get the following error:
          Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean
          at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:223)
          at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:136)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:843)
          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:290)
          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:317)
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:123)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:149)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
          ... 35 more
          16:52:08,387 INFO [Server] JBoss SHUTDOWN: Undeploying all packages


          Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.management.j2ee.LocalJBossServerDomain, msg=org/jboss/management/j2ee/LocalJBossServerDomainMBean
          at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:223)
          at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:136)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:843)
          at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:290)
          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:317)
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:123)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:149)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
          ... 35 more
          16:52:08,387 INFO [Server] JBoss SHUTDOWN: Undeploying all packages

          • 2. Re: jboss 3.2.6 on Solaris using 64 bits JVM
            Frank Langelage Master

            You only have to add option "-d64" to the comamnd line for "$JAVA_HOME/bin/java".

            • 3. Re: jboss 3.2.6 on Solaris using 64 bits JVM
              Arie Ozarov Newbie

              Adding "-d64" seems to be cleaner way to use the 64 bit jvm
              instead of the procedure that I applied but it didn't solve my
              "Caused by: java.lang.NoClassDefFoundError" exception.
              The problem was solved after increasing the value for -XX:PermSize