Bug 1292250
Summary: | BRMS 6.2 installer fails on specific OS/JDK combinations | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Spolti <fspolti> | ||||||||||||
Component: | Installer | Assignee: | Miroslav Sochurek <msochure> | ||||||||||||
Status: | CLOSED EOL | QA Contact: | Dominik Hanak <dhanak> | ||||||||||||
Severity: | urgent | Docs Contact: | |||||||||||||
Priority: | urgent | ||||||||||||||
Version: | 6.2.0 | CC: | alazarot, hfuruich, hmiura, lywang, michael.ringrose, mweiler, scott.nichol | ||||||||||||
Target Milestone: | DR2 | ||||||||||||||
Target Release: | 6.3.0 | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Windows | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | |||||||||||||||
: | 1299002 (view as bug list) | Environment: | |||||||||||||
Last Closed: | 2020-03-27 20:09:48 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: | |||||||||||||||
Bug Depends On: | |||||||||||||||
Bug Blocks: | 1299002 | ||||||||||||||
Attachments: |
|
Description
Spolti
2015-12-16 20:15:21 UTC
Hi Spolti, Could I request InstalationLog from you? Thanks, Dominik. Hello, Sorry for the delay. I attached the installation log from windows machine. We did more tests on it, and seems that is a issue with Oracle's JDK version 8. Tests: ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /data/jboss/eap645test JAVA: java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true ========================================================================= Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 16:19:32,842 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.7.Final-redhat-1 Connected to Management Interface. Advanced configuration completed successfully. See the log for a list of commands that were run on your system. Running command:[jar, cf, /data/jboss/eap645test/domain/business-central.war, -C, /data/jboss/eap645test/standalone/deployments/business-central.war/, .] Running command:[jar, cf, /data/jboss/eap645test/domain/dashbuilder.war, -C, /data/jboss/eap645test/standalone/deployments/dashbuilder.war/, .] Running command:[jar, cf, /data/jboss/eap645test/domain/kie-server.war, -C, /data/jboss/eap645test/standalone/deployments/kie-server.war/, .] Trying to connect to Management Interface...(1/5). Connected to Management Interface. Advanced configuration command failed: deploy "/data/jboss/eap645test/domain/business-central.war" --all-server-groups { "outcome" => "failed", "failure-description" => "Path /data/jboss/eap645test/domain/business-central.war doesn't exist.", "command" => "deploy \"/data/jboss/eap645test/domain/business-central.war\" --all-server-groups" } Now running the same with Java 7 is successful: ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /data/jboss/eap645test JAVA: java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true ========================================================================= Advanced configuration completed successfully. See the log for a list of commands that were run on your system. Running command:[jar, cf, /data/jboss/eap645test/domain/business-central.war, -C, /data/jboss/eap645test/standalone/deployments/business-central.war/, .] Exit code: 0 Command success: [jar, cf, /data/jboss/eap645test/domain/business-central.war, -C, /data/jboss/eap645test/standalone/deployments/business-central.war/, .] completed successfully. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Linux - Fedora23: [fspolti@my-laptop jboss-eap-6.4.5]$ java -version openjdk version "1.8.0_65" OpenJDK Runtime Environment (build 1.8.0_65-b17) OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode) Result: Success +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Linux - Fedora 23: /usr/java/jdk1.7.0_71/bin/java -jar /home/fspolti/Downloads/jboss-brms-6.2.0.GA-installer.jar Result Success. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ :q Linux - Fedora 23: JBOSS_HOME adjusted to: /tmp/jboss-eap-6.4.5 ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /tmp/jboss-eap-6.4.5 JAVA: /usr/java/jdk1.8.0_65//bin/java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true ========================================================================= Result: Success +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Windows server 2008: C:\Users\Administrator>java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b17)J ava HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) Fail: Advanced configuration command failed: deploy "C:\Users\Administrator\Desktop\jboss-eap-6.4.5/domain/business-central.war" --all-server-groups { "outcome" => "failed", "failure-description" => "Path C:\\Users\\Administrator\\Desktop\\jboss-eap-6.4.5\\domain\\business-central.war doesn't exist.", "command" => "deploy \"C:\\Users\\Administrator\\Desktop\\jboss-eap-6.4.5/domain/business-central.war\" --all-server-groups" } +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Windows server 2008 Java 8u65: Result: Success InstallationLog attached. Thanks. Created attachment 1107455 [details]
fail log
Created attachment 1107456 [details]
Success log
customer encountered the same issue with jdk 1.6. Is there any workaround to install 6.2.0 with jdk1.6/1.7? Do we have a plan to fix this so that install can be performed without any error with jdk1.7( and jdk1.6)? Unfortunately, they can't use jdk1.8 as their another application need to be run with jdk1.6. So customer is eager to have a fix of this bug as soon as possible. Customer reported that installation with jdk 1.8 is still failed on Windows7. In addition, I confirmed before that it worked on Windows 8. I'll double check later. So this might be depending on OS version instead of jdk version. I'll attach installation when I failed to install with jdk1.8 on Windows 7. Created attachment 1109151 [details]
failure with jdk1.8 on Windows7
Created attachment 1109152 [details]
list of domain directory
When installation fails, business-central.war/kie-server.war do not exist in domain directory.
I experienced behavior similar to the OP. On Windows Server 2008 R2 and Oracle JDK 8u66, BRMS 6.2 GA install failed on deploy "C:\Users\snichol\jboss-eap-6.4.0/domain/business-central.war" --all-server-groups Replacing JDK 8u66 with 7u79, the install succeeded. Created attachment 1114875 [details]
Failure with JDK 1.8 on Fedora 23
Installation constantly fails on my Fedora 23 laptop when using Oracle JDK 1.8:
[mweiler@martin installation]$ uname -r
4.2.8-300.fc23.x86_64
[mweiler@martin installation]$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Switching to JDK 1.7 makes the installation to finish successfully.
I can confirm that installation is successful on RHEL6, RHEL7 and Windows Server 2012 with java 1.6, 1.7, 1.8. Verified with 6.3.0.DR2. We resolved this issue by adding the java home\bin folder to our system path. It was failing to find the jar command. e.g. ;C:\Program Files\Java\jdk1.7.0_79\bin |