From 3e8829f3729a0e471838debb82f79308312ef493 Mon Sep 17 00:00:00 2001
From: Mic <misvy@vmware.com>
Date: Fri, 13 Dec 2013 08:15:10 +0800
Subject: [PATCH] adding explicit reference to default profile because it
 doesn't seem to work on on some environments

---
 src/main/webapp/WEB-INF/web.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index a19348e..a70f381 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -7,6 +7,11 @@ http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 
     <display-name>Spring PetClinic</display-name>
     <description>Spring PetClinic sample application</description>
+    
+    <context-param>
+        <param-name>spring.profiles.active</param-name>
+        <param-value>default</param-value>
+    </context-param>
 
    <!-- Default profile is "jpa" (see business-config.xml for more details). 
    When using Spring JDBC, uncomment the following: -->
-- 
GitLab