-
Jul 18th, 2012, 11:14 AM
#1
Specifying Profile using Tomcat's context
I have a Spring 3.1 web app that runs in Tomcat. I have set up several profiles, and I am currently switching between them using -Dspring.profiles.active="[profile]" as a VM argument. I would like to be able to specify the profile in Tomcat's conf/context.xml. Is there a way for the context in this file to be included in the Spring context?
Thanks for any help you can offer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules