2010/3/5 Michal Bunarowski <michal.bunarow...@comarch.pl>: >> > 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 this. It solves the error indeed. > But the problem is wlfullclient.jar has over 50 MB, so both > WARs will increase a lot, which will have impact on our releases. > So we were hoping there's some other solution. > Note, that there exists the following class: http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/loader/VirtualWebappLoader.html though it is not recommended for production.
Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org