Anonymous | Login | Signup for a new account | 12-17-2024 10:40 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001559 | [Resin] | minor | always | 01-16-07 10:22 | 05-15-07 16:20 | ||||
Reporter | emil | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.0 | ||||||
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> |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |