Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1079 | minor | always | 04-30-06 14:10 | 05-18-06 16:33 | |
|
|||||
Reporter: | fbertra | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.18 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.19 | ||
|
|||||
Summary: | 0001079: Resin should parse resin-web.xml before web.xml | ||||
Description: |
Hi: If I deploy my webapp without compiling the java source files I get the following exception: [16:57:32.531] com.caucho.config.LineConfigException: WEB-INF/web.xml:4: `cl.fbd.caja_negra.servlet.EquiposServlet' is not a known servlet. Servlets belong in the classpath, often in WEB-INF/classes. In resin-web.xml I have: <class-loader> <compiling-loader path="WEB-INF/classes" source="${app.docDir}/../../src/java"/> </class-loader> It seems that Resin process the "<servlet>" tag in "web.xml" before the "<class-loader>" in "resin-web.xml" because if I change the order in app-default.xml from <resin:import path="WEB-INF/web.xml" optional="true"/> <resin:import path="WEB-INF/resin-web.xml" optional="true"/> to <resin:import path="WEB-INF/resin-web.xml" optional="true"/> <resin:import path="WEB-INF/web.xml" optional="true"/> it works ok: Resin compiles the servlet source file and then loads the class file when processing the "<servlet>" tag. Francois |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|