Hi,

I am successfully running the following:

Red Hat 7.1, Linux version 2.4.3-12

java 1.3.1

apache 1.3.20
apache: <http://www.apache.org/>
jakarta-tomcat 3.3-b1
tomcat: <http://jakarta.apache.org

emacs 21.1
eieio-0.17beta3.tar.gz
elib.tar.gz
jde-beta.tar.gz (JDE 2.2.9beta9)
speedbar-0.14beta2.tar.gz
semantic-1.4beta13.tar.gz

I use jdebug to debug a remote Tomcat process. When I want to debug,
I start tomcat up in "debug" mode, using these options:

  TOMCAT_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=n"
  export TOMCAT_OPTS

This has worked just fine in the past. I can access my servlets, set
breakpoints, debug etc.

Now, however, I have a "virtual host" set up in Apache, which also serves
my Tomcat stuff via mod_jk. My virtual host is set up to use this url:

http://marlowe.mit.edu:9998

So, Apache is listening on port 9998, while Tomcat (or jdebug?) is
listening on port 9999. Actually, I'm not quite sure what is listening
on 9999, I just know that I use it to start Tomcat when I want to debug.

I'm not too experienced with port numbers, and I'm not sure if the two
port numbers are even causing the problem. But could they have something
to do with the fact that now, when I start Tomcat in debug mode and
attempt to debug, a browser request for a servlet returns a netscape
error dialog saying "the document contained no data".

I do not get this error dialog when I start Tomcat up normally (without
this stuff:

  TOMCAT_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=9999,server=y,suspend=n"
  export TOMCAT_OPTS

Thanks,

Heather M. Buch

Reply via email to