2 Replies Latest reply on Dec 17, 2010 10:58 AM by peterj

    jboss5.1 running halt

    lingoojing

      错误:
      ./run.sh: line 307: 28075 段错误 "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
      日志打到这行就停止服务了,此行以上日志均正常,感觉好像是程序运行中突然就停掉了。
      错误提示:307行,可是这个文件一是从来没改过,二是307行只有“done”
      服务器环境:
      Linux zcms2 2.6.18-164.el5PAE #1 SMP Thu Sep 3 04:10:44 EDT 2009 i686 i686 i386 GNU/Linux
      SUN JDK1.6
      JBOSS5.1
      JAVA_OPTS=-server -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xmx2048m -Xms2048m -Xss128k -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:ParallelGCThreads=16 -XX:+UseParallelGC -XX:+UseParallelOldGC

      望高手赐教。谢谢。

       

       

      hello, I have a jboss5.1 error.

       

      error:

      ./run.sh: line 307: 28075 段错误 "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"

       

       

      the server halt when above log appeared.

      log above this line is ok.

      the code 307 line of "run.sh" file is "done" and wasn't modified never.

       

      why?

       

      my server environment:

      Linux zcms2 2.6.18-164.el5PAE #1 SMP Thu Sep 3 04:10:44 EDT 2009 i686 i686 i386 GNU/Linux

      SUN JDK1.6

      JBOSS5.1

      JAVA_OPTS=-server -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Xmx2048m -Xms2048m -Xss128k -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:ParallelGCThreads=16 -XX:+UseParallelGC -XX:+UseParallelOldGC

       

      can you help me?

      thx.

        • 1. Re: jboss5.1 running halt
          wdfink

          Pleas give a bit more informations.

          e.g. shell output (maybe with activated 'set -x' option

          what is the error? does the JVM starts and write a core or isn't it started?

          • 2. Re: jboss5.1 running halt
            peterj

            You should modify run.sh to echo out the entire Java command line (which is in lines 261-264). There is something wrong with the syntax of that line. I suspect an improperly set JAVA_HOME.