Re: problem starting CatalinaManager mbean
Posted By:
angelos_lenis
Posted On:
Tuesday, February 19, 2002 03:10 AM
Hi,
I do the same thing but i haven't seen this exception. My code for starting catalina is this:
server=MBeanServerFactory.createMBeanServer();
catalina=new CatalinaManager();
catalina.setPath("path_to_catalina");
catalinaName=new ObjectName("jmx.Adaptor:name=Catalina");
server.registerMBean(catalina,catalinaName);
//And finally
catalina.start();
In my classpath i have put all the jar files that come with the catalina distribution.
Hope this helps.