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

99封情书 提交于 2019-11-29 16:09:21

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!