Subject Re: [Firebird-Java] unavailable database with type2 and java as a service
Author Carsten Schäfer
I've done some more testing.
If i use type2 instead of local as mode my service does not need interaction with desktop.
Does anyone know the reason ?

Another issue:
When i set dataSource.setDatabase() in local-mode i need to set url like this: localhost/3050:c:/db.gdb.
When i only use c:/db.gdb as url my db need to be on the same drive as my application.
The driver does not seem to care about the drive.

mfg
Carsten
----- Original Message -----
From: Carsten Schäfer
To: Firebird-Java@yahoogroups.com
Sent: Saturday, May 08, 2004 11:27 AM
Subject: [Firebird-Java] unavailable database with type2 and java as a service


Hi,
my app is running as an application with type2-driver in local-mode (configuration as in my last messages).
(all is running, besides the exception at startup if fbclient.dll is not in system32-dir)
Now i wanted to run my aplication as a windows service (Java Service Launcher: http://www.roeschter.com/index.html).

I need to configure the service to allow interaction with the desktop, but so i cannot start the service with a different user account.


[Non-text portions of this message have been removed]