4 Replies Latest reply on Apr 23, 2010 2:28 PM by Maciej Swiderski

    jBPM 4.3 conflict with hibernate3.jar, j2ee.jar

    Rachel Hodos Novice



      I am trying to run jBOSS jBPM 4.3 from the console using Java 1.6, HSQLDB, and it works when only the jBPM jars are in my classpath.  The problem is that I need to have hibernate3.jar (from jBPM 3 distribution) in my classpath for other applications, but including it has thrown:


           org.jbpm.pvm.internal.wire.WireException: circular dependency for org.hibernate.SessionFactory




           Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.LockMode.parse(Ljava/lang/String;)Lorg/hibernate/LockMode


      I am having a similar problem with j2ee.jar, which causes:


           17:55:01,377 INF | [Parser] couldn't set schema language property
           org.xml.sax.SAXNotRecognizedException: Property: http://java.sun.com/xml/jaxp/properties/schemaLanguage
               at org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:266)
               at org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:183)


      Can anyone verify whether the contents of hibernate3.jar are included in the hibernate jars in the jBPM 4.3 distribution?  And does anyone have suggestions for j2ee.jar?  I noticed a jboss_j2ee.jar in the jbpm4.3/lib, but this seems to contain much less than j2ee.jar..


      Thanks in advance,