This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat strange behaviour ?  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!