Problem In Starting SAP Adapter

Hi,

I am working on WebMethods 6.1 in HP-UX. I have got sap c libraries. I have copied librfccm.so and libsapjcorfc.so under /opt/webMethods6/IntegrationServer/packages/SAP/code/libs directory. Also i have copied sapjco.jar under /opt/webMethods6/IntegrationServer/packages/SAP/code/jars/static directory. I have set the classpath to sapjco.jar also and SHLIB_PATH to /opt/webMethods6/IntegrationServer/packages/SAP/code/libs directory. Still i am getting the following error:

Startup service exited with the followng error: java.lang.reflect.InvocationTargetException: JCO.classInitialize(): Culd not load middleware layer ‘com.sap.mw.jco.rfc.MiddlewareRFC’ no sapjcorfc in java.library.path

Can anyone suggest me to run SAP adapter properly in HP-UX?

thanks and regards,
saveetha

Saveetha,

HAve you tried setting the java.library.path? (ie. -Djava.library.path=)

-Jordy

Hi jordy,

I have tried setting java.library.path (ie. -Djava.library.path=). Still it’s not working…

regards,
saveetha