Bug 1044694

Summary: Need to investigate random, intermittent, not reproducible at will install failures on Windows
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Len DiMaggio <ldimaggi>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED NOTABUG QA Contact: Len DiMaggio <ldimaggi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-20 14:16:14 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:

Description Len DiMaggio 2013-12-18 20:20:15 UTC
Description of problem:

Seeing errors such as this on Windows

Press any key to continue . . . 
'jp13873894268362eIk?1a' is not recognized as an internal or external command,
operable program or batch file.
Exit code: 1
Command failure. Failed with exit code: 1


Version-Release number of selected component (if applicable):
ER7-2

How reproducible:
25%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Len DiMaggio 2013-12-18 20:20:45 UTC
Install log:

SYSTEM_sun_boot_class_path = C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\classes
db.url = jdbc:h2:file:${jboss.server.data.dir}/h2/soa;mvcc=true
add.new.user = true
APP_NAME = Red Hat JBoss Fuse Service Works Installer
db.default.user = soa
FinishPanel.links.show = true
installLdap = off
datasource.install = off
SYSTEM_java_runtime_version = 1.7.0-b147
SYSTEM_user_dir = C:\Users\jbossqa\FSW6_ER72
standalone.xml.org.modeshape.extension.exists = false
SYSTEM_line_separator = 

