Whitespace around class names in web.xml fails to find class
------------------------------------------------------------

                 Key: PAXWEBEX-25
                 URL: http://issues.ops4j.org/jira/browse/PAXWEBEX-25
             Project: Pax Web Extender
          Issue Type: Bug
            Reporter: Craig Walls
            Assignee: Alin Dreghiciu


I attempted to use Pax Web Extender to deploy a known good WAR file (known to 
work well in both Jetty and Tomcat). But it refused to deploy, citing problems 
loading the servlet, listener, and filter classes declared in web.xml.

After much hair-pulling, I discovered that my web.xml file had whitespace 
around the classnames such as...

  <filter>
    <filter-name>setupFilter</filter-name>
    <filter-class>
         org.springframework.web.filter.DelegatingFilterProxy
    </filter-class>
  </filter>

Although this works fine in Jetty and Tomcat, it does not work with Pax Web 
Extender. PWE should probably trim the class names as it reads them from 
web.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to