You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fabian Sommer <fa...@web.de> on 2002/03/27 18:39:30 UTC

Tomcat Bug while using different paths?

Hello everybody!

I've posted this about 30 hours ago, but perhaps noone noticed it 
because of lot's of different interesting topics.
But if someone has an idea why it could be normal behaviour of Tomcat 
4.0.1 and 4.0.3, running on win98 and JSDK1.3, to work fine using the 
examples context and crushing when loading the same code in an extra 
web-app-context, please let me know...

Here's the text i posted yesterday:
I have a servlet running fine if i put it in the tomcat examples 
directory (adding a servlet and servlet-mapping definitions in web.xml),
but when i try to put it in an own application directory (with slightly 
adopted sample web.xml-file (as found in the conf-directory), tomcat 
just crashes without any tomcat error log - it's really the same code i 
try to deploy in different application directories...
As it's running in a dos box i only see the last lines of a long java 
error stack - anyone an idea how to get this error stack saved for more 
information on what went wrong?
Or has someone else had problems like these?

Thanks for help, comments and questions appreciated!

Fabian


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat Bug while using different paths?

Posted by Remy Maucherat <re...@apache.org>.
> Hello everybody!
>
> I've posted this about 30 hours ago, but perhaps noone noticed it
> because of lot's of different interesting topics.
> But if someone has an idea why it could be normal behaviour of Tomcat
> 4.0.1 and 4.0.3, running on win98 and JSDK1.3, to work fine using the
> examples context and crushing when loading the same code in an extra
> web-app-context, please let me know...
>
> Here's the text i posted yesterday:
> I have a servlet running fine if i put it in the tomcat examples
> directory (adding a servlet and servlet-mapping definitions in web.xml),
> but when i try to put it in an own application directory (with slightly
> adopted sample web.xml-file (as found in the conf-directory), tomcat
> just crashes without any tomcat error log - it's really the same code i
> try to deploy in different application directories...
> As it's running in a dos box i only see the last lines of a long java
> error stack - anyone an idea how to get this error stack saved for more
> information on what went wrong?
> Or has someone else had problems like these?
>
> Thanks for help, comments and questions appreciated!

You can run tomcat using the catalina.bat script with the 'run' argument,
instead of using startup.bat which spawns a new console window. That way,
you should be able to read the error massage.

Remy


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>