on 07-13-2011 2:41 PM
We have a java based third party web application (.sca format) running on NW 7.1. While trying to start IDoc listener we get the following error.
java.lang.NoClassDefFoundError: com/sap/mw/idoc/jco/JCoIDoc
We did not face this issue while using tomcat server. The sapidoc.jar and sapidocjco.jar files were included in the tomcat server but not sure about NW.
Should we add those files into NW or enable some related setting in NW to activate the IDoc listener?
The project is in critical state now and any kind of immediate assistance would be of great help.
If you have tried lot of things to make it work...then give below also 1 try....it might work...or might not....
-
In tomcat server your application was running because there these jar files were correctly installed...
You have to perform similar task in SAP NW WAS.
http://download.oracle.com/docs/cd/E19509-01/820-4380/ggilh/index.html
Above they use glassfish as an example.....You need to modify it accordingly as per you server (SAP NW WAS) requirements.
To be specific refer to step 5 and above...in above link....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
Thanks for your reply. Your post indicates two different locations inside u201CJavaCAPS51u201D where we need to add the jar files. But we do not have a similar structure in NW install folder or in Java environment.
The following are the paths we could find. Could you be specific about which one are the right ones to add the jar files?
C:\usr\sap\CE1\J00\j2ee\cluster\bin\core_lib
C:\usr\sap\CE1\J00\j2ee\cluster\bin\ext
C:\Program Files\Java\jdk1.5.0_16\lib
Thanks,
Hardeep
Hi Hardeep,
If you are using sapidoc.jar and sapidocjco.jar files and try to use this jar files in a third party web application and as you said this jar files are availble in tomcat server, there is no problem.
When it comes to Netweaver you have add this jar files to an external library DC and deploy this external library dc through J2EE server component.
This J2EE server component has to be used in third party web application as a used DC and build the appication and deploy.
The complete procedure how to do this is given in this PDF
Hope this helps you..
Regards,
Saleem Mohammad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.