Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes Setting Tomcat in Ubuntu 11.10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Setting Tomcat in Ubuntu 11.10" Watch "Setting Tomcat in Ubuntu 11.10" New topic
Author

Setting Tomcat in Ubuntu 11.10

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hi,

I'm trying to run a web app on Tomcat. This is what I did on Terminal to start Tomcat:


After this, I wrote localhost:8080 in my browser. The browser showed "Apache Tomcat/7.0.12" and not 7.0.23.

Why is this change in the version appearing.

Please advise.
Thank you.


Thanks,
Pramod
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
Hi,

go to the $CATALINA_HOME/bin directory and run version.sh, what is the output ?
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hello sir,

The output is Apache Tomcat/7.0.12.
Guess, I missed it while renaming the folder.

Another thing I noticed was that in WIndows, I was able to run startup.bat & shutdown.bat , but not version.bat.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting Tomcat in Ubuntu 11.10
 
Similar Threads
Setting PATH in Ubuntu
Start Tomcat 7 as tomcat user (not root user)
Tomcat startup problems
Tomcat unix daemon can't load jsvc tomcat-juli.jar
How to install tomcat5 in Ubuntu 11.04 when it is not in the apt-cache?