[gatein-dev] PortalClusteredSSOSupportValve issue in Tomcat

Julien Viet julien at julienviet.com
Mon Mar 11 13:44:57 EDT 2013


why wouldn't it be sufficient ?



On Mar 11, 2013, at 6:33 PM, Marek Posolda <mposolda at redhat.com> wrote:

> This api inconsistency between Tomcat and JBossWeb really sucks:-(
> 
> I think that PortalClusteredSSOSupportValve is not the only one valve class, which implements start() method. We have more such valve classes (I am aware at least about SSODelegateValve). So it seems that moving single PortalClusteredSSOSupportValve to packaging/jboss-as7 won't be sufficient...
> 
> Can't we do something like override tomcat classloader org.apache.catalina.loader.WebappClassLoader and handle this at classloader level?
> 
> Marek
> 
> On 08/03/13 11:19, Julien Viet wrote:
>> Hi,
>> 
>> there is an issue when deploying servlet 3.0 applications on Tomcat with PortalClusteredSSOSupportValve.
>> 
>> The scanning process find this valve and a classloading issue occurs (JBoss AS7 uses a Tomcat fork with slightly different  code) and produces this error:
>> 
>> https://gist.github.com/vietj/b35b65f7dbe9d845ddd3
>> 
>> It would make sense at some point to move this code to gatein-sso (or wci) but I think it would not work at the moment.
>> 
>> An easy solution would be to move this class somewhere in packaging/jboss-as7 .
>> 
>> Would someone mind to have a look at this issue ?
>> 
>> thanks
>> 
>> Julien
>> 
>> 
>> _______________________________________________
>> gatein-dev mailing list
>> gatein-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/gatein-dev
> 




More information about the gatein-dev mailing list