I'm running Glassfish 4.1 on Ubuntu 16. enable-secure-admin worked the first time I setup glassfish it. Due to some issue I had setting up security certificate I tried to set it up glassfish from scratch again.
The guide I'm following the most is: https://www.nabisoft.com/tutorials/glassfish/installing-glassfish-41-on-ubuntu
Now every time I run it tells me the command does not exist. The funny thing is:
- disable-secure-admin works like a charm
- it includes enable-secure-admin in the list of closest matching commands, which makes no sense at all!
The image with the errors can be found here when I'm running as the user that owns the file (https://i.stack.imgur.com/RtWBW.png)
When running as root this is the result (https://i.stack.imgur.com/pVe6S.jpg)
Any help would be appreciated! Thanks.
Edit: It seems to be a security misconfiguration
Another symptom I realized was that everytime you start the domain and try to access 4848 the admin console says its loading but never shows login. If you try to refresh the page after that you get a completely blank page.
I noticed some stuff in the error log: