[jboss-dev-forums] [Design of Clustering on JBoss] - Re: HAJNDI access of NamingContext.localServer

bstansberry@jboss.com do-not-reply at jboss.com
Tue Oct 21 16:52:29 EDT 2008


Scott, I'd done JBAS-6023 (inject Naming into HA-JNDI) but it got reverted. I'm about to reapply it, but since your extract of the naming service from conf/jboss-service.xml isn't being reapplied, I'm now doing the injection from a legacy mbean rather than a pojo:

<property name="localNamingInstance"><inject bean="jboss:service=NamingBeanImpl" property="namingInstance"/></property>

If you ever redo the pojoization of the naming service, we'll need to change that to:

<property name="localNamingInstance"><inject bean="LocalNamingBean" property="namingInstance"/></property>

in the following files:

cluster/src/etc/hajndi-jboss-beans.xml
testsuite/src/resources/cluster/ejb2/passexp/partition-passexp-jboss-beans.xml
testsuite/src/resources/cluster/partition/partition-restart-jboss-beans.xml

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

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



More information about the jboss-dev-forums mailing list