Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1072231

Summary: [QE] (6.2.2) add-user.sh is not working with cygwin
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: Scripts and CommandsAssignee: Permaine Cheung <pcheung>
Status: CLOSED WONTFIX QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.2CC: akostadi, dboeren, fnasser, pgier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1069252 Environment:
Last Closed: 2014-07-09 11:14:32 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: 1069252    
Bug Blocks:    

Description Petr Kremensky 2014-03-04 07:06:09 UTC
+++ This bug was initially created as a clone of Bug #1069252 +++

Description of problem:
Trying to use add-user.sh script with cygwin gives me IllegalStateException.

Version-Release number of selected component (if applicable):
 EAP 6.3.0.DR0

How reproducible:
 Always

Steps to Reproduce:
 1. use ./add-user.sh with cygwin

Actual results:
cygpath: can't convert empty path
Exception in thread "main" java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.
	at org.jboss.as.domain.management.security.adduser.AddUser.<init>(AddUser.java:74)
	at org.jboss.as.domain.management.security.adduser.AddUser.main(AddUser.java:215)
	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:292)
	at org.jboss.modules.Main.main(Main.java:455)

Expected results:
 Add-user dialogue will appear. 

Additional info:
 This one is continue of BZ1057625

--- Additional comment from Aleksandar Kostadinov on 2014-02-24 10:42:34 EST ---

duplicate of bug 1056130
see also bug 1057625 and bug 1027165

--- Additional comment from Permaine Cheung on 2014-02-27 09:37:19 EST ---

Darran, can you please look into it? Thanks!

Comment 1 Permaine Cheung 2014-03-04 19:34:10 UTC
Darran, please submit the fix for 1069252 to 6.2.x when you have it ready. Thanks!

Comment 2 Petr Kremensky 2014-07-09 11:14:32 UTC
This issue is reported against a version which is no longer maintained, which means that it will not receive a fix. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Enterprise Application Platform please feel free to open a bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.