To use Oracle's JVM debugging protocol, you'll need to change the JVM that Oracle9i Application Server (9iAS) uses, modify the parameters you send to the JVM, change the ApJServerAction entry, add servlet init parameters, and modify the CLASSPATH for Apache JServ.
These changes must be made on the computer that is hosting 9iAS. You will need administrator or root permission to make these changes.
wrapper.bin=C:/Program Files/JDeveloper 3.2/java1.2/bin/java.exe
wrapper.bin.parameters=-XXdebugondemandquietport4000
The -XXdebug parameter options are the following:
ondemand
Start the java program right away and allow a debugger to connect any time. The default is the Java program stays halted until a debugger is connected.
port4000
Debugger must connect at the specified port. The default port is 4000.
quiet
Don't print connection messages. The default is connection messages are sent to standard error.
#ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
ApJServAction .jsp /servlets/oracle.jsp.JspServlet
servlet.oracle.jsp.JspServlet.initArgs=emit_debuginfo=true servlet.oracle.jsp.JspServlet.initArgs=jspcompiler=oracle.jdeveloper.jsp.JspOjcCompiler servlet.oracle.jsp.JspServlet.initArgs=classpath=C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\frt.jar
wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\jswdk-1.0\lib\servlet.jar wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\jdeveloper.zip wrapper.classpath=C:\Program Files\Oracle\JDeveloper 3.2\lib\ojsp.jar
wrapper.classpath=C:\Program Files\Apache\JServ\ApacheJServ.jar
#wrapper.classpath=C:\jsdk2.0\lib\jsdk.jar