• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Weblogic 10.3 JMS Configuration Issue

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic