4 Replies Latest reply on May 23, 2006 3:05 PM by Tracey Gates

    java.lang.NoSuchMethodError on run

    Tracey Gates Newbie

      I am trying to install JBoss on a RedHat Es 3.0 server with Apache/Tomcat running. I downloaded the jboss-4.0.4.GA.zip file, unzipped it to my /usr/share/jboss directory. As per the installation instructions for OhioedgeC CRM, it tells me to add "set JAVA_HOME=your_JDK_install_location" as the first line in the run.bar and the shutdown.bat files. Since I am running on Linux, I added that line to my run.sh and shutdown.sh files. I then tried running the run.sh and got the following error:


      ]# ./run.sh
      =========================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /usr/share/jboss/jboss-4.0.4.GA
      
       JAVA: /usr/java/j2sdk1.4.2_06/bin/java
      
       JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
      
       CLASSPATH: /usr/share/jboss/jboss-4.0.4.GA/bin/run.jar:/usr/java/j2sdk1.4.2_06/lib/tools.jar
      
      =========================================================================
      
      Error occurred during initialization of VM
      java.lang.NoSuchMethodError: java.lang.Thread.start()V
      


      What is causing this and how do I fix it?

      I have Tomcat running on port 8080. Do I need to reconfigure Tomcat to run on a different port or can I have JBoss run on a different port?