473,380 Members | 1,296 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,380 software developers and data experts.

Check if tomcat server is running


Can you tell me how to check if tomcat server is running. Is there a command i can use.

Jan 8 '08 #1
6 43054
1,351 Expert 1GB
theres usually an icon in the system tray for tomcat or go into the services folder and see if its running.
Jan 8 '08 #2
theres usually an icon in the system tray for tomcat or go into the services folder and see if its running.
Thanks. Although what i really wanted to know was if there was any way of checking that using command prompt?
Jan 9 '08 #3
I have finally found java code to impliment this. I have used HttpUrlConnection to check if tomcat is running. Thanks for the help!
Appriciate it
Jan 29 '08 #4
ps -ef|grep tomcat
ps -ef | grep - i tomcat
Nov 25 '10 #5
using above can able to check in Unix or solaris platforms

in windows hit an url


Suman D
Nov 25 '10 #6
@Suman D
In Windows..
Check the directory where tomcat is installed
Go to the directory called \conf
for example mine is C:\apache-tomcat-6.0.29\conf
Look for the file name server.xml
Open this file and check what is the connector port for HTTP..
And then hit that port. for eg. my connector port is 8009 then hit http://localhost:8009/
Nov 26 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Shireesha | last post by:
Hi all, I am new to this group and wish clear some doubts regarding tomcat server and database connection pooling (Java language). Our group has developed a application using Tomcat 4.x. We need...
by: Steve | last post by:
Hi, I'm trying to design a web server where users can login, initiate long running processes on uploaded files, monitor the progress via a web page and download some results when the process has...
by: kim | last post by:
Hi, i'd like to know how control which server is actually running between mysqld and mysqld-max. How could i be? Thanks a lot, Kim -- kim
by: shanmukhi | last post by:
Hi, I am using tomcat i got a problem with tomcat 5.0.25 as i specified jdk path during installation of tomcat as C:/j2sdk1.4.2_12/jre i tried by specifying path as...
by: shaileshkumar | last post by:
iam able to startup & shutdown tomcat server from the bin directory. But when i have copied the same files on to the desktop,iam unable to do so. my operating system is xp. (i have copied...
by: gamiravi.d | last post by:
Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two...
by: ntech | last post by:
hello, i have a problem. i am using the tomcat server for java. my problem is that: i want to use the same tomcat server with client authentication having two certificate authorities. i have been...
by: abhitripathi | last post by:
Hi, I am a Java developer and know nothing about ColdFusion. I need help from you all CF experts. here is the situation: I created a workspace in Eclipse 3 by getting the code from...
by: shivapadma | last post by:
1.I installed apache tomcat. 2.I have the following java servlet import java.io.*; import javax.sevlet.*; import javax.servlet.http.*; public class ser extends HttpServlet {
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.