Hi,

It sounds you could use the server mode. That way you can ensure the
database event listener is running within the virtual machine that started
the server.

Regards,
Thomas



On Monday, May 28, 2012, Lizard Lizard wrote:

> On Mon, May 28, 2012 at 2:20 PM, Noel Grandin 
> <[email protected]<javascript:;>>
> wrote:
> > You're going to lot of effort, why not just start H2 from inside your
> > own program, linking H2 in as a library.
> > Then you are running inside the same VM as H2 and you have access to
> > the class that H2 loads.
> >
>
> Because the application design requires that multiple apps, in several
> different VMs, connect to the same DB, which, I believe, requires that
> I start H2 in server mode and connect via TCP/IP. If I'm wrong, this
> does simplify things a lot.
>
> The app uses a master/worker model, with each worker launching in its
> own VM. It includes workers running on remote machines. All the
> workers read from, and write to, the same DB.
>
> For the purposes I need, I don't need the event listener (currently)
> to work from one of the Workers, just within the main app, so that
> simplifies things a little.
>
>
> --
> =======================
> Personal Blog: http://www.xanga.com/lizard_sf
> Facebook: http://www.facebook.com/lizard_sf
> MrLizard: Gaming and Geekery: http://www.mrlizard.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to 
> [email protected]<javascript:;>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:;>.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to