users@glassfish.java.net

Re: How to shutdown derby database when ...

From: <forums_at_java.net>
Date: Thu, 8 Sep 2011 00:38:30 -0500 (CDT)

See a related issue  :http://java.net/jira/browse/GLASSFISH-13497

If the derby.properties file has the following :

      derby.connection.requireAuthentication=true
      derby.user.jen=simba

Create a file asadminpassword.txt that contains

AS_ADMIN_PASSWORD=adminadmin
AS_ADMIN_DBPASSWORD=simba

asadmin start-database -> works fine

asadmin --passwordfile asadminpassword.txt stop-database --dbuser jen -->
works.

Hope this helps.


--
[Message sent by forum member 'sm157516']
View Post: http://forums.java.net/node/838475