Lukas �sterreicher wrote:

Hello there.

I use tomcat 4.1.12 and there are two problems i have:

- each time I recompile some classes (servlets) I have to
restart tomcat. I have read tomcat 4 has a switch to auto-load
these new classes so I don't have to restart again. What to do
to "turn over" this switch to have auto-loading enabled?

- my own classes show up with "Unknown source" when they throw
an exception and this is giving me a headache on properly debugging.
I use exactly the same project (deploying with ant) on a tomcat 3
server and there the line-numbers are displayed correctly, so I guess
it's something tomcat 4 does - how to configure him to display lines
where the exception occoured correctly?

Thank you in advance,
Lukas

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Lukas,

I don't know for sure about your first problem since I haven't played with auto load extensivly since tomcat 3x. I believe however that there is a switch somewhere in server.xml...

As for your other problem:
If you compile your classes without the debugging information, the JVM can't tell you what line number exceptions are thrown. The only reason I can think of that TC 4.1.12 wouldn't show you the line numbers would be because either your classes, or the classes TC uses were compiled without debugging options. Obviously, this is done to increase runtime speed.

Randy


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to