Back to bug 1027165

Who When What Removed Added
Darran Lofthouse 2013-11-06 11:18:44 UTC CC darran.lofthouse
Assignee brian.stansberry darran.lofthouse
Darran Lofthouse 2014-02-11 12:31:15 UTC Status NEW ASSIGNED
Darran Lofthouse 2014-04-24 17:32:24 UTC Status ASSIGNED POST
Darran Lofthouse 2014-04-24 17:37:16 UTC Doc Text Cause:

When the add-user script output is redirected to a file a java.io.Console is not available.

Consequence:

Users see the following error and the utility terminates: -

java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.

Fix:

If no console is available in non-interactive mode we revert to using System.out calls instead to output messages to the user.

Result:

add-user can now be executed in non-interactive mode with the output piped to a file.
Kabir Khan 2014-04-25 20:33:15 UTC Status POST MODIFIED
Target Release --- EAP 6.3.0
CC kkhan
Target Milestone --- ER4
Paul Gier 2014-05-08 14:44:54 UTC Status MODIFIED ON_QA
Nidhi 2014-05-13 09:22:03 UTC CC nsriniva
Docs Contact rdickens nsriniva
Nidhi 2014-05-13 10:49:52 UTC Doc Text Cause:

When the add-user script output is redirected to a file a java.io.Console is not available.

Consequence:

Users see the following error and the utility terminates: -

java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.

Fix:

If no console is available in non-interactive mode we revert to using System.out calls instead to output messages to the user.

Result:

add-user can now be executed in non-interactive mode with the output piped to a file.
In previous versions of JBoss EAP, the shell script for adding users to an EAP server (add-user.sh) could not be executed without the console (non-interactive mode).

This was because the shell script (add-user.sh) relied on console (java.io.Console) for operations.

Executing the shell script (add-user.sh) resulted in the following exception along with termination of the utility altogether:

java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.

This issue has been resolved by using System.out calls to output messages to the user in the absence of a console (non-interactive mode).

The fix helps execute the shell script (add-user.sh) in non-interactive mode with the output being piped to a file.
Scott Mumford 2014-05-14 02:06:33 UTC CC smumford
Doc Text In previous versions of JBoss EAP, the shell script for adding users to an EAP server (add-user.sh) could not be executed without the console (non-interactive mode).

This was because the shell script (add-user.sh) relied on console (java.io.Console) for operations.

Executing the shell script (add-user.sh) resulted in the following exception along with termination of the utility altogether:

java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.

This issue has been resolved by using System.out calls to output messages to the user in the absence of a console (non-interactive mode).

The fix helps execute the shell script (add-user.sh) in non-interactive mode with the output being piped to a file.
This release of JBoss EAP 6 carries a known issue wherein the shell script for adding users to an EAP server (add-user.sh) can not be executed without the console (non-interactive mode).

This is because the shell script (add-user.sh) relies on console (java.io.Console) for operations.

Executing the shell script (add-user.sh) results in the following exception along with termination of the utility altogether:
----
java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.
----
This issue is expected to be resolved in a future release of the product.
Doc Type Bug Fix Known Issue
Petr Kremensky 2014-05-14 10:42:51 UTC Status ON_QA VERIFIED
Petr Kremensky 2014-05-15 05:22:14 UTC CC fnasser, pgier
Component Domain Management Scripts and Commands
mark yarborough 2014-06-28 15:40:41 UTC Status VERIFIED CLOSED
Resolution --- CURRENTRELEASE
Last Closed 2014-06-28 11:40:41 UTC
Scott Mumford 2014-07-04 02:54:06 UTC Doc Text This release of JBoss EAP 6 carries a known issue wherein the shell script for adding users to an EAP server (add-user.sh) can not be executed without the console (non-interactive mode).

This is because the shell script (add-user.sh) relies on console (java.io.Console) for operations.

Executing the shell script (add-user.sh) results in the following exception along with termination of the utility altogether:
----
java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.
----
This issue is expected to be resolved in a future release of the product.
Previous releases of JBoss EAP 6 carried a known issue wherein the shell script for adding users to an EAP server (add-user.sh) could not be executed without the console (non-interactive mode).

This was because the shell script (add-user.sh) relies on console (java.io.Console) for operations.

Executing the shell script (add-user.sh) resulted in the following exception along with termination of the utility altogether:
----
java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.
----
This issue has been resolved in this release of the product.
Doc Type Known Issue Bug Fix

Back to bug 1027165