prakash1986 / rapla

Automatically exported from code.google.com/p/rapla
0 stars 0 forks source link

Upgrade data.xml to rapla.war #438

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
if i've understand it's better to not use data.xml for the rapla database.
But since a long time, i use only data.xml for all versions of rapla.
Today i'd like to know the procedure to upgrade this file.

Thanks for your response,

John

Original issue reported on code.google.com by copieurs...@gmail.com on 16 Oct 2014 at 12:54

GoogleCodeExporter commented 9 years ago
i'd like to know the procedure to upgrade data.xml -- to --> rapla.war

Original comment by copieurs...@gmail.com on 16 Oct 2014 at 12:56

GoogleCodeExporter commented 9 years ago
Hi,

Which version of rapla?

Regards,

Bob

Original comment by icare4.rapla@gmail.com on 16 Oct 2014 at 1:31

GoogleCodeExporter commented 9 years ago
This morning i upgraded from 1.7.6 to 1.8RC1 version

Original comment by copieurs...@gmail.com on 16 Oct 2014 at 2:57

GoogleCodeExporter commented 9 years ago
Hi,

1.8RC1 is not production prove yet and I advice to use it for testing purposes 
only.
Be cautious!

Go go: installdir\rapla-binary-1.8RC1\contexts and check rapla.xml

Standard you should see in this config file:
  <New class="org.eclipse.jetty.plus.jndi.EnvEntry">
    <Arg></Arg>
    <Arg>raplafile</Arg>
    <Arg type="java.lang.String"><SystemProperty name="jetty.home" default="." />/data/data.xml</Arg>
    <Arg type="boolean">true</Arg>
  </New>

and :

<New id="rapladatasource" class="org.eclipse.jetty.plus.jndi.EnvEntry">
    <Arg></Arg>
    <Arg>rapladatasource</Arg>
    <!--  change to rapladb if you want to use a database as datasource -->
    <Arg type="java.lang.String">raplafile</Arg>
    <Arg type="boolean">true</Arg>
 </New>

If so then the data will be converted automatically to the new release.

Regards,

Bob

Original comment by Icare4.O...@gmail.com on 16 Oct 2014 at 4:32

GoogleCodeExporter commented 9 years ago

Original comment by christop...@gmail.com on 27 Feb 2015 at 7:38