File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Weblogic 10.3 JMS Configuration Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 10.3 JMS Configuration Issue" Watch "Weblogic 10.3 JMS Configuration Issue" New topic
Author

Weblogic 10.3 JMS Configuration Issue

vchowk kpm
Greenhorn

Joined: Feb 15, 2011
Posts: 1
Hi, We are migrating from weblogic 8.1 to 10.3 and am having a problem in deploying the JMS module.
We have a weblogic cluster and this cluster conencts to an IBM MQ using the ForeignJMS Server in weblogic 8.1 the configuration is as below and everything was working fine:

<ForeignJMSServer ConnectionURL="file:/opt/temp/config/jndi"
InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
JNDIProperties="" Name="tempjms" Targets="tempCLU1">
<ForeignJMSConnectionFactory LocalJNDIName="QCF"
Name="tempjms MQ Factory" RemoteJNDIName="ResQCF"/>
<ForeignJMSDestination
LocalJNDIName="v1.local"
Name="v1.local" RemoteJNDIName="v1.local"/>
</ForeignJMSServer>


Now I would like to know how I can achieve the same configuration in weblogic 10
I tried creating a JMS Module
Created a Foreign server under this module
Created a SubDeployment for this and targetted it to the cluster
The Foreign server has the Destinations and the Conenction Factory Defined in it.


When I bring my weblogic up it shows the below errors in the logs

<Feb 14, 2011 3:02:37 PM CST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: tempMDB is unable to connect to the JMS destination: v1.local. The Error was:
Can not get distribute destination information. The destination JNDI name is v1.local, the provider URL is null>


Can someone help me over here, its very urgent and would really appreciate your help. Thanks.
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Hi,

From the error it is evident that the <provider-url> value in the weblogic-ejb-jar.xml file is not defined.

A sample MDB weblogic-ejb-jar.xml should look like below.
******************************************
<weblogic-ejb-jar
xmlns="http://www.bea.com/ns/weblogic/90" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>TestMDB</ejb-name>
<message-driven-descriptor>
<destination-jndi-name>Queue</destination-jndi-name>
<provider-url>t3://localhost:7001</provider-url>
</message-driven-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
******************************************


You can refer the below link for configuration of the WebLogic Foreign JMS Server with MQ Series.

http://weblogic-wonders.com/weblogic/2010/11/24/weblogic-foreign-jms-server-configuration-with-mq-series/

Cheers,
Anandraj
http://weblogic-wonders.com/


Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic 10.3 JMS Configuration Issue
 
Similar Threads
Weblogic Integration with MQ issue
Probelem with MDB l(on weblogic 7.0) listening to MQ (Start-up class issue )
Configure a Bridge between Websphere MQ 6.0(Previously MQSeries) and Weblogic 9.2
Problem integrating Weblogic 8.1 with Sonic MQ 6.1
HOW-CONFIGURE FOREIGN JMSCONNECTIONFACTORY&QUEUE IN WEBLOGIC 8.1 TO ACCESS MQ5.3(Msgs