Re: Using the org.apache.wicket.jmx MBeans with WebSphere

2008-12-28 Thread shetc

OK, finally figured it out. As it is explained in the
org.apache.wicket.jmx.Initializer Java API doc,
I need to set either one of these 2 JVM system properties:

wicket.mbean.server.agentid=WebSphere

or

wicket.mbean.server.class=com.ibm.ws.management.PlatformMBeanServer
-- 
View this message in context: 
http://www.nabble.com/Using-the-org.apache.wicket.jmx-MBeans-with-WebSphere-tp21188288p21194860.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Using the org.apache.wicket.jmx MBeans with WebSphere

2008-12-28 Thread shetc

Hi Phil,

Are you using WebSphere?

Steve
-- 
View this message in context: 
http://www.nabble.com/Using-the-org.apache.wicket.jmx-MBeans-with-WebSphere-tp21188288p21193228.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Using the org.apache.wicket.jmx MBeans with WebSphere

2008-12-27 Thread Phil Grimm
Steve,
I don't know that much about Wicket JMX either, but...

I just added wicket-jmx-1.4-rc1.jar to my CLASSPATH and the Wicket MBean
shows up in  jconsole.

I also add the -Dcom.sun.management.jmxremote option to the JVM startup.

Phil

On Sat, Dec 27, 2008 at 4:33 PM, shetc  wrote:

>
> Hi All,
>
> I'm relatively new to using JMX and I would very much like to use the
> Wicket
> MBeans with my WebSphere 6.1 Wicket application. I know how to use Spring
> to
> register my own simple MBeans with WebSphere, but can't figure out how to
> register the Wicket ones. For example, if I try to register
> org.apache.wicket.jmx.Application then I get a Spring
> BeanInstantiationException, which is caused by not having a default
> constructor in that MBean. So I looked in the Application class thinking
> that I would extend it by adding the missing default constructor. That's
> when I realized that the main constructor signature wants an instance of
> the
> Wicket Application class passed to it. And that's where I got stuck. Does
> anyone have some advice on what it is that I'm doing wrong?
>
> Thanks,
> Steve
> --
> View this message in context:
> http://www.nabble.com/Using-the-org.apache.wicket.jmx-MBeans-with-WebSphere-tp21188288p21188288.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Phil Grimm
Mobile: (858) 335-3426
Skype: philgrimm336