3 Replies Latest reply on Nov 30, 2007 8:17 AM by Vishal Mahajan

    deploying jbpm 3.2.2 process archive in jboss 4.2.x

    Vishal Mahajan Newbie


      I am new to ant as well as to jbpm.
      i am using jboss 4.2.2GA with Mysql 5.0.45.

      While deploying process archive using ant script i am getting following error:

      "couldn't deploy process archives : hibernate.cfg.xml not found".

      My build.xml file is

      <?xml version="1.0" encoding="UTF-8"?>
      <project name="DeployTest" default="deploy.par" basedir="." >
       <property name="librarydir" value="${basedir}/lib" />
       <path id="libraries" >
       <fileset dir="${librarydir}" >
       <include name="*.jar" />
       <target name="deploy.par" >
       <taskdef name="deploypar" classname="org.jbpm.ant.DeployProcessTask">
       <classpath refid="libraries" />
       <deploypar process="build/Test.par" jbpmcfg="${basedir}/bin/jbpm.cfg.xml" />

      Where *.jars refer to all required jar files. I am not getting where to specify path of hibernate.cfg.xml file.

      Syntax in user guide is outdated. Earlier using cfg attribute we can specify our hibernate.cfg.xml file, but now its replaced with jbpmcfg.

      Please reply, since its very very urgent for me.

      any suggestions welcomed.