🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ibm.software.websphere.application-server
Article #1

Remote debugging WwebSphere 5.0 with JBuilder 7+

#1
From: Bryan Althaus
Date: Wed, 06 Aug 2003 04:35
32 lines
2592 bytes
Does anyone know what options to give IBM's JVM (JDK 1.3.1) to allow
remote debugging of WebSphere 5.x (latest) via JBuilder 7+ (any
version from 7-9)?  According to Borland's whitepaper
<http://bdn.borland.com/article/images/29527/ejbdevwebsphere.pdf> you
just need to startup WAS 4 (paper came out before WAS 5 shipped) with

  -Xdebug -Xnoagent -Djava.compiler=NONE
-Drunjdwp:transport=dt_socket,server=y,address=3999,suspend=n

This works like a charm under all versions of BEA's Weblogic using
Sun's JDK 1.3.x, allowing JBuilder to remotely attach to the server on
port 3999 and debug upon hitting a breakpoint.  Unfortunately with
JBuilder 7 and WAS 5.0 I get a "connection refused" error message!  I
then added JBuilder's remote debugging JAR's to the CLASSPATH with the
same result.

I'm not trying the much harder setup of running WAS 5.0 in the same
JVM as JBuilder (internally), I just want to simply remote debug the
server.  The above setup should allow *any* Java IDE to attach to
*any* Java application as it's just putting the application JVM into
remote debugging mode, listening in on port 3999.

Has anyone done this?  Is this an IBM JVM problem (as Sun spec's out
remote debugging starting w/ JVM 1.3)? Is this a WebSphere problem? A
JBuilder problem?

Any help will be greatly appreciated and save me from debugging via
System.out.println's.

Regards,

Bryan Althaus
Technical Details
Message-ID: <5caf9775.0308052035.59c04ec4@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7ed6,9e867ee56f7c79d3,start
X-Google-Attributes: gidf7ed6,public
X-Google-Thread: ff5c5,9e867ee56f7c79d3,start
X-Google-Attributes: gidff5c5,public
X-Google-Thread: 1090f0,9e867ee56f7c79d3,start
X-Google-Attributes: gid1090f0,public
X-Google-Thread: fa3e3,9e867ee56f7c79d3,start
X-Google-Attributes: gidfa3e3,public
X-Google-ArrivalTime: 2003-08-05 21:35:50 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: bryan@panix.com (Bryan Althaus)
Newsgroups: ibm.software.websphere.application-server,borland.public.jbuilder.enterprise,borland.public.jbuilder.ide,borland.public.jbuilder.debugger
Subject: Remote debugging WwebSphere 5.0 with JBuilder 7+
Date: 5 Aug 2003 21:35:49 -0700
Organization: http://groups.google.com/
Lines: 32
Message-ID: <5caf9775.0308052035.59c04ec4@posting.google.com>
NNTP-Posting-Host: 66.108.233.127
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1060144550 21883 127.0.0.1 (6 Aug 2003 04:35:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 Aug 2003 04:35:50 GMT