Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GNU/Linux
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Forum:
GNU/Linux
Setting Tomcat in Ubuntu 11.10
pramod talekar
Ranch Hand
Posts: 367
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I'm trying to run a web app on
Tomcat
. This is what I did on Terminal to start Tomcat:
pramod@pramod-Inspiron-1440:~$ cd $CATALINA_HOME pramod@pramod-Inspiron-1440:~/apache-tomcat-7.0.23$ cd bin pramod@pramod-Inspiron-1440:~/apache-tomcat-7.0.23/bin$ ls bootstrap.jar cpappend.bat startup.bat catalina.bat daemon.sh startup.sh catalina.sh digest.bat tomcat-juli.jar catalina-tasks.xml digest.sh tomcat-native.tar.gz commons-daemon.jar setclasspath.bat tool-wrapper.bat commons-daemon-native.tar.gz setclasspath.sh tool-wrapper.sh configtest.bat shutdown.bat version.bat configtest.sh shutdown.sh version.sh pramod@pramod-Inspiron-1440:~/apache-tomcat-7.0.23/bin$ sh startup.sh Using CATALINA_BASE: /home/pramod/apache-tomcat-7.0.23 Using CATALINA_HOME: /home/pramod/apache-tomcat-7.0.23 Using CATALINA_TMPDIR: /home/pramod/apache-tomcat-7.0.23/temp Using JRE_HOME: /usr/lib/jvm/java-6-openjdk/ Using CLASSPATH: /home/pramod/apache-tomcat-7.0.23/bin/bootstrap.jar:/home/pramod/apache-tomcat-7.0.23/bin/tomcat-juli.jar pramod@pramod-Inspiron-1440:~/apache-tomcat-7.0.23/bin$
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
Posts: 423
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
go to the $CATALINA_HOME/bin directory and run version.sh, what is the output ?
pramod talekar
Ranch Hand
Posts: 367
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
Thanks,
Pramod
Do you pee on your compost? Does this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Tomcat startup problems
How to install tomcat5 in Ubuntu 11.04 when it is not in the apt-cache?
Start Tomcat 7 as tomcat user (not root user)
Tomcat unix daemon can't load jsvc tomcat-juli.jar
Setting PATH in Ubuntu
More...