• Post Reply Bookmark Topic Watch Topic
  • New Topic

server id  RSS feed

 
Peter Kovgan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you help me determine server name or server ID from application programmatically?
That means I need to know in my application on what server it runs.
Thanks!
 
Peter Kovgan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thank you, people,
This is an answer:

String proc = AdminServiceFactory.getAdminService().getProcessName();

ObjectName ob = AdminServiceFactory.getAdminService().getLocalServer();
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!