Hi all,

I'm running the folloing:

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 have a local virtual host set up in apache. I have set up
/etc/hosts like this:

127.0.0.1       localhost
127.0.0.1       mln

and set up some additional stuff in httpd.conf, which allows me
to type http://mln to invoke my web app.

Prior to this, I used a tomcat context, and invoked my web app
like this

 http://localhost/mln

When I used the "localhost" url, jdebug remote debugging of a local
tomcat process worked fine. I had added the extra java arguments
to my tomcat.sh. I would start jdebug, attach to the local
process running on port 9999, set a breakpoint in my servlet, invoke
my servlet in the browser, and I could step through and look at my
variables.

Now, with my virtual host, things are not working. I start up jdebug,
attach to a local process on 9999, set a breakpoint, and invoke the
servlet, but the web app just runs and misses jdebug  and the
breakpoint entirely. I
cannot step through my code. I have tried attaching to a "remote host"
process as well, specifying "mln" as my host, but still, the servlet just
runs and does not stop when it hits the breakpoint.

Are there issues with jdebug attaching to a process when a virtual host is
used? Any ideas?

Thanks!

Heather M. Buch

Reply via email to