Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Tomcat Monitor error

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just installed Tomcat 6.0.1 on a Windows XP Pro machine with IIS in it. I've installed it will the default parameters and didn't get any errors. When I try to open the Tomcat Monitor I get "An instance of 'Tomcat6' application is already running". Any ideas on why am I getting this. I looked in the log files and couldn't find any errors. I haven't done any confgurations yet (i.e. registry settings, workers files, etc.) but I didn't have a problem in a Windows 2000 machine under the same situation. I'm able to connect to port 8080 with a browser and check the server status though.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does

When I try to open the Tomcat Monitor

mean? How are you doing this? Is this some new feature of Tomcat 6?

Bill
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The monitor is a small app that runs from the Windows start menu.
It exists in version 5 as well.
You get it when you install with the tomcat.exe version.

The monitor app puts a small icon in your systray.
Is it already there?
If so, you can bring the monitor app up by double clicking on that.
You can't have two instances running at the same time.
This is why you're seeing that error.
 
Fernando Margueirat
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply Ben. I hava an Apache icon on my tray. When I double click it I get a small application called Apache Tomcat Properties. I would expect that to be the same application that I could run by running "Configure Tomcat" from the start ment. BTW, when I try to run "Configure Tomcat" I get the same error. When trying to run "Monitor Tomcat" I thought I would get something different.

If I right click the icon on the tray I only get "Configure", "Start Service" (grayed out since it's running), "Stop Service", "Thread Dump" and "About".

Fernando
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's the same app.
I think by 'monitor' they mean that it monitor's the Windows service (running or not running).
I thought it was going to be an app that shows current memory stats, etc. when I first saw it too.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By the way, if you want a decent monitoring tool, check out jConsole.
It ships with JDK1.5.0.
It monitors the JVM itself but also shows you all of the MBean data for an application. Tomcat uses MBeans heavily so you can see quite a lot of information with it.
 
Fernando Margueirat
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ben. I'm now getting really frustrating with another error that I will post in another thread since it is unrelated.
 
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic