Bug 1040830

Summary: ER7-2 cant be installed on windows
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Andrej Vano <avano>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED NOTABUG QA Contact: Len DiMaggio <ldimaggi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, avano, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-13 14:19:05 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:
Attachments:
Description Flags
installationlog.txt none

Description Andrej Vano 2013-12-12 08:13:19 UTC
Description of problem:
ER7-2 fails on s-ramp seeding - authentication failure while attempting to access s-ramp repository

windows server 2012 64bit

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


How reproducible: 100%


Steps to Reproduce:
1. java -jar installer.jar
2. leave all defaults
3. the installation will fail around step 101/105

Actual results:


Expected results:


Additional info: 
FAILED to connect to S-RAMP endpoint: http://localhost:8080/s-ramp-server
	Authentication failure while attempting to access the S-RAMP repository.
S-RAMP shell shutting down...done.
Exit code: 1
Command failure: [java, -Xmx1024m, -jar, bin/s-ramp-shell-0.3.1.Final-redhat-4.jar, -f, dtgov-sramp-repo-seed-cli-commands.txtTEMP] 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.

Comment 1 Andrej Vano 2013-12-12 08:15:04 UTC
Created attachment 835653 [details]
installationlog.txt

Comment 3 Thomas Hauser 2013-12-12 14:58:43 UTC
I see this exception in the log:

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:606)
	at org.jboss.modules.Module.run(Module.java:270)
	at org.jboss.modules.Main.main(Main.java:411)
Press any key to continue . . . 

Is there a way I can access the machine used to install this run? I'm wondering if there isn't some problem with the add-user.bat script itself, since this stack trace seems to be coming from that program. What are the contents of the application-users.properties and application-roles.properties files?

Comment 4 Thomas Hauser 2013-12-12 14:59:47 UTC
Also, was Cygwin used for the installation?

Comment 5 Andrej Vano 2013-12-13 07:44:32 UTC
Hi Thomas,

unforunately I can't reproduce the error today. I was testing it on jenkins node vmg05. Today all installations successfully passed and it seems it was problem with the machine itself. I think we can close the BZ.

btw. no cygwin used, standard java -jar from command line

Comment 6 Thomas Hauser 2013-12-13 14:19:05 UTC
Ok, closing the BZ. :)