[jboss-as7-dev] Use of CLI to add security-domain

Alexey Loubyansky alexey.loubyansky at redhat.com
Thu Aug 9 10:03:42 EDT 2012


On 07/27/2012 08:02 PM, Wolf-Dieter Fink wrote:
>
> BTW the CLI tab completition crash:
> //subsystem=security/security-domain=lbankx/authentication=(

Ah, because of the '(' after the '='. It's an unexpected syntax. 
Shouldn't fail like this, of course.

Thanks,
Alexey

> java.lang.IllegalArgumentException: The argument value is not specified
> for name: 'null'
>      at
> org.jboss.as.cli.operation.impl.DefaultOperationRequestBuilder.addProperty(DefaultOperationRequestBuilder.java:113)
>      at
> org.jboss.as.cli.operation.impl.DefaultOperationCandidatesProvider.getProperties(DefaultOperationCandidatesProvider.java:208)
>      at
> org.jboss.as.cli.operation.impl.DefaultOperationCandidatesProvider.getProperties(DefaultOperationCandidatesProvider.java:51)
>      at
> org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:142)
>      at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:93)
>      at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:96)
>      at org.jboss.jreadline.console.Console.complete(Console.java:809)
>      at org.jboss.jreadline.console.Console.read(Console.java:383)
>      at org.jboss.jreadline.console.Console.read(Console.java:221)
>      at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:166)
>      at
> org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1129)
>      at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:243)
>      at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
>      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:616)
>      at org.jboss.modules.Module.run(Module.java:270)
>      at org.jboss.modules.Main.main(Main.java:294)
> /
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>


More information about the jboss-as7-dev mailing list