0 Replies Latest reply on Aug 10, 2002 6:54 PM by ron

    How to configue JBoss run.bat for debugging with OJVM

    ron Newbie

      Hello All,

      I want to know how to debug my EJB's components
      using JDeveloper9i .

      So i want to debugg the ejb in jboss using the
      OJVM from JDeveloper9i .

      i did the following :

      1) In JDeveloper
      project settings i choose in the Remote Debugging option
      and check the "Attach to OJVM" .

      2) i added two lines in run.bat in JBoss

      set JBOSS_DEBUG_FLAGS=-ojvm -
      XXdebug,detached,quiet,port4000

      java %JBOSS_DEBUG_FLAGS% %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9

      The problem is when i'm trying to run the jboss .
      i get an error:

      Unrecognized option: -ojvm
      Could not create the Java virtual machine.
      Press any key to continue . . .

      please help me , to set the ojvm in order to use the
      JDeveloper9i to debug remotly the EJB in the JBoss .

      thanks in advance.

      roni