• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat init ValidatorPlugin and TilesPlugin twice -- why?

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running Tomcat 5.5 and have 1 struts application deployed under the WEBAPPS directory. Everytime I start up Tomcat in Windows XP, I see the TilesPlugin and ValidatorPlugin init messages twice. It makes startup a little slower but I'm wondering why is it doing that? Here is the startup messages:



Any help is appreciated! Thanks
 
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There not loading the same XML.


5-Jun-2007 12:21:00 PM org.apache.struts.validator.ValidatorPlugIn initResourcesINFO: Loading validation rules file from '/WEB-INF/config/validator-rules.xml'5-Jun-2007 12:21:00 PM org.apache.struts.validator.ValidatorPlugIn initResourcesINFO: Loading validation rules file from '/WEB-INF/config/validation.xml'



one is the try for validator-rules.xml and the other validator.xml
 
Darien Cheung
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, that's correct, but then immediately it seems to load those 2 again.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It could be that your application has been deployed twice.
Use the tomcat manager app to see if it appears in the list more than once.

This, most commonly, occurs when people explicitly declare their web app in server.xml or with a context fragment file but also place the webapp's directory structure (or war file) under the tomcat/webapps directory.
 
reply
    Bookmark Topic Watch Topic
  • New Topic