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!
Cloudy Jakarta EE and MicroProfile: Microservices, Clouds and Beyond Jakarta EE / MicroProfile airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.