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