An Error Occurred:

//websystems-theme/22tabsp/conteudo.xhtml @13,102 template="file:///websystems-theme/#{SiteFace.selectedTheme}/template.xhtml" //websystems-theme/22tabsp/conteudo.xhtml @13,102 template="file:///websystems-theme/#{SiteFace.selectedTheme}/template.xhtml": javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: null; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection

+ Stack Trace

com.sun.facelets.tag.TagAttributeException: //websystems-theme/22tabsp/conteudo.xhtml @13,102 template="file:///websystems-theme/#{SiteFace.selectedTheme}/template.xhtml" //websystems-theme/22tabsp/conteudo.xhtml @13,102 template="file:///websystems-theme/#{SiteFace.selectedTheme}/template.xhtml": javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.RemoteException: null; nested exception is: 
	javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
	at com.sun.facelets.tag.TagAttribute.getValue(TagAttribute.java:200)
	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.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:144)
	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.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:144)
	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:524)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:871)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:558)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
	at br.com.escriba.websystems.web.servlet.filter.ProcessaConteudoFilter.run(ProcessaConteudoFilter.java:59)
	at java.lang.Thread.run(Thread.java:619)
Caused by: javax.el.ELException: //websystems-theme/22tabsp/conteudo.xhtml @13,102 template="file:///websystems-theme/#{SiteFace.selectedTheme}/template.xhtml": javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.RemoteException: null; nested exception is: 
	javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
	... 38 more
Caused by: javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.RemoteException: null; nested exception is: 
	javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
	at br.com.escriba.websystems.session.interfaces._SiteSessionRemote_Wrapper.getByURL(br/com/escriba/websystems/session/interfaces/_SiteSessionRemote_Wrapper.java)
	at br.com.escriba.websystems.web.faces.BasicFacesBean.getCurrentSite(BasicFacesBean.java:151)
	at br.com.escriba.websystems.web.faces.SiteFace.getCurrentSite(SiteFace.java:96)
	at br.com.escriba.websystems.web.faces.SiteFace.getSelectedTheme(SiteFace.java:100)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:293)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
	at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
	at com.sun.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:59)
	at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:64)
	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	... 39 more

+ Component Tree

<PartialTraversalViewRootImpl locale="pt_BR" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/conteudo.xhtml"/>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
prettyContextcom.ocpsoft.pretty.PrettyContext@3e33a981
Session Attributes
NameValue
SiteFacebr.com.escriba.websystems.web.faces.SiteFace@31bd740e
cachedSitebr.com.escriba.websystems.entity.Site[stId=90]
conteudoDinamico8
currentBaseSite22notas.com.br
Application Attributes
NameValue
ADAPTER_LIST[com.sun.xml.ws.transport.http.servlet.ServletAdapter@4520360d[name=], com.sun.xml.ws.transport.http.servlet.ServletAdapter@625e31bf[name=], com.sun.xml.ws.transport.http.servlet.ServletAdapter@658b3988[name=], com.sun.xml.ws.transport.http.servlet.ServletAdapter@1489df7c[name=]]
24/05/2018 06:44:24 - Generated by Facelets