开发者

Can I use JMX to look at variables in Session objects?

I was wondering if I can u开发者_JAVA技巧se JMX to look at session variables? I'm looking for a way for an app. to look at session variables belonging to various sessions of a Servlet container.

Or any other ideas?...

thanks...


Sure, if you add mbeans for the purpose. Since you haven't told us which app server, there isn't going to be a more useful answer.

Stock Snoracle JVMs have some built-in MBeans which you can see with JConsole. App servers add whatever MBeans, if any, they feel like.

This Page describes the JMX support in Tomcat 6. It does not look to me as if it goes down to the session level. I'm reasonably sure that the servlet spec does not call forth any particular JMX support.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