The module has not been deployed. See the server log for more details

The module has not been deployed. See the server log for more details

Hi I'm a little new to netbeans in terms of using it for web based operations so I was following a tutorial on web services and I'm having trouble deploying a web service on GlassFish Server 4.0

My error in build-impl.xml file is

<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

 

The error states:

In-place deployment at C:\...(path to file)......\build\web
Initializing...
deploy?DEFAULT=C:\...(path to file)......\build\web&name=AffableBean&contextroot=/AffableBean&force=true failed on GlassFish Server 4.0
Error occurred during deployment: Exception while deploying the app [AffableBean] : Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Access denied for user 'root'@'localhost' (using password: YES)
Error Code: 0. Please see server.log for more details.
C:\....(path to file).....\build-impl.xml:1033: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 8 seconds)

Copyright © 2007-2012 www.chuibin.com Chuibin Copyright