Bug 1028775

Summary: Installer fails on Solaris 11
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Filip Nguyen <fnguyen>
Component: ConfigurationAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, vhalbert, wgibson
Target Milestone: CR2   
Target Release: 6.0   
Hardware: Unspecified   
OS: Solaris   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Users are having trouble starting JBoss Data Virtualization on Solaris 11. This is occuring because neither PATH nor JAVA_HOME environment variables are set. At least one of these must be set.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-10 18:27:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of weird error message
none
Installation Log none

Description Filip Nguyen 2013-11-10 17:55:09 UTC
Created attachment 822119 [details]
screenshot of weird error message

I was not able to install the DV6 on Solaris 11. It fails to start the server (It outputs failed to start server after 11 attempts and doesn't finish.) After thta it tries to configure the server anyway and weird error messages pops up. Please see the attached screenshot.


I see this behavior not only with the graphical installer, but also with the headless installer (completely automated).

Note that zip distribution works and I can start the server.

Using Java 1.7.0_40

Machine:
> cat /etc/release
                           Oracle Solaris 11 11/11 X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 18 October 2011

Comment 1 Filip Nguyen 2013-11-10 18:22:11 UTC
Created attachment 822121 [details]
Installation Log

Comment 2 Thomas Hauser 2013-11-18 15:47:20 UTC
This was occuring because neither PATH nor JAVA_HOME environment variables were set. At least one of these must be set, or 


# Setup the JVM
if [ "x$JAVA" = "x" ]; then
    if [ "x$JAVA_HOME" != "x" ]; then
        JAVA="$JAVA_HOME/bin/java"
    else
        JAVA="java"
    fi
fi

This snippet within standalone.sh or domain.sh will result in a command that is not executable in the environment. This apparently fails without any kind of error message that ProcessBuilder can see, and thus is not logged in the installer.

Comment 3 Filip Nguyen 2013-11-18 16:10:38 UTC
I suggest to remove blocker flag as this is not a blocking bug.

Comment 4 wgibson 2014-02-10 23:39:12 UTC
DV6 installer works on Sol 11.