[Opensource] ControllerRun

Peter Williams pwilliams at win-win.com.au
Mon Nov 25 12:31:22 PST 2002


Hi group.
I'm a newby here and indeed to all this.
But it seems to me that using Jetty for your web server will also get around
this.
According to the doco, it should also provide faster web access in general.
I would appreciate a more informed comment on this approach as I plan to use
this with PostgreSQL for my development.

Regards
Peter


-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of Michael Rimov
Sent: Monday, 25 November 2002 10:23 PM
To: opensource at jcorporate.com
Subject: Re: [Opensource] ControllerRun

At 06:33 PM 11/22/2002 -0200, you wrote:
>Hi list.
>
>When I try to run a controller outside a jsp, I get a database error ("
>database is already in use by another proces"):

Hypersonic only allows one JVM to connect to it at a time.  If your
webserver is running when you execute controllerRun, you will get this
error.  You can bypass it by either:

1- Making sure no other java process is running when you run the command
line.

2- Upgrading to a different database that can handle more than on virtual
machine accessing it at a time.

3 - I seem to remember an RMI driver available that could bypass this
limitation, but it was a separate project and I've never tested it to see
how it works with Expresso.

HTH!
                                                 -Mike


_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list