Brian,

I set jnp.disableAutodiscovery=true on the client and that worked for me.

I would now also like to disable HA-JNDI auto-discovery on the app server, but 
I'm having trouble doing that.

I started by specifying jnp.disableAutodiscovery=true in the properties file 
that my app's JNDI utility class uses, and also made sure to list out all the 
nodes in the java.naming.provider.url property value (was just localhost:1100). 
No problems here.

Next, I tried to disable auto-discovery in cluster-service.xml, but ran into 
trouble. The version of jboss that I am using does not support the 
"DiscoveryDisabled" attribute. The comments in 
DetachedHANamingServiceMBean.java and the code in DetachedHANamingService.java 
indicate that auto-discovery can be disabled by setting the 
AutoDiscoveryAddress to null. However, I can't figure out how to do that. So 
far, I've tried:
1. don't set it -- but it just uses the default
2.  -- but setAutoDiscoveryAddress never gets called, so it uses the default
3.     -- putting some spaces in there resulted in a call to 
setAutoDiscoveryAddress, but it complained that "   " wasn't a multicast address
4. ${null} -- I was hoping ${null} would somehow evaluate to null, but it 
evaluated to the literal string "${null}" :(, so I just got an error that it 
couldn't find the address "${null}"

So, is there some syntax I can use in the xml file to get JBoss to call 
setAutoDiscoveryAddress() with a null argument?

Thanks,
-Max

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to