Direct links to fixes
APAR status
Closed as program error.
Error description
When running the perfDWTool script on BPM 8.5.7.2017.06 the following error is encountered: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280) Caused by: java.lang.NoClassDefFoundError: org.springframework.context.ApplicationContextAware at java.lang.ClassLoader.defineClass(ClassLoader.java:273) at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja va:74) at java.net.URLClassLoader.defineClass(URLClassLoader.java:563) at java.net.URLClassLoader.defineClass(URLClassLoader.java:474) at java.net.URLClassLoader.access$300(URLClassLoader.java:77) at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1059 ) at java.security.AccessController.doPrivileged(AccessController.jav a:488) at java.net.URLClassLoader.findClass(URLClassLoader.java:452) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701) at java.lang.ClassLoader.loadClass(ClassLoader.java:680) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:663) at com.lombardisoftware.core.config.TWConfiguration.getInstance(TWC onfiguration.java:128) at com.lombardisoftware.tools.tracking.Tool.main(Tool.java:113) at com.lombardisoftware.tools.tracking.ant.ToolLauncher.main(ToolLa uncher.java:30) ... 5 more Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware at java.net.URLClassLoader.findClass(URLClassLoader.java:457) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701) at java.lang.ClassLoader.loadClass(ClassLoader.java:680) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:663) at java.lang.ClassLoader.defineClassImpl(Native Method) ... 20 more In BPM 8.5.7.0 2016.06 and higher the spring.jar library was repackaged into several jars leading to the ClassNotFoundException.
Local fix
To resolve this issue, update the perfDWTool script so the new spring jars are in the classpath of the script. For Linux/AIX/UNIX in perfDWTool.sh: replace CLASSPATH=$CLASSPATH:$BPM_LIB/spring.jar with CLASSPATH=$CLASSPATH:$BPM_LIB/spring-aop.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-aspects.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-beans.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-context.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-core.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-expression.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-jdbc.jar CLASSPATH=$CLASSPATH:$BPM_LIB/spring-tx.jar For Windows in perfDWTool.bat: replace SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng.aop.jar with SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-aspects.jar SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-beans.jar SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-context.jar SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-core.jar SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-expression.jar SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-jdbc.jar SET THIS_CLASSPATH=%THIS_CLASSPATH%;%WAS_HOME%\BPM\Lombardi\lib\spri ng-tx.jar
Problem summary
This error occurs because the spring.jar set on the class path of the perfDWTool script is split into multiple dedicated .jar files and is no longer shipped with IBM BPM.
Problem conclusion
A fix that updates the class path in script perfDWTool is available now.
Temporary fix
Comments
APAR Information
APAR number
JR58753
Reported component name
BPM ADVANCED
Reported component ID
5725C9400
Reported release
857
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-11-21
Closed date
2017-11-28
Last modified date
2018-04-27
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
BPM ADVANCED
Fixed component ID
5725C9400
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"857","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
27 April 2018