[jboss-user] [jBPM] - alternative location for h2 database

Michael Wagner do-not-reply at jboss.com
Wed Jul 13 03:53:50 EDT 2011


Michael Wagner [http://community.jboss.org/people/michael.wagner] created the discussion

"alternative location for h2 database"

To view the discussion, visit: http://community.jboss.org/message/614820#614820

--------------------------------------------------------------
Hi,

somebody please tell me how I can change the location for the h2 database from "C:\Documents and Settings\<username>" to the jbpm-installier directory? Would be nice to have all things in one place. Especially if working with multiple users.

I have tried this in the build file:

<target name="start.h2" depends="download.h2">
    <java classname="org.h2.tools.Server" fork="true" spawn="true">
      <arg value="-tcp" />
      <arg value="-baseDir=${install.home}/repository"/>
      <arg value="-mvcc=true"/>
      <classpath location="${install.home}/db/driver/h2.jar" />
    </java>
  </target>

But that does not work. Where are the startup parameters of h2 documentated? Cant find it on the homepage.

Michael
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/614820#614820]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110713/91b1645d/attachment.html 


More information about the jboss-user mailing list