[jboss-jira] [JBoss JIRA] (AS7-5837) CLI Script Support - Existing host with name containing _ not found

Stan Silvert (JIRA) jira-events at lists.jboss.org
Thu Oct 25 16:36:01 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729273#comment-12729273 ] 

Stan Silvert commented on AS7-5837:
-----------------------------------

Hmm.  In that case, there is still a bug but it's probably one for Alex to fix.

{code}
C:\as7trunk\jboss-as\build\target\jboss-as-7.2.0.Alpha1-SNAPSHOT\bin>.\jboss-cli -c
Using System.in
[domain at localhost:9999 /] cd host=master
[domain at localhost:9999 host=master] ls
core-service                           directory-grouping=by-server           management-minor-version=4             release-codename=Steropes
interface                              domain-controller={"local" => {}}      master=true                            release-version=7.2.0.Alpha1-SNAPSHOT
jvm                                    extension=undefined                    name=master                            running-mode=NORMAL
path                                   host-state=running                     namespaces=[]                          schema-locations=[]
server-config                          management-major-version=1             product-name=undefined                 server=undefined
system-property                        management-micro-version=0             product-version=undefined
[domain at localhost:9999 host=master] cd /host=ssilvert-win7
[domain at localhost:9999 host=ssilvert-win7] ls
java.lang.ArithmeticException: / by zero
        at org.jboss.jreadline.util.Parser.formatDisplayList(Parser.java:64)
        at org.jboss.jreadline.util.Parser.formatDisplayList(Parser.java:41)
        at org.jboss.as.cli.impl.Console$Factory$1.printColumns(Console.java:137)
        at org.jboss.as.cli.impl.CommandContextImpl.printColumns(CommandContextImpl.java:694)
        at org.jboss.as.cli.handlers.CommandHandlerWithHelp.printList(CommandHandlerWithHelp.java:128)
        at org.jboss.as.cli.handlers.LsHandler.doHandle(LsHandler.java:355)
        at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
        at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:565)
        at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:581)
        at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1164)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.modules.Module.run(Module.java:270)
        at org.jboss.modules.Main.main(Main.java:294)
Press any key to continue . . .
{code}
                
> CLI Script Support - Existing host with name containing _ not found
> -------------------------------------------------------------------
>
>                 Key: AS7-5837
>                 URL: https://issues.jboss.org/browse/AS7-5837
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 7.2.0.Alpha1
>         Environment: Groovy 2.0.5 with jboss-cli-client.jar (built from github master) against JBoss EAP 6.0.0 Final (AS 7.1.2.Final)
>            Reporter: Jim Rigsbee
>            Assignee: Stan Silvert
>            Priority: Minor
>
> I cannot access a host with the CLI object from scriptsupport package when the host name contains an underscore ("_").  Regular names work fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list