WebSphereTroubleshooting

WebSphere Troubleshooting

 

WebSphere 6.1

WebSphere 6.1 is built on top of the eclipse framework which means that it uses some similar jars to JBoss Rules (such as JDT). If you get the following error when building your rulebase

java.lang.NoSuchMethodError:
org/eclipse/jdt/internal/compiler/CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;

 

then the version of the JDT jars in WebSphere are being used instead of the ones your application needs. To solve either upgrade to the latest WebSphere which uses the same version of the jars as JBoss Rules or, for a longer-term solution, change your classloading policy to PARENT_LAST - this will ensure that jars from your application are picked up before jars from the server.