2 Replies Latest reply on Nov 1, 2004 11:32 AM by luc.texier

    Installing and configuring JBoss 3.2.6 on solaris with jdk 1

    kevivd

      Hi,

      I am trying 2 install and configure JBoss on sun solaris.

      Using the JBoss version 3.2.6.
      The sun box has jdk 1.3.1_01.
      When i run the script run.sh
      the jboss terminates the booting process with error
      NoSuchMethodError... the screen dump is like follows :

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

      JBoss Bootstrap Environment

      JBOSS_HOME: /local/home/usr1jboss-3.2.6

      JAVA: /usr/java/bin/java

      JAVA_OPTS: -server -Dprogram.name=run.sh -Djboss.home.dir=/local/home/usr1/jboss-3.2.6

      CLASSPATH: /local/home/usr1/jboss-3.2.6/bin/run.jar:/usr/java/lib/tools.jar

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

      02:51:17,744 INFO [Server] Starting JBoss (MX MicroKernel)...
      02:51:17,747 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6 (build: CVSTag=JBoss_3_2_6 date=200410140106)
      02:51:17,748 INFO [Server] Home Dir: /local/home/usr1/jboss-3.2.6
      02:51:17,748 INFO [Server] Home URL: file:/local/home//jboss-3.2.6/
      02:51:17,749 INFO [Server] Library URL: file:/local/home/usr1/jboss-3.2.6/lib/
      02:51:17,751 INFO [Server] Patch URL: null
      02:51:17,751 INFO [Server] Server Name: default
      02:51:17,752 INFO [Server] Server Home Dir: /local/home/usr1/jboss-3.2.6/server/default
      02:51:17,752 INFO [Server] Server Home URL: file:/local/home/usr1/jboss-3.2.6/server/default/
      02:51:17,753 INFO [Server] Server Data Dir: /local/home/usr1/jboss-3.2.6/server/default/data
      02:51:17,753 INFO [Server] Server Temp Dir: /local/home/usr1/jboss-3.2.6/server/default/tmp
      02:51:17,754 INFO [Server] Server Config URL: file:/local/home/usr1/jboss-3.2.6/server/default/conf/
      02:51:17,755 INFO [Server] Server Library URL: file:/local/home/usr1/jboss-3.2.6/server/default/lib/
      02:51:17,755 INFO [Server] Root Deployment Filename: jboss-service.xml
      02:51:17,762 INFO [Server] Starting General Purpose Architecture (GPA)...
      java.lang.NoSuchMethodError
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:312)
      at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:192)
      at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56)
      at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:183)
      at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:118)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:350)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
      at org.jboss.Main.boot(Main.java:145)
      at org.jboss.Main$1.run(Main.java:399)
      at java.lang.Thread.run(Thread.java:484)


      Ne clue workarounds will help.

      Thanks in advance,

      -Vivek

        • 1. Re: Installing and configuring JBoss 3.2.6 on solaris with j
          frankgrimes

          I believe that while the 3.2 branch of Jboss supports jdk1.3.1, the binary distribution is compiled on JDK 1.4 (1.4 target) so you should probably download the source distribution and build it yourself on your environment.
          Note that some features that were backported from 4.0 to the 3.2 branch (in jboss-3.2.5 if my memory serves me) introduced some JVM 1.3 incompatibilities (not sure if these have been addressed yet).
          FYI, we compile and ship jboss-3.2.3 for 1.3.1 JVMs so I can vouch for that release working fine.

          • 2. Re: Installing and configuring JBoss 3.2.6 on solaris with j
            luc.texier

            That's correct. 3.2.6 introduced some issues with JDK1.3 that are being addressed as we speak.

            The upcoming 3.2.7 will fix it.

            In the midtime, you may want to use release 3.2.5.