> > Hi, > > I've got the following problem: we're running cocoon 2.1 on > weblogic 8. I need to installs some Mbeans on application > startup which i usually do via servlet-listeners. These > Mbeans are later on accessed by cforms pages (rhino). > Unfortunately cocoon uses a different classloader than the > rest of the app, so initialization takes place in weblogic > context, access in cocoon context. To solve this problem I > would like to initialize my Mbeans from within the cocoon > framework by a mechanism similar to the servlet listeners. > How can I achieve this?
Don't you just need the Mbeans to be an avalon components? Just look at the cocoon.xconf for avalon components, and see are they are initialized. For example the XSLTProcessorImpl in cocoon.xconf, look at excalibur org.apache.excalibur.xml.xslt.XSLTProcessorImpl how this avalon component works Regards Ard > > Thanks in advance > > Hans-Peter Werner > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
