embedded@glassfish.java.net

Re: RE: [embedded] ClassPath Question

From: Jennifer Chou <Jennifer.Chou_at_Sun.COM>
Date: Fri, 24 Apr 2009 16:52:32 +0100

Still a Sun employee until they give us the official word so its business as usual for me :)

I'm not sure if it's possible to isolate the classpaths between the main application and the web applications.
Byron?

----- Original Message -----
From: Joey Jarosz <joey_at_cadence.com>
Date: Friday, April 24, 2009 4:28 pm
Subject: RE: [embedded] ClassPath Question
To: embedded_at_glassfish.dev.java.net


> Thanks Jennifer.
>
> What I would really love to know is how (if possible) to isolate the
> classpaths between my main application that starts the embedded server
> and the web-applications.
>
> It looks like multiple web-applications are isolated from each other,
> but they all inherit from the main application. This is what is really
> causing me grief. Am just hoping the warning message about the class
> delegater is somehow related to all of this.
>
> Joey
>
> p.s. How's life at Oracle? (Or is it too soon to open the wounds?)
>
> -----Original Message-----
> From: Jennifer Chou [mailto:Jennifer.Chou_at_Sun.COM]
> Sent: Friday, April 24, 2009 7:39 AM
> To: embedded_at_glassfish.dev.java.net
> Subject: Re: [embedded] ClassPath Question
>
> Not sure but - I don't think it is something to worry about. I have
> seen it often too. I looked up the source for WebappLoader and
> DelegatingClassLoader and it looks like the 'Unknown loader' message
> gets displayed because it tries to invoke 'getClasspath' on
> DelegatingClassLoader but it does not have this method.
>
> http://www.docjar.com/html/api/org/apache/catalina/loader/WebappLoader.j
> ava.html
>
> I'll forward to the web folks - maybe they can point us to more
> information how class loaders work in the web container.
>
> ----- Original Message -----
> From: Joey Jarosz <joey_at_cadence.com>
> Date: Thursday, April 23, 2009 5:13 pm
> Subject: [embedded] ClassPath Question
> To: embedded_at_glassfish.dev.java.net
>
>
> > I am in the middle of cleaning up my classpaths as well as trying to
> get
> > a better understanding of how the class loaders work in glassfish. I
> > keep seeing the following message in my logs and was wonder 1) what
> does
> > it really mean and 2) is it something I need to worry about?
> >
> >
> >
> > Apr 23, 2009 8:50:44 AM org.apache.catalina.loader.WebappLoader
> > setClassPath
> >
> > INFO: Unknown loader
> > org.glassfish.internal.api.DelegatingClassLoader_at_dce479 class
> > org.glassfish.internal.api.DelegatingClassLoader
> >
> >
> >
> > As usual, thanks for any words of wisdom.
> >
> > Joey
> >
> >
> >
> > --------------------------------------------
> > Joey Jarosz
> >
> > Senior Architect
> >
> > Chip Planning Solutions
> >
> > Cadence Design Systems, Inc.
> > (408) 914-6269
> >
> >
> > Need some IP? Check out www.chipestimate.com
> > <
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: embedded-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: embedded-help_at_glassfish.dev.java.net
>