File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat running in background Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat running in background" Watch "Tomcat running in background" New topic
Author

Tomcat running in background

Amit Goda
Ranch Hand

Joined: Jan 21, 2012
Posts: 37

Hello friends,

I installed TomCat 7.0.26 and integrated with Eclipse Indigo ans everything is working properly. The problem is once i start tomcat it works and when try to stop it nothing happens. i.e it keeps running in the background. Even if i close eclipse tomcat comes up with its homepage in my browser.

Any ideas regarding this???


AMiT
Sachin Pachari
Ranch Hand

Joined: Jan 16, 2012
Posts: 56

Are you using JDK 1.7 ? or JRE 7 ?
Amit Goda
Ranch Hand

Joined: Jan 21, 2012
Posts: 37

I m using jdk 1.6.
Sachin Pachari
Ranch Hand

Joined: Jan 16, 2012
Posts: 56

Try clearing your Browsing history, or clearing your history.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12268
    
    1
Did you install Tomcat as a "service" or as an "application"?

How are you starting Tomcat?

How are you trying to stop Tomcat?

Bill

Java Resources at www.wbrogden.com
Amit Goda
Ranch Hand

Joined: Jan 21, 2012
Posts: 37

No; actually i downloaded zip file from apache site.

I unzipped it in C drive.

I integrated it with eclipse and copied the ROOT folder from webapps direcory of tomcat and placed it in eclipse workspace at the following location

worksapce\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps

and replaced the ROOT folder which was present at this location.

Now am starting tomcat from eclipse server tab.

And stopping it from from eclipse server tab. Eclipse shows the message that server is stopped, but when i close eclipse and try accessing tomcat with localhost:8080 it comes up with its welcome page.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Tomcat running in background
 
Similar Threads
Web.xml not found
Tomcat stopping problem
Jsf Error for simple jsf program in web application.
redirect a bean?
Exception while running struts2 application.