[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question
jgreiner
do-not-reply at jboss.com
Mon Feb 12 10:58:28 EST 2007
Well trying to create the schema again. Unfortunately it gives me this error. I copied all the jars, and the hibernate.cfg.xml file into a directory and from there I run the java command. I am not up to speed with hibernate, so does anyone now why it does not find the cfg.xml file? I have tried to fully qualify the path as well.
java -cp hibernate3.jar;jbpm-jpdl.jar;jbpm-bpel.jar;commons-logging.jar;dom4j.jar;antlr-2.7.6.jar org.hibernate.tool.hbm2ddl.SchemaExport --config=hibernate.cfg.xml --create --quiet --output=jbpm-bpel.ddl --format
| Feb 12, 2007 9:54:28 AM org.hibernate.tool.hbm2ddl.SchemaExport main
| SEVERE: Error creating schema
| org.hibernate.HibernateException: hibernate.cfg.xml not found
| at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
| at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1329)
| at org.hibernate.cfg.Configuration.configure(Configuration.java:1351)
| at org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:366)
| org.hibernate.HibernateException: hibernate.cfg.xml not found
| at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
| at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1329)
| at org.hibernate.cfg.Configuration.configure(Configuration.java:1351)
| at org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:366)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015141#4015141
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015141
More information about the jboss-user
mailing list