on 04-09-2015 1:12 PM
Hi Experts,
I am executing File to IDOC scenario. For this scenario we are receiving .xlsx file from FTP location and For conversion of .xlsx file, we have used custom module in sender channel Module tab.
We have moved this module into production system but During execution is giving me below error in Audit log:-
09.04.2015 14:16:23 Information MP: entering1
09.04.2015 14:16:23 Information MP: processing local module localejbs/ConvertExcel
09.04.2015 14:16:23 Error MP: exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ConvertExcel.
09.04.2015 14:16:23 Error File processing failed with com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ConvertExcel.
What could be the reason. Any more configuration needed for this. Please suggest ?
I am able to see my Jar file in below location on OS level-
/usr/sap/<<SID>>/J00/j2ee/cluster/apps/sap.com/ConvertExcel_EAR/EJBContainer/applicationjars
But when I checked in NWA->Configuration Mgmt->Infrastructure-> Application Module, I am unable to see that jar file there.
Could anyone please suggest why this is happening?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan,
Module name should be <jndi-name> name in ejb.j2ee-engine.xml like below. Double check did you give the correct name in your module configuration.
<?xml version="1.0" encoding="UTF-8"?>
<ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ejb-j2ee-engine_3_0.xsd">
<enterprise-beans>
<enterprise-bean>
<ejb-name>DynamicFileNameBean</ejb-name>
<jndi-name>Custom_AF_Modules/DynamicFileNameBean</jndi-name>
</enterprise-bean>
</enterprise-beans>
</ejb-j2ee-engine>
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, this does not look like FormatConversionBean from the name of the parameters used.
Anyway, another way to check what should be the correct name used for the module is to find it in the JNDI browser in NWA
Step 1 of the following article has some screenshots of how to access the JNDI browser and where to look for the module.
I am able to see my Jar file in below location on OS level-
/usr/sap/<<SID>>/J00/j2ee/cluster/apps/sap.com/ConvertExcel_EAR/EJBContainer/applicationjars
But when I checked in NWA->Configuration Mgmt->Infrastructure-> Application Module, I am unable to see that jar file there.
Could anyone please suggest why this is happening?
Rohan
You cannot see the JAR file from Application Module. You have to view it from the Java Class Loader Viewer (under resources tab).
Please go through steps 1 and 2 of the blog I mentioned above. Before that, please check what is the JNDI name of your module - refer to Praveen's first reply on how to figure out the JNDI name.
Rgds
Eng Swee
Hi Eng,
We can view the EJB modules of the deployed applications under NWA Configuration Infrastructure Application Modules
EJB Container - Administration - SAP Library
I can able to see my adapter module.
Regards,
Praveen.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.