There was a problem with a Velocity script
Pageogp-tags
ErrorInvocation of method 'include' in class com.prestosports.render.ContentEngineInvoker threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections at ogp-tags[line 3, column 14]
Page source:
1: #if ($request.getAttribute("pageObj"))
2: 
3:     $website.include("options")
4:     #set ($pageObj = $request.getAttribute("pageObj"))
5:     #set ($options = $request.getAttribute("options"))
6: 
7: 	#set ($canonicalUrl = "//${website.profile.preferredDomain}")
8: 	#if ($pageObj.url.startsWith("/"))
9: 		#set ($canonicalUrl = "${canonicalUrl}${pageObj.url}")
10: 	#else
11: 		#set ($canonicalUrl = "${canonicalUrl}/${pageObj.url}")
12: 	#end
13: 	
14: 	<link rel="canonical" href="$canonicalUrl" />
15:     <meta property="fb:app_id" content="280467664480" />
16:     
17:     #if ($!options.get("og_twitter_account"))
18:         <meta name="twitter:card" content="summary_large_image" />
19:         <meta name="twitter:site" content="@$options.get("og_twitter_account")" />
20:         <meta name="twitter:creator" content="@$options.get("og_twitter_account")" />
21: 
22:         #if ($pageObj.thumbnailURL)
23:              <meta name="twitter:image" content="http://${request.serverName}${pageObj.thumbnailURL}?max_width=550&max_height=550" />
24:         #elseif ($pageObj.contentType == "loki/youtube")
25:             <meta name="twitter:image" content="http://img.youtube.com/vi/${pageObj.dataAsString}/0.jpg" />
26:         #else
27:             <meta name="twitter:image" content="http://${request.serverName}/images/setup/thumbnail_default.jpg?max_width=550&max_height=550" />
28:         #end
29:     #end
30: 
31:     #if ($pageObj.contentType.startsWith("statcrew/"))
32:       $website.includeAgain("${pageObj}?tmpl=boxscore-meta-template")
33:     #else
34:       <meta property="og:title" #if ($pageObj.title.length() > 0) content="$pageObj.title" #else content="$website.profile.siteName" #end />
35:       <meta property="og:description" #if ($pageObj.leadIn.length() > 0) content="$pageObj.leadIn" #elseif ($pageObj.title.length() > 0) content="$pageObj.title" #else content="$website.profile.siteName" #end />
36:       #if ($pageObj.thumbnailURL)
37:         <meta property="og:image" content="http://${request.serverName}${pageObj.thumbnailURL}?max_width=600&max_height=600" />
38:         <meta property="og:image:secure_url" content="https://${request.serverName}${pageObj.thumbnailURL}?max_width=600&max_height=600" />
39:         <meta property="og:image:width" content="600" />
40:         <meta property="og:image:height" content="600" />
41:       #elseif ($pageObj.contentType == "loki/youtube")
42:         <meta property="og:image" content="http://img.youtube.com/vi/${pageObj.dataAsString}/0.jpg" />
43:       #else
44:         <meta property="og:image" content="http://${request.serverName}/images/setup/thumbnail_default.jpg?max_width=600&max_height=600" />
45:       #end
46:     #end
47: 
48:     <meta property="og:site_name" content="$website.profile.siteName" />
49:     <meta property="og:url" content="${canonicalUrl}" />
50: 
51:     #if ($pageObj.contentType == "loki/tinymce") ## article
52:       <meta property="og:type" content="article" />
53:       #if ($pageObj.date)
54:         <meta property="article:published_time" content="${formatter.formatDate($pageObj.date, "yyyy-MM-dd")}" />
55:       #end
56: 
57:     #elseif ($pageObj.contentType == "video/x-flv" || $pageObj.contentType == "loki/video" || $pageObj.contentType == "loki/youtube") ## video
58: 
59:       <meta property="og:type" content="video" />
60: 
61:       #if ($pageObj.contentType == "video/x-flv" || $pageObj.contentType == "loki/video")
62:         <meta property="og:video" content="http://${request.serverName}/info/player/5.0/mediaplayer.swf?file=${website.includeAgain("$pageObj.url?tmpl=video-url-template")}&autostart=true" />
63:       #else
64:         <meta property="og:video" content="https://www.youtube.com/v/${pageObj.dataAsString}?version=3&amp;autohide=1" />
65:         <meta property="og:video:secure_url" content="https://www.youtube.com/v/${pageObj.dataAsString}?version=3&amp;autohide=1" />
66:       #end
67: 
68:     <meta property="og:video:type" content="application/x-shockwave-flash" />
69:     <meta property="og:video:width" content="480" />
70:     <meta property="og:video:height" content="360" />
71: 
72:     #end
73: 
74: 
75: #end ## getAttribute

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 jrwq7umdh2kbpcb1/default-decorator[line 56, 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: <!DOCTYPE html>
17: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
18: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
19: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
20: 
21: <head>
22: <meta charset="UTF-8">
23: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
24: <title>$pageTitle</title>
25: 
26: ## OGP META TAGS
27: $!request.setAttribute("pageObj", $page)
28: $website.include("ogp-tags")
29: 
30: <script src="$website.cdn("/info/jquery.js")"></script>
31: <script src="$website.cdn("/info/modernizr.js")"></script>
32: 
33: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
34: <link rel="stylesheet" href="/css/styles.css" type="text/css" />
35: 
36: $website.include("analytics")
37: $website.include("navbar-favicon")
38: 
39: 
40: $!head
41: </head>
42: 
43: <body>
44: 
45: <div id="page" class="page clearfix">
46: <div class="wrapper clearfix">
47: 
48: ##WIKI NAV
49: #if ($website.principal.accountId)
50:     $website.include("/help/wiki-quick-links")
51: #end
52: ## HEADER
53: $website.include("site-header")
54: 
55: ## SECONDARY NAVIGATION
56: $website.includeAgain("navbar-secondary?tmpl=navbar-template&class=secondary-nav&moreAfter=6")
57: 
58: ## BODY CONTAINER
59: <div class="body-container clearfix">
60: 
61: ## BODY CONTENT
62: <main id="mainbody" class="mainbody clearfix">
63:     
64: ## RELATED LINKING - 20090930
65: #if (!($request.getAttribute("disable_related_links").length() > 0))
66: #set ($relatedPages = $page.relatedInSchedule)
67: #if ($relatedPages.size() > 1)
68: <div class="page-related-links clearfix">
69:  #foreach ($related in $relatedPages)
70:    #if ($velocityCount > 1) | #end
71:    #if ($related.id == $page.id)
72:       <strong>${related.mapLabel}</strong>
73:    #else
74:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
75:     #end
76:  #end
77: </div>
78: #end ## related > 1
79: #end ## disable
80: 
81: $body
82: $website.include("analytics")
83: ## BOOK MARK
84: #if ($showBookmark)
85:   $website.include("share-buttons")
86: #end
87: $wiki
88: 
89: </main> ## mainbody
90: </div> ## body-container
91: 
92: ## FOOTER    
93: $website.include("site-footer")
94: 
95: </div> ## wrapper
96: </div> ## page
97: 
98: $!wiki.su
99: 
100: $website.usage
101: $website.include("dropoff-scripts")
102: 
103: </body>
104: </html>
105: 
106: #else
107: ## LIVE SITE
108: 
109: #set ($pageClass = "internal-page")
110: #set ($showBookmark = true)
111: 
112: #if ($request.getAttribute("pageClass"))
113:   #set ($pageClass = $request.getAttribute("pageClass"))
114: #end
115: 
116: #if ($request.getAttribute("showBookmark") == false)
117:   #set ($showBookmark = false)
118: #end
119: 
120: #set ($isMobile = ($browser.getIphone() || $browser.getMobile()))
121: 
122: 
123: <!DOCTYPE html>
124: <!--[if IE 7 ]>    <html lang="en" class="${pageClass} no-js ie7" prefix="og: http://ogp.me/ns#"> <![endif]-->
125: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
126: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
127: <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"> <!--<![endif]-->
128: 
129: <head>
130: <title>#if ($title.length() > 0)$title - #elseif ($page.title.length() > 0)$page.title - #end $website.profile.siteName</title>
131: 
132: ##<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
133: <meta charset="UTF-8">
134: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
135: 
136: 
137: $!request.setAttribute("pageObj", $page)
138: $website.include("ogp-template")
139: 
140: <script src="$website.cdn("/info/jquery.js")"></script>
141: <script src="$website.cdn("/info/modernizr.js")"></script>
142: 
143: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
144: <link rel="stylesheet" href="/css/styles-live.css?t=${now.time} " type="text/css" />
145: 
146: ##$website.include("gpt-head")
147: 
148: $!head
149: 
150: ## client placed admissions navbar-secondary-template
151: 
152: <!-- begin CBE code -->
153: <script>
154:     (function(a,b,c,d,e,f,g) {
155:     a[e] = a[e] || function() {(a[e].q = a[e].q || []).push(arguments)};f=b.createElement(c);
156:     g=b.getElementsByTagName(c)[0];f.async=1;f.src=d+"/cbe/cbe.js";g.parentNode.insertBefore(f,g);
157:     a[e]('create',d,5);
158:     a[e]('log','pageview');
159:     })(window,document,"script","https://anselm.capturehighered.net","_cbe");
160: </script>
161: <!-- end CBE code -->
162: 
163: </head>
164: 
165: <body>
166: 
167: <div id="page">
168: 
169: ## HEADER
170: $website.include("site-header")
171: 
172: <div id="wrapper">
173: 
174: ## SECONDARY NAVIGATION
175: $website.includeAgain("navbar-secondary?tmpl=navbar-secondary-template&linksLimit=10")
176: 
177: ## BODY CONTAINER
178: <div id="body-container" class="clearfix">
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: 
207: $wiki
208: 
209: ## ADHESION
210: ##$website.include("gpt-adhesion")
211: 
212: </div> ## mainbody
213: </div> ## body-container
214: 
215: </div> ## wrapper
216: 
217: ## FOOTER    
218: $website.include("site-footer")
219: 
220: #if (!$isMobile)
221: ## BACKGROUND
222: <img src="$website.include('/background?tmpl=random-headlines-template')" alt="" id="page-background" />
223: #end
224: 
225: </div> ## page
226: 
227: $!wiki.su
228: 
229: $website.usage
230: $website.include("dropoff-scripts")
231: 
232: </body>
233: </html>
234: 
235: #end