On Oct 29, 2005, at 11:34 AM, Davanum Srinivas wrote:
here's a log snippet from my GBean's doStart:
14:31:15,843 INFO [AxisHTTPBean] TCCL
:[EMAIL PROTECTED]
14:31:15,843 INFO [AxisHTTPBean] GBean ClassLoader:
[org.apache.geronimo.kernel.config.MultiParentClassLoader
id=org/apache/axis2]
Please note that i don't have the addAttribute with "classLoader" in
my GBEAN_INFO like all the other gbeans. (since i did not know how to
create the GBean programatically with a class loader and load it into
the kernel in my junit test case)
You create the gbeanInfo, set the attributes you know about, and the
kernel will take care of setting the magic classLoader attribute for
you. Be sure to declare the classLoader attribute non-persistent.
david jencks
thanks,
dims
On 10/29/05, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
Now I'm confused. I thought these would be the exact same
classloader. I thought there would only be one. Maybe David Jencks
can help here.
-dain
On Oct 29, 2005, at 10:58 AM, Davanum Srinivas wrote:
The class loader that loaded the GBean. Sorry, i forgot to mention
that.
thanks,
dims
On 10/29/05, Dain Sundstrom <[EMAIL PROTECTED]> wrote:
On Oct 29, 2005, at 10:11 AM, Davanum Srinivas wrote:
DJ mentioned that this is because the TCCL is set to the
configurations' classloader. So i had to forcibly set the context
class loader myself.
What did you forcibly set it to?
-dain
--
Davanum Srinivas : http://wso2.com/blogs/
--
Davanum Srinivas : http://wso2.com/blogs/