0 Replies Latest reply on Mar 27, 2006 3:26 PM by Bagus !

    jboss run.sh or run.jar

    Bagus ! Newbie

      Hi, I'm trying to run jboss on Freebsd 5.3

      Seemed like everyone said to use run.sh, but when I did, I got this output (bottom of post) and then it hangs and a java process runs out of control taking up 99% cpu and nothing else ever happens. I have to kill -9 the java process.

      After living in anguish for a week, I found that I can start it like this:

      java -jar run.java

      Why is that? Why do I have to do this other startup procedure?

      As a bonus question, ok, so I get it started. Is there a web page that I can visit that will prove it to me? My homepage is currently showing a Tomcat Welcome screen (which I don't know how to replace, but that's the bonus bonus question)

      Thanks

      Bagus


      [bagus][/usr/local/jboss-4.0.4RC1/bin]: run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss-4.0.4RC1

      JAVA: /usr/local/jdk1.4.2/bin/java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: /usr/local/jboss-4.0.4RC1/bin/run.jar:/usr/local/jdk1.4.2/lib/tools.jar

      =========================================================================
      [then it hangs and bad things happen to the java process.]