• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat admin service

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Websphere Application Server we have class com.ibm.websphere.management.AdminServiceFactory is used to retrieve the following values:

•Cell name: Name of the cell. The cell name is the host name by default
•Node Name: Name of the node on which application will be deployed. The node name is host name by default
•Process: Specifies the runtime characteristics of a server process such as, JVM settings, errors, and application paths

Do we have any way to find these values in tomcat.

can we have tomcat servlet or a servlet filter to extract the cell,node and process name from a deployment manager.If yes then how?
Or
any tomcat specific class to retrieve cell, node and process name values?

Thanks in advanse
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you check the Tomcat/ Platform JMX for these details?

For example java.lang:type=Runtime - would provide the details of the process. In this check the name attribute - you could see the PID@HOSTNAME. Also other details like JVM settings and path can also be viewed.

Also please take a look in the Catalina:* if the above does not help.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic