[jboss-user] [JBoss jBPM] - JBPM Configuration with Hibernate 3.0 & OC4J Appl-Serverver

sharifzadeh do-not-reply at jboss.com
Tue Oct 17 05:50:14 EDT 2006


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



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978740#3978740

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978740



More information about the jboss-user mailing list