Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002745 [Resin] major always 06-20-08 10:32 06-20-08 18:04
Reporter mzgubin 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.7 Product Version 3.1.6
  Product Build
Summary 0002745: redeploy-check-interval in web-app-deploy is not recognized as a tag
Description Based on the this documentation (http://www.caucho.com/resin/doc/webapp-tags.xtp#web-app-default), [^]
I tried to add the redeploy-check-interval as an attribute (and also tried the nested tag) inside of web-app-deploy and receive an error:

500 Servlet Exception

[show] C:\resin\resin-pro-3.1.6\conf\resin-mzg.conf:273: 'redeploy-check-interval'
is an unknown property of 'com.caucho.server.webapp.WebAppExpandDeployGenerator'.

271:
272: <!-- creates the webapps directory for .war expansion -->
273: <web-app-deploy path="webapps" redeploy-check-interval="2s"
/>
274:
275: <!-- creates the deploy directory for .ear expansion -->


com.caucho.config.LineConfigException: C:\resin\resin-pro-3.1.6\conf\resin-mzg.conf:273:
'redeploy-check-interval' is an unknown property of 'com.caucho.server.webapp.WebAppExpandDeployGenerator'.

271:
272: <!-- creates the webapps directory for .war expansion -->
273: <web-app-deploy path="webapps" redeploy-check-interval="2s"
/>
274:
275: <!-- creates the deploy directory for .ear expansion -->

    at com.caucho.config.ConfigContext.error(ConfigContext.java:1239)
    at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:448)
    at com.caucho.config.ConfigContext.configureNodeAttributes(ConfigContext.java:406)
    at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:363)
    at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:518)
    at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:327)
    at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:56)
    at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80)
    at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:61)
    at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:361)
    at com.caucho.server.host.HostController.configureInstance(HostController.java:517)
    at com.caucho.server.host.HostController.configureInstance(HostController.java:61)
    at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:665)
    at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:630)
    at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
    at com.caucho.server.deploy.DeployController.request(DeployController.java:600)
    at com.caucho.server.host.HostContainer.getHost(HostContainer.java:372)
    at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:311)
    at com.caucho.server.cluster.Server.buildInvocation(Server.java:1009)
    at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:262)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
    at java.lang.Thread.run(Thread.java:595)

Steps To Reproduce
Additional Information modified the original resin.conf like so:

<web-app-deploy path="webapps" redeploy-check-interval="2s" />
Attached Files

- Relationships

- Notes
(0003212)
mzgubin
06-20-08 11:41

Sorry the correct anchor tag to the docs is:
http://www.caucho.com/resin/doc/webapp-tags.xtp#web-app-deploy [^]
 
(0003214)
ferg
06-20-08 18:04

server/10tt

The attribute have been named dependency-check-interval.

 

- Issue History
Date Modified Username Field Change
06-20-08 10:32 mzgubin New Issue
06-20-08 11:41 mzgubin Note Added: 0003212
06-20-08 18:04 ferg Note Added: 0003214
06-20-08 18:04 ferg Assigned To  => ferg
06-20-08 18:04 ferg Status new => closed
06-20-08 18:04 ferg Resolution open => fixed
06-20-08 18:04 ferg Fixed in Version  => 3.1.7
06-23-08 09:30 mzgubin Issue Monitored: mzgubin


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