-
Notifications
You must be signed in to change notification settings - Fork 535
Closed
Labels
Description
This morning I updated my laptop to OS X Yosemite 10.10.3 and was surprised to discover that Glassfish 4.1 wouldn't start:
murphy:~ pdurbin$ cd /Applications/NetBeans/glassfish4
murphy:glassfish4 pdurbin$ glassfish/bin/asadmin start-domain
JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1.
Before it died, it produced the following output:
Command start-domain failed.
murphy:glassfish4 pdurbin$
I'm found two bugs filed about this and a Stackoverflow post:
- https://java.net/jira/browse/GLASSFISH-21343
- https://java.net/jira/browse/GLASSFISH-21346
- http://stackoverflow.com/questions/29481479/glassfish-wont-start-from-intellij-unless-i-run-intellij-with-sudo
Other projects are reporting problems as well:
It sounds like bsexec may now require root privileges. I'm seeing it called on line 448 of https://java.net/projects/glassfish/sources/svn/content/tags/4.1-b12/nucleus/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java
A workaround for me at the moment is to use asadmin start-domain --verbose=true
We may need to adjust our installer that gets new developers set up:
murphy:dataverse pdurbin$ grep start-domain scripts/installer/glassfish-setup.sh
./asadmin $ASADMIN_OPTS start-domain $GLASSFISH_DOMAIN
./asadmin $ASADMIN_OPTS restart-domain $GLASSFISH_DOMAIN
Reactions are currently unavailable