Skip to content

Installer: asadmin start-domain fails with Glassfish 4.1 on OS X Yosemite 10.10.3 #1983

@pdurbin

Description

@pdurbin

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:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions