0 Replies Latest reply on Oct 17, 2006 5:50 AM by Amir Hossein Sharifzadeh

    JBPM Configuration with Hibernate 3.0 & OC4J Appl-Serverver

    Amir Hossein Sharifzadeh Newbie

      Dear users,
      Usually, I use JDedveloper IDE, Oracle Database (9 or higher) and OC4J ApplicationServer for running J2EE Applications, Recently I have downloded JBPM-Workflow (jbpm-3.1.2.zip), and I tried to run a workflow sample, At first I made a simple Table in Oracle DB (TEST) and I created
      a hbm.xml file as below symmetry with same Table:
      ==================================
      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE hibernate-mapping PUBLIC
      "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
      "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

      <hibernate-mapping>
      <class name="org.jbpm.graph.action.Test" table="TEST" dynamic-update="true" dynamic-insert="true">










      </hibernate-mapping>
      ==================================


      Also I defined my hibernate.cfg.xml configuration as below:
      ==================================
      <hibernate-configuration>
      <session-factory>

      <!-- jdbc connection properties -->
      org.hibernate.dialect.Oracle9Dialect
      oracle.jdbc.driver.OracleDriver
      jdbc:oracle:thin:@200.20.20.7:1521:ora10g

      user
      pass



      </session-factory>
      </hibernate-configuration>
      ==================================

      when I try to initialize my application with these, I get this error when "SessionFactory" is making:

      SessionFactoryImpl:153 - building session factory
      net.sf.ehcache.CacheException: Cannot configure
      CacheManager: Resource /'ehcache-failsafe.xml' not found


      It seem it's not because of missing this file and I think this is another problem.

      however I can not solve this problem.
      please guide me.
      Regards
      -- Amir Sharif