LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-15-2014, 03:24 PM   #1
canopus69
Member
 
Registered: Sep 2013
Posts: 72

Rep: Reputation: Disabled
Tomcat version


On a another server ( unrelated to my other post), tomcat is already installed as i am able to stop/start it using scripts and i can see the config files.

But it does not appear in 'rpm -qa' output.

How do I find the version ?
 
Old 10-15-2014, 03:33 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by canopus69 View Post
On a another server ( unrelated to my other post), tomcat is already installed as i am able to stop/start it using scripts and i can see the config files. But it does not appear in 'rpm -qa' output.

How do I find the version ?
Run:
Code:
java -cp catalina.jar org.apache.catalina.util.ServerInfo
There are other ways as well, but that's just one. Run that from wherever the catalina.jar file is.
 
Old 10-16-2014, 03:01 AM   #3
canopus69
Member
 
Registered: Sep 2013
Posts: 72

Original Poster
Rep: Reputation: Disabled
Thanks it worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 6.0 on Linux, after modifying tomcat-users.xml still cannot login. cuian01 Linux - Newbie 1 01-28-2010 03:45 AM
Stable Version of tomcat` chnlinux Linux - Newbie 1 03-04-2009 02:39 AM
how to see the tomcat and java version in a linux server Karthi_India Linux - Newbie 1 08-21-2007 02:03 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration