Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.1 Product Version 3.1.0
  Product Build
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
Attached Files

- Relationships

- Notes
(0001926)
ferg
05-15-07 16:20

jsp/1938
 

- Issue History
Date Modified Username Field Change
01-16-07 10:22 emil New Issue
05-15-07 16:20 ferg Note Added: 0001926
05-15-07 16:20 ferg Assigned To  => ferg
05-15-07 16:20 ferg Status new => closed
05-15-07 16:20 ferg Resolution open => fixed
05-15-07 16:20 ferg Fixed in Version  => 3.1.1


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