Raffael Herzog wrote:


I have had a similiar problem but with 1.3 beta, 1.2.2 is working reliably for me. Sun 
corrected me for using -host it is supposed to be -hostname. Sun said the
documentation will corrected.  Without using JDEdebug start JDB standalone. This error 
is comming from JDB.  Start debug cmd line with > JDB -attach 8000. I tend to
start the appliation (TOMCAT) with the "suspend" argument set to "y".

For 1.3 JDB I have never successfully attached to a process that is using RMI, fine 
with other processes. I am currently working with Sun on this problem. BTW - this
RMI problem can be duplicated withthe RMI "getting started" examples in the standard 
docs download.

If TOMCAT is using RMI I would like to know or if TOMCAT is using any neworking 
permission in your policy file.  If I hear back from you or others I will be glad let
folks know the resolution from Sun. Hopefully a fix!

-karl

> When I try to attach to Tomcat running in an external VM running on
> another machine, I get the following debugger output:
>
> cd /home/rherzog/cvs/raffael_ch/src/ch/raffael/web/
> java -classpath 
>/usr/share/xemacs/site-lisp/jde/java/src:/usr/share/xemacs/site-lisp/jde/java/lib/jde.jar:/usr/java/jvm/jdk_sun1.2.2/lib/jpda.jar
> jde.debugger.Main
>
>   (jde-dbo-init-debug-session)
>
>   JDE> -1 1 attach_socket 1 -port 8000 -host myhost
>
>   (jde-dbo-command-error 1 "Unspecified error: java.lang.NullPointerException: ")
>
> Tomcat has been started with
>
>   java -Xdebug -Xnoagent
>     -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
>     -Djava.compiler=NONE
>     
>-Xbootclasspath:$JAVA_HOME/jre/lib/rt.jar:/usr/java/jvm/jdk_sun1.2.2/jre/lib/i18n.jar:$JAVA_HOME/lib/tools.jar
>     $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME}
>     org.apache.tomcat.startup.Tomcat "$@"
>
> Im using Sun JDK 1.2.2.
>
> Does anybody know what's wrong here?
>
> Thanx in advance!
>
> --
> Raffael Herzog
> [EMAIL PROTECTED]
>
> May the penguin be with you!
begin:vcard 
n:Thiele;Karl
tel;cell:919-225-1192
tel;fax:919-678-1028
tel;work:919-678-1050 x202
x-mozilla-html:TRUE
org:Alcatel Internetworking
version:2.1
email;internet:[EMAIL PROTECTED]
title:Principle Engineer
adr;quoted-printable:;;Suite 350,=0D=0A6501 Weston Parkway;Cary;North Carolina;27513;USA
x-mozilla-cpt:;-17024
fn:Karl Thiele
end:vcard

Reply via email to