All,
Has anyone successfully been able to debug JRun based applications with
either VC 3.0c or JBuilder 2.01?
I am trying to use the JDK 1.2.1 JVM to debug my JRun servlets on NT.
Someone posted a nice wrapper class that starts JRun just fine, using VC, if
you only execute the program. However, trying to debug in VC is a no show,
it never seems to stop at a breakpoint.
If anyone has this working with VC 3.0c (or JBuilder) I would appreciate any
hints on how to set up the pluggable JVM (and debugger).
Thanks in advance,
Mike Fontenot
The Jrun wrapper class:
import com.livesoftware.jrun.service.*;
import java.util.*;
public class JRunHttpServer
{
public static void main(String[] argv)
{
try
{
System.out.println("User directory = " +
System.getProperty("user.dir"));
//symantec.itools.qa.PropFinder.printDefaultProperties();
com.livesoftware.jrun.service.ServiceManager jrunServer =
new com.livesoftware.jrun.service.ServiceManager();
String[] args = new String[1];
args[0] = "E:\\JRunPro23\\jsm-default";
System.out.println(args[0]);
jrunServer.main(args);
}
catch (Exception e)
{
System.out.println("Exception caught: " +e.toString());
}
}
}
========================================
Mike Fontenot - Object Systems Architect
Polygon Network, Inc.
Golden, CO
========================================
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html