[Opensource] ControllerRun

Michael Rimov rimovm at centercomp.com
Mon Nov 25 03:23:03 PST 2002


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





More information about the Opensource mailing list