weblogic.jms.common.JMSException: Connection not found
at
weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManag
er.java:121)
at
weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.jav
a:503)
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.ja
va:272)
at weblogic.jms.client.JMSConnection.start(JMSConnection.java:428)
at
com.jamcracker.workflow.WLPIQueueReceive.startup(WLPIQueueReceive.jav
a:142)
SamplePlugin: init called
at
weblogic.t3.srvr.StartupClassRunner.invokeStartup(StartupClassRunner.
java:112)
at
weblogic.t3.srvr.StartupClassRunner.invokeClass(StartupClassRunner.ja
va:93)
at
weblogic.t3.srvr.StartupClassRunner.run(StartupClassRunner.java:61)
any idea why this happened?
here is the code fragment:
String connectionFactory = args[1];
String topicName = args[2];
String url = args[0];
if (connectionFactory == null || topicName == null) {
throw new
IllegalArgumentException("connectionFactory="+connectionFactory+
", topicName="+topicName);
}
ctx = getInitialContext(url);
qconFactory = (QueueConnectionFactory) ctx.lookup(connectionFactory);
qcon = qconFactory.createQueueConnection();
qcon.start();
queue = (Queue) ctx.lookup(topicName);
qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
consumer = qsession.createReceiver(queue);
qcon.start();
--Chunbo
"Chunbo Huang" <chu...@bea.com> wrote in message
news:3baba74e$1...@newsgroups.bea.com...