users@glassfish.java.net
Is there a way for code to query what instance it is currently running on?
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
forums_at_java.net
>
Date
: Wed, 15 Aug 2012 12:44:12 -0500 (CDT)
Is there a way for code to query what instance it is currently running on?
I'm trying to write some code that needs to be aware of the instance it is
running on in a cluster. I know by using the REST API it is possible to find
out the instances that are active and also the hostnames/ip addresses of each
instance.
https://DAS:4848/management/domain/clusters/cluster/{cluster
id}/get-health
https://DAS:4848/management/domain/servers/server
https://DAS:4848/management/domain/servers/server/{instance
id} Thanks
-- [Message sent by forum member 'schaffer1969'] View Post:
http://forums.java.net/node/889163
This message
: [
Message body
]
Next message
:
Tom Mueller: "Re: Is there a way for code to query what instance it is currently running on?"
Previous message
:
Mladen Adamovic: "Re: glassfish hangs, any opinion of jstack"
Next in thread
:
Tom Mueller: "Re: Is there a way for code to query what instance it is currently running on?"
Reply
:
Tom Mueller: "Re: Is there a way for code to query what instance it is currently running on?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]