Deployment-Error: Java-Webproject from netbeans to glassfish 4.0

后端 未结 1 1116
耶瑟儿~
耶瑟儿~ 2020-12-21 16:36

Setup


I\'m using Netbeans 7.4 on Mac OSX Mavericks and Glassfish 4.0 (build 89) on my dedicated server and JDK

相关标签:
1条回答
  • 2020-12-21 16:58

    If NetBeans can't talk to the server when you add it to the list then it silently fails. The server appears in the list but you can't click on the + and expand it out to see what it contains.

    Check in your server list that NetBeans can actually see the server. Also keep in mind that NetBeans needs access to the admin port (usually 4848) not the normal web one, although it looks like your tunnel is correct for that.

    You also need to turn on remote administration and set up the username and password etc. Try pointing a web browser to your localhost 6122 and check you can log in to the admin panel using the same username and password that netbeans is using.

    To turn on remote administration:

    https://blogs.oracle.com/quinn/entry/securing_adminstration_in_glassfish_server1

    asadmin enable-secure-admin
    

    You will also need to add an administrator username and password.

    0 讨论(0)
提交回复
热议问题