Hi Konstantin,
Konstantin Kolinko wrote: > > Note, that it is possible > 1) to use some other class instead of Bootstrap, and delegate > start/stop commands to Bootstrap.main() afterwards > 2) implement a Listener and configure it in server.xml to > programmatically configure Tomcat before it starts. > That is, if the configuration should not be done before JVM starts. > No, configuration can happen after JVM has started, it's just some XML files that need to be updated with values taken from the properties file. If those were mine applications I would just make them read this property file :) But we deal with third-party apps so I can only replace some of XMLs that I know they read (like Jenkin's job configuration XML). I guess you're right, replacing a boot class has also crossed my mind once but I left it for later, if no other solution will be found. Let's hope Mladen will be able to contribute his development to Apache. After all, a general wrapper of a batch-running service is really needed. Like I mentioned earlier, we use an in-house application, where a list of batch paths to run sequentially is specified for service start up and shut down. But I doubt it will ever be open-sourced or contributed :( -- View this message in context: http://old.nabble.com/Running-Tomcat-as-service---is-it-possible-to-make-%22tomcat7.exe%22-run-a-batch-file-each-time-it-starts--tp31081552p31092166.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org