This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat strange behaviour ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat strange behaviour ?" Watch "Tomcat strange behaviour ?" New topic
Author

Tomcat strange behaviour ?

Peter Laurinec
Ranch Hand

Joined: Sep 13, 2004
Posts: 52
Hi.
This is not kind a big problem i was just wondering why this situation happened to me. I donwloaded and installed tomcat 4.1.28.
It was running without the problem, then I add following lines to server.xml

Then when i removed this line, restarted tomcat the path http://localhost:8080/struts was still working. Any ideas why

Another thing was that when i wanted to have looging enabled for this, I added this lines to server.xml

but when I tried to start the tomcat i get an error message.

Thx for help


SCJP 1.5 (done, at last)<br /> <br />"If everything seems to be going well you have obviously overlooked something."
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
First Question

Now, i'm using Tomcat 5.0.16 , When i remove like you , Sure, it's still working. Because In new Version of Tomcat MUST Loading like this ::

Bootstrap
|
System
|
Common
/ \
Catalina Shared
/ \
Webapp1 Webapp2 ...

IF found some web application is not in your config file , it' autodetect/loading each application.

Reference Website
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
And Second second : Please post your error.

I think, error occurred because your config invalid.

Please reference from Tomcat Document in each version from http://jakarta.apache.org/tomcat
Peter Laurinec
Ranch Hand

Joined: Sep 13, 2004
Posts: 52
Hmm somehow its working as it should with my current tomcat 4.1.30.
Sorry for bothering you and thanks anyway.

Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat strange behaviour ?
 
Similar Threads
Need Help running Tomcat 5.0.28 on OS X
Tomcat5 default root directory
How to set application context path in server.xml
RequestDispatcher foward cross web application error
Tomcat Apache connector - beginner's question