2010/3/5 Michal Bunarowski :
>> > ClassCastException occurs in my web app, because classloaders load
>> > the same class twice, when two web apps share WebLogic
>> wlfullclient.jar.
>> > Any idea how to avoid that? Details below.
>>
>> Don't share the jar. Deploy a separate copy with each web appli
> > ClassCastException occurs in my web app, because classloaders load
> > the same class twice, when two web apps share WebLogic
> wlfullclient.jar.
> > Any idea how to avoid that? Details below.
>
> Don't share the jar. Deploy a separate copy with each web application.
We've been considering th
> > Reason:
> > At the server startup, WebLogic GenericClassLoader (that is
> > provided within wlfullclient.jar) is loaded and it sets
> > WepApp1ClassLoader as its parent.
>
> Well that'll be your problem then. Why is it setting that classloader
> -
> what are you doing in WebApp1 to initialise
On 05/03/2010 08:17, Michal Bunarowski wrote:
> ClassCastException occurs in my web app, because classloaders load
> the same class twice, when two web apps share WebLogic wlfullclient.jar.
> Any idea how to avoid that? Details below.
Don't share the jar. Deploy a separate copy with each web app
On 05/03/2010 08:17, Michal Bunarowski wrote:
ClassCastException occurs in my web app, because classloaders load
the same class twice, when two web apps share WebLogic wlfullclient.jar.
Any idea how to avoid that? Details below.
Project set-up:
- Tomcat 6.0.13 + Weblogic 10.0
- wlfullclient.jar