• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS Queue connection problem in WebLogic8.1

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to connect to a JMS Queue that I created on WebLogic8.1 and the tried to connect to th queue by simple Java client.
I am getting this exception :


weblogic.jms.common.JMSException: Invalid destination name: JMSQueue.CGQueue
Exception while creating the Queue On session ..
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:164)
at weblogic.jms.dispatcher.DispatcherImpl_815_WLStub.dispatchSyncNoTranFuture(Unknown Source)
at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:472)
at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:2043)
at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:1511)
at com.jms.JMSProducer.testConnection(JMSProducer.java:106)
at com.jms.Client.main(Client.java:12)
Caused by: weblogic.jms.common.JMSException: Invalid destination name: JMSQueue.CGQueue


I have manually created the queue with name : JMSQueue.CGQueue
and
JNDI : cg.jms.CGQueue

I am able to create ConnectionFactory , but when I try to create the queue by : queueSession.createQueue("JMSQueue.CGQueue");

I get the Exception I have mentioned earlier.

It will be great if anyone can provide me the infromation about the Queue creation process in Weblogic Console as well.

Regards,

Bhaswar
 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post your entire code please?

Shikhar
reply
    Bookmark Topic Watch Topic
  • New Topic