Mantis - Resin
Viewing Issue Advanced Details
2745 major always 06-20-08 10:32 06-20-08 18:04
mzgubin  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.1.7  
0002745: redeploy-check-interval in web-app-deploy is not recognized as a tag
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)

modified the original resin.conf like so:

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

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.