IBM Support

Sterling Integrator Error : java.lang.NoClassDefFoundError: org.apache.bsf.BSFException

Troubleshooting


Problem

Not able to run Script adapter with the latest version of Bsf.jar i.e. 
 Bsf 3.1 jar

Symptom

The symptoms of the issue may be found in the below error generated in the logs:
[2023-08-23 11:28:28.092] ERROR 000110060033 WORKFLOW.ACTIVITY_ENGINE.ERR_ActivityEngineHelper_next ActivityEngineHelper.next caught exception 4253774
java.lang.NoClassDefFoundError: org.apache.bsf.BSFException
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:339)
at com.sterlingcommerce.woodstock.workflow.activity.ServiceMetaData.getClassServiceInstance(ServiceMetaData.java:118)
at com.sterlingcommerce.woodstock.workflow.activity.engine.ActivityEngineHelper.preInvokeService(ActivityEngineHelper.java:1471)
at com.sterlingcommerce.woodstock.workflow.activity.engine.ActivityEngineHelper.nextMainLogic(ActivityEngineHelper.java:595)
at com.sterlingcommerce.woodstock.workflow.activity.engine.ActivityEngineHelper.next(ActivityEngineHelper.java:362)
at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.doWork(WorkFlowQueueListener.java:459)
at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.run(WorkFlowQueueListener.java:240)
at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.onMessage(WorkFlowQueueListener.java:197)
at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.onMessage(WorkFlowQueueListener.java:184)
at com.sterlingcommerce.woodstock.workflow.queue.wfTransporter.run(wfTransporter.java:447)
at com.sterlingcommerce.woodstock.workflow.queue.BasicExecutor$Worker.run(BasicExecutor.java:508)
at java.lang.Thread.run(Thread.java:826)
Caused by: java.lang.ClassNotFoundException: org.apache.bsf.BSFException
at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:948)
at java.lang.ClassLoader.loadClass(ClassLoader.java:893)
at com.sterlingcommerce.woodstock.ldr.DynamicClassLoader.loadClass(DynamicClassLoader.java:968)
at com.sterlingcommerce.woodstock.ldr.DynamicClassLoader.loadClass(DynamicClassLoader.java:955)
... 13 more

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m50000000Cjs6AAC","label":"System Administration-\u003EAdapters and Services"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

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:
13 October 2023

UID

ibm17043463