There was a problem with a Velocity script
Page/default-decorator
ErrorInvocation of method 'includeAgain' in class com.prestosports.render.ContentEngineInvoker threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections at bwq7rfmqckpwll48/default-decorator[line 66, column 10]
Page source:
1: #if($website.redesign)
2: 
3: ## NEW SITE
4: 
5: #set ($pageClass = "internal-page")
6: #set ($showBookmark = true)
7: 
8: #if ($request.getAttribute("pageClass"))
9:   #set ($pageClass = $request.getAttribute("pageClass"))
10: #end
11: 
12: #if ($request.getAttribute("showBookmark") == false)
13:   #set ($showBookmark = false)
14: #end
15: 
16: #set ($pageTitle = $page.title)
17: #if ($request.getAttribute("pageTitle"))
18:   #set ($pageTitle = $request.getAttribute("pageTitle"))
19: #end
20: 
21: <!DOCTYPE html>
22: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
23: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
24: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
25: 
26: <head>
27: <meta charset="UTF-8">
28: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
29: <title>#if ($pageTitle.length() > 0)$pageTitle - #end $website.profile.siteName</title>
30: 
31: ## OGP META TAGS
32: $!request.setAttribute("pageObj", $page)
33: $website.include("ogp-tags")
34: 
35: <script src="$website.cdn("/info/jquery.js")"></script>
36: <script src="$website.cdn("/info/modernizr.js")"></script>
37: <script src="/js/sticky-nav.js"></script>
38: 
39: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
40: <link rel="stylesheet" href="/css/2015/styles.css" type="text/css" />
41: 
42: <!--[if lt IE 9]>
43: 	<script src="/js/mediaqueries.js"></script>
44: <![endif]-->
45: 
46: $!head
47: </head>
48: 
49: <body>
50: 
51: <div id="fb-root"></div>
52: <script>(function(d, s, id) {
53:   var js, fjs = d.getElementsByTagName(s)[0];
54:   if (d.getElementById(id)) return;
55:   js = d.createElement(s); js.id = id;
56:   js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3";
57:   fjs.parentNode.insertBefore(js, fjs);
58: }(document, 'script', 'facebook-jssdk'));</script>
59: 
60: <div id="page" class="page clearfix">
61: 
62: ## HEADER
63: $website.include("site-header")
64: 
65: ## SECONDARY NAVIGATION
66: $website.includeAgain("navbar-secondary?class=secondary-nav&moreAfter=6")
67: 
68: <div id="wrapper" class="wrapper clearfix">
69: 
70: ## BODY CONTAINER
71: <div id="body-container" class="body-container clearfix">
72: 
73: ## BODY CONTENT
74: <div id="mainbody" class="mainbody clearfix">
75: 
76: ## RELATED LINKING - 20090930
77: #if (!($request.getAttribute("disable_related_links").length() > 0))
78: #set ($relatedPages = $page.relatedInSchedule)
79: #if ($relatedPages.size() > 1)
80: <div class="page-related-links clearfix">
81:  #foreach ($related in $relatedPages)
82:    #if ($velocityCount > 1) | #end
83:    #if ($related.id == $page.id)
84:       <strong>${related.mapLabel}</strong>
85:    #else
86:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
87:     #end
88:  #end
89: </div>
90: #end ## related > 1
91: #end ## disable
92: 
93: $body
94: 
95: ## BOOK MARK
96: #if ($showBookmark)
97:   $website.include("share-buttons")
98: #end
99: $wiki
100: 
101: </div> ## mainbody
102: </div> ## body-container
103: 
104: ## FOOTER    
105: $website.include("site-footer")
106: 
107: </div> ## wrapper
108: 
109: ## STICKY BAR
110: $website.include("/sticky-bar")
111: 
112: ## SCROLL BAR
113: $website.include("/scroll-bar")
114: 
115: </div> ## page
116: 
117: $!wiki.su
118: 
119: ## PC FONT FIX
120: <script>
121: $(function() {
122: if (navigator.userAgent.indexOf('Mac OS X') != -1) {
123:   $("body").addClass("mac");
124: } else {
125:   $("body").addClass("pc");
126: }
127: });
128: </script>
129: 
130: ## LAZYLOAD IMAGES
131: <script src="$website.cdn("/info/jquery.lazyload.min.js")"></script>
132: <script>
133: $(function() {
134:   $('.lazy').lazyload();
135: });
136: </script>
137: 
138: $website.usage
139: $website.include("dropoff-scripts")
140: 
141: </body>
142: </html>
143: 
144: #else
145: 
146: ## OLD SITE
147: 
148: ## CLASSIC MOBILE OR IPHONE PLATFORM
149: #if ($browser.getMobile() || $browser.getIphone())
150: 	$request.setAttribute("body", $body)
151: 	$request.setAttribute("title", $title)
152: 	$request.setAttribute("page", $page)
153: $request.setAttribute("head", $head)
154: 	$website.include("mobile-decorator")
155: ##STANDARD PLATFORM BEGIN
156: #else 
157: 
158: 
159: <!DOCTYPE html>
160: <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> 
161: <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
162: <!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
163: <!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
164: <!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
165: <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
166: 
167: <head>
168: 
169: <title>#if ($title.length() > 0)$title - #elseif ($page.title.length() > 0)$page.title - #end $website.profile.siteName</title>
170: 
171: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
172: <link rel="stylesheet" href="/css/styles-redesign.css" type="text/css" />
173: 
174: #if ($request.getParameter("dev"))
175: <!-- jQuery Library + ALL jQuery Tools -->
176: <script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
177: 
178: #else
179: <script src="$website.cdn('/info/jquery.js')"></script>
180: #end
181: <script src="$website.cdn("/info/modernizr.js")"></script>
182: 
183: $!head
184: </head>
185: 
186: <body>
187: 
188: #set ($containerClass = "internal-page")
189: #set ($showBookmark = true)
190: 
191: #if ($request.getAttribute("pageClass"))
192:   #set ($containerClass = $request.getAttribute("pageClass"))
193: #end
194: 
195: #if ($request.getAttribute("showBookmark") == false)
196:   #set ($showBookmark = false)
197: #end
198: 
199: ## PAGE  
200: <div id="page" class="${containerClass}">
201: 
202: ## HEADER
203: $website.include("site-header")
204: 
205: ## WRAPPER
206: <div id="wrapper" class="clearfix">
207: 
208: ## NAVBAR SECONDARY
209: $website.include("navbar-secondary?tmpl=navbar-secondary-template")
210: 
211: ## BODY CONTAINER
212: <div id="body-container" class="clearfix">
213: 
214: ## BODY CONTENT
215: <div id="mainbody" class="mainbody clearfix">
216: 
217: ## BOOK MARK
218: #if ($showBookmark)
219:   #set ($queryString = $tool.esc.url($request.getQueryString()))
220:   #set ($printerFriendlyURL =  "${page.url}?dec=/printer-decorator")
221:   #if ($queryString.length() > 0)
222:     #set ($printerFriendlyURL = "${printerFriendlyURL}&${queryString}")
223:   #end
224:   <div class="bookmark clearfix">$website.share&nbsp;<a href="${printerFriendlyURL}" target="_blank"><img src="/info/images/printer-friendly.gif" alt="" /></a></div>
225: #end
226: 
227: ## RELATED LINKING - 20090930
228: #if (!($request.getAttribute("disable_related_links").length() > 0))
229: #set ($relatedPages = $page.relatedInSchedule)
230: #if ($relatedPages.size() > 1)
231: <div class="page-related-links clearfix">
232:  #foreach ($related in $relatedPages)
233:    #if ($velocityCount > 1) | #end
234:    #if ($related.id == $page.id)
235:       <strong>${related.mapLabel}</strong>
236:    #else
237:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
238:     #end
239:  #end
240: </div>
241: #end ## related > 1
242: #end ## disable
243: 
244: $body
245: $wiki
246: </div> 
247: ## MAINBODY
248: 
249: </div> ## BODY-CONTAINER
250: 
251: ## FOOTER    
252: $website.include("site-footer")
253: 
254: </div> ## WRAPPER
255: 
256: $!wiki.su
257: 
258: </div> ## END PAGE
259: 
260: <img src="/images/setup/page_bg.jpg" alt="" id="page-bg" />
261: 
262: $website.usage
263: $website.include("dropoff-scripts")
264: 
265: </body>
266: </html>
267: 
268: 
269: 
270: #end ## MOBILE
271: 
272: #end