Posted: Thu Dec 27, 2007 7:13 am Post subject: Exception in MQ Binding
Voyager
Joined: 04 May 2006 Posts: 78
Hi Guys,
I have implemented a business process which invokes an MQ binding Import comto put a message.
This MQ binding import component uses preconfigured JNDI.
When I am invoking this import I get the following error.
[12/27/07 16:56:38:188 IST] 00000077 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "getResource" on bean "BeanId(THShippingInstructionApp#THShippingInstructionEJB.jar#Module, null)". Exception data: javax.naming.NameNotFoundException: Name "comp/env/sca/resource/import/SG.B2BI.WPS.APP.TH.O.01_MQIMPORT_CF" not found in context "java:".
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java(Compiled Code))
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java(Compiled Code))
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:201)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:142)
at javax.naming.InitialContext.lookup(InitialContext.java:361)
at com.ibm.ws.sca.internal.ejb.util.EJBLocator$JndiLocator.locate(EJBLocator.java:461)
at com.ibm.ws.sca.internal.ejb.util.EJBLocator.locate(EJBLocator.java:439)
at com.ibm.ws.sca.internal.ejb.util.JndiAdapter.<init>(JndiAdapter.java:44)
at com.ibm.ws.sca.internal.ejb.util.JndiAdapterFactory.createAdapter(JndiAdapterFactory.java:39)
at org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adaptNew(AdapterFactoryImpl.java:112)
at org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adapt(AdapterFactoryImpl.java:9
at com.ibm.wsspi.sca.ejb.module.impl.ModuleSessionBean.getResource(ModuleSessionBean.java:230)
at com.ibm.wsspi.sca.ejb.module.EJSLocalStatelessModule_43132892.getResource(EJSLocalStatelessModule_43132892.java:437)
at com.ibm.ws.sca.internal.mq.handler.MQImportHandler.getConnectionFactory(MQImportHandler.java:626)
at com.ibm.ws.sca.internal.mq.handler.MQImportHandler.processMessage(MQImportHandler.java:189)
at com.ibm.ws.sca.internal.message.impl.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:1279)
at com.ibm.ws.sca.internal.message.impl.ManagedMessageImpl.process(ManagedMessageImpl.java:578)
at com.ibm.wsspi.sca.ejb.module.impl.ModuleSessionBean.processUOWMessage(ModuleSessionBean.java:336)
at com.ibm.wsspi.sca.ejb.module.impl.ModuleSessionBean.transactionSupportsActivitySessionSupports(ModuleSessionBean.java:260)
Were u able to resolve this issue.I have a similar requirement,and we are to use MQBinding(Export)could you guide me on how to go about achieving this.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum