-
1. Re: java.lang.ClassNotFoundException: org.jboss.as.jmx.PluggableMBeanServerBuilder
sergiu_pienar Jun 26, 2012 9:52 AM (in response to mukulgoel)Insted of the MBeanServerFactory go with something like
ManagementFactory.getPlatformMBeanServer();
Sergiu
-
2. Re: java.lang.ClassNotFoundException: org.jboss.as.jmx.PluggableMBeanServerBuilder
mukulgoel Jun 26, 2012 9:58 AM (in response to sergiu_pienar)Actualy the snippet it is from, That class is a part of a properitry framework and is used on multiple servers. I would not want to modify it until it is utterly neccessary.
i suppose there is a MBeanServerFactory provided by JRE6 , is there some way i could use those? i dont know that makes sense or not never worked with MBeanservers.. hope u get what i am trying to say ? :/
-
3. Re: java.lang.ClassNotFoundException: org.jboss.as.jmx.PluggableMBeanServerBuilder
mukulgoel Jun 28, 2012 4:50 AM (in response to sergiu_pienar)Hey Sergiu,
I went ahead and did the change you recomend and it worked.. thanks a lot mate..
btw just a quick question... i use this same application on websphere application server, tomcat and currently on jboss..
and the previous implementation works with websphere and tomcat.. so would this new one have any effect on them ?
-
4. Re: java.lang.ClassNotFoundException: org.jboss.as.jmx.PluggableMBeanServerBuilder
sergiu_pienar Jun 28, 2012 5:01 AM (in response to mukulgoel)I don't think so as the ManagementFactory is part of the Java bundle.
Sergiu.