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
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[/]);
Did i just read 'Resin 7'? :-)
Scott Ferguson f...@caucho.com 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 f...@caucho.com wrote:
It sounds like a Resin bug that will be in the next release.
On Dec 13, 2012, at 1:30 AM, Rick Mann rm...@latencyzero.com 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:
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);
On Dec 13, 2012, at 11:32 , Scott Ferguson f...@caucho.com 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:
servlet
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
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.
Let me