The error "NoAdminPortEx" indicates, that GlassFish is not able to find the admin port for the specified domain.
The error occurs in case the domain folder (
$GLASSFISH_HOME/glassfish/domains/[DOMAIN_NAME]) contains inconsistent data, often caused by an interrupted
asadmin create-domain [DOMAIN_NAME] command.
Manual domain deletion (rm -rf) and recreation with
asadmin create-domain [DOMAIN_NAME] solves the problem.
See you at Java EE Workshops at Munich Airport, Terminal 2!
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.