Is it possible to store a connection factory in a remote jndi and
retrieve this to a client running in another machine?
i'm asking this because i've this activemq-ds.xml in jboss 4.0.3SP1
<tx-connection-factory>
<jndi-name>TTT</jndi-name>
<use-java-context>false</use-java-context>
<xa-transaction/>
<track-connection-by-tx/>
<rar-name>activemq-ra-4.0-SNAPSHOT.rar</rar-name>
<connection-
definition>javax.jms.TopicConnectionFactory</connection-definition>
<security-domain-and-application>JmsXARealm</security-domain-and-
application>
</tx-connection-factory>
<tx-connection-factory>
<jndi-name>QQQ</jndi-name>
<xa-transaction/>
<use-java-context>false</use-java-context>
<track-connection-by-tx/>
<rar-name>activemq-ra-4.0-SNAPSHOT.rar</rar-name>
<connection-
definition>javax.jms.QueueConnectionFactory</connection-definition>
<security-domain-and-application>JmsXARealm</security-domain-and-
application>
</tx-connection-factory>
<mbean code="org.jboss.resource.deployment.AdminObject"
name="activemq.queue:name=outboundQueue">
<attribute name="JNDIName">topic/durableTopicExample</attribute>
<depends optional-attribute-
name="RARName">jboss.jca:service=RARDeployment,name='activemq-ra-4.0-
SNAPSHOT.rar'</depends>
<attribute name="Type">javax.jms.Topic</attribute>
<attribute name="Properties">
PhysicalName=topic.durableTopicExample
</attribute>
</mbean>
I can succesfully lookup (no naming exception) TTT and
topic/durableTopicExample
but TTT (the connection factory) is null.
Has someone experimented something like this? I really appreciate any
help to understand, my actual situation.
--
Andrea Manca <[EMAIL PROTECTED]>
Link.it s.r.l.