My problem is that i get this message after i run any web application. example, in netbeans i create new project and chose webapplication i leave everything default i don\'t
I think I faced some related problem and I think that the solution is that you have to launch Netbeans as an admin, instead of what netbeans doesn't have the rights to modify the filesystem and launch the glassfish server. (In my case Glassfish is under Program files directory, and user management is on).
If you can try that and tell us if it worked for my it was perfect ! (and also the URL for the domain is internal to the instalation directory)
Alright I see no one is willing to touch this with nine foot pole so i will give my solution. after many dreadful hours of searching the web, installing and uninstalling netbeans and glassfish, trying up to 7.4 netbeans and changing to old jdk up to 7. giving up in frustration then coming back. then this idea worked.
Solution: start netbeans, before i deploy project i got to my installation of glasfish on my pc it looks like somthing like this
C:\Users\myusername\GlassFish_Server\glassfish\bin
start: asadmin.bat
then in the console that open: start-domain then go back to netbeans when its done if you refresh the netbeans server you see its running or you can go to localhost to confirm too.
to stop it: stop-domain
also on another machine that has windows 7 it worked just fine.
Go to line no. 1045 in build-impl.xml
or click on line comes after deploying the web application as error and set the debugmode = "true"
like this:
"<nbdeploy clientUrlPart="${client.urlPart}" debugmode="true" forceRedeploy="${forceRedeploy}"/>"
after that save it and deploy the web application, it will be deployed.