3 Replies Latest reply on Dec 24, 2002 11:12 AM by prabhakar chaganti

    Segmentation Fault starting in debug mode

    Garry Newbie


      I'm trying to run jboss 3.0.4 in debug mode so I can debug my JSP/Java code from intellij idea. I changed the run.sh script to run the VM in debug mode but I get a segmentation fault when the Web service starts up.
      Any advice on how to solve this problem and/or debugging Jboss using Intellij would be much appreciated.

      I'm using JBoss 3.0.4 on a Linux machine.

      Here is the output from my debug version of the run.sh script:

      JBoss Bootstrap Environment
      JBOSS_HOME: /usr/local/jboss
      JAVA: /usr/local/java/bin/java
      JAVA_OPTS: -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n
      CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/local/java/lib/tools.jar
      ================================================================================
      14:13:46,401 INFO [Server] JBoss Release: JBoss-3.0.4 CVSTag=JBoss_3_0_4
      14:13:46,451 INFO [Server] Home Dir: /usr/local/jboss-3.0.4
      ...
      ...
      14:13:46,483 INFO [Server] Starting General Purpose Architecture (GPA)...
      14:13:47,006 INFO [ServerInfo] Java version: 1.3.1_06,Sun Microsystems Inc.
      14:13:47,008 INFO [ServerInfo] Java VM: Classic VM 1.3.1_06-b01,Sun Microsystems Inc.
      ..
      ..
      14:13:58,086 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      14:13:58,375 INFO [AbstractDeploymentScanner$ScannerThread] Running
      14:13:58,809 INFO [Log4jService] Started
      14:13:58,813 INFO [WebService] Starting
      Segmentation fault