cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <>
Subject [2.2 servlet-service] Embedded servlet refreshed before it is initialized
Date Mon, 20 Jul 2009 15:57:39 GMT
Hi Cocoon devs,

I get an NPE in an embedded servlet (CXFServlet from Apache CXF) because 
it references the servletConfig when onApplicationEvent() is processed. 
Apparently this happens because the ServletFactoryBean calls




Does someone know how this relates to the servlet spec? Is the error on 
the Cocoon side or on the CXF side? Can I change the order of the calls 
as a workaround, or would this lead to unpredictable side effects?

Thanks a lot in advance!

-- Andreas

Andreas Hartmann, CTO
BeCompany GmbH
Tel.: +41 (0) 43 818 57 01

View raw message