Hallo, I have a question about MBeans. If I use an MBean, which starts at the beginning like configuration mbean in weblogic, it will be in the mbean server for the whole application life time . But what can I do, if I want to use a mbean, which will be created dynamicly, ex a new Log4J MBean.
Logger logger = new Logger("test"); LoggerMBean logger = new LoggerMBean(logger); The mbean will still be registered at the mbean server when the program is already terminated. The g-collector won't throw the logger away because there is still a reference to the MBean. That is really a big problem. You allways have 2 references for one logger. So it make no sense to remove a mbean from the mbean server. I want to (can) remove the mbean only when the logger instance is terminated seccussfully. Do you have any ideas???? thx Jerome -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>