[
https://issues.apache.org/jira/browse/KITTY-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033862#comment-13033862
]
Matthew Sacks commented on KITTY-12:
------------------------------------
Patch applied, fix works.
kitty> connect 127.0.0.1 9000
connect 127.0.0.1 9000
connecting to 127.0.0.1 at port 9000....
the url is service:jmx:rmi:///jndi/rmi://127.0.0.1:9000/jmxrmi
Successfully connected to host
kitty> help
help
COMMANDS
connect <host> <port> - Connect to the remote host
disconnect - Disconnect from remote host
cd <path> - Change the current mbean path
exit - Quit the application and return to the command prompt
get <attribute> - Get an attribute from the remote host
set <attribute> <value> - Set an attribute on the remote host
setdomain <domain> - Set the domain in the current session
domains - List all available MBeanServer domainsinvoke <operation>
<parameters...> - Invoke an operation on the remote host
ls - List all objects and attributes in current mbean path
pwd - print working directory of mbean path
kitty> domains
domains
Domains Detected:
0: JMImplementation
1: Users
2: com.sun.management
3: Catalina
4: java.lang
5: java.util.logging
kitty> setdomain Catalina
setdomain Catalina
Setting the domain to Catalina...
The domain is set to Catalina
> setdomains returns null object
> ------------------------------
>
> Key: KITTY-12
> URL: https://issues.apache.org/jira/browse/KITTY-12
> Project: Kitty
> Issue Type: Bug
> Environment: Mac OS X 10.6, Groovy 1.7.6, Java 1.6.0
> Reporter: Matthew Sacks
> Priority: Blocker
> Labels: unbreaking
> Attachments: kitty-12.patch
>
>
> kitty> domains
> domains
> Domains Detected:
> 0: JMImplementation
> 1: Users
> 2: com.sun.management
> 3: Catalina
> 4: java.lang
> 5: java.util.logging
> kitty> setdomain Catalina
> setdomain Catalina
> Setting the domain to Catalina...
> Cannot invoke method length() on null object
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira