This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes javax.naming.NameNotFoundException: Unable to resolve Queue - JMS issue in Clustered Weblogic server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "javax.naming.NameNotFoundException: Unable to resolve Queue - JMS issue in Clustered Weblogic server" Watch "javax.naming.NameNotFoundException: Unable to resolve Queue - JMS issue in Clustered Weblogic server" New topic
Author

javax.naming.NameNotFoundException: Unable to resolve Queue - JMS issue in Clustered Weblogic server

karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 117

Hi Guys,
I am facing a problem in Weblogic server. Need your time for this. We have a Clustered Weblogic server. Had a requirement to install JMS. I have installed two JMS servers(JMS Server1 & JMS Server2) seperately for each cluster.

Also have created JMS Modules for each cluster 1 & 2 targetting the JMS Servers 1 & 2 . Have created Queues and connection Factories (convertQueue,Queue2 , CF1,CF2) for both the JMS Modules. Have also created a SubDeployment for each JMS Module and mapped the Queues and Connection Factories to the Sub Deployment.


Now when both the clusters are up , my queues are working perfectly.

When i shut down one of the cluster, and access my application , i am getting the below error message.



javax.naming.NameNotFoundException: Unable to resolve 'convertQueue'. Resolved ''. remaining name 'convertQueue'


and my application failed to process the file which is using this Queue.

Please let me know if i have made any mistakes in JMS Configuration.




"Learning is a Culture where your Eagerness & Curiosity plays a major Role".
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

did you create Uniform Distributed Queues?
karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 117

Thanks Matt,
And yes , I have resolved it by creating uniform distributed queue. And also by mapping a single JMS Module with all resources to two JMS servers in a cluster !!!
karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 117

Hi Guys,
After implementing JMS successfully in production environment , we got a scenario where there is a JMS message stuck in pending Queue and resulted in Weblogic Server getting Stuck Threads and moving to Warning state immediately.


This is a clustered environment and since after implementing JMS , lots of messages have been processed. Suddenly we got this failure and since this message is stuck , the other messages posted after , also gets held and is not processed.

The system became a standstill . Please let me know what can be the cause and how to resolve this issue
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javax.naming.NameNotFoundException: Unable to resolve Queue - JMS issue in Clustered Weblogic server