users@glassfish.java.net

Re: How to backup persistent timers and jms queues and topics?

From: Markus KARG <markus.karg_at_gmx.net>
Date: Wed, 26 Dec 2007 13:46:46 +0100

Sreeram,
> JMS persistent messages can be configured to be in any database (e.g:
> Oracle or the built-in HADB if you are using Sun Java System App
> Server Enterprise Edition). I believe the JMS provider in GlassFish
> also supports file system as message store, but you have to make sure
> that the filesystem is highly available.
>
> Timers metadata can be kept in any XA-capable data source. So any
> reliable database would work. Follow the replication/reliability
> guidelines of the vendor.
>
> Sreeram
thank you for your kind answer. Actually my question was not about how
it COULD be done, but more precisely: If my customer installs Glassfish
and does not customize anything, what is the procedure he must follow to
backup or restore timers and JMS messages to prevent loss of those data
the house burns down and destroys the cluster?

Is it really necessary to do manual configuration to be able to backup
and restore this information? If yes, where is the definitive guide to
do that when using Glassfish "out of the box" (without a cluster,
without additional tools, etc.)?

This question is not about high availability but just about a simple
backup and restore of timers and queues of a single server instance.

Thanks a lot
Markus
>
> On Dec 22, 2007, at 6:34 AM, Markus KARG wrote:
>
>> Our Java EE application is using Persistent Timers (see EJB spec) and
>> relies very heavily on JMS.
>> We want to prevent that long-term timers and non-yet-received
>> messages in JMS topics and queues are lost in case of a server crash.
>> What is the "official" way how to backup and restore that data in
>> Glassfish?
>> Is there a tutorial or reference manual on the web for that topic?
>>
>> We formerly used JOnAS, which stored both, timers and jms topics and
>> queues as simple files, so backup and restore was quite simple.
>> We did not yet find information on the storage mechanism that
>> Glassfish uses.
>>
>> Thanks a lot
>> Markus
>>
>> --
>> http://www.xing.com/go/invita/58469
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>


-- 
http://www.xing.com/go/invita/58469