Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat init ValidatorPlugin and TilesPlugin twice -- why?

 
Darien Cheung
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • 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
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Yes, that's correct, but then immediately it seems to load those 2 again.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic