Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

catalina.out wrong entries

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,



I added virtual host in server.xml as follow:



When I start Tomcat then catalina.out repeating records as shown above. Please advise

Thanks in anticipation
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of those entries do you consider "wrong", and why?
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


The above deploying web application entry is 4-5 times repeatedly whereas this entry in my tomcat6 was for once.

Thanks for replying
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me that will be your kind enough
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's possible that you are triggering Tomcat 7's ability to run multiple versions of a webapp, although I would hope that they log that feature more explicitly.

On the other hand, if you are defining multiple virtual hosts and each host points to the same tomcat webapps directory, getting multiple instances of the webapp would be exactly what was expected. The apps and hosts are not two entity pools. Each host contains its own set of apps (parent/child relationship).

So you really need to define a separate webapps directory for each virtualHost.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic