Programmer's Guide to Servlets in Enterprise Server 4.0
Table of Contents | Previous
| Next
| Index
Programmer's Guide to Servlets in Enterprise Server 4.0
Enterprise Server 4.0 ships with the Java Runtime Environment (JRE), not the Java Development Kit (JDK). However, during installation you can select an option that tells the server to use the JDK if it is installed elsewhere on your system.
If the server has been instructed to use a JDK, you can do remote servlet debugging. If the server is using the JRE, you need to switch it to using the JDK before you can do remote debugging. For information on instructing the server to use the JDK or the JRE, see the section "Configuring JRE/JDK Paths" in Chapter 1, "Using Servlets and JavaServerPages."
Assuming that the server is using the JDK, you can enable remote debugging by following these steps:
jvm.enableDebug=1
java.compiler=DISABLED
Init fn="load-modules" shlib="server_root/bin/https/bin/NSServletPlugin_g.dll" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
Start the server manually and record the password for remote debugging (this will be displayed on the console)
Start the Java debugger: jdb -host your_host -password the_password
You should be able to debug your Java classes now.
Table of Contents | Previous
| Next
| Index
Last Updated: 08/12/99 12:39:32
Copyright © 1999 Netscape Communications Corp. All rights reserved.