[Resin-interest] resin .33 loading listener?

2012-12-13 Thread Rick Mann
It seems, but I can't be sure, that resin is taking it upon itself to load a ServletContextListener implementation in Spring. Unfortunately, doing so causes an error. [12-13 02:10:06.091] WARNING com.caucho.server.webapp.WebApp start: java.lang.IllegalStateException: Cannot initialize context b

[Resin-interest] Resin 4.0.33 not dispatching servlet-3.0?

2012-12-13 Thread Rick Mann
Hi guys. The .33 snapshot is instantiating my initializer correctly, and that code is calling this: ServletRegistration.Dynamic registration = servletContext.addServlet(servletName, dispatcherServlet); registration.setLoadOnStartup(1); registration.addMapping(new String["/"]); Howe

Re: [Resin-interest] servlet-3.0 annotation config

2012-12-13 Thread Olaf Krische
Did i just read 'Resin 7'? :-) Scott Ferguson schrieb: >On 12/12/12 12:03 PM, Scott Ferguson wrote: >> On 12/12/12 11:05 AM, Rick Mann wrote: >>> On Dec 12, 2012, at 10:07 , Scott Ferguson wrote: >>> It sounds like a Resin bug that will be in the next release. Servlet 3.0 adde

Re: [Resin-interest] Deprecation warnings in 4.0.33 snap

2012-12-13 Thread Paul Cowan
On Dec 13, 2012, at 1:30 AM, Rick Mann wrote: > FYI, I get a bunch of warnings building on OS X 10.8.2 Yes I got these also when I upgraded to Mountain Lion, on Resin 4.0.32 also. (Phew lots of OSX upgrades just to get on Java 7!) I've entered a bug report: http://bugs.caucho.com/view.php?id=

Re: [Resin-interest] servlet-3.0 annotation config

2012-12-13 Thread Scott Ferguson
On 12/13/12 7:09 AM, Olaf Krische wrote: Did i just read 'Resin 7'? :-) Yep. We're syncing with JavaEE 7 because I'm tired of trying to remember which versions of things go with which JavaEE version :) -- Scott Scott Ferguson schrieb: On 12/12/12 12:03 PM, Scott Ferguson wrote:

Re: [Resin-interest] Resin 4.0.33 not dispatching servlet-3.0?

2012-12-13 Thread Scott Ferguson
On 12/13/12 3:56 AM, Rick Mann wrote: > Hi guys. > > The .33 snapshot is instantiating my initializer correctly, and that code is > calling this: > > ServletRegistration.Dynamic registration = > servletContext.addServlet(servletName, dispatcherServlet); > registration.setLoadOnStartup(1

Re: [Resin-interest] Resin 4.0.33 not dispatching servlet-3.0?

2012-12-13 Thread Rick Mann
On Dec 13, 2012, at 11:32 , Scott Ferguson wrote: > That behavior is part of the spec. > > If the mapping already exists, the addMapping does nothing. It's not an > override. Wait, really? In my web.xml, I used to have: Dispatcher org.springframework

Re: [Resin-interest] Resin 4.0.33 not dispatching servlet-3.0?

2012-12-13 Thread Scott Ferguson
On 12/13/12 12:16 PM, Rick Mann wrote: > On Dec 13, 2012, at 11:32 , Scott Ferguson wrote: > >> That behavior is part of the spec. >> >> If the mapping already exists, the addMapping does nothing. It's not an >> override. > Wait, really? In my web.xml, I used to have: > ... > And you're saying tha

Re: [Resin-interest] Resin 4.0.33 not dispatching servlet-3.0?

2012-12-13 Thread Rick Mann
Okay, so it sounds like I'll have to go back to pre-3.0 configuration for the foreseeable future. Hate to say it, because you guys do such great work, but it seems that as currently implemented, resin can't be used as a servlet 3.0 container. Let me ask this: the only URL I really need to run t

Re: [Resin-interest] Resin 4.0.33 not dispatching servlet-3.0?

2012-12-13 Thread Scott Ferguson
On 12/13/12 12:49 PM, Rick Mann wrote: > Okay, so it sounds like I'll have to go back to pre-3.0 configuration for the > foreseeable future. > > Hate to say it, because you guys do such great work, but it seems that as > currently implemented, resin can't be used as a servlet 3.0 container. > > L