Sounds like more of a database-specific question than a JBoss question.
For instance, with Progress, I think it's possible to halt updates to the
actual database files, all updates are temporarily stored in .ai (after
image files), which can be applied after the backup is complete.

Even if JBoss stops talking to the database, other processes might
continue to talk to the database. Does it really make sense to tell JBoss
to stop, then go around to each of your other applications and tell them
to stop, so that you can make your backup real quick? This might be a
better question for the Hypersonic or InstantDB? folks, or plug in your
own Database.

David Green

On Sat, 30 Jun 2001, marc fleury wrote:

> interesting,
>
> there isn't a way to stop the incoming flux of transactional threads.
>
> You can shutdown the container applications but that is different.
>
> One of the things I wanted to do for jboss3.0 is an interceptor that
> "freezes" threads (wait()) and notifies you when all the threads are gone so
> that you know that you don't have worker threads in your engine. you can do
> maintenance work on the container (even replace an interceptor) but your
> database example is a good real life example. Then there is a notifyAll that
> opens the valves again... there might be another way...
>
> Now I am thinking we can do it at the JMX layer, since I am planning on
> building a router, will see how it is implemented.
>
> regards
>
> marcf
>
>
> |-----Original Message-----
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf Of
> |[EMAIL PROTECTED]
> |Sent: Saturday, June 30, 2001 8:19 AM
> |To: jboss
> |Subject: [JBoss-user] Taking backups
> |
> |
> |What is a workable way of taking regular backups of the database in a
> |JBoss application? I am assuming I can't just merrily copy the
> |database while it is working. Is it possible to put JBoss into some
> |kind of "idle" mode so that it temporarily halts all transactions (and
> |flushes any unwritten data to the database) until I tell it to go
> |again?
> |
> |I would prefer to do this without terminating JBoss first.
> |
> |Cheers
> |     Bent D
> |--
> |Bent Dalager - [EMAIL PROTECTED] - http://www.pvv.org/~bcd
> |                                    powered by emacs
> |
> |_______________________________________________
> |JBoss-user mailing list
> |[EMAIL PROTECTED]
> |http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to