Re: remote debugging with out j2ee

Andrew Oliver <[email protected]>
Newsgroups gmane.org.user-groups.trijug.juglist
Message-ID <[email protected]>
In JBoss or Weblogic you can just add something like this to the (jboss: 
run.conf) java process options:

-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y

suspend=y means we'll wait until connect (you don't have to have it)

You can then connect with eclipse or similar "remote" and set the port 
to 8787 of course.  It is also
possible to do this on a remote server, but will be very slow. (just set 
the servername in eclipse as well).

I don't know what the settings are for IBM's JVM (for WebSphere) but 
presume it operates in a similar fashion.



Geoffrey Deasey wrote:
> Is this possible?  I would like to connect to a server running a complex
> j2se based program and remotely debug it.
> 
> Anyone have any advice?
> 
> Geoffrey Deasey
> 
> 
> _______________________________________________
> Juglist mailing list
> [email protected]
> http://trijug.org/mailman/listinfo/juglist_trijug.org
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.