- From: Nathan Pahucki <
>
- To: "<
>" <
>
- Cc: "
" <
>
- Subject: [[chef-dev]] Re: [[chef-dev]] how to make a wait time til the operation completes like Thread sleep
- Date: Fri, 29 Jul 2011 08:57:41 -0400
Sounds like things may be fundamentally setup wrong. Perhaps you should
externalize whatever configuration you want to change so that you don't need
to explode the wars at all. If the configuration is external to the war then
chef will have no problem writing these files and tomcat can be re/started
after the files are written. You have several options with tomcat for
externalization; you could use properties files that your app reads from the
home directory, or you can use environment configuration specifying values in
a context.xml, or an external applicationConfig.xml if you are using Spring.
If you can't externalize, please explain why so we can help you think of
other solutions.
-n8
Enviado desde mi iPad
El Jul 29, 2011, a las 1:51,
<
>
escribió:
>
>
All
>
>
I am having one scenario in the tomcat deployment .
>
>
Putting the 3 wars file in the web apps and start the tomcat . this will
>
extract the folder.
>
After that i need to stop the service and then reconfigure the generated
>
application folder config file and then start it again
>
>
The issue extracting war file to folder is taking some much time so that
>
stop
>
service stopped the tomcat and rest of war files couldn't able to extract so
>
reconfiguration action could not able to to because war extraction would not
>
been done fully.
>
>
Is there any thing i can wait for some time and then do rest of operations.
>
>
or Any operation wait till it completes? (this wont help)
Archive powered by MHonArc 2.6.16.