on 10-22-2008 9:10 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Check with your visual administrator how the JNDI name of the EJB really is.
Check if it is active.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.