Make sure your database server is started up at port 1527.
glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>