[jboss-user] [Clustering/JBoss] - Re: clustering/JMS problem among machines not using same par

bstansberry@jboss.com do-not-reply at jboss.com
Wed Feb 11 15:20:19 EST 2009

There is something wrong with how JNDI is working in that application. That stack trace shows that the call is using an HA-JNDI proxy to make a remote call to an HA-JNDI server. That shouldn't be needed for code running inside the AS; the org.jnp.interfaces.NamingContext.lookup() method should be a direct call on the naming server running inside the AS -- no remote call.

Please confirm:

1) You don't have a jndi.properties file anywhere in anything you deployed inside the AS. The only one that should be there is the one in the AS's conf/ dir.

2) You are using the standard JBoss AS JNDI service; i.e. you haven't replaced it with something.

3) The config of your NamingBeanImpl inside conf/jboss-service.xml looks like this:

  |    <mbean code="org.jnp.server.NamingBeanImpl"
  |       name="jboss:service=NamingBeanImpl"
  |       xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
  |    </mbean>

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

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

More information about the jboss-user mailing list