Report this

What is the reason for this report?

How do I configure remote admin in glassfish 4.1 server?

Posted on November 14, 2015

Centos 7.1 Glassfish Server 4.1 Java 8 Hi, i installed glassfish server 4.1 in centos 7.1 . The installation was ready but “Secure Admin must be enabled to access the DAS remotely”. I can´t apply command asadmin change-password-admin, the console shows:

Traceback (most recent call last): File “/usr/bin/asadmin”, line 260, in <module> autoscale = boto.connect_autoscale() File “/usr/lib/python2.7/site-packages/boto/init.py”, line 202, in connect_autoscale **kwargs) File “/usr/lib/python2.7/site-packages/boto/ec2/autoscale/init.py”, line 110, in init profile_name=profile_name) File “/usr/lib/python2.7/site-packages/boto/connection.py”, line 1057, in init profile_name=profile_name) File “/usr/lib/python2.7/site-packages/boto/connection.py”, line 568, in init host, config, self.provider, self._required_auth_capability()) File “/usr/lib/python2.7/site-packages/boto/auth.py”, line 882, in get_auth_handler ‘Check your credentials’ % (len(names), str(names))) boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. [‘HmacAuthV4Handler’] Check your credentials

any Help?

Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@jlbugarin

You’ll need to run

asadmin --host [host] --port [port] enable-secure-admin

[host] = Droplet’s Public IP - or - Server Hostname (i.e. name.domain.ext).

[port] = The Port you wish to use when accessing.

Once executed, you’ll need to restart Glassfish Server for the changes to take effect.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.