Bug 1072231 - [QE] (6.2.2) add-user.sh is not working with cygwin
Summary: [QE] (6.2.2) add-user.sh is not working with cygwin
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Scripts and Commands
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Permaine Cheung
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On: 1069252
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-04 07:06 UTC by Petr Kremensky
Modified: 2014-07-09 11:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1069252
Environment:
Last Closed: 2014-07-09 11:14:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1056130 0 unspecified CLOSED add-user.sh syntax cygwin fix 2021-02-22 00:41:40 UTC

Internal Links: 1056130

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.


Note You need to log in before you can comment on or make changes to this bug.