To use JPDA debugging protocol, you'll need to modify the parameters you send to the JVM, tell the server how to find the JDPA library, and modify the CLASSPATH for Oracle9i Application Server (9iAS).
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.parameters=-classic wrapper.bin.parameters=-Xdebug wrapper.bin.parameters=-Xnoagent wrapper.bin.parameters=-Djava.compiler=NONE wrapper.bin.parameters=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000
For the invocation options for JPDA, see the Sun VM Invocation Options.
If you are running on Solaris, you may also need to include stdalloc=y as part of the -Xrunjdwp parameter, like the following:
wrapper.bin.parameters=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000,stdalloc=y
wrapper.path=D:\jpda\bin
setenv LD_LIBRARY_PATH /home/jpda/lib/sparc:$LD_LIBRARY_PATH setenv PATH /home/jpda/bin:$PATH
where home/jpda is the path to your JPDA installation. In addition, you will have to pass that environment variable through Apache to the JVM. To do that, in jserv.properties, add the following line:
wrapper.env.copy=LD_LIBRARY_PATH
wrapper.classpath=C:\Oracle\iAS\Apache\jdk\lib\tools.jar wrapper.classpath=C:\Oracle\iAS\Apache\Jsdk\lib\jsdk.jar wrapper.classpath=C:\Oracle\iAS\Apache\Jsdk\lib\ojsp.jar wrapper.classpath=C:\Oracle\iAS\Apache\Jsdk\lib\servlet.jar wrapper.classpath=C:\Oracle\iAS\Apache\Jsdk\lib\ojc.jar
wrapper.classpath=C:\Oracle\iAS\Apache\Jserv\ApacheJServ.jar