Netbeans GlassFish Server 4, deploy, Connection refused: connect, false , The module has not been deployed. See the server log for details

前端 未结 3 664
梦如初夏
梦如初夏 2021-01-12 03:06

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

3条回答
  •  Happy的楠姐
    2021-01-12 03:36

    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.

提交回复
热议问题