[jboss-user] [Management, JMX/JBoss] - Re: Strange results with twiddle.sh when Jboss is down

2006-11-29 Thread bcosnefroy
Hi, Sorry to reply to my own topics... I've found how to solve my problem. There is a jndi.properties file in the twiddle.jar file. In the jndi.properties file, I've added the line: jnp.disableDiscovery=true Now when my Jboss server is down, twiddle.sh returns an Exception. I still have to modi

[jboss-user] [Management, JMX/JBoss] - Re: Strange results with twiddle.sh when Jboss is down

2006-11-29 Thread bcosnefroy
Hi, It seems that I have to use the jndi option: jnp.disableDiscovery=true to disable the multicast. I wonder how to set this option without changing the Twiddle.java code. Should I create a jndi.properties file in the twiddle.jar or should I add a parameter to my java command line in the twid

[jboss-user] [Management, JMX/JBoss] - Re: Strange results with twiddle.sh when Jboss is down

2006-11-29 Thread bcosnefroy
Hi, Thanks Dimitris for your answer. I've search for the option but I can't find it. As you told me, in the org.jboss.console.twiddle.Twiddle.java, I can see: Properties props = new Properties(System.getProperties()); props.put(Context.PROVIDER_URL, serverURL); ctx = new InitialContext(

[jboss-user] [Management, JMX/JBoss] - Strange results with twiddle.sh when Jboss is down

2006-11-24 Thread bcosnefroy
Hi, I use twiddle.sh to monitor some attributes of my jboss server. When the Jboss server is up, I can get without problem the attributes of the jmx-console. However, if the server I request is down, twiddle.sh still return values (for example for FreeMemory). I've tried to get the jboss.system