Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2136

Error while using custom Adapter Module: javax.naming.NamingException

$
0
0

Hi all,

 

I have deployed an custom adapter module in PI 7.1 and it is successfully deployed(i checked using netweaver administrator),but when i am using it in Communication channel i am getting exception as (com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/createPDFModule, cannot resolve object reference).

 

From my RWB I can see:

 

Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/createPDFModule, cannot resolve object reference. [Root exception is javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name: Type: clientAppName Content: <vendor name>/AdapterModulesPDF Type: interfaceType Content: local Type: ejb-link Content: Createpdf Type: jndi-name Content: createPDFModule Type: local-home Content: com.sap.aii.af.lib.mp.module.ModuleLocalHome Type: local Content: com.sap.aii.af.lib.mp.module.ModuleLocal javax.ejb.EJBException: nested exception is: java.rmi.RemoteException: [ERROR CODE DPL.DS.6125] Error occurred while starting application locally and wait.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while preparing start of application <vendor name>/AdapterModulesPDF. at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.startApp

 

Also, Is it manadatory to use JNDI name same as class name.

 

 

Please help if possible! Thanks!

Mayank


Viewing all articles
Browse latest Browse all 2136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>