incubator-kitty-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Sacks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KITTY-18) Unix style relative paths up and down mbean tree not working
Date Thu, 26 May 2011 19:30:47 GMT

    [ https://issues.apache.org/jira/browse/KITTY-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039876#comment-13039876
] 

Matthew Sacks commented on KITTY-18:
------------------------------------

To reproduce: 
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Dtools.jar=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/tools.jar
-Dgroovy.home=/Users/msacks/groovy-1.7.4 -Dgroovy.starter.conf=/Users/msacks/groovy-1.7.4/conf/groovy-starter.conf
-Dfile.encoding=UTF-8 -classpath /Users/msacks/groovy-1.7.4/lib/groovy-1.7.4.jar org.codehaus.groovy.tools.GroovyStarter
--conf /Users/msacks/groovy-1.7.4/conf/groovy-starter.conf --main groovy.ui.GroovyMain --classpath
/Users/msacks/Development/Code/Groovy/kitty-test/out/production/Main:/Users/msacks/groovy-1.7.4/lib/ant-1.8.1.jar:/Users/msacks/groovy-1.7.4/lib/ant-antlr-1.8.1.jar:/Users/msacks/groovy-1.7.4/lib/ant-junit-1.8.1.jar:/Users/msacks/groovy-1.7.4/lib/ant-launcher-1.8.1.jar:/Users/msacks/groovy-1.7.4/lib/ant-nodeps-1.8.1.jar:/Users/msacks/groovy-1.7.4/lib/antlr-2.7.7.jar:/Users/msacks/groovy-1.7.4/lib/asm-3.2.jar:/Users/msacks/groovy-1.7.4/lib/asm-analysis-3.2.jar:/Users/msacks/groovy-1.7.4/lib/asm-commons-3.2.jar:/Users/msacks/groovy-1.7.4/lib/asm-tree-3.2.jar:/Users/msacks/groovy-1.7.4/lib/asm-util-3.2.jar:/Users/msacks/groovy-1.7.4/lib/bsf-2.4.0.jar:/Users/msacks/groovy-1.7.4/lib/commons-cli-1.2.jar:/Users/msacks/groovy-1.7.4/lib/commons-logging-1.1.1.jar:/Users/msacks/groovy-1.7.4/lib/groovy-1.7.4.jar:/Users/msacks/groovy-1.7.4/lib/ivy-2.2.0-rc1.jar:/Users/msacks/groovy-1.7.4/lib/jansi-1.2.1.jar:/Users/msacks/groovy-1.7.4/lib/jline-0.9.94.jar:/Users/msacks/groovy-1.7.4/lib/jsp-api-2.0.jar:/Users/msacks/groovy-1.7.4/lib/junit-4.8.1.jar:/Users/msacks/groovy-1.7.4/lib/servlet-api-2.4.jar:/Users/msacks/groovy-1.7.4/lib/xstream-1.3.1.jar
--encoding=UTF-8 /Users/msacks/Development/Code/Groovy/kitty-test/src/main/java/org/apache/kitty/CmdShell.groovy
kitty> connect localhost 9000
connect localhost 9000
connecting to localhost at port 9000....
the url is service:jmx:rmi:///jndi/rmi://localhost:9000/jmxrmi
Successfully connected to host
kitty> setdomain Catalina
setdomain Catalina
Setting the domain to Catalina...
The domain is set to Catalina
kitty> ls
ls
listing files and directories...
Catalina:
-----
M j2eeType=Servlet
M j2eeType=WebModule
M j2eeType=Filter
M type=Loader
M type=Manager
M type=NamingResources
M type=JspMonitor
M type=WebappClassLoader
M type=Environment
M type=Host
M type=Resource
M type=Valve
M type=JkHandler
M type=Mapper
M type=Connector
M type=Realm
M type=MBeanFactory
M type=Cache
M type=ServerClassLoader
M type=Service
M type=Deployer
M type=Server
M type=RequestProcessor
M type=GlobalRequestProcessor
M type=Engine
M type=ThreadPool
M type=ProtocolHandler
M type=JkWorkerEnv
M type=StringCache
M type=JkMain
The domain list is:
kitty> cd type=Server
cd type=Server
changing remote path...
kitty> ls
ls
listing files and directories...
Catalina:type=Server
-----
null
kitty> cd ..
cd ..
changing remote path...
No signature of method: java.util.ArrayList.length() is applicable for argument types: ()
values: []
Possible solutions: last(), get(int), get(int), getAt(java.lang.String), getAt(int), getAt(java.lang.String)


Working previous Jython version:

jmx> pwd
Catalina:type=Valve
jmx> ls
Catalina:type=Valve
-----
M name=ErrorReportValve
M name=StandardHostValve
M name=StandardContextValve
M name=StandardEngineValve
M name=BasicAuthenticator
M name=FormAuthenticator
jmx> pwd
Catalina:type=Valve
jmx> cd ..
jmx> pwd
Catalina:


> Unix style relative paths up and down mbean tree not working 
> -------------------------------------------------------------
>
>                 Key: KITTY-18
>                 URL: https://issues.apache.org/jira/browse/KITTY-18
>             Project: Kitty
>          Issue Type: Bug
>            Reporter: Matthew Sacks
>            Priority: Critical
>              Labels: UX
>
> when navigating the mbean trees using Unix style relative paths, a No signature of method
error is thrown

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message