cancel
Showing results for 
Search instead for 
Did you mean: 

JCoIDoc not found on Netweaver

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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....

Former Member
0 Kudos

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

Former Member
0 Kudos

I am not sure Sir......

But I feel you can go for C:\usr\sap\CE1\J00\j2ee\cluster\bin\core_lib...

Just troubleshoot it a bit....it might not work at first attempt....but surely you have a direction to think........

Former Member
0 Kudos

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

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60d99678-1a29-2d10-94b4-9d9a67b71...

Hope this helps you..

Regards,

Saleem Mohammad.