beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Tam <>
Subject Re: Running Beehive apps on Geronimo
Date Sat, 09 Jul 2005 00:59:09 GMT
My immediate goal is to be able to run the Beehive petstore.  Good to
hear you managed to get Beehive WSM stuff working w/ Axis on Geronimo,
that's encouraging.

The only change I've needed in Beehive so far is in
org.apache.beehive.netui.util.config.ConfigUtil line 106, from:

            ClassLoader cl = Thread.currentThread().getContextClassLoader();
            ClassLoader cl = ConfigUtil.class.getClassLoader();

(it seemed reasonable to say that the default config file will
continue to be packaged with the core netui classes and hence be in
the same classloader).

Let me know if you agree this is sane and I'll check it in..

Exactly why Geronimo allows the netui classes like ConfigUtil to be
loaded/executed, yet the context classloader at the time NOT have the
netui jars on their classpath, is not clear :P.

I've a thread going with Dave Jencks on the geronimo dev list about
xbeans, including how it's used wrt classloaders.


On 7/8/05, Eddie O'Neil <> wrote:
>    FWIW, I have been able to run annotated web services on Axis in
> Geronimo, but without using XMLBeans.
>    There was a little discussion about this on dev@geronimo last week.
>    Ken, can you detail the change needed to load the config file correctly?
> Eddie
> Rich Feit wrote:
> > If Geronimo is using it internally, does that mean it ends up on a
> > parent classloader of the webapp classloader?  That seems bad to me...
> > Rich
> >
> > Kenneth Tam wrote:
> >
> >> Just as a FYI, I'm investigating this right now.  The major issue
> >> appears to be xmlbeans version compat; Geronimo is internally still
> >> using a pre 1.0.4 version of xmlbeans.
> >>
> >> There's at least one minor netui code change I needed in order to make
> >> progress, involving the classloader used to load the default netui
> >> config file.   I'll open a JIRA issue.
> >>
> >> thanks,
> >> k
> >>
> >>
> >>
> >

View raw message