on 10-07-2009 6:35 AM
Hi all,
We developed two custom module. one is PDF creation (itext library) & other is Read Excel (jxl library).PDF file is working fine, it's library got stored on PI server automatically at j2ee/cluster/apps/sap.com/com.sap.xi.repository/app_libraries_container/itext-1.4.2.jar & i added reference for same in application-j2ee-engine file. But for Excel poc the jar file is missing on server.
My EAR file contains:
Manifest.mf
application.xml
EJBExcelModule.jar
jms-resources.xml
application-j2ee-engine.xml
In Channel monitoring, error is coming as:
Error: javax.ejb.TransactionRolledbackLocalException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: jxl/Workbook; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: jxl/Workbook; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: jxl/Workbook; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: jxl/Workbook.
Please help!
Thanks,
Mayank
Hi Mayank,
i am also facing the same issue can you please tell me how did you resolve it
regards,
sushant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the JNDI name of your library and compare the reference in the application-j2ee-engine.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you use the external library only in your EJB, then it is eaasier to add the library to the EAR file.
If this is not added automatically, you can add it with winzip or jar command.
Otherwise you create a library project in NWDS. You deploy the library as SDA file. Check the JNDI name of this library with Netweaver Administrator. Use the same name in the deployment descriptor.
Regards
Stefan
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.