There was a problem with a Velocity script
Pageogp-tags
ErrorInvocation of method 'includeAgain' in class com.prestosports.render.ContentEngineInvoker threw exception javax.servlet.ServletException: javax.servlet.ServletException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections at ogp-tags[line 32, column 16]
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 'include' in class com.prestosports.render.ContentEngineInvoker threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections at 7zwhxdapi88opj62/default-decorator[line 47, column 10]
Page source:
1: $website.include("login")
2: 
3: #set ($pageClass = "internal-page")
4: #set ($showBookmark = true)
5: 
6: #if ($request.getAttribute("pageClass"))
7:   #set ($pageClass = $request.getAttribute("pageClass"))
8: #end
9: 
10: #if ($request.getAttribute("showBookmark") == false)
11:   #set ($showBookmark = false)
12: #end
13: 
14: #set ($pageTitle = $page.title)
15: 
16: #set ($requestURI = $request.requestURI)
17: #if ($requestURI.startsWith("/teams/") && $requestURI.endsWith("/news"))
18:     #set ($teamName = $requestURI.split("/")[2])
19:     #set ($teamName = $teamName.replace("_", " "))
20:     #set ($pageTitle = "${teamName} News")
21: #end
22: 
23: #if ($request.getAttribute("pageTitle"))
24:   #set ($pageTitle = $request.getAttribute("pageTitle"))
25: #end
26: 
27: <!DOCTYPE html>
28: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
29: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
30: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
31: 
32: <head>
33: <meta charset="UTF-8">
34: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
35: <title>#if ($pageTitle.length() > 0)$pageTitle - #end $website.profile.siteName</title>
36: 
37: ## OGP META TAGS
38: $!request.setAttribute("pageObj", $page)
39: $website.include("ogp-tags")
40: 
41: <script src="$website.cdn("/info/jquery.js")"></script>
42: <script src="$website.cdn("/info/modernizr.js")"></script>
43: 
44: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
45: <link rel="stylesheet" href="/css/styles.css" type="text/css" />
46: 
47: $website.include("gpt-head")
48: $website.include("analytics")
49: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
50: <script>
51:   (adsbygoogle = window.adsbygoogle || []).push({
52:     google_ad_client: "ca-pub-3510730445603784",
53:     enable_page_level_ads: true
54:   });
55: </script>
56: $!head
57: </head>
58: 
59: <body>
60:     
61:     <div style="display:none">$request.requestURI</div>
62: 
63: <div id="page" class="page clearfix">
64: <div class="wrapper clearfix">
65: 
66: ## HEADER
67: $website.include("site-header")
68: 
69: ## SECONDARY NAVIGATION
70: $website.includeAgain("navbar-secondary?class=secondary-nav")
71: 
72: ## BODY CONTAINER
73: <div class="body-container clearfix">
74: 
75: ## BODY CONTENT
76: <main id="mainbody" class="mainbody clearfix" role="main">
77: 
78: ## RELATED LINKING - 20090930
79: #if (!($request.getAttribute("disable_related_links").length() > 0))
80: #set ($relatedPages = $page.relatedInSchedule)
81: #if ($relatedPages.size() > 1)
82: <div class="page-related-links clearfix">
83:  #foreach ($related in $relatedPages)
84:    #if ($velocityCount > 1) | #end
85:    #if ($related.id == $page.id)
86:       <strong>${related.mapLabel}</strong>
87:    #else
88:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
89:     #end
90:  #end
91: </div>
92: #end ## related > 1
93: #end ## disable
94: 
95: $body
96: 
97: ## BOOK MARK
98: #if ($showBookmark)
99:   $website.include("share-buttons")
100: #end
101: $wiki
102: 
103: $website.include("gpt-adhesion")
104: 
105: </main> ## mainbody
106: 
107: ## RIGHT COL
108: #if (!$pageClass.contains('landing'))
109:     $website.include("right-col")
110: #end
111: 
112: </div> ## body-container
113: 
114: ## FOOTER    
115: $website.include("site-footer")
116: 
117: </div> ## wrapper
118: </div> ## page
119: 
120: $!wiki.su
121: 
122: $website.usage
123: $website.include("dropoff-scripts")
124: 
125: #if ($request.getParameter("showAd"))
126:     $website.include("img-video-ad-include")
127: #end
128: 
129: </body>
130: </html>
131: 
132: 
133: 
134: #*
135: ## OLD SITE
136: 
137: 
138: 
139: $website.include("login")
140: 
141: ## CLASSIC MOBILE OR IPHONE PLATFORM
142: 	#if ($browser.getMobile() || $browser.getIphone())
143: 		$request.setAttribute("body", $body)
144: 		$request.setAttribute("title", $title)
145: 		$request.setAttribute("page", $page)
146:         $request.setAttribute("head", $head) 
147: 		$website.include("mobile-decorator")
148: 	##STANDARD PLATFORM BEGIN
149: 	#else 
150: 
151: 
152: #set ($containerClass = "internal-page")
153: #set ($showBookmark = true)
154: 
155: #if ($request.getAttribute("pageClass"))
156:   #set ($containerClass = $request.getAttribute("pageClass"))
157: #end
158: 
159: #if ($request.getAttribute("showBookmark") == false)
160:   #set ($showBookmark = false)
161: #end
162: 
163: #if ($page.url.contains('award-status'))
164: 	#set($awardsPage = true)
165: #else
166: 	#set($awardsPage = false)
167: #end
168: 	
169: 
170: <!DOCTYPE html>
171: <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> 
172: <!--[if lt IE 7 ]> <html lang="en" class="${containerClass} no-js ie6"> <![endif]-->
173: <!--[if IE 7 ]>    <html lang="en" class="${containerClass} no-js ie7"> <![endif]-->
174: <!--[if IE 8 ]>    <html lang="en" class="${containerClass} no-js ie8"> <![endif]-->
175: <!--[if IE 9 ]>    <html lang="en" class="${containerClass} no-js ie9"> <![endif]-->
176: <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="${containerClass} no-js"> <!--<![endif]-->
177: 
178: <head>
179: 
180: <meta name="google-site-verification" content="UQdI7WQ-0n9rU2g11a_LdCR7qWRR1mKV79Q--DumgUY" />
181: <SCRIPT>
182: var a = Math.floor(Math.random()*9999999999+1)
183: var random_number = a;
184: </SCRIPT>
185: <script type='text/javascript'>
186: (function() {
187: var useSSL = 'https:' == document.location.protocol;
188: var src = (useSSL ? 'https:' : 'http:') +
189: '//www.googletagservices.com/tag/js/gpt.js';
190: document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
191: })();
192: </script>
193: <script type='text/javascript'>
194: googletag.pubads().enableSyncRendering();
195: </script>
196: 
197: <title>#if ($title.length() > 0)$title - #elseif ($page.title.length() > 0)$page.title - #end $website.profile.siteName</title>
198: 
199: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
200: <link rel="stylesheet" href="/css/styles-2014.css" type="text/css" />
201: 
202: <script src="$website.cdn('/info/jquery.js')"></script>
203: <script src="$website.cdn("/info/modernizr.js")"></script>
204: 
205: $website.include("analytics")
206: 
207: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
208: <link rel="icon" href="/favicon.ico" type="image/x-icon">
209: 
210: $!head
211: </head>
212: 
213: <body>
214: 
215: 
216: ## PAGE  
217: <div id="page">
218: 
219: ## WRAPPER
220: <div id="wrapper" class="clearfix">
221: 
222: ## HEADER
223: $website.include("web-header")
224: 
225: ## BODY CONTAINER
226: <div id="body-container" class="clearfix">
227: 
228: ## SECONDARY NAV
229: $website.includeAgain("navbar-secondary?tmpl=navbar-secondary-template")
230: 
231: ## BODY CONTENT
232: <div id="mainbody" class="mainbody clearfix">
233: 
234: ## BOOK MARK
235: #if ($showBookmark)
236:   #set ($queryString = $tool.esc.url($request.getQueryString()))
237:   #set ($printerFriendlyURL =  "${page.url}?dec=/printer-decorator")
238:   #if ($queryString.length() > 0)
239:     #set ($printerFriendlyURL = "${printerFriendlyURL}&${queryString}")
240:   #end
241:   <div class="bookmark clearfix">$website.share&nbsp;<a href="${printerFriendlyURL}" target="_blank"><img src="/info/images/printer-friendly.gif" alt="" /></a></div>
242: #end
243: 
244: ## RELATED LINKING - 20090930
245: #if (!($request.getAttribute("disable_related_links").length() > 0))
246: #set ($relatedPages = $page.relatedInSchedule)
247: #if ($relatedPages.size() > 1)
248: <div class="page-related-links clearfix">
249:  #foreach ($related in $relatedPages)
250:    #if ($velocityCount > 1) | #end
251:    #if ($related.id == $page.id)
252:       <strong>${related.mapLabel}</strong>
253:    #else
254:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
255:     #end
256:  #end
257: </div>
258: #end ## related > 1
259: #end ## disable
260: 
261: $body
262: $wiki
263: 
264: </div> 
265: ## MAINBODY
266: 
267: #if ($containerClass == 'internal-page')
268: $website.include("right-col")
269: #end
270: 
271: </div> ## BODY-CONTAINER
272: 
273: </div> ## WRAPPER
274: 
275: ## FOOTER    
276: $website.include("web-footer")
277: 
278: </div> ## END PAGE
279: 
280: ## BACKGROUND
281: <div id="page-background"><img src="/images/setup/2013/page_bg.jpg" alt="" id="block" /></div>
282: 
283: $!wiki.su
284: 
285: $website.usage
286: $website.include("dropoff-scripts")
287: 
288: </body>
289: </html>
290: 
291: #end ## MOBILE CHECK
292: *#