cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Adapter module

Former Member
0 Kudos

Dear Experts,

I have created EAR file using the NWDS tool.( the blog: " How to Create Modules fot the J2EE Adapter Engine".)

I have also deployed the EAR file usinf Visual Administrator.

When I am sending the files to a folder then the error is coming as "Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at localebjs, the whole lookup name is localebjs/CreateAttachment.

Attempt to process file failed with com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at localebjs, the whole lookup name is localebjs/CreateAttachment."

Kindly help me.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amit

Check for your XML files while creating the EAR for deployment. JNDI name etc should be correct in the XML file

Check ejb-j2ee-engine.xml file for the Whats the EJB name and JNDI name any spelling mistakes can also create this error.

Verify this as well

@ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
* @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
* @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
* @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
* @stateless

Thanks

Gaurav

Former Member
0 Kudos

Check ejb-j2ee-engine.xml file for the Whats the EJB name and JNDI name any spelling mistakes can also create this error.

Hi,

Both the EJB name and JNDI name is same.

In JAVA, the code is like this..

/*

  • @ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>

  • @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>

  • @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>

  • @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>

  • @stateless

*/

and ejb-j2ee-engine as

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">

<ejb-j2ee-engine>

<enterprise-beans>

<enterprise-bean>

<ejb-name>CreateAttachment</ejb-name>

<jndi-name>CreateAttachment</jndi-name>

<session-props/>

</enterprise-bean>

<enterprise-bean>

<ejb-name>AdapterModuleBean</ejb-name>

<session-props/>

</enterprise-bean>

</enterprise-beans>

</ejb-j2ee-engine>

Kindly help me.

pls, tell me where should I check the error.

Edited by: Amit Mandal on Oct 23, 2008 8:55 AM

Former Member
0 Kudos

Hi,

I am unable to execute the scenario.

Pls, help me.

stefan_grube
Active Contributor
0 Kudos

I recommend restarting the work from scratch.

It is hard to give advice as there are so many possible issues.

Regards

Stefan

Former Member
0 Kudos

Solved

stefan_grube
Active Contributor
0 Kudos

Check with your visual administrator how the JNDI name of the EJB really is.

Check if it is active.

Regards

Stefan

Former Member
0 Kudos

Hi,

Thanks for your quick response.

In the Visual Administrator in JNDI registry the CreateAttachment node is in red color and below details are there:

[Class Name]: com.sap.engine.services.jndi.persistent.UnsatisfiedReferenceImp1

[Value Name]: com.sap.engine.services.jndi.persistent.UnsatisfiedReferenceImp1 Return because error occured in deserializationProcess.

Kindly help me.

Edited by: Amit Mandal on Oct 22, 2008 10:31 PM

stefan_grube
Active Contributor
0 Kudos

Seems taht the library references in the deployment descriptor are not correct.

Check the xml files in the project for correct spelling of the entries.

Regards

Stefan