• 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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.

 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic