jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes JMX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMX" Watch "JMX" New topic


Gopinath Chinnakaruppan

Joined: May 17, 2007
Posts: 3

I am using JMX to manage a service. I have developed a struts application to start and shutdown the service using JMX. I have registered the MBean in ServletContextListener. I am invoking the service to initialize a thread pool executor in a struts action and after that when a user invoke the an operation in another struts action. I am getting Null pointer since the thread pool executor instance is not available.

Kindly suggest me.

Same scenario is working fine with HTMLAdapter.
How HTMLAdapter is working?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32319

Please see your Private Messages about an important administrative matter.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: JMX
It's not a secret anymore!