[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [jBPM Users] - hibernate.cfg.xml not found
From: elhostis <do-not-reply () jboss ! com>
Date: 2009-09-30 15:15:42
Message-ID: 24057449.1254323742144.JavaMail.jboss () nukes01 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]
Hi,
I have a problem to deploy my application in production.
I have a projet named "Workflow" which use jBPM. It works fine.
I have a second project named "appTCP" which use the "Workflow" project. It works \
fine in my dev environment.
Now, I have to deploy these projects in production, and when I test the "appTCP" \
project, I have the message hibernate.cfg.xml not found. But i don't know where jBPM \
is searching the file.
My config :
static{
| jbpmConfiguration = JbpmConfiguration.parseXmlString(
| "<jbpm-configuration>" +
| " <jbpm-context>" +
| " <service name='persistence' " +
| " \
factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' />" + | " \
</jbpm-context>" + | " <string name='resource.hibernate.cfg.xml' \
value='hibernate.cfg.xml' />" + | "</jbpm-configuration>"
| );
I try to use a real path like /home/appTCP/hibernate.cfg.xml but I doesn't work. Any \
idea to help me ?
Tks a lot.
Eric
View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257879#4257879
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257879
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic