Mantis - Resin
Viewing Issue Advanced Details
1778 minor always 06-04-07 16:38 06-11-07 15:04
ferg  
ferg  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001778: log issues with watchdog
(rep by Alex Lorberg)

conf/resin.conf:35: java.io.IOException: Cannot create directory: /log
        at com.caucho.config.NodeBuilder.error(NodeBuilder.java:850)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:259)
        at com.caucho.config.EnvironmentAttributeStrategy.configure(EnvironmentA
ttributeStrategy.java:60)
        at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java
:390)
        at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:329)
        at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:104)
        at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.jav
a:257)
        at com.caucho.config.EnvironmentTypeStrategy.configureBean(EnvironmentTy
peStrategy.java:65)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:251)
        at com.caucho.config.NodeBuilder.configure(NodeBuilder.java:160)
        at com.caucho.config.Config.configure(Config.java:232)
        at com.caucho.config.Config.configure(Config.java:176)
        at com.caucho.boot.ResinWatchdogManager.readConfig(ResinWatchdogManager.
java:279)
        at com.caucho.boot.ResinWatchdogManager.<init>(ResinWatchdogManager.java
:109)
        at com.caucho.boot.ResinWatchdogManager.main(ResinWatchdogManager.java:2
90)
Caused by: com.caucho.config.ConfigException: java.io.IOException: Cannot create
 directory: /log
        at com.caucho.config.j2ee.PostConstructProgram.configureImpl(PostConstru
ctProgram.java:71)
        at com.caucho.config.BeanTypeStrategy.init(BeanTypeStrategy.java:355)
        at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:253)
        ... 13 more

Line 23 in resin.conf is <log name="" path="${resin.home}/log/jdk.log" timestamp="[%H:%M:%S.%s]
  rollover-period='1d' rollover-count='5'"/>


There are no notes attached to this issue.