Hi,
I have been using jbpm-3.0.jar within my jboss 4.0.1 environment. I tried dropping in the jbpm-3.0.1.jar and I am having class loading issues with the jbpm definition files.
Everything loads fine with the 3.0 jbpm file, the only difference is the jbpm 3.0.1 jar file
Hibernate is throwing an exception in the ReflectionHelper class in the code below :
Specifically the line "return contextClassLoader.loadClass(name); " throws an exception when trying to load "org.jbpm.graph.def.ProcessDefinition"
public static Class classForName(String name) throws ClassNotFoundException {
try {
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
if(contextClassLoader!=null) {
return contextClassLoader.loadClass(name);
} else {
return Class.forName(name);
}
}
catch (Exception e) {
return Class.forName(name);
}
}
Any ideas ?
thanks,
Adam
this problem was solved by recompiling against 1.4.2 java binaries
thanks