Popular Posts

Tuesday, January 25, 2011

Tomcat web Server Issues

Issue 1.
Sometimes we need to find out what is our Tomcat version installed in our server. We can check Tomcat version with following command version.bat, this version.bat is located at tomcat bin folder

C:\tomcat\bin>version.bat
Using CATALINA_BASE:   "C:\tomcat"
Using CATALINA_HOME:   "C:\tomcat"
Using CATALINA_TMPDIR: "C:\tomcat\temp"
Using JRE_HOME:        "C:\java"
Using CLASSPATH:       "C:\tomcat\bin\bootstrap.jar"
Server version: Apache Tomcat/6.0.26
Server built:   March 9 2010 1805
Server number:  6.0.26.0
OS Name:        Windows XP
OS Version:     5.1
Architecture:   x86
JVM Version:    1.6.0_18-b07
JVM Vendor:     Sun Microsystems Inc.


Issue 2.
Some times we may forget the port number of Tomcat server installed.In such a case you can do the check for tomcat port by following below steps.

a. Go to directory where you installed the Tomcat Server and find the 'conf' directory.
 Eg: C:\tomcat5.5\conf

b. Inside the conf folder you can find the server.xml file, you just open it and search for the value of Connector Port which is nothing but your tomcat server port.


Note

Please feel free to share your personal opinion.

No comments:

Post a Comment