|The question raised from my JMX Connector which should be able to look
|up more than one jBoss instance running which means more than one JMX
|Connector server-side being registered on the same JNDI service.
|At the moment I solved this by adding the host name within the JMX
|Connector
|JNDI name which then can be extracted. The JNDI name looks this way:
|jmx:<host-name>:<protocol name>
|But this will then raise the problem when you have two instances running on
|the same computer!
ah yes good point...
( I just came back from the management jsr, the famous group77, but since I
am under NDA..)
first call the prefix "management:" the "jmx:" is somewhat implementation
dependent (some will do it in WBEM) although from what I can see everyone is
doing JMX, WL, IBM, Inprise, Enhydra(david is good) so keep it pure for now.
I believe the context will be the key, we need "domain/cluster/node". Of
course the node should contain IP and machine name as well as an identifier
within the cluster. The generation of that "identifier" could be as simple
as an incremented int that says "when you register to my cluster I assign
you that unique id". In that way the node is uniquely identified within
that cluster, be it on the same machine as other nodes. Our identification
could be 1-1 with VM, i don't know.
Ok bottom line is let us come up with a simple registration on clustering
(maybe next week) and then we can uniquely find a path that would uniquely
identify our components
lookup("management:domain/cluster/node/j2eeComponent") (where j2ee component
is all the stuff we manage within one install: pools, containerFact, web
sever, logging, jms, deployer etc etc)
marc
|
|Still thanx for your helps it gave me some insights.
|
|Mad Andy
|
|>
|> On Mon, 9 Oct 2000, Andy "Mad" Schaefer wrote:
|> > Hi Geeks
|> >
|> > As far as I remember multiple jBoss instances cannot use the
|> > same JNDI instance and therefore you cannot run multiple
|> > jBoss instances on the same computer.
|> >
|> > Is this planned for the near future to implement and how will
|> > this influence the JNDI names for the JMX components?
|> >
|> > Have fun - Mad Andy
|> >
|> >
|>
|>
|
|
|