geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanchana Welagedara" <>
Subject Re: Geronimo Custom Plugin Class loading Issues
Date Mon, 27 Nov 2006 09:14:37 GMT
Hi Lasantha

For an instance if say that your geronimo-service.xml looks like this and
which is in the some directory. You may do this by Adding your dependencies
to the plan after the last </dependency> tag and before the first <gbean>



And then you can Add your GBean to the same file. At the bottom of the file,
before the final </configuration> tag, add the following line

<gbean name="QuartzService" class="org.apache.geronimo.quartz.QuartzGBean"/>

This makes the new configuration and updated plan part of the Geronimo
server.Would this make sence for your question about xml ?I don't think you
will need to rewrite any code.Correct me if I'm wrong.


On 11/27/06, Lasantha Ranaweera <> wrote:
> Hi All,
> I want to write a custom GBean for the Geronimo 1.1. Basically I am
> following the Advanced Plugin Sample in the G user documentation. My
> custom plug in pretty much the same as Quartz  plug in in the sample. It
> has a deployer part and manager part.
> In my plugin I want to use xml beans 2.2.0 rather than 2.0.0  which
> comes with Geronimo.  So the class loading issues has to be resolved
> from my geronimo-service.xml of the manager part. How do I resolve this
> issue? Has anybody used xml beans 2.2.0 with their plugin components?
> Do I need to write some extra coding in the application manager GBean
> side?
> All ideas are well come.
> Thanks,
> Lasantha Ranaweera

View raw message