<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Problem integrating Weblogic 8.1 JMS with Jboss 5.1
</h3>
<span style="margin-bottom: 10px;">
reply from <a href="http://community.jboss.org/people/rajsoni">rajsoni</a> in <i>JBoss Messaging Development</i> - <a href="http://community.jboss.org/message/535265#535265">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>sure..np....Here you go....:</p><p>jms-ds.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0" encoding="UTF-8"?></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><connection-factories></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <!-- ==================================================================== --></p><p>  <!-- JMS Stuff                                                            --></p><p>  <!-- ==================================================================== --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!--</p><p>   The JMS provider loader. Currently pointing to a non-clustered ConnectionFactory. Need to</p><p>   be replaced with a clustered non-load-balanced ConnectionFactory when it becomes available.</p><p>   See <a class="jive-link-external-small" href="http://jira.jboss.org/jira/browse/JBMESSAGING-843">http://jira.jboss.org/jira/browse/JBMESSAGING-843</a>.</p><p>   --></p><p>   <mbean code="org.jboss.jms.jndi.JMSProviderLoader"</p><p>      name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider"></p><p>      <attribute name="ProviderName">DefaultJMSProvider</attribute></p><p>      <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute></p><p>    <!--  <attribute name="QueueFactoryRef">weblogicjms</attribute></p><p>      <attribute name="TopicFactoryRef">weblogicjms</attribute>--></p><p>     <attribute name="FactoryRef">XAConnectionFactory</attribute></p><p>     <attribute name="QueueFactoryRef">XAConnectionFactory</attribute></p><p>     <attribute name="TopicFactoryRef">XAConnectionFactory</attribute></p><p>     <attribute name="Properties"></p><p>     java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory</p><p>     java.naming.provider.url=t3://linux-soni.dev.themunicenter.com:7001</p><p>     java.naming.security.authentication=none</p><p>     </attribute></p><p></mbean></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <no-tx-connection-factory></p><p>      <jndi-name>CFX/ExternalConnectionFactory</jndi-name></p><p>      <xa-transaction /></p><p>      <track-connection-by-tx /></p><p>      <rar-name>sun-jms-adapter.rar</rar-name></p><p>  <!--    <connection-definition>javax.jms.QueueConnectionFactory </connection-definition></p><p>      <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Queue</config-property> --></p><p>      <connection-definition>javax.jms.TopicConnectionFactory </connection-definition></p><p>      <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property></p><p>      <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property></p><p>      <config-property name="Destination" type="java.lang.String">javax.jms.Destination</config-property></p><p>      <config-property name="ConnectionURL" type="java.lang.String"><![CDATA[t3://10.9.10.164:7001/?JMSJCA.WLFACTORY=TOPIC.MARKUPMARKET&prefix=jms/destinations;JMSJCA.NoXA=true]]></config-property></p><p>        <min-pool-size>1</min-pool-size></p><p>       <max-pool-size>200</max-pool-size></p><p>        <blocking-timeout-millis>30000</blocking-timeout-millis></p><p>        <idle-timeout-minutes>3</idle-timeout-minutes></p><p>        </no-tx-connection-factory></p><p></connection-factories</p><p>                                                                                                   </p><p> Change to queue or topic as per your need...above...:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Change in MDB : jboss.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0"?><br/> <!DOCTYPE jboss PUBLIC<br/>      "-//JBoss//DTD JBOSS 5.0//EN"<br/>      "<a class="jive-link-external-small" href="http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd</a>"></p><p><jboss><br/>    <enterprise-beans><br/> <message-driven><br/>  <ejb-name>MktMessageProcessorMDB</ejb-name><br/>   <destination-jndi-name>java:/CFX/ExternalConnectionFactory</destination-jndi-name><br/>            <local-jndi-name>local/MktMessageProcessorMDB</local-jndi-name><br/>        <resource-adapter-name>sun-jms-adapter.rar</resource-adapter-name><br/>        <configuration-name>JMSJCA Message Driven Bean</configuration-name><br/> </message-driven></p><p>   <invoker-proxy-bindings><br/>        <invoker-proxy-binding><br/>        <name>jmsjca-message-driven-bean</name><br/>        <invoker-mbean>default</invoker-mbean><br/>        <proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory><br/>        <proxy-factory-config><br/>        <activation-config><br/>        <activation-config-property><br/>             <activation-config-property-name>providerAdapterJNDI</activation-config-property-name><br/>             <activation-config-property-value>java:/DefaultJMSProvider</activation-config-property-value><br/>         </activation-config-property><br/>            <activation-config-property><br/>                 <activation-config-property-name>ConnectionURL</activation-config-property-name><br/>                 <activation-config-property-value>t3://linux-soni.dev.themunicenter.com:7001</activation-config-property-value><br/>             </activation-config-property><br/>         </activation-config><br/>        <endpoint-interceptors><br/>        <interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor><br/>        <interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor><br/>        <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor><br/>        <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor><br/>        </endpoint-interceptors><br/>        </proxy-factory-config><br/>        </invoker-proxy-binding><br/>    </invoker-proxy-bindings></p><p>    <container-configurations><br/>        <container-configuration><br/>            <container-name>JMSJCA Message Driven Bean</container-name><br/>            <call-logging>false</call-logging><br/>            <invoker-proxy-binding-name>jmsjca-message-driven-bean</invoker-proxy-binding-name><br/>            <container-interceptors><br/>            <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor><br/>            <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor><br/>            <interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor><br/>            <!-- CMT --><br/>            <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor><br/>            <interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor><br/>            <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor><br/>            <interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor><br/>            <!-- BMT --><br/>            <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor><br/>            <interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor><br/>            <interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor><br/>            <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor><br/>            <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor><br/>            </container-interceptors><br/>            <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool><br/>            <instance-cache></instance-cache><br/>            <persistence-manager></persistence-manager><br/>            <container-pool-conf><br/>            <MaximumSize>100</MaximumSize><br/>            </container-pool-conf><br/>        </container-configuration><br/>    </container-configurations></p><p></jboss></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>ejb-jar.xml:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0"?><br/> <ejb-jar><br/> <enterprise-beans><br/>  <message-driven><br/>   <ejb-name>MktMessageProcessorMDB</ejb-name><br/>   <ejb-class>com.muni.core.messaging.mktmessageprocessor.MktMessageProcessorBean</ejb-class><br/>   <transaction-type>Bean</transaction-type><br/>   <acknowledge-mode>auto-acknowledge</acknowledge-mode><br/>            <activation-config><br/>                <activation-config-property><br/>                    <activation-config-property-name>concurrencyMode</activation-config-property-name><br/>                    <activation-config-property-value>cc</activation-config-property-value><br/>                </activation-config-property><br/>                <activation-config-property><br/>                    <activation-config-property-name>endpointPoolMaxSize</activation-config-property-name><br/>                    <activation-config-property-value>10</activation-config-property-value><br/>                </activation-config-property><br/>                <activation-config-property><br/>                    <activation-config-property-name>destination</activation-config-property-name><br/>                    <activation-config-property-value>TOPIC.MARKUPMARKET</activation-config-property-value><br/>                </activation-config-property><br/>                <activation-config-property><br/>                    <activation-config-property-name>destinationType</activation-config-property-name><br/>                    <activation-config-property-value>javax.jms.Topic</activation-config-property-value><br/>                </activation-config-property><br/>                <activation-config-property><br/>                    <activation-config-property-name>contextName</activation-config-property-name><br/>                    <activation-config-property-value>XContextName</activation-config-property-value><br/>                </activation-config-property><br/>            </activation-config><br/>  </message-driven><br/></enterprise-beans></p><p></ejb-jar></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/535265#535265">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2043">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>