[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)

mrgordonz do-not-reply at jboss.com
Mon Sep 8 17:17:53 EDT 2008


Hi Peter,

This is looking promising!  However, when I try the following command at the command prompt: 

D:\JBoss_Tomcat\bin>twiddle.bat -s localhost:1098 get jboss.web:host=localhost,path=/MyApp,type=Manager activeSessions

I get the following exception:

07:08:14,829 ERROR [Twiddle] Command failure
  | org.jboss.console.twiddle.command.CommandException: Invalid object name: jboss.web:host
  |         at org.jboss.console.twiddle.command.MBeanServerCommand.createObjectName(MBeanServerCommand.java:53)
  |         at org.jboss.console.twiddle.command.GetCommand.processArguments(GetCommand.java:123)
  |         at org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:142)
  |         at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
  | 
  | Help for command: 'get'
  | 
  | Get the values of one or more MBean attributes
  | 
  | usage: get [options] <name> [<attr>+]
  |   If no attribute names are given all readable attributes are retrieved
  | options:
  |     --noprefix    Do not display attribute name prefixes
  |     --            Stop processing options

Any thoughts as to what might be causing that exception?

Cheers,

Paul

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175172#4175172

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175172



More information about the jboss-user mailing list