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

Hi,

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

Thanks,
Raghu
Jan 8 '08 #1
6 43054
epots9
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
Hi,
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

http://localhost:8080/

Rgds
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

0
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...
2
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...
0
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
2
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...
6
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...
2
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...
0
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...
1
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...
4
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 {
0
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...
0
isladogs
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
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...
0
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
1
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...
0
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.