db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dag.Wan...@Sun.COM (Dag H. Wanvik)
Subject Re: Shutdown Network Server w/ auth enabled
Date Wed, 25 Jul 2007 23:16:09 GMT
Ole Gunnar Borstad <olegunb@stud.ntnu.no> writes:

> Derby Developer's Guide states the following: "When Derby is running
> in a connectivity server and user authentication is turned on,
> stopping the server requires a user name and password. You will need
> to alter shutdown scripts accordingly."
> I don't seem to find a command or argument to shutdown the network
> server when authentication is enabled in Derby...?

You are right. Currently, only shutting down an individual database is
protected. Shutting down the server will be protected when DERBY-2109
(system privileges) is in place. I agree the error message is


> I did a simple java -jar derbynet.jar shutdown and the server prints
> the following:
> Derby shutdown warning:
>  Connection refused : Invalid authentication.
> Apache Derby Network Server - alpha - (554547M) shutdown at
> 2007-07-25 12:31:08.948 GMT
> So did the server shut down properly or not?

View raw message