[jboss-user] [JBoss jBPM] - Re: About loading of hibernate configuration in HibernateHel

mputz do-not-reply at jboss.com
Thu Oct 18 11:59:35 EDT 2007


If you don't want the *cfg.xml files in a separate jar, you could include it in the classpath, for a web-app this would be WEB-INF/classes. Here is a (partial) listing of a modified jbpm-console.war, where the configs are taken from the WEB-INF/classes folder.

./jboss-console.war
  | images
  | index.jsp
  | META-INF
  | sa
  | ua
  | WEB-INF
  | 
  | ./WEB-INF/classes:
  | hibernate.cfg.xml
  | jbpm.cfg.xml
  | jbpm.mail.templates.xml
  | messages.properties
  | 
  | ./WEB-INF/lib:
  | el-api.jar
  | el-ri.jar
  | gravel.jar
  | jbpm4jsf.jar
  | jbpm-identity.jar
  | jbpm-jpdl.jar
  | jsf-api.jar
  | jsf-facelets.jar
  | jsf-impl.jar
  | 

Is that coming close to what you are trying to do?

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

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



More information about the jboss-user mailing list