Scott,

doesn't your instructions imply that JRun is loaded locally. My original
question on this thread is how do I debug remotely?

Bob

-----Original Message-----
From: Scott Stirling [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 5:33 PM
To: JRun-Talk
Subject: RE: Debugging with JBuilder


Are you using JRun 3.1?  I can help either way, but JRun 3.1 will be easier.

Scott

-----Original Message-----
From: McDowell, Mark
To: 'Scott Stirling'; 'JRun-Talk '
Sent: 8/16/2001 5:25 PM
Subject: RE: Debugging with JBuilder

Scott,

I realize you have a lot to do, but I've been trying for over an hour
to configure Karmira bugseeker to debug a JRun service, and between
your instructions and the Karmira instructions can't get it to debug.

I've been trying to remote/attach or remote/listen with no success.
Also, I've looked in the logs you mentioned below, but no sign of any
port/password to attach with...

Any ideas?

Mark

-----Original Message-----
From: Scott Stirling [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 1:19 PM
To: 'McDowell, Mark '; 'JRun-Talk '
Subject: RE: Debugging with JBuilder


I think the best debugger out there is Karmira bugseeker.  It's cheap
and
you can get an eval:

http://www.karmira.com

You can use any Java IDE to debug JSP, Servlets, EJB, whatever running
in
JRun.  The key to doing so is this (assuming your debugger uses
projects,
which virtually all do except jdb):

1. Set up the classpath for the project so it includes all the jars in
JRun's lib and lib/ext directory.  Then add your JDBC driver jar/zip,
your
classes/jars.  Personally, I would recommend creating a new server
instance
and not using the default server since there's junk in there that just
complicates things, like the demo-app and the Pointbase embedded server.

2. Tell the debugger that the main class to invoke is JRun (no package).

3. Configure the command line args.  Usually you just need
"C:\JRun31\servers\yourserver"  since "-start" is implied as a default
(note
- this is for JRun 3.1).

4. If desired, configure the source path for the debugger so it picks up
your source.

5. If desired and if your debugger supports it, filter out
allaire.jrun.*
and allaire.ejipt.*.

Finally, if you want to debug remotely, you have to start the JRun
server
you want to debug with the appropriate Java args, depending whether you
want
to attach to it or listen for an attachment from it.  So go read this
(http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java.html#options) and
this (http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jdb.html) and
then
add the appropriate args to the user.javaargs property of your server's
local.properties.  Basically I don't think it matters whether you choose
the
attach or listen approach, just pick one or the other.  When you start a
JRun server in remote-debug mode, the port and password to attach with
will
be logged in server-name-out.log or -err.log (I don't recall which off
the
top of my head).

Scott

-----Original Message-----
From: McDowell, Mark
To: JRun-Talk
Sent: 8/16/2001 12:12 PM
Subject: RE: Debugging with JBuilder

I haven't been able to debug in the native JRun environment, even with
JRunStudio.  My group uses Forte for Java, Internet Edition.  We debug
JSP's
in Forte using Tomcat (builtin to Forte) and the java code in Forte,
also.
When it runs in Tomcat, we then test in JRun environment...

Mark

-----Original Message-----
From: Will Berger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 10:23 AM
To: JRun-Talk
Subject: RE: Debugging with JBuilder


Has anyone been able to successfully find a debugger in any environment
that
will allow you to debug not only JRun jsp/servlets, but also the custom
java
objects that we would be building.

Any info would be much appreciated.

Will

-----Original Message-----
From: Robert Hames [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 10:59 AM
To: JRun-Talk
Subject: Debugging with JBuilder


Does anyone know how to configure JBuilder 4.0 to debug servlets
remotely on
a server running JRun 3.0? I need to attach to a servlet that is already
started in JRun on the remote machine. I've read Mark Phelps' article on
the
Allaire site, but it deals with JRun running locally. Any help would be
greatly appreciated ....

Bob Hames
[EMAIL PROTECTED]
Cbreeze Systems
(843) 216-6286
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to