Oh I feel stupid now - my Resin 4 codebase was out of date (been working on 
Resin 5).

There already was a bug and we just added session tracking mode support in 
version 4.0.38.

So you’ll just need to upgrade your Resin version to get it.

-Paul


On Mar 20, 2014, at 3:11 PM, Rick Mann <rm...@latencyzero.com> wrote:

> Please enter the bug, at least. I'll look into seeing if there's a way around 
> the problem.




> 
> On Mar 20, 2014, at 11:29 , Paul Cowan <co...@caucho.com> wrote:
> 
>> 
>> On Mar 20, 2014, at 6:00 AM, Rick Mann <rm...@latencyzero.com> wrote:
>> 
>>> I'm trying to add Spring Security to my pure-JavaConfig web app, and I'm 
>>> getting this error on my first request. Any idea what it means? Is this a 
>>> Resin problem (v 4.0.36)?
>> 
>> That’s definitely being thrown by Resin.  I looked at our code and we don’t 
>> implement the Servlet 3.0 session tracking modes API and throw the 
>> UnsupportedOperationException on call.  I’m not sure why; it must have been 
>> an optional part of the spec or TCK.  I can enter a bug report to implement 
>> it but I’m afraid you may be out of luck on Resin 4.0.36 if Spring depends 
>> on that call.
>> 
>> Thanks,
>> Paul
>> 
>>> 
>>> 
>>> [14-03-20 02:48:37.355] FINE com.caucho.server.http.HttpRequest 
>>> handleRequest: java.lang.UnsupportedOperationException: unimplemented
>>>                             at 
>>> com.caucho.server.webapp.ServletContextImpl.setSessionTrackingModes(ServletContextImpl.java:552)
>>>                             at 
>>> org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer.onStartup(AbstractSecurityWebApplicationInitializer.java:120)
>>>                             at 
>>> org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:174)
>>>                             at 
>>> com.caucho.server.webapp.WebApp.callInitializer(WebApp.java:3471)
>>> 
>>> 
>>> -- 
>>> Rick
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>> 
>> 
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> -- 
> Rick
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to