IBM Support

SAP adapter fails to start. Fails with missing library or jar exception.

Troubleshooting


Problem

New sapjco3.jar and libsapjco3.so files installed following process with the install3rdParty.sh/cmd and are generating log error that indicates the jar or library are not found.

Symptom

Error thrown in UI when attempting to start the service configuration.

Log has exception indicating can't read jar or library:

ERROR 000410050308 SERVICES.SAPSUITE3.
SapJcoNotInstalled MyAdapter_SapSuiteALE.LittleA.startupAdapter1752:SapJco
not installed for instance MyAdapter_SapSuiteALE
ERROR [1437151041852] An error is detected
during a validation routine.
ERRORDTL [1437151041852]com.sterlingcommerce.
woodstock.services.sapsuite3.common.exceptions.ValidationException: An
error is detected during a validation routine.
at com.sterlingcommerce.woodstock.services.sapsuite3.common.utils.
SAPUtils.isSAPJCo3JarInstalled(SAPUtils.java:77)
at com.sterlingcommerce.woodstock.services.sapsuite3.
SapSuiteServerImpl.validatePreconditions(SapSuiteServerImpl.java:103)
at com.sterlingcommerce.woodstock.services.sapsuite3.
SapSuiteServerImpl.startupAdapter(SapSuiteServerImpl.java:72)
at com.sterlingcommerce.woodstock.services.IAdapterImpl.startAdapter
(IAdapterImpl.java:261)
at com.sterlingcommerce.woodstock.services.controller.
StartAdapterThread.run(StartAdapterThread.java:104)
at java.lang.Thread.run(Thread.java:798)
Caused by: java.lang.NoClassDefFoundError: com.sap.conn.jco.JCo
(initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:175)
at com.sterlingcommerce.woodstock.services.sapsuite3.common.utils.
SAPUtils.isSAPJCo3JarInstalled(SAPUtils.java:74)
... 5 more
Caused by: java.lang.ExceptionInInitializerError: Error getting the
version of the native layer: java.lang.UnsatisfiedLinkError: sapjco3
(Not found in java.library.path)
at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.
java:228)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.
java:79)
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.
java:23)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:256)
at com.sap.conn.jco.JCo.createJCo(JCo.java:52)
at com.sap.conn.jco.JCo.<clinit>(JCo.java:26)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)
... 6 more

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Adapters","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
11 October 2019

UID

swg21963142