tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Goodman" <>
Subject Can't debug JSP in VisualAge
Date Sun, 21 May 2000 21:55:17 GMT
I have no problem debugging servlets and even normal external class files
(using the "external .class breakpoints" menu item in the debugger), but
when I try JSP (as suggested in the links below) I get "Source not
available" in the debug window.  The debugger lets me define the points
without a hitch (by selecting the line or the method name), so at some level
it knows what munged .java file goes with the .class files (in the "work"
directory), but when it actually hits the breakpoint, it seems to have

After defining the breakpoint, If I click on the "breakpoints" tab in the
debugger and select the external .class, it shows me the source code with
the note "source for external class file" above it, so that's nice, but when
looking at a live thread's breakpoint in the "debug" tab, I get the "source
not available" message, so I can't step through the live code.

I've experienced the exact same problem on BOTH the linux and windows

Setting the source-path in the window options settings doesn't seem to help
too much.  When I set it to point to the location of the .class and .java
files, it will then display the correct file when I hit the breakpoint, but
it won't highlight the line I'm on or show me the correct local variables,

I've followed all the instructions in

I have the 3.1 tomcat and 3.0 eval version of VisualAge all downloaded

ANY help would be very much appreciated.  I'm at a dead-end and I REALLLY
want this to work!

Thank you very much


----- Original Message -----
From: ¿À¼¼ºÀ <>
To: <>
Sent: Friday, May 19, 2000 2:24 AM
Subject: Re: how to debug a servlet (jsp) with VisualAge

> -----¿øº» ¸Þ½ÃÁö-----
> º¸³½ »ç¶÷: Angel Cabello <>
> ¹Þ´Â »ç¶÷: <>
> ³¯Â¥: 2000³â 5¿ù 18ÀÏ ¸ñ¿äÀÏ ¿ÀÈÄ 6:09
> Á¦¸ñ: Re: how to debug a servlet (jsp) with VisualAge
> >Hello:
> >
> >I am very interested in use that way of debugging jsp and servlets, but I
> >start the server from VA.
> >I think I have follow all the instructions that show how to do it in
> >
> >but when I try to run Tomcat I only get this in the output window :
> >
> >Tomcat Web Server Version 3.1
> >Loaded configuration from: file:/home/angel/ide/project_resources/Tomcat
> >3/conf/server.xml
> >
> >but the server never starts, I point mu browser to localhost:8080 but I
> >receive response.
> >If I start the server from the scripts it runs fine.
> >
> >Where am I doing wrong?
> >
> >Where can I get more information integrating VA and Tomcat?
> >
> >Thanks
> >
> > wrote:
> >
> >> Hello,
> >>
> >> i use the free version of visual age for java from ibm. Within the ide
> >> integrated tomcat. Therefore i can run, test, debug and develop my
> >> applications. You are able to set breakpoints, to execute, then the
> >> window pops up and you can proceed in your source step by step.
> >> round-trip- development is possible. It should also be possible with
> >> Jbuilder but i haven't tested it.
> >>
> >> I run it with tomcat 3.1, VAJ 3.0 for linux on suse linux 6.2.
> >>
> >> Yours Johannes
> >
> >
> >To unsubscribe, email:
> >For additional commmands, email:
> >
> >
> That article so  old
> Now tomcat use "org.apache.tomcat.startup.Tomcat" class for starup and
> if  you are going to startup tomcat, no arguments needed
> but if you are going to stop tomcat, "-stop" argument needed
> and -Dtomcat.home=tomcat_home_dir
> property needed of all
> thanks

View raw message