[Resin-interest] Unsupported operation error
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)? [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 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] Resin 3.1.14
On Mar 19, 2014, at 10:38 PM, Brygid Tech bry...@gmail.com wrote: Can find anything on Resin 3.1.14 changes on the web. http://caucho.com/resin-3.1/changes/changes.xtp Can someone please point out what has been updated in Resin 3.1.14 as compare to Resin 3.1.13? Just 2 bug fixes - Resin 3.1.x is essentially frozen. Please see this page and search for 3.1.14: http://bugs.caucho.com/changelog_page.php Thanks, Paul ___ 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
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
[Resin-interest] Problem building 4.0.38
Dunno if I did something wrong. Mavericks 10.9.2, Xcode 5.1 http://pastebin.com/r5QgX5vS -- 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] Problem building 4.0.38
On Mar 20, 2014, at 4:39 PM, Rick Mann rm...@latencyzero.com wrote: Oops, it was 'cause I tried to build in a subdirectory. NOT doing that seems to work, but gets me a TON of deprecation warnings in SSL (first deprecated in OS X 10.7). Yep, Apple has deprecated OpenSSL! http://stackoverflow.com/questions/7406946/why-is-apple-deprecating-openssl-in-macos-10-7-lion It should still build, but yes there’s lots of warnings now, we get them too. http://pastebin.com/haPFZPtc On Mar 20, 2014, at 13:35 , Rick Mann rm...@latencyzero.com wrote: Dunno if I did something wrong. Mavericks 10.9.2, Xcode 5.1 http://pastebin.com/r5QgX5vS -- Rick ___ 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
Re: [Resin-interest] Problem building 4.0.38
On Mar 20, 2014, at 13:44 , Paul Cowan co...@caucho.com wrote: On Mar 20, 2014, at 4:39 PM, Rick Mann rm...@latencyzero.com wrote: Oops, it was 'cause I tried to build in a subdirectory. NOT doing that seems to work, but gets me a TON of deprecation warnings in SSL (first deprecated in OS X 10.7). Yep, Apple has deprecated OpenSSL! http://stackoverflow.com/questions/7406946/why-is-apple-deprecating-openssl-in-macos-10-7-lion It should still build, but yes there’s lots of warnings now, we get them too. Interesting. I went through their slides (will watch the video later). I wonder how they plan to support so many open source projects that rely on it. http://pastebin.com/haPFZPtc On Mar 20, 2014, at 13:35 , Rick Mann rm...@latencyzero.com wrote: Dunno if I did something wrong. Mavericks 10.9.2, Xcode 5.1 http://pastebin.com/r5QgX5vS -- Rick ___ 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