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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Setting Tomcat in Ubuntu 11.10" Watch "Setting Tomcat in Ubuntu 11.10" New topic

Setting Tomcat in Ubuntu 11.10

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316


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.

Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423

go to the $CATALINA_HOME/bin directory and run, 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
Tomcat startup problems
Tomcat unix daemon can't load jsvc tomcat-juli.jar
Start Tomcat 7 as tomcat user (not root user)
How to install tomcat5 in Ubuntu 11.04 when it is not in the apt-cache?