[jboss-jira] [JBoss JIRA] (JBRULES-3403) drools-camel-server-5.3.x.Final.war - strict web application container complains about web.xml

Nicholas DiPiazza (JIRA) jira-events at lists.jboss.org
Wed Feb 29 02:01:36 EST 2012


     [ https://issues.jboss.org/browse/JBRULES-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicholas DiPiazza updated JBRULES-3403:
---------------------------------------

    Description: 
Seems like "strict" J2EE containers require the <servlet>'s <display-name> to come before <servlet-name>, in particular WebLogic requires this. 


In web.xml, if this:

  <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <display-name>CXF Servlet</display-name>
    <servlet-class>
      org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

were changed to this:

  <servlet>
    <display-name>CXF Servlet</display-name>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>
      org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

then 5.3.0.Final and 5.3.1.Final drools-camel war files would be one step towards deploying with no changes out-of-the-box on WebLogic 10.x.

  was:
Seems like "strict" J2EE containers require the <servlet>'s <display-name> to come before <servlet-name>, in particular WebLogic requires this. 


If this:

  <servlet>
    <servlet-name>CXFServlet</servlet-name>
    <display-name>CXF Servlet</display-name>
    <servlet-class>
      org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

were changed to this:

  <servlet>
    <display-name>CXF Servlet</display-name>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>
      org.apache.cxf.transport.servlet.CXFServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

the 5.3.0.Final and 5.3.1.Final drools-camel war files would be one step towards deploying with no changes out-of-the-box on WebLogic 10.x.


    
> drools-camel-server-5.3.x.Final.war - strict web application container complains about web.xml
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3403
>                 URL: https://issues.jboss.org/browse/JBRULES-3403
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-camel
>    Affects Versions: 5.3.0.Final, 5.3.1.Final
>         Environment: Problem reproduces in WebLogic 10.x, maybe more? 
>            Reporter: Nicholas DiPiazza
>            Assignee: Mark Proctor
>            Priority: Minor
>              Labels: CXF, Servlet, camel, weblogic
>
> Seems like "strict" J2EE containers require the <servlet>'s <display-name> to come before <servlet-name>, in particular WebLogic requires this. 
> In web.xml, if this:
>   <servlet>
>     <servlet-name>CXFServlet</servlet-name>
>     <display-name>CXF Servlet</display-name>
>     <servlet-class>
>       org.apache.cxf.transport.servlet.CXFServlet
>     </servlet-class>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
> were changed to this:
>   <servlet>
>     <display-name>CXF Servlet</display-name>
>     <servlet-name>CXFServlet</servlet-name>
>     <servlet-class>
>       org.apache.cxf.transport.servlet.CXFServlet
>     </servlet-class>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
> then 5.3.0.Final and 5.3.1.Final drools-camel war files would be one step towards deploying with no changes out-of-the-box on WebLogic 10.x.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list