0 Replies Latest reply on Dec 10, 2010 2:00 AM by ohmygod

    hibernate.cfg.xml not found when running jbpm

    ohmygod

      Still JBoss 6.0.0.CR1, when running to method

      jbpmContext.deployProcessDefinition(processdefinition);

      Hibernate.cfg.xml not found error throws. Any suggestion on how to make this found-able?

       

      PS: the jbpm.cfg.xml is put at .ear\lib\classes and it can be found when loading jbpm configuration but its related hibernate.cfg.xml could not be found

      I configured the hibernate-jbpm.cfg.xml in jbpm.cfg.xml and put it the same location with jbpm.cfg.xml.

      <string name="resource.hibernate.cfg.xml" value="hibernate-jbpm.cfg.xml" />

       

      It worked in previous version of JBoss.