Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001468 [Resin] minor always 11-21-06 02:05 11-27-06 09:54
Reporter mogsie View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.0 Product Version 3.0.22
  Product Build
Summary 0001468: web.xml filter-config using the 'id' attribute fails
Description If you have the following line of code in your web.xml:

  <filter-config id="cheese">

deployment of that WAR file fails with the following error message:

com.caucho.config.LineConfigException: WEB-INF/web.xml:6: 'id' is an unknown property of 'com.caucho.server.dispatch.FilterConfigImpl'.

Since id is allowed, as it is in <servlet id="xxx"/>

I will try to attach a tiny web.xml which exposes the bug. By removing the id, the web application will work.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001599)
mogsie
11-21-06 02:07

Couldn't upload a file (I'm new to mantis), so here's a failing test case:

WEB-INF/web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" [^]
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^]
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee [^] http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> [^]

  <filter id="cheese">
    <filter-name>filter-that-does-not-work</filter-name>
    <filter-class>com.NopFilter</filter-class>
  </filter>

</web-app>
 
(0001600)
mogsie
11-21-06 02:11

Stupid mantis made me report this bug three times. Sorry about that!
 
(0001603)
ferg
11-27-06 09:54

server/1714
 

- Issue History
Date Modified Username Field Change
11-21-06 02:05 mogsie New Issue
11-21-06 02:07 mogsie Note Added: 0001599
11-21-06 02:11 mogsie Note Added: 0001600
11-27-06 09:54 ferg Note Added: 0001603
11-27-06 09:54 ferg Assigned To  => ferg
11-27-06 09:54 ferg Status new => closed
11-27-06 09:54 ferg Resolution open => fixed
11-27-06 09:54 ferg Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker