users@glassfish.java.net

SqlException while using entities

From: <glassfish_at_javadesktop.org>
Date: Fri, 20 Nov 2009 00:18:58 PST

I am getting the exception while deploying the application containing the entity beans.I am using Glassfish server.

Exception:"

         Buildfile: build.xml

deploy:
     [exec] CLI171 Command deploy failed : Deploying application in domain failed;
     [exec] 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.
     [exec] Error Code: 0
    "
[Message sent by forum member 'ennidhi' ]

http://forums.java.net/jive/thread.jspa?messageID=372616