• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat strange behaviour ?

 
Peter Laurinec
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm somehow its working as it should with my current tomcat 4.1.30.
Sorry for bothering you and thanks anyway.

Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic