Hi Ronald,
Now I have added the line -

to the hibernate.cfg.xml
and I get  exception :

org.hibernate.MappingException: Resource: 
org/jbpm/context/exe/variableinstance/StringMax.hbm.xml not found
        at org.hibernate.cfg.Configuration.addResource(Configuration.java:478)
        at 
org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1443)
        at 
org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1411)
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1392)
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1368)
        at org.hibernate.cfg.Configuration.configure(Configuration.java:1288)
        at 
org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:90)
        at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68)
        at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSchemaExport(DbPersistenceServiceFactory.java:76)
        at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.createSchema(DbPersistenceServiceFactory.java:107)
        at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:404)
        at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:396)
        at com.pay.pay_dbTest.setUp(pay_dbTest.java:66)
        at junit.framework.TestCase.runBare(TestCase.java:125)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)



The actual file is at : 
jBPM_HOME\build\classes.jbpm\org\jbpm\context\exe\variableinstance

Do you know where this file should be located ??

Thanks in advance for help.

Ajeet


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to