Re: [Resin-interest] Unsupported operation error
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
Re: [Resin-interest] Unsupported operation error
THANKS!! If this is the kind of news that comes out of you being stupid, then please be stupid more often ;-) On Mar 20, 2014, at 12:47 , Paul Cowan co...@caucho.com wrote: 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 -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Unsupported operation error
4.0.38 *seems* to be working. It's always a bit clunky to update to a new version of Resin, getting all the config back to what I had gotten to with the previous version (in this case, I just copied all my config from .36). Now my webapp jumps to an ugly login page, which I think is the Spring Security doing its job. At the very least, I don't get the unimplemented exception. Thanks! On Mar 20, 2014, at 12:47 , Paul Cowan co...@caucho.com wrote: 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 -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest