When specifying LDAP as your authentication service, you must specify the location of the server and its port number.
Set the property derby.authentication.server to the location and port number of the LDAP server. For example:
derby.authentication.server=godfrey:389