Wednesday, April 4, 2012

Fixing remote GlassFish server errors on NetBeans

If you are having errors when adding a remote GlassFish server to your NetBeans installation and you are sure there's connectivity between you and the remote server and all the required ports are open, a possible cause might be not having the remote secure administration enabled (which is required if you want to deploy remotely).


__locations failed on Glassfish VM


Remote host closed connection during handshake

Just get access to your server's system console and use asadmin to enable the secure administration:

Any OS:
asadmin enable-secure-admin


Make sure you have the GlassFish bin folder in your path, which contains the asadmin script.

1 comment:

  1. Great post on journaling, Carrie. I have only tried this after completing my book, usually for character blog posts. Most times my books evolve from an idea or story question, and the characters evolve from that...except with Renner. He was Trey's partner in Journey's End, and I knew as soon as he hit the page that he'd star in his own book.
    Thanks for sharing your method, Carrie. I shall try this. :-)
    write-my-paper-for-cheap
    cheap-paper-writing-service
    Accounts Software For Small Business

    ReplyDelete

Feel free to share your thoughts!