There was a problem with a Velocity script
Page/default-decorator
ErrorInvocation of method 'getRelatedInSchedule' in class com.prestosports.render.storage.database.DatabasePage threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections at v991mtbvy3jck9v1/default-decorator[line 61, column 29]
Page source:
1: #if ($website.redesign)
2: ## NEW SITE
3: 
4: #set ($pageClass = "internal-page")
5: #set ($showBookmark = true)
6: 
7: #if ($request.getAttribute("pageClass"))
8:   #set ($pageClass = $request.getAttribute("pageClass"))
9: #end
10: 
11: #if ($request.getAttribute("showBookmark") == false)
12:   #set ($showBookmark = false)
13: #end
14: 
15: <!DOCTYPE html>
16: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
17: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
18: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
19: 
20: <head>
21: <meta charset="UTF-8">
22: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
23: <title>$pageTitle</title>
24: 
25: ## OGP META TAGS
26: $!request.setAttribute("pageObj", $page)
27: $website.include("ogp-tags")
28: 
29: <script src="$website.cdn("/info/jquery.js")"></script>
30: <script src="$website.cdn("/info/modernizr.js")"></script>
31: 
32: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
33: <link rel="stylesheet" href="/css/styles-2017.css" type="text/css" />
34: 
35: $!head
36: ## SLATE CODE
37: <script async="async" src="https://connect.felician.edu/ping">/**/</script>
38: 
39: $website.include("analytics")
40: </head>
41: 
42: <body>
43: 
44: <div id="page" class="page clearfix">
45: <div class="wrapper clearfix">
46: 
47: ## HEADER
48: $website.include("site-header")
49: 
50: ## SECONDARY NAVIGATION
51: $website.includeAgain("navbar-secondary?tmpl=navbar-template&class=secondary-nav")
52: 
53: ## BODY CONTAINER
54: <div class="body-container clearfix">
55: 
56: ## BODY CONTENT
57: <main id="mainbody" class="mainbody clearfix" role="main">
58: 
59: ## RELATED LINKING - 20090930
60: #if (!($request.getAttribute("disable_related_links").length() > 0))
61: #set ($relatedPages = $page.relatedInSchedule)
62: #if ($relatedPages.size() > 1)
63: <div class="page-related-links clearfix">
64:  #foreach ($related in $relatedPages)
65:    #if ($velocityCount > 1) | #end
66:    #if ($related.id == $page.id)
67:       <strong>${related.mapLabel}</strong>
68:    #else
69:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
70:     #end
71:  #end
72: </div>
73: #end ## related > 1
74: #end ## disable
75: 
76: $body
77: 
78: ## BOOK MARK
79: #if ($showBookmark)
80:   $website.include("share-buttons")
81: #end
82: $wiki
83: 
84: </main> ## mainbody
85: </div> ## body-container
86: 
87: ## FOOTER    
88: $website.include("site-footer")
89: 
90: ## FOOTER    
91: $website.include("sticky-bar")
92: 
93: </div> ## wrapper
94: </div> ## page
95: 
96: $!wiki.su
97: 
98: $website.usage
99: $website.include("dropoff-scripts")
100: 
101: </body>
102: </html>
103: 
104: 
105: 
106: 
107: 
108: 
109: #else
110: ## OLD SITE
111: 
112: 
113: #set ($pageClass = "internal-page")
114: #set ($showBookmark = true)
115: 
116: #if ($request.getAttribute("pageClass"))
117:   #set ($pageClass = $request.getAttribute("pageClass"))
118: #end
119: 
120: #if ($request.getAttribute("showBookmark") == false)
121:   #set ($showBookmark = false)
122: #end
123: 
124: #set ($pageTitle = $page.title)
125: #if ($request.getAttribute("pageTitle"))
126:   #set ($pageTitle = $request.getAttribute("pageTitle"))
127: #end
128: 
129: <!DOCTYPE html>
130: <!--[if IE 7 ]>    <html lang="en" class="${pageClass} no-js ie7" prefix="og: http://ogp.me/ns#"> <![endif]-->
131: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
132: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
133: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
134: 
135: <head>
136: <meta charset="UTF-8">
137: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
138: <title>#if ($pageTitle.length() > 0)$pageTitle - #end $website.profile.siteName</title>
139: 
140: <meta name="description" content="Felician University Athletics" />
141: <meta name="keywords" content="Felician University, Felician, Felician University Golden Falcons, Felician Golden Falcons" />
142: 
143: ## OGP META TAGS
144: $!request.setAttribute("pageObj", $page)
145: $website.include("ogp-tags")
146: 
147: <script src="$website.cdn("/info/jquery.js")"></script>
148: <script src="$website.cdn("/info/modernizr.js")"></script>
149: 
150: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
151: <link rel="stylesheet" href="/css/styles-redesign.css" type="text/css" />
152: 
153: 
154: $!head
155: </head>
156: 
157: <body>
158:     
159:     <div id="fb-root"></div>
160: <script>(function(d, s, id) {
161:   var js, fjs = d.getElementsByTagName(s)[0];
162:   if (d.getElementById(id)) return;
163:   js = d.createElement(s); js.id = id;
164:   js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
165:   fjs.parentNode.insertBefore(js, fjs);
166: }(document, 'script', 'facebook-jssdk'));</script>
167: 
168: <div id="page">
169: <div id="wrapper">
170: 
171: ## HEADER
172: $website.include("site-header")
173: 
174: ## BODY CONTAINER
175: <div id="body-container" class="clearfix">
176: 
177: ## SECONDARY NAVIGATION
178: $website.includeAgain("navbar-secondary?tmpl=navbar-secondary-template&linksLimit=8")
179: 
180: ## BODY CONTENT
181: <div id="mainbody" class="mainbody clearfix">
182: 
183: ## RELATED LINKING - 20090930
184: #if (!($request.getAttribute("disable_related_links").length() > 0))
185: #set ($relatedPages = $page.relatedInSchedule)
186: #if ($relatedPages.size() > 1)
187: <div class="page-related-links clearfix">
188:  #foreach ($related in $relatedPages)
189:    #if ($velocityCount > 1) | #end
190:    #if ($related.id == $page.id)
191:       <strong>${related.mapLabel}</strong>
192:    #else
193:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
194:     #end
195:  #end
196: </div>
197: #end ## related > 1
198: #end ## disable
199: 
200: $body
201: 
202: ## BOOK MARK
203: #if ($showBookmark)
204:   $website.include("share-buttons")
205: #end
206: $wiki
207: 
208: </div> ## mainbody
209: </div> ## body-container
210: 
211: ## FOOTER    
212: $website.include("site-footer")
213: 
214: </div> ## wrapper
215: 
216: ## BACKGROUND
217: <img src="$website.include('/background?tmpl=random-headlines-template')" alt="" id="page-background" />
218: 
219: </div> ## page
220: 
221: $!wiki.su
222: 
223: ## LAZYLOAD IMAGES
224: <script src="$website.cdn("/info/jquery.lazyload.min.js")"></script>
225: <script>
226: $(function() {
227:   $('.lazy').lazyload();
228: });
229: </script>
230: 
231: $website.usage
232: $website.include("dropoff-scripts")
233: 
234: </body>
235: </html>
236: 
237: #end