SYSTEM_java_runtime_name = Java(TM) SE Runtime Environment
TargetPanel.dir.windows = ${USER_HOME}\
product.name = soa
SYSTEM_sun_desktop = windows
APP_URL = http://www.jboss.org
SYSTEM_java_vendor_url = http://java.oracle.com/
SYSTEM_java_ext_dirs = C:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
postinstallServer = false
fsw.user = fswAdmin
installVault = off
SYSTEM_user_script = 
standalone.xml.modeshape.infinispan.exists = false
ISO3_LANG = eng
SYSTEM_sun_boot_library_path = C:\Program Files\Java\jre7\bin
standalone-full.xml.modeshape.infinispan.exists = false
eap.needs.install = true
FinishPanel.bpel.show = fsw.install
SYSTEM_java_vendor_url_bug = http://bugreport.sun.com/bugreport/
SYSTEM_os_version = 6.1
SYSTEM_izpack_mode = privileged
FinishPanel.gadget.show = rt.server.install
SYSTEM_java_vm_specification_vendor = Oracle Corporation
standalone.xml.org.jboss.as.messaging.extension.exists = false
initial.pack.selection = false
standalone-full.xml.org.modeshape.extension.exists = false
runDatabaseSchemas = on
SYSTEM_java_endorsed_dirs = C:\Program Files\Java\jre7\lib\endorsed
TargetPanel.mustExist = false
INSTALL_SUBPATH = jboss-eap-6.1
SYSTEM_java_vm_specification_name = Java Virtual Machine Specification
installSsl = off
standalone-ha.xml.modeshape.infinispan.exists = false
standalone-full-ha.xml.vault.preexisting = false
installation.logfile = InstallationLog.txt
installerMode = GUI
SYSTEM_file_encoding_pkg = sun.io
FinishPanel.dtgov.show = sramp-dt-gov.install
SYSTEM_file_encoding = Cp1252
SYSTEM_java_vm_info = mixed mode
db.user = soa
platform.readable.name = FSW
infinispan.evictionmax = 50000
SYSTEM_java_class_path = C:\Users\jbossqa\FSW6_ER72\jboss-fsw-installer-6.0.0.ER7-redhat-2.jar
SYSTEM_java_vm_vendor = Oracle Corporation
USER_HOME = C:\Users\jbossqa
standalone-osgi.xml.org.jboss.as.messaging.extension.exists = false
SYSTEM_java_class_version = 51.0
SYSTEM_os_name = Windows 7
SYSTEM_user_timezone = America/Los_Angeles
jdbc.driver.install = off
SYSTEM_sun_cpu_endian = little
SYSTEM_user_language = en
vault.preexisting = false
APPLICATIONS_DEFAULT_ROOT = C:\Program Files
standalone-full.xml.org.jboss.as.messaging.extension.exists = false
SYSTEM_java_vm_specification_version = 1.7
SYSTEM_java_library_path = C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Subversion\bin;C:\Users\jbossqa\apache-maven-3.0.4-bin\apache-maven-3.0.4\bin;.
SYSTEM_user_variant = 
SYSTEM_user_home = C:\Users\jbossqa
INSTALL_PATH = C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1
standalone-ha.xml.org.jboss.as.messaging.extension.exists = false
SYSTEM_sun_cpu_isalist = amd64
vault.salt = 12345678
FieldNotEqualValidator.check = adminUser,adminPassword
standalone-full-ha.xml.modeshape.infinispan.exists = false
standalone-full.xml.vault.preexisting = false
IP_ADDRESS = 169.254.62.238
SYSTEM_java_awt_graphicsenv = sun.awt.Win32GraphicsEnvironment
infinispan.expirationmax = 100000
standalone-full-ha.xml.org.modeshape.extension.exists = false
SYSTEM_awt_toolkit = sun.awt.windows.WToolkit
SYSTEM_java_vm_name = Java HotSpot(TM) 64-Bit Server VM
existing.product.conf = eap
new.layers.conf = soa
standalone-full.xml.urn:jboss:domain:modeshape:1.0.subsystem.exists = false
standalone-full-ha.xml.org.jboss.as.messaging.extension.exists = false
SYSTEM_sun_arch_data_model = 64
SYSTEM_sun_management_compiler = HotSpot 64-Bit Tiered Compilers
mavenSettings = off
existing.layers.conf = 
SYSTEM_sun_java_command = C:\Users\jbossqa\FSW6_ER72\jboss-fsw-installer-6.0.0.ER7-redhat-2.jar
adminUser = admin
FILE_SEPARATOR = \
server_mode = none
db.default.url = jdbc:h2:file:${jboss.server.data.dir}/h2/soa;mvcc=true
APP_VER = 6.0.0.ER7-redhat-2
SYSTEM_file_separator = \
SYSTEM_java_specification_version = 1.7
HOST_NAME = jbossqa-PC
standalone-osgi.xml.org.modeshape.extension.exists = false
SYSTEM_sun_os_patch_level = Service Pack 1
SYSTEM_java_home = C:\Program Files\Java\jre7
installSecurityDomain = off
standalone.xml.vault.preexisting = false
standalone-ha.xml.urn:jboss:domain:modeshape:1.0.subsystem.exists = false
FinishPanel.links.list = admin,sramp,dtgov,gadget,bpel
JAVA_HOME = C:\Program Files\Java\jre7
JDKCheckPanel.minVersion = 1.6.0
standalone-ha.xml.org.modeshape.extension.exists = false
standalone-osgi.xml.urn:jboss:domain:modeshape:1.0.subsystem.exists = false
standalone-osgi.xml.modeshape.infinispan.exists = false
SYSTEM_sun_java_launcher = SUN_STANDARD
FinishPanel.admin.show = is.soa
SYSTEM_sun_jnu_encoding = Cp1252
installInfinispan = off
SYSTEM_user_country = US
SYSTEM_os_arch = amd64
jdbc.driver.name = h2
SYSTEM_java_specification_vendor = Oracle Corporation
SYSTEM_java_specification_name = Java Platform API Specification
db.dialect = H2Dialect
standalone-full-ha.xml.urn:jboss:domain:modeshape:1.0.subsystem.exists = false
server_up = false
TargetPanel.dir.macosx = ${USER_HOME}/
Installer.splash.duration = 2000
standalone.xml.urn:jboss:domain:modeshape:1.0.subsystem.exists = false
USER_NAME = jbossqa
FinishPanel.sramp.show = sramp.install
db.driver = h2
SYSTEM_java_io_tmpdir = C:\Users\jbossqa\AppData\Local\Temp\
SYSTEM_user_name = jbossqa
SYSTEM_java_vendor = Oracle Corporation
TargetPanel.dir.unix = ${USER_HOME}/
CLASS_PATH = C:\Users\jbossqa\FSW6_ER72\jboss-fsw-installer-6.0.0.ER7-redhat-2.jar
standalone-osgi.xml.vault.preexisting = false
SYSTEM_sun_io_unicode_encoding = UnicodeLittle
SYSTEM_java_version = 1.7.0
SYSTEM_java_vm_version = 21.0-b17
standalone-ha.xml.vault.preexisting = false
SYSTEM_java_awt_printerjob = sun.awt.windows.WPrinterJob
SYSTEM_path_separator = ;
IzPack variable state written to C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1/InstallationLog.txt
Starting generation of key: C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1/jboss-eap-6.1/standalone/configuration/vault.keystore
Generation of key: C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1/jboss-eap-6.1/standalone/configuration/vault.keystore was successful.
Starting generation of key: C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1/jboss-eap-6.1/standalone/configuration/overlord-saml.keystore
Generation of key: C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1/jboss-eap-6.1/standalone/configuration/overlord-saml.keystore was successful.
Press any key to continue . . . 
Exit code: 0
Command completed successfully.
JBOSS_HOME adjusted to: C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1\jboss-eap-6.1
Calling "C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1\jboss-eap-6.1\bin\standalone.conf.bat"
Setting JAVA property to 'C:\Program Files\Java\jdk1.7.0\bin\java'
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\Users\jbossqa\FSW6_ER72\installDir_Dec18_1\jboss-eap-6.1

  JAVA: C:\Program Files\Java\jdk1.7.0\bin\java

  JAVA_OPTS: -XX:+TieredCompilation -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms1303M -Xmx1303M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman

===============================================================================

09:55:54,336 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.2.Final-redhat-1
09:55:55,055 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
09:55:55,258 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015899: JBoss Red Hat JBoss Fuse Service Works 6.0.0.ER7-redhat-1 (AS 7.2.1.Final-redhat-10) starting
Waiting for server to be ready. This could take up to 15 seconds.
.
.
09:56:00,665 INFO  [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.7.GA-redhat-1
09:56:00,727 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
09:56:00,805 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.16.GA-redhat-1
09:56:01,836 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
.
09:56:02,493 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on 127.0.0.1:9999
09:56:02,790 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
09:56:02,790 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled
[ Server code detected: JBAS015874 ]
{
    "outcome" => "success",
    "result" => "C:\\Users\\jbossqa\\FSW6_ER72\\installDir_Dec18_1\\jboss-eap-6.1\\standalone\\data"
jboss.server.data.dir = C:\\Users\\jbossqa\\FSW6_ER72\\installDir_Dec18_1\\jboss-eap-6.1\\standalone\\data
}
Press any key to continue . . . 
WARN: can't find jboss-cli.xml. Using default configuration values.
Dec 18, 2013 9:57:01 AM org.picketbox.plugins.vault.PicketBoxSecurityVault init
INFO: PBOX000361: Default Security Vault Implementation Initialized and Ready
Vault session creation successful. Vault session started.
Trying to connect to Management Interface...(1/5).
Dec 18, 2013 9:57:01 AM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.7.GA-redhat-1
Dec 18, 2013 9:57:01 AM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.7.GA-redhat-1
Dec 18, 2013 9:57:01 AM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.16.GA-redhat-1
Connected to Management Interface.
{"outcome" => "success"}
Vault installation successful.
WARN: can't find jboss-cli.xml. Using default configuration values.
Exception in thread "main" java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.
	at org.jboss.as.domain.management.security.AddPropertiesUser.<init>(AddPropertiesUser.java:97)
	at org.jboss.as.domain.management.security.AddPropertiesUser.<init>(AddPropertiesUser.java:119)
	at org.jboss.as.domain.management.security.AddPropertiesUser.main(AddPropertiesUser.java:195)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.jboss.modules.Module.run(Module.java:270)
	at org.jboss.modules.Main.main(Main.java:411)
Press any key to continue . . . 
'jp13873894268362eIk?1a' is not recognized as an internal or external command,
operable program or batch file.
Exit code: 1
Command failure. Failed with exit code: 1
Running on-fail server check.
Shutting server down.
WARN: can't find jboss-cli.xml. Using default configuration values.
Trying to connect to Management Interface...(1/5).
Connected to Management Interface.
{"outcome" => "success"}
Application Server successfully stopped.

The connection to the controller has been closed as the result of the shutdown operation.
(Although the command prompt will wrongly indicate connection until the next line is entered)

Comment 2 Len DiMaggio 2013-12-20 14:16:14 UTC
Cannot recreate this bug.