This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes catalina.out wrong entries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "catalina.out wrong entries" Watch "catalina.out wrong entries" New topic
Author

catalina.out wrong entries

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
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
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Which of those entries do you consider "wrong", and why?


Ping & DNS - my free Android networking tools app
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732


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

Joined: Mar 22, 2008
Posts: 732
Please help me that will be your kind enough
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: catalina.out wrong entries
 
Similar Threads
/usr/share/apache-tomcat-6.0.20/webapps/perl does not exist or is not a readable directory
Seeting Ant for deployment to tomcat using eclipse
Logging into Tomcat
why eclipse is still running older tomcat version
Tomcat 7 Start up errors