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: Data source rejected establishment of connection, message from server: "Too many connections" at lgl4t8lfl6wgza1y/default-decorator[line 203, column 12]
Page source:
1: #if($website.redesign)
2: 
3: ## NEW SITE
4: 
5: #set ($version = "rich")
6: #if ($website.textOnly)
7:   #set ($version = "text")
8: #end
9: 
10: ## PUNCH THROUGH
11: #if ($request.getParameter("508") == "yes")
12:   #set ($version = "text")
13: #elseif ($request.getParameter("508") == "no")
14:   #set ($version = "rich")
15: #end
16: 
17: ## TEXT SITE
18: #if ($version == "text")
19: 
20: #set ($pageClass = "internal-page")
21: #set ($showBookmark = true)
22: 
23: #if ($request.getAttribute("pageClass"))
24:   #set ($pageClass = $request.getAttribute("pageClass"))
25: #end
26: 
27: #if ($request.getAttribute("showBookmark") == false)
28:   #set ($showBookmark = false)
29: #end
30: 
31: <!DOCTYPE html>
32: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
33: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
34: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
35: 
36: <head>
37: <meta charset="UTF-8">
38: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
39: <title>#if ($pageTitle.length() > 0)$pageTitle - #end $website.profile.siteName</title>
40: 
41: ## OGP META TAGS
42: $!request.setAttribute("pageObj", $page)
43: $website.include("ogp-tags")
44: 
45: <script src="$website.cdn("/info/jquery.js")"></script>
46: <script src="$website.cdn("/info/modernizr.js")"></script>
47: 
48: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
49: <link rel="stylesheet" href="/css/text.css" type="text/css" />
50: 
51: $!head
52: </head>
53: 
54: <body>
55: 
56: <div id="page" class="page clearfix">
57: 
58: ## WRAPPER
59: <div id="wrapper" class="wrapper clearfix">
60: 
61: ## HEADER
62: <header id="site-header" class="site-header clearfix">
63:   <a href="/" class="header-link">$website.profile.siteName</a>
64:   <a href="#" id="rich-site">View Graphics Version Of This Website</a>
65: </header>
66: 
67: ## SECONDARY NAVIGATION
68: $website.includeAgain("navbar-secondary?tmpl=navbar-template&class=secondary-nav")
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: 
100: $wiki
101: 
102: </div> ## mainbody
103: </div> ## body-container
104: 
105: ## FOOTER    
106: <footer id="site-footer" class="site-footer clearfix">
107: 
108: ## FOOTER LOGOS
109: <div class="navbar-wrap">
110:   <span class="navbar-title">Affiliation:</span>$website.include("navbar-footer-logos?tmpl=navbar-template&class=footer-logos")
111: </div>
112: 
113: ## NAVIGATION
114: $website.include("navbar-global?tmpl=navigation-template")
115: 
116: </footer> ## footer
117: </div> ## wrapper
118: </div> ## page
119: 
120: $!wiki.su
121: 
122: ## TEXT SITE SCRIPT
123: <script src="$website.cdn("/info/cookie-handler.js")"></script>
124: <script>
125: $( function() {
126:   $('#rich-site').click( function() {
127:       createCookie('version', 'rich', 1);
128:       window.location.reload();
129:       return false;
130:   });
131: });
132: </script>
133: 
134: $website.usage
135: $website.include("dropoff-scripts")
136: 
137: </body>
138: </html>
139: 
140: 
141: 
142: #else 
143: ## GRAPHIC SITE
144: 
145: #set ($pageClass = "internal-page")
146: #set ($showBookmark = true)
147: 
148: #if ($request.getAttribute("pageClass"))
149:   #set ($pageClass = $request.getAttribute("pageClass"))
150: #end
151: 
152: #if ($request.getAttribute("showBookmark") == false)
153:   #set ($showBookmark = false)
154: #end
155: 
156: #set ($pageTitle = $page.title)
157: #if ($request.getAttribute("pageTitle"))
158:   #set ($pageTitle = $request.getAttribute("pageTitle"))
159: #end
160: 
161: <!DOCTYPE html>
162: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
163: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
164: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
165: 
166: <head>
167: <meta charset="UTF-8">
168: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
169: <title>#if ($pageTitle.length() > 0)$pageTitle - #end $website.profile.siteName</title>
170: 
171: ## OGP META TAGS
172: $!request.setAttribute("pageObj", $page)
173: $website.include("ogp-tags")
174: 
175: <script src="$website.cdn("/info/jquery.js")"></script>
176: <script src="$website.cdn("/info/modernizr.js")"></script>
177: 
178: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
179: 
180: 
181: <link rel="stylesheet" href="/css/styles2018.css" type="text/css" />
182: ##<link rel="stylesheet" href="/css/styles.css" type="text/css" />
183: 
184: <!--[if lt IE 9]>
185: 	<script src="/js/mediaqueries.js"></script>
186: <![endif]-->
187: 
188: $website.include("analytics")
189: 
190: $!head
191: </head>
192: 
193: <body>
194: 
195: <div id="page" class="page clearfix">
196:     
197: ## HEADER
198: $website.include("site-header")
199: 
200: ## SECONDARY NAVIGATION
201: <div class="section-header-wrapper">
202:   <img src="$website.include('section-header-bg?tmpl=random-headlines-template')" alt="" />
203:   $website.includeAgain("navbar-secondary?tmpl=navbar-template&class=secondary-nav&moreAfter=15")
204: </div>
205: 
206: <div id="wrapper" class="wrapper clearfix">
207: 
208: ## BODY CONTAINER
209: <div id="body-container" class="body-container clearfix">
210: 
211: ## BODY CONTENT
212: <div id="mainbody" class="mainbody clearfix">
213: 
214: ## RELATED LINKING - 20090930
215: #if (!($request.getAttribute("disable_related_links").length() > 0))
216: #set ($relatedPages = $page.relatedInSchedule)
217: #if ($relatedPages.size() > 1)
218: <div class="page-related-links clearfix">
219:  #foreach ($related in $relatedPages)
220:    #if ($velocityCount > 1) | #end
221:    #if ($related.id == $page.id)
222:       <strong>${related.mapLabel}</strong>
223:    #else
224:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
225:     #end
226:  #end
227: </div>
228: #end ## related > 1
229: #end ## disable
230: 
231: $body
232: 
233: ## BOOK MARK
234: #if ($showBookmark)
235:   $website.include("share-buttons")
236: #end
237: $wiki
238: 
239: </div> ## mainbody
240: </div> ## body-container
241: 
242: ## FOOTER    
243: $website.include("site-footer")
244: 
245: </div> ## wrapper
246: </div> ## page
247: 
248: $!wiki.su
249: 
250: ## LAZYLOAD IMAGES
251: <script src="$website.cdn("/info/jquery.lazyload.min.js")"></script>
252: <script>
253: $(function() {
254:   $('.lazy').lazyload();
255: });
256: </script>
257: 
258: ## TEXT SITE SCRIPT
259: <script src="$website.cdn("/info/cookie-handler.js")"></script>
260: <script>
261: $(function() {
262: $('#text-site').click( function() {
263:     createCookie('version', 'text', 1);
264:     window.location.reload();
265:     return false;
266: });
267: });
268: </script>
269: 
270: $website.usage
271: $website.include("dropoff-scripts")
272: 
273: </body>
274: </html>
275: 
276: #end ## text-only check
277: 
278: #else
279: 
280: ## OLD SITE
281: 
282: ## CLASSIC MOBILE OR IPHONE PLATFORM
283: 	#if ($browser.getMobile() || $browser.getIphone())
284: 		$request.setAttribute("body", $body)
285: 		$request.setAttribute("title", $title)
286: 		$request.setAttribute("page", $page)
287: $request.setAttribute("head", $head)
288: 		$website.include("mobile-decorator")
289: 	##STANDARD PLATFORM BEGIN
290: 	#else 
291: 	## DEFAULT WEBSITE GOES HERE
292: 
293: 
294: #set ($version = "rich")
295: #if ($website.textOnly)
296:   #set ($version = "text")
297: #end
298: 
299: 
300: ## PUNCH THROUGH
301: #if ($request.getParameter("508") == "yes")
302:   #set ($version = "text")
303: #elseif ($request.getParameter("508") == "no")
304:   #set ($version = "rich")
305: #end
306: 
307: #if ($version == "text")
308: 
309: <!DOCTYPE html>
310: <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> 
311: <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
312: <!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
313: <!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
314: <!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
315: <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
316: 
317: <head>
318: 
319: <meta name="viewport" content="width=1100" />
320: <title>#if ($title.length() > 0)$title - #elseif ($page.title.length() > 0)$page.title - #end $website.profile.siteName</title>
321: 
322: <meta name="description" content="Penn State Beaver Athletics" />
323: <meta name="keywords" content="Penn State Beaver University, Penn State, Penn State Beaver, Penn State University" />
324: 
325: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
326: <link rel="stylesheet" href="/text.css" type="text/css" />
327: 
328: <script src="$website.cdn('/info/jquery.js')"></script>
329: <script src="$website.cdn("/info/modernizr.js")"></script>
330: 
331: $!head
332: </head>
333: 
334: <body>
335: 
336: #set ($containerClass = "internal-page")
337: #set ($showBookmark = true)
338: #set ($featuredPage = false)
339: 
340: #if ($request.getAttribute("featuredPage") == true)
341: #set ($featuredPage = true)
342: #set ($showBookmark = false)
343: #end
344: 
345: #if ($request.getAttribute("pageClass"))
346: #set ($containerClass = $request.getAttribute("pageClass"))
347: #end
348: 
349: ## PAGE  
350: <div id="page" class="${containerClass}">
351: 
352: ## WRAPPER
353: <div id="wrapper" class="clearfix">
354: 
355: ## HEADER
356: <header id="site-header" class="clearfix">
357: 
358:   <a href="/" id="header-link">$website.profile.siteName</a>
359: 
360:   <a href="#" id="rich-site">View Graphics Version Of This Website</a>
361: 
362:   $website.include("navbar-social?tmpl=/navbar-text-template")
363: 
364: </header>
365: 
366: ## BODY CONTAINER
367: <div id="body-container" class="clearfix">
368: 
369: ## NAVBAR SECONDARY
370: $website.includeAgain("navbar-secondary?tmpl=navbar-secondary-template")
371: 
372: ## BODY CONTENT
373: <div id="mainbody" class="clearfix">
374: 
375: ## BOOK MARK
376: #if ($showBookmark)
377: #set ($qs = $tool.esc.url($request.getQueryString()))
378: $website.include("bookmark?url=${page.url}&q=${qs}")
379: #end
380: 
381: ## RELATED LINKING - 20090930
382: #if (!($request.getAttribute("disable_related_links").length() > 0))
383: #set ($relatedPages = $page.relatedInSchedule)
384: #if ($relatedPages.size() > 1)
385:  #foreach ($related in $relatedPages)
386:    #if ($velocityCount > 1) | #end
387:    #if ($related.id == $page.id)<strong>#else<a href="$related.url" #if($website.isExternalLink($related.url))target="_blank"#end>#end${related.mapLabel}#if($related.id == $page.id)</strong>#else</a> #end
388:  #end
389:  <br />
390: #end ## related > 1
391: #end ## disable
392: 
393: $body
394: $wiki
395: </div> 
396: ## MAINBODY
397: 
398: </div> ## BODY-CONTAINER
399: 
400: ## FOOTER    
401: <footer id="site-footer" class="clearfix">
402: 
403: ## ACCORDION NAV
404: $website.include("global-nav?tmpl=text-globalNav-template")
405: 
406: ## FOOTER TEXT
407: <div id="footer-text">
408:   $website.include("footer-text")
409:   <p>$browser.viewOptions</p>
410: </div>
411: 
412: </footer>
413: 
414: </div> ## WRAPPER
415: 
416: </div> ## END PAGE
417: 
418: $!wiki.su
419: 
420: <script src="$website.cdn("/info/cookie-handler.js")"></script>
421: 
422: <script>
423: 
424: $( function() {
425:   $('#rich-site').click( function() {
426:       createCookie('version', 'rich', 1);
427:       window.location.reload();
428:       return false;
429:   });
430: });
431: 
432: </script>
433: 
434: <!--[if lt IE 7 ]>
435:   <script src="/info/dd_belatedpng.js"></script>
436:   <script>DD_belatedPNG.fix(''); </script>
437: <![endif]-->
438: 
439:   $website.usage
440:   $website.include("dropoff-scripts")
441: 
442: </body>
443: </html>
444: 
445: 
446: 
447: #else
448: ## GRAPHIC VERSION
449: 
450: <!DOCTYPE html>
451: 
452: <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> 
453: <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
454: <!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
455: <!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
456: <!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
457: <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
458: 
459: <head>
460: <title>#if ($title.length() > 0)$title - #elseif ($page.title.length() > 0)$page.title - #end $website.profile.siteName</title>
461: 
462: <meta name="description" content="Penn State Beaver Athletics" />
463: <meta name="keywords" content="Penn State Beaver University, Penn State, Penn State Beaver, Penn State University" />
464: 
465: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
466: <link rel="stylesheet" href="/styles.css" type="text/css" />
467: 
468: <script src="$website.cdn("/info/jquery.js")"></script>
469: <script src="$website.cdn("/info/modernizr.js")"></script>
470: 
471: $!head
472: </head>
473: 
474: <body>
475: <div id="page">
476: <div id="wrapper" class="clearfix">
477: 
478: ## HEADER
479: $website.include("site-header")
480: 
481: #set ($containerClass = "internal-page")
482: #set ($showBookmark = true)
483: #set ($featuredPage = false)
484: 
485: #if ($request.getAttribute("featuredPage") == true)
486:   #set ($featuredPage = true)
487:   #set ($showBookmark = false)
488: #end
489: 
490: #if ($request.getAttribute("pageClass"))
491:   #set ($containerClass = $request.getAttribute("pageClass"))
492: #end
493: 
494: <div id="body-container" class="${containerClass} clearfix">
495: 
496: ##SECONDARY-NAV
497: $website.include("navbar-secondary")
498: 
499: ## LEFTCOL
500: $website.include("leftcol")
501: 
502: ## BODY CONTENT
503: <div id="mainbody" class="clearfix">
504: ## PRINTER FRIENDLY
505: 
506: #if ($showBookmark)
507: <div class="bookmark">$website.share&nbsp;<a href="$page.url?dec=/printer-decorator" target="_blank"><img src="/info/images/printer-friendly.gif" alt="" /></a></div>
508: #end
509: 
510: $body
511: $wiki
512: </div> 
513: ## MAINBODY
514: 
515: ## RIGHTCOL
516: #if ($featuredPage)$website.include("rightcol")#end
517: 
518: </div> ## BODY-CONTAINER
519: 
520: ## FOOTER    
521: 
522: $website.include("site-footer")
523: 
524: </div> ## WRAPPER
525: </div> ## PAGE
526: 
527: $!wiki.su
528: 
529: <script src="/dropdown.js"></script>
530: 
531: <script src="$website.cdn("/info/cookie-handler.js")"></script>
532: 
533: <script>
534: $( function() {
535:   $('#text-site').click( function() {
536:       createCookie('version', 'text', 1);
537:       window.location.reload();
538:       return false;
539:   });
540: });
541: </script>
542: 
543: <!--[if lt IE 7 ]>
544:   <script src="/info/dd_belatedpng.js"></script>
545:   <script>DD_belatedPNG.fix(''); </script>
546: <![endif]-->
547: 
548: $website.usage
549: $website.include("dropoff-scripts")
550: </body>
551: </html>
552: 
553: #end ## text only
554: 
555: 
556: #end ## mobile
557: 
558: #end ## redesign