title: Derby java sql exception
body: <p>I am trying to start an application on Glassfish 4 server but it gives me some strange exception:
  <code>Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.net.ConnectException : Error connecting to server localhost on port 1527 with message Connection refused: connect.</code>
  Could it be because I don't have SQL? I am not sure how to fix it.</p>