Hide Forgot
Description of problem: Trying to create user on command line and it raise an exception about object being null. [root@mgbsy7a19 bin]# /usr/share/jboss-as/bin/add-user.sh admin admin 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:112) at org.jboss.as.domain.management.security.AddPropertiesUser.<init>(AddPropertiesUser.java:123) at org.jboss.as.domain.management.security.AddPropertiesUser.main(AddPropertiesUser.java:171) 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:260) at org.jboss.modules.Main.main(Main.java:291) Version-Release number of selected component (if applicable): [root@mgbsy7a19 bin]# rpm -qa | grep jboss-as jboss-as-7.1.1-20.fc19.noarch How reproducible: Install jboss and try to create a user Steps to Reproduce: 1. instlal jboss-as 2. Try to use user-add.sh script to add a user 3. Actual results: Nothing Expected results: A freshly created user Additional info:
The script is working in interactive mode. But still can't be used in Kickstart file or any automation process :-)
This is a bug in JBoss AS. It was reported upstream: https://issues.jboss.org/browse/AS7-5061 and fixed. I'm going to cherry-pick these changes and submit an update.
jboss-as-7.1.1-21.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/jboss-as-7.1.1-21.fc19
Working fine thx !
Package jboss-as-7.1.1-21.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing jboss-as-7.1.1-21.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-15909/jboss-as-7.1.1-21.fc19 then log in and leave karma (feedback).
jboss-as-7.1.1-21.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.