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

2008-09-09 Thread mrgordonz
Hi Peter, The installation of JBoss in this case is bundled with an application (Saba), and the Saba engineers have "tweaked" JBoss such that it listens on port 1098, not 1099. I have no idea why they did this, but when I check to see which ports are open (ie: being listened on), JBoss is list

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

2008-09-09 Thread mrgordonz
Hi Francesco, I am using 4.0.5, and unfortunately I can't upgrade because that is the version that the application vendor supports. I need to make sure I use supported 3rd party software, and that means I am stuck with 4.0.5. Cheers, Paul View the original post : http://www.jboss.com/index.

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

2008-09-08 Thread mrgordonz
Hi Peter, I have finally managed to achieve my goal of extracting the number of active sessions into a log file. Your clue regarding the actual MBean was the clincher (jboss.web:host=localhost,path=YYY,type=Manager). I guessed that I should be able to see the info in the JMX console (http://

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

2008-09-08 Thread mrgordonz
Hi Peter, That certainly fixed the issue with the exception - thx. My command is now: D:\JBoss_Tomcat\bin>twiddle -s localhost:1098 get "jboss.web:host=localhost,path=/MyApp,type=Manager" activeSessions But now when I execute that command, nothing happens - the cursor just sits there and the

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

2008-09-08 Thread mrgordonz
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 fa

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

2008-09-08 Thread mrgordonz
"kjkoster" wrote : Read up on what mbeans are and how to interpret them. Then apply that to the jboss jmx console. I know it's big, but the first time you looked under the hood of your car it was big also. Now you just top up the oil even on cars you've never seen in your life Hi Kees, To exte

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

2008-08-21 Thread mrgordonz
Hi Kees, I wish I could upgrade the JDK. I use this JDK because it is the version that is supported by the vendor of the web application - if I use something else then the software is technically not supported. You say... anonymous wrote : JBoss is built on top of JMX and that shows. Good thi

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

2008-08-21 Thread mrgordonz
"kjkoster" wrote : Dear Paul, | | All of this information is available through JMX. If you want that information in a file (presumably to feed it into a monitoring system) there are a few JMX command line tools. Failing that you can also use curl or wget to query the JBoss console. Crude, b

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

2008-08-21 Thread mrgordonz
Hi Sacha You'll have to forgive my ignorance, but I have no idea how to use JSR-77. I did some Googling, and I'm afraid I understood almost nothing of what I found. As to viewing the code for web-console, I didn't know where this code would be, but I guessed it might be in D:\JBoss_Tomcat\s

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

2008-08-21 Thread mrgordonz
Hi JBoss gurus, This is a slightly re-worded re-post (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=140995) because I wasn't getting any replies. I would like to reliably monitor the number of active sessions for a particular web application deployed on JBoss 4.0.5 (the server is Wi

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to reliably count active sessions

2008-08-18 Thread mrgordonz
Hi JBoss gurus, I would like to reliably monitor the number of active sessions for a particular web application deployed on JBoss 4.0.5 (server is Windows Server 2003). Initially I looked around for monitoring tools (eg: Hyperic) which would do all this for me, but alas they all seemed to monit

[jboss-user] [Beginners Corner] - Re: Monitor user sessions in JBoss

2008-08-07 Thread mrgordonz
Hi Peter, Thanks for that info. I tried browsing to http://localhost:8180/jmx-console/ on the server and I got a huge listing of stuff (I don't even know what the stuff is!). What I do know is the application I host (Saba) has a single ear file which I deploy (D:\SabaWeb\JBoss_Tomcat\server\d

[jboss-user] [Beginners Corner] - Monitor user sessions in JBoss

2008-08-06 Thread mrgordonz
Hi there, I provide application hosting for a particular J2EE application (Saba), and as part of my service I want to provide my customers with a monthly report that gives them visibility into how the users use the application. I have been evaluating a number of monitoring systems (Hyperic, Nag