Problem In Starting SAP Adapter


I am working on WebMethods 6.1 in HP-UX. I have got sap c libraries. I have copied and 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 ‘’ no sapjcorfc in java.library.path

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

thanks and regards,


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


Hi jordy,

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