tcServer startup parameters in STS 2.8.1
Hi,
I'm trying to launch a (Spring Batch Admin -enabled) webapp in STS, and I need to pass a startup parameter. (According to http://static.springsource.org/sprin...g-started.html I need -DENVIRONMENT=something)
How do I pass Tomcat a startup parameter if I deploy/run from within STS?
If I run Tomcat on the command line, I would usually put a custom startup parameter CATALINA_OPTS in CATALINA_{HOME|BASE}/bin/setenv.sh
I put some debug "touch /tmp/somerrandomtext" or echo statements in all the catalina.sh and setenv.sh I could find in the vfabric folder, with no side effects, and this tells me that STS runs Tomcat in some other way.
(jinfo on my processes also don't show the new parameter)
Please advise,
Thanks,
Juan