An Error Occurred:

//websystems-theme/22tabsp/conteudo.xhtml @17,78 items="#{PublicacaoFace.menusLateral}": 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

javax.el.ELException: //websystems-theme/22tabsp/conteudo.xhtml @17,78 items="#{PublicacaoFace.menusLateral}": 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.jstl.core.ForEachHandler.apply(ForEachHandler.java:121)
	at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
	at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)
	at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:310)
	at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:280)
	at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
	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: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.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.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.PublicacaoFace.getMenusLateral(PublicacaoFace.java:56)
	at sun.reflect.GeneratedMethodAccessor128.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.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	... 51 more

+ Component Tree

<PartialTraversalViewRootImpl locale="pt_BR" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/conteudo.xhtml">
<?xml version="1.0" encoding="ISO-8859-1"?> <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>#{SiteFace.currentSite.stCliDenominacao}</title>
<title>#{ConteudoFace.conteudo.cntDescricao} - Cartório de notas em São Paulo</title>
<meta name="description" content="22° Tabelionato de notas de São Paulo."/> <meta name="keywords" content="22 cartorio , 22 tabeliao, 22 tabelionato, cartorio de notas, tabeliao de notas, cartório, escritura, escritura pública, mediação, divórcio, conciliação, testamento, inventário"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/#{SiteFace.selectedTheme}/css/themes.css"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/#{SiteFace.selectedTheme}/css/sidebar.css"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/#{SiteFace.selectedTheme}/css/war.css"/> <script type="text/javascript" src="/js/jquery.js"/> <script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/themes/#{SiteFace.selectedTheme}/js/ddaccordion.js"/> <script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/themes/#{SiteFace.selectedTheme}/js/easySlider1.7.js"/> <script type="text/javascript"> //<![CDATA[ // Menu elástico // xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ddaccordion.init({ headerclass: "li_nivel1", contentclass: "categoryitems", revealtype: "click", collapseprev: false, defaultexpanded: [], onemustopen: false, animatedefault: false, persiststate: true, toggleclass: ["", "openheader"], togglehtml: ["prefix", "", ""], animatespeed: "normal", oninit:function(headers, expandedindices){}, onopenclose:function(header, index, state, isuseractivated){} }); $(function(){$("#sidebar form").eq(1).children("p.li_nivel1").html("Serviços Online");}) // ]]> </script>
<Markup id="j_id4" rendered="false" singleton="false" transient="false"/>
</PartialTraversalViewRootImpl>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
prettyContextcom.ocpsoft.pretty.PrettyContext@4b0b0ce5
Session Attributes
NameValue
LoginFacebr.com.escriba.websystems.web.faces.LoginFace@427bb4e0
PublicacaoFacebr.com.escriba.websystems.web.faces.PublicacaoFace@47a00039
SiteFacebr.com.escriba.websystems.web.faces.SiteFace@596ec2eb
cachedSitebr.com.escriba.websystems.entity.Site[stId=90]
conteudoDinamico28
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:36:54 - Generated by Facelets