At 11:49 AM 8/11/00 -0400, Karl Thiele wrote:
>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".
>
This sounds like a bug in the JDEbug attach process command recently
reported by Matthew Conway in which the command was using "host" instead of
"hostname". The next release (JDE 2.2.2) fixes the problem.
-Paul
>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/jav
>a/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!
>