Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1559 | minor | always | 01-16-07 10:22 | 05-15-07 16:20 | |
|
|||||
Reporter: | emil | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
Summary: | 0001559: -conf flag not working for command line JspCompiler | ||||
Description: |
Using -conf on the JspCompiler triggers exception: (Reported by Steven Pannell) >> java com.caucho.jsp.JspCompiler -conf compile.xml test/foo.jsp Exception in thread "main" compile.xml:2: 'document-directory' is an unknown property of 'com.caucho.jsp.JspCompiler'. 1: <web-app xmlns="http://caucho.com/ns/resin"> [^] 2: <document-directory>/opt/www/foo</document-directory> 3: 4: <resin:import path="/opt/resin/conf/app-default.xml"/> at com.caucho.config.NodeBuilder.error(NodeBuilder.java:844) at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java :396) at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:331) at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:104) at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.jav a:250) at com.caucho.config.EnvironmentTypeStrategy.configureBean(EnvironmentTy peStrategy.java:65) at com.caucho.config.NodeBuilder.configureBean(NodeBuilder.java:193) at com.caucho.config.Config.configureBean(Config.java:279) at com.caucho.config.Config.configureBean(Config.java:261) at com.caucho.jsp.JspCompiler.main(JspCompiler.java:590) Caused by: com.caucho.config.ConfigException: 'document-directory' is an unknown property of 'com.caucho.jsp.JspCompiler'. at com.caucho.config.BeanTypeStrategy.getAttributeStrategy(BeanTypeStrat egy.java:196) at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java :385) ... 8 more The XML appears as follows: <web-app xmlns="http://caucho.com/ns/resin"> [^] <document-directory>/opt/www/foo</document-directory> <resin:import path="/opt/resin/conf/app-default.xml"/> </web-app> |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|