Shutdown embedded exist in Orbeon

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Shutdown embedded exist in Orbeon

Hasan
Hi All,

For one of my application i am using Orbeon dev-post-3.7.1 with embedded exist.

1. The issue that i encounter some times of data corruption in exist when JVM is forcibly killed. Is there any way out to properly shutdown the emebbed exist in Orbeon so that the exist data content do not get corrupted. What i can think is undeployment of the orbeon war application can do that.

2. Many times .lck files are created under the exist data folder due to which application does not get deployed, hence removing those .lck files server gets started. Can you please explain why these .lck files are created.

3. Are these above two issues are some where releated.


Thanks all


Regards,
Hasan
Reply | Threaded
Open this post in threaded view
|

Re: Shutdown embedded exist in Orbeon

Alessandro  Vernet
Administrator
Hasan,

Are you using the embedded eXist to store your own data, e.g. through
Form Runner? If not, since the data Orbeon Forms put in the embedded
eXist is session information, you can safely wipe out the database
before starting your application server, which would solve any issue
you can have when you're not doing a clean restart.

Alex

On Thu, Jul 29, 2010 at 10:15 PM, Hasan <[hidden email]> wrote:

>
> Hi All,
>
> For one of my application i am using Orbeon dev-post-3.7.1 with embedded
> exist.
>
> 1. The issue that i encounter some times of data corruption in exist when
> JVM is forcibly killed. Is there any way out to properly shutdown the
> emebbed exist in Orbeon so that the exist data content do not get corrupted.
> What i can think is undeployment of the orbeon war application can do that.
>
> 2. Many times .lck files are created under the exist data folder due to
> which application does not get deployed, hence removing those .lck files
> server gets started. Can you please explain why these .lck files are
> created.
>
> 3. Are these above two issues are some where releated.
>
>
> Thanks all
>
>
>
>
> -----
> Hasan
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Shutdown-embedded-exist-in-Orbeon-tp2307570p2307570.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Shutdown embedded exist in Orbeon

Hasan
Alex,

Thanks for reply. We are creating Orbeon forms with form builder that has been saved in embedded eXist. We need those forms i.e the data saved in eXist later and we dont want to remove this data.

Killing VM can corrupt the existing eXist data.

May be proper undeployment of Orbeon application from the application/web server can prevent this corruption.

Is there any other way out apart from this undeployment process somthing in Orbeon to prevent this corruption.



Regards,
Hasan
Reply | Threaded
Open this post in threaded view
|

Re: Re: Shutdown embedded exist in Orbeon

Alessandro  Vernet
Administrator
Hasan,

Not that I know of: if you kill the VM, eXist doesn't get a chance to
properly close the files it works on, which can lead to data
corruption. I would just never kill the VM; instead just shut down
your application server as it should be.

Alex

On Mon, Aug 2, 2010 at 10:33 PM, Hasan <[hidden email]> wrote:

>
> Alex,
>
> Thanks for reply. We are creating Orbeon forms with form builder that has
> been saved in embedded eXist. We need those forms i.e the data saved in
> eXist later and we dont want to remove this data.
>
> Killing VM can corrupt the existing eXist data.
>
> May be proper undeployment of Orbeon application from the application/web
> server can prevent this corruption.
>
> Is there any other way out apart from this undeployment process somthing in
> Orbeon to prevent this corruption.
>
>
>
>
>
> -----
> Hasan
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Shutdown-embedded-exist-in-Orbeon-tp2307570p2311342.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet