I am able to resolve the exception i posted in the previous message reading 
another post which suggested placing jboss-messaging-client.jar in 
server/server-name/lib folder. 

However, I have another problem looking up an XA Connection factory from a jms 
client. 

Heres my configuration.
Iam using jboss-4.0.3SP1 with jboss-messaging-1.0.1CR2. There is a requirement 
in my project that I configure a JMS XAConnectionFactory. I have configured the 
xa connection factory using JMSRA as instructed in wiki pages. These are the 
entries wmxjms-ds.xml which i have placed in deploy folder.

  <connection-factories>
  |     <tx-connection-factory>
  |             <jndi-name>WMXQueueConnectionFactory</jndi-name>                
  |             <use-java-context>false</use-java-context>
  |             <xa-transaction/>
  |             <rar-name>jms-ra.rar</rar-name>
  |             
<connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
  |             <config-property name="JmsProviderAdapterJNDI" 
type="java.lang.String">java:/DefaultJMSProvider</config-property>
  |             <config-property name="SessionDefaultType" 
type="java.lang.String">javax.jms.Queue</config-property>
  |     </tx-connection-factory>
  | </connection-factories>
  | 

At server startup I can see the prints 
14:30:43,296 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:name=WMXQueueConnectionFactory,servic
e=ConnectionFactoryBinding' to JNDI name 'WMXQueueConnectionFactory'

So I  believe, the connection factory is correctly configurred. Now, when I am 
trying to lookup WMXQueueConnectionFactory from a stand alone jms client, 
lookup returns a "null". I have only jboss-messaging-client.jar in my 
classpath. Is there any configuration that I have done wrong ? I read in jboss 
wiki that by setting <use-java-context>false</use-java-context>, a jms client 
program running outside the jms context can lookup using the jndi name. However 
I am unable to do so. Any help in resolving this issue will be greatly 
appreciated

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to