I have a remote debian 8 server with GlassFish 4.1.1 running fine. - Admin console through port 4848 works fine. - Deployments through admin console work fine.
I have a local NetBeans 8.1 I.D.E and local glassfish-4.1.1 to test applications.
Now I want to bind remote GlassFish server to my I.D.E. to deploy applications and test it remotely in one click.
I did the regular process, running NetBeans as administrator :
Services>Servers>Add Server>Remote Domain
And filled up :
Now the server is added to NetBeans, though showing not running.
Right-click>view console says "Server must be running to view admin console"
Deploying a test app print error : "Deployment error: Starting of server GlassFish Server is not supported. Please, start the server manually. See the server log for details."
How to success to bind NetBeans I.D.E. to a remote glassfish server? I tried running NetBeans as administrator. I'm running remote GlassFish with enable-secure-admin.
I guess you forgot to enable secure-admin.
Try the following:
asadmin change-admin-password
asadmin enable-secure-admin
asadmin stop-domain
asadmin start-domain
See also:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With