This is my original jms-ds.xml. <?xml version="1.0" encoding="UTF-8"?> | | <connection-factories> | | <!-- ==================================================================== --> | <!-- JMS Stuff --> | <!-- ==================================================================== --> | | <!-- The JMS provider loader --> | <mbean code="org.jboss.jms.jndi.JMSProviderLoader" | name="jboss.mq:service=JMSProviderLoader,name=JMSProvider"> | <attribute name="ProviderName">DefaultJMSProvider</attribute> | <attribute name="ProviderAdapterClass"> | org.jboss.jms.jndi.JNDIProviderAdapter | </attribute> | <!-- The combined connection factory --> | <attribute name="FactoryRef">java:/XAConnectionFactory</attribute> | <!-- The queue connection factory --> | <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute> | <!-- The topic factory --> | <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute> | <!-- Uncomment to use HAJNDI to access JMS | <attribute name="Properties"> | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost:1100 | </attribute> | --> | </mbean> | | <!-- The server session pool for Message Driven Beans --> | <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader" | name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool"> | <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends> | <attribute name="PoolName">StdJMSPool</attribute> | <attribute name="PoolFactoryClass"> | org.jboss.jms.asf.StdServerSessionPoolFactory | </attribute> | </mbean> | | <!-- JMS XA Resource adapter, use this to get transacted JMS in beans --> | <tx-connection-factory> | <jndi-name>JmsXA</jndi-name> | <xa-transaction/> | <rar-name>jms-ra.rar</rar-name> | <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition> | <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property> | <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property> | <max-pool-size>20</max-pool-size> | <security-domain-and-application>JmsXARealm</security-domain-and-application> | </tx-connection-factory> | | </connection-factories>
I added this one for specifying my remote server. <?xml version="1.0" encoding="UTF-8"?> | | <server> | | <!-- ==================================================================== --> | <!-- JMS Stuff --> | <!-- ==================================================================== --> | | <!-- The JMS provider loader --> | <mbean code="org.jboss.jms.jndi.JMSProviderLoader" | name="jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider"> | | <attribute name="ProviderName">ConversionJMSProvider</attribute> | <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute> | | <!-- The combined connection factory --> | <attribute name="FactoryRef">java:/XAConnectionFactory</attribute> | <!-- The queue connection factory --> | <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute> | <!-- The topic factory --> | <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute> | <!-- Uncomment to use HAJNDI to access JMS --> | | <attribute name="Properties"> | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=192.168.1.75:1099 | </attribute> | </mbean> | | </server> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067384#4067384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067384 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user