• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Tomcat strange behaviour ?

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic