dcsimg
Cannot find a queue in the Websphere
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Victor_Ma
Posted On:   Wednesday, November 12, 2003 09:35 AM

I wrote a java stand-alone application to put message to a queue in Websphere MQ. This queue is already set up in Websphere. In my code, I put queueConnectionFactory = (QueueConnectionFactory) _dataCache.get(keyName); and it gives me the following message: java.lang.IncompatibleClassChangeError: com.ibm.CORBA.iiop.ORB method createObjectURL(Ljava/lang/String;)Lcom/ibm/CORBA/iiop/ObjectURL; at com.ibm.ws.naming.util.WsnInitCtxFactory.parseIiopUrl(WsnInitCtxFactory.java:1668) at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitCtxFactory.java:1427) at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:368)    More>>


I wrote a java stand-alone application to put message
to a queue in Websphere MQ. This queue is already
set up in Websphere.




In my code, I put
queueConnectionFactory = (QueueConnectionFactory) _dataCache.get(keyName);

and it gives me the following message:
java.lang.IncompatibleClassChangeError: com.ibm.CORBA.iiop.ORB method createObjectURL(Ljava/lang/String;)Lcom/ibm/CORBA/iiop/ObjectURL;
at com.ibm.ws.naming.util.WsnInitCtxFactory.parseIiopUrl(WsnInitCtxFactory.java:1668)
at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitCtxFactory.java:1427)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:368)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at ca.olgc.pir.util.ServiceLocator.getQueueConnectionFactory(ServiceLocator.java:69)
at ca.olgc.pir.bdo.support.JmsTemplate. (JmsTemplate.java:149)
at ca.olgc.pir.bdo.CasinoLinkDAO.updateCard(CasinoLinkDAO.java:553)
at ca.olgc.pir.scheduledJobs.expiredAlerts.PatronStatusTxn.execute(PatronStatusTxn.java:84)
at ca.olgc.pir.scheduledJobs.expiredAlerts.RestorePatronStatus.execute(RestorePatronStatus.java:32)
at ca.olgc.pir.scheduledJobs.expiredAlerts.RestorePatronStatus.main(RestorePatronStatus.java:24)
Exception in thread "P=907590:O=0:CT"



Any suggestions is welcome

   <<Less
About | Sitemap | Contact