Thanks Amal

On Mon, Mar 17, 2014 at 12:22 PM, Amal Gunatilake <[email protected]> wrote:

> Hi Waruna,
>
> In-order to make the data persistence across server restarts in
> Activiti-Explorer, once you deploy the war archive in Tomcat server. Go to
> webapps/activiti-explorer/WEB-INF/classes/db.properties file and change the
> jdbc url from *jdbc:h2:mem:* to *jdbc:h2:file*: as follows.
>
> *jdbc.url=jdbc:h2:file:activiti;DB_CLOSE_DELAY=1000*
>
> When you have this configuration as *mem* it will create the database
> only in memory and when we restart the sever, data will get lost. Changing
> the property to *file* will create a permanent database.
>
>
>
> Thank you  & Best regards,
>
> *Amal Gunatilake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
>
> On Mon, Mar 17, 2014 at 12:13 PM, Waruna Jayaweera <[email protected]>wrote:
>
>> Hi ,
>> I had same issue on activity explorer. There is no activiti.cfg.xml in
>> Activity explorer configurations.
>> thanks,
>> Waruna
>>
>>
>> On Sat, Mar 1, 2014 at 10:19 PM, Amal Gunatilake <[email protected]> wrote:
>>
>>> Hi Chathura,
>>>
>>> Thank you for the info. Until we have a separate xml file for BPMN I'll
>>> configure them in bps.xml. Thanks again for the quick response.
>>>
>>> Thank you  & Best regards,
>>>
>>> *Amal Gunatilake*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>> On Sat, Mar 1, 2014 at 6:47 PM, Chathura Ekanayake <[email protected]>wrote:
>>>
>>>>
>>>> Hi Amal,
>>>>
>>>> The default configuration in Activiti uses an in-memory H2 database.
>>>> Data can be made persistent (across server restarts) by changing this to a
>>>> disk-based DB. Change the database config in activiti.cfg.xml file to do
>>>> this. Currently BPS also uses the same XML (until we change it to use
>>>> bpmn.xml).
>>>>
>>>> Regards,
>>>> Chathura
>>>>
>>>>
>>>>
>>>> On Sat, Mar 1, 2014 at 4:25 PM, Amal Gunatilake <[email protected]> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> When running some test on Activiti explorer itself, I observed that
>>>>> the instances we create will get lost after doing a server restart, no
>>>>> matter which state the instances are. Is it a normal behaviour ? I think
>>>>> those has to be permanent data. So we might have to have a contingency 
>>>>> plan
>>>>> such as maintaining a separate database for instances or any other better
>>>>> approach.
>>>>>
>>>>> Thank you  & Best regards,
>>>>>
>>>>> *Amal Gunatilake*
>>>>>  Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Waruna Lakshitha Jayaweera
>> Software Engineer
>> WSO2 Inc; http://wso2.com
>> phone: +94713255198
>>
>
>


-- 
Regards,

Waruna Lakshitha Jayaweera
Software Engineer
WSO2 Inc; http://wso2.com
phone: +94713255198
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to