An Error Occurred:

/WEB-INF/templates/default.jspx @56,37 test="${canonical != ''}" /WEB-INF/templates/default.jspx @56,37 test="${canonical != ''}": /faces/thread.jspx @16,247 value="${threadBean.page == 1 ? fb:aCP(fb:concat('/thread/', fb:concat(threadBean.thread.tag, '/'))) : fb:aCP(fb:concat(fb:concat('/thread/', fb:concat(threadBean.thread.tag, '/')), fb:concat(threadBean.page, '/')))}": Problems calling function 'fb:aCP'

+ Stack Trace

com.sun.facelets.tag.TagAttributeException: /WEB-INF/templates/default.jspx @56,37 test="${canonical != ''}" /WEB-INF/templates/default.jspx @56,37 test="${canonical != ''}": /faces/thread.jspx @16,247 value="${threadBean.page == 1 ? fb:aCP(fb:concat('/thread/', fb:concat(threadBean.thread.tag, '/'))) : fb:aCP(fb:concat(fb:concat('/thread/', fb:concat(threadBean.thread.tag, '/')), fb:concat(threadBean.page, '/')))}": Problems calling function 'fb:aCP'
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
	at com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79)
	at com.sun.facelets.tag.jstl.core.IfHandler.apply(IfHandler.java:49)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
	at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
	at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
	at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
	at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
	at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
	at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:745)
Caused by: javax.el.ELException: /WEB-INF/templates/default.jspx @56,37 test="${canonical != ''}": /faces/thread.jspx @16,247 value="${threadBean.page == 1 ? fb:aCP(fb:concat('/thread/', fb:concat(threadBean.thread.tag, '/'))) : fb:aCP(fb:concat(fb:concat('/thread/', fb:concat(threadBean.thread.tag, '/')), fb:concat(threadBean.page, '/')))}": Problems calling function 'fb:aCP'
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
	... 42 more
Caused by: javax.el.ELException: Problems calling function 'fb:concat'
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:105)
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:101)
	at org.apache.el.parser.AstChoice.getValue(AstChoice.java:45)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:64)
	at org.apache.el.parser.AstNotEqual.getValue(AstNotEqual.java:37)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	... 43 more
Caused by: javax.el.ELException: Problems calling function 'fb:concat'
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:105)
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:101)
	... 51 more
Caused by: javax.el.ELException: Error reading 'thread' on type ru.freebrothers.site.beans.ThreadBean
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:66)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
	at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:101)
	... 52 more
Caused by: java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query
	at ru.freebrothers.site.dao.AbstractTaggedDao.getByTag(AbstractTaggedDao.java:66)
	at ru.freebrothers.site.beans.ThreadBean.getThread(ThreadBean.java:75)
	at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
	... 56 more
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:250)
	at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getResultList(CriteriaQueryCompiler.java:260)
	at ru.freebrothers.site.dao.PersistenceUtil.getSafeSingleResult(PersistenceUtil.java:74)
	at ru.freebrothers.site.dao.AbstractTaggedDao.getByTag(AbstractTaggedDao.java:61)
	... 61 more
Caused by: org.hibernate.exception.JDBCConnectionException: could not execute query
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2452)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
	at org.hibernate.loader.Loader.list(Loader.java:2187)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:241)
	... 64 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 2,649,367,445 milliseconds ago.  The last packet sent successfully to the server was 2,649,367,445 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
	at sun.reflect.GeneratedConstructorAccessor144.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1118)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3321)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1940)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2275)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1869)
	at org.hibernate.loader.Loader.doQuery(Loader.java:718)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
	at org.hibernate.loader.Loader.doList(Loader.java:2449)
	... 72 more
Caused by: java.net.SocketException: Broken pipe (Write failed)
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3300)
	... 83 more

+ Component Tree

<UIViewRoot id="j_id1" inView="true" locale="en_US" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/faces/thread.jspx">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/jsf/facelets /WEB-INF/schemas/facelets-ui-2.0.xsd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="keywords" content="байкеры саратов, freebrothers, free brothers, freebrothers саратов, free brothers саратов"/>
<meta name="description" content="${title}"/> <meta name="abstract" content="${title}"/>
<meta name="google-site-verification" content="1s91IUM7cPtmqSNvuKI5G6eQrMNiHw8ma5CaYQ5IqhA"/> <meta name="yandex-verification" content="71a672c68067d860"/> <meta name="application-name" content="Мотоклуб Free Brothers MC Russia"/> <meta name="msapplication-starturl" content="http://www.fb64.ru/"/> <meta name="msapplication-tooltip" content="Официальный сайт Мотоклуба Free Brothers MC Russia"/> <meta name="msapplication-task" content="name=Главная страница; action-uri=http://www.fb64.ru;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Новости; action-uri=http://www.fb64.ru/page/novosti/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Фото; action-uri=http://www.fb64.ru/page/photo/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Форум; action-uri=http://www.fb64.ru/forum/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <meta name="msapplication-task" content="name=Гостевая книга; action-uri=http://www.fb64.ru/guestbook/;icon-uri=http://www.fb64.ru/images/freebrothers.ico"/> <link rel="shortcut icon" type="image/x-icon" href="/images/freebrothers.ico"/> <link rel="icon" type="image/ico" href="/images/freebrothers.ico"/> <title>${title}</title> <script type="text/javascript"> var contextPath = '${request.contextPath}'; </script> <script type="text/javascript" src="${fb:aCP('/js/common.min.js')}"/> <script type="text/javascript"> $(document).ready(function() { $.ajaxSetup({ url: "${request.contextPath}/logic/", global: true, type: "POST", contentType: "application/x-www-form-urlencoded; charset=utf-8" }); }); </script> <link rel="stylesheet" type="text/css" href="${fb:aCP('/css/common.min.css')}" media="screen"/> <link rel="alternate" type="application/rss+xml" href="${fb:aCP('/rss')}" title=""/>
</UIViewRoot>

+ Scoped Variables

Request Parameters
NameValue
threadotkrytie_motosezona
Request Attributes
NameValue
prettyContextcom.ocpsoft.pretty.PrettyContext@7a6a585f
threadBeanru.freebrothers.site.beans.ThreadBean@7365f245
Application Attributes
NameValue
csfcffcom.sun.faces.context.flash.ELFlash@7b3c4897
globalsru.freebrothers.site.beans.GlobalsBean@353112b
proxyru.freebrothers.site.beans.PrettyFacesProxyBean@72f915be
Aug 17, 2018 2:09:52 PM - Generated by Facelets