geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Classloading problem
Date Mon, 12 Sep 2005 15:54:26 GMT
I find some of your description ambiguous.  For instance, what do you 
mean by "The GBean loads on starting the server"? Do you have a <gbean 
..../> element in your geronimo-web.xml plan that creates a gbean 
instance using your gbean class?  Simply loading a class that can be 
used as a gbean does not register an instance of that class with the 
kernel, or call the constructor or lifecycle methods.  If this does not 
help you resolve the issue we need the code in question and the 
geronimo plan with the gbean definition.

david jencks

On Sep 12, 2005, at 3:10 AM, Krishnakumar B wrote:

> Hi,
> I am initializing a class and have created a static reference through
> a GBean. The GBean loads on starting the server and the Class is
> initialized and reference stored.
> I have a Web app deployed in Jetty. When i try getting this Class
> reference i get a null.
> I am stuck and unable to proceed. Any ideas how to proceed or fix?
> The Web App plan has in dependency the GBean jar and also jar
> containing the Class initialized.
> Regards
> Krishnakumar

View raw message