Hello,
I´m trying to get output the invoke listInUseConnections the CachedConnectionManager via twiddle.sh, but I get the following error:
14:11:02,163 ERROR [Twiddle] Exec failed
java.lang.RuntimeException: No property editor for type: class java.util.HashMap
at org.jboss.util.propertyeditor.PropertyEditors.getEditor(PropertyEditors.java:176)
at org.jboss.console.twiddle.command.InvokeCommand.invoke(InvokeCommand.java:244)
at org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand.java:282)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
My environment is: jboss-4.2.2.GA and JDK 1.6.
I put the following jars in CLASSPATH the twiddle.sh: $JBOSS_HOME//server/saude/lib/properties-plugin.jar, but the error persists.
Thanks
Claudemir.
Sorry I forgot to write command line I´m using in twiddle.sh
./twiddle.sh -s localhost:1199 -u xxxx -p xxxx invoke jboss.jca:service=CachedConnectionManager listInUseConnections
You can refer this:-
/twiddle.sh get "jboss.jca:service=ManagedConnectionPool,name=DefaultDS" InUseConnectionCount | cut -d "=" -f 2