2 Replies Latest reply on Jun 5, 2008 4:44 AM by Leigh Anderson


    Leigh Anderson Newbie

      Hi There,

      We're developing a Spring application on AS 5.0.0 and are running into problems with

      Original SevletResponse or wrapped original ServletResponse not passed to RequestDispatcher in violation of SRV.8.2 and SRV.
      at org.apache.catalina.core.ApplicationDispatcher.checkSameObjects(ApplicationDispatcher.java:970)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:484)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      at org.springmodules.xt.ajax.component.dynamic.JspComponent.render(JspComponent.java:53)

      A workaround I've found for AS 4.2.2 is to specify -DSTRICT_SERVLET_COMPLIANCE=false on the commandline. This doesn't seem to work for AS5.0.0. Looking into it further, it seems that the catalina.properties file included in JBoss Web 2.1.0 sets this property to true regardless of what's specified on the command line. This was not the case in AS 4.2.2.

      Is there a way around this that doesn't involve altering this jar file?