[jboss-dev-forums] [Design of Management Features on JBoss] - Contents of jnp-service.url file

charles.crouch@jboss.com do-not-reply at jboss.com
Wed Jul 1 19:30:41 EDT 2009


This question arises out of https://jira.jboss.org/jira/browse/JOPR-254

JBAS5 now generates a file when it starts up which contains a jnp url which can be used by clients to connect to the JBAS instance. This was done to make it easier for the Jopr/JON agent to bootstrap its connection without have to go into the bowels of the app server and parse various configuration files to determine the url.

This all works great until someone binds the JBAS instance to 0.0.0.0, at which point the url in the file also contains 0.0.0.0 which is not very helpful for a client to connect to. So in this case what address should we be using?

a) default for the host (could be loopback or external address)
b) any loopback address
c) change the file to return all addresses

Since the Jopr/JON agent is the only client for this file so far, option b) is fine for us.

I'm wondering if we ever need to specify a non-loopback address in this case for any other future clients? The JON agent is almost always local so want's to go over the loopback address. If we don't hear any other opinions to the contrary will probably go with option b).

Thanks

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241306#4241306

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241306



More information about the jboss-dev-forums mailing list