An Error Occurred:

//websystems-theme/2portoalegre/home.xhtml @126,113 test="${WRConsultaProtocoloExame.cfgComDigitoVerificador.gxfBoolean eq 'false' }" //websystems-theme/2portoalegre/home.xhtml @126,113 test="${WRConsultaProtocoloExame.cfgComDigitoVerificador.gxfBoolean eq 'false' }": javax.ejb.EJBException

+ Stack Trace

com.sun.facelets.tag.TagAttributeException: //websystems-theme/2portoalegre/home.xhtml @126,113 test="${WRConsultaProtocoloExame.cfgComDigitoVerificador.gxfBoolean eq 'false' }" //websystems-theme/2portoalegre/home.xhtml @126,113 test="${WRConsultaProtocoloExame.cfgComDigitoVerificador.gxfBoolean eq 'false' }": javax.ejb.EJBException
	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.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	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 br.com.escriba.webcomponents.fileupload.UploadFilter.doFilter(UploadFilter.java:65)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at br.com.escriba.websystems.web.servlet.filter.ProcessaManutencaoFilter.run(ProcessaManutencaoFilter.java:63)
	at java.lang.Thread.run(Thread.java:619)
Caused by: javax.el.ELException: //websystems-theme/2portoalegre/home.xhtml @126,113 test="${WRConsultaProtocoloExame.cfgComDigitoVerificador.gxfBoolean eq 'false' }": javax.ejb.EJBException
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
	... 54 more
Caused by: javax.ejb.EJBException
	at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3903)
	at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3803)
	at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3605)
	at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1388)
	at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1325)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
	at $Proxy318.getModuloByNome(Unknown Source)
	at br.com.escriba.websystems.web.modulos.webregister.ConsultaProtocoloExameFace.getCfgComDigitoVerificador(ConsultaProtocoloExameFace.java:324)
	at sun.reflect.GeneratedMethodAccessor972.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.AstEqual.getValue(AstEqual.java:54)
	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	... 55 more
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:630)
	at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:108)
	at br.com.escriba.servercomponents.ejb.EscribaAbstractSessionBean.getPurePojo(EscribaAbstractSessionBean.java:155)
	at br.com.escriba.servercomponents.ejb.EscribaAbstractSessionBean.getPurePojo(EscribaAbstractSessionBean.java:183)
	at br.com.escriba.websystems.session.ModuloSessionBean.getModuloByNome(ModuloSessionBean.java:164)
	at sun.reflect.GeneratedMethodAccessor919.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
	at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
	at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2929)
	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4020)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
	... 68 more
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
	at org.hibernate.loader.Loader.doQuery(Loader.java:673)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
	at org.hibernate.loader.Loader.doList(Loader.java:2220)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
	at org.hibernate.loader.Loader.list(Loader.java:2099)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
	at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:82)
	... 79 more
Caused by: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Communications link failure due to underlying exception: 

** BEGIN NESTED EXCEPTION ** 

java.net.ConnectException
MESSAGE: Connection refused

STACKTRACE:

java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.<init>(Socket.java:375)
	at java.net.Socket.<init>(Socket.java:218)
	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
	at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
	at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:425)
	at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:140)
	at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:110)
	at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:105)
	at com.sun.enterprise.resource.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:68)
	at com.sun.enterprise.resource.AbstractResourcePool.createResource(AbstractResourcePool.java:937)
	at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:913)
	at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1883)
	at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:979)
	at com.sun.enterprise.resource.AbstractResourcePool.resizePoolAndGetNewResource(AbstractResourcePool.java:834)
	at com.sun.enterprise.resource.AbstractResourcePool.getResourceFromPool(AbstractResourcePool.java:802)
	at com.sun.enterprise.resource.AbstractResourcePool.getUnenlistedResource(AbstractResourcePool.java:667)
	at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:609)
	at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:458)
	at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
	at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
	at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189)
	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
	at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
	at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
	at org.hibernate.loader.Loader.doQuery(Loader.java:673)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
	at org.hibernate.loader.Loader.doList(Loader.java:2220)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
	at org.hibernate.loader.Loader.list(Loader.java:2099)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
	at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:82)
	at br.com.escriba.servercomponents.ejb.EscribaAbstractSessionBean.getPurePojo(EscribaAbstractSessionBean.java:155)
	at br.com.escriba.servercomponents.ejb.EscribaAbstractSessionBean.getPurePojo(EscribaAbstractSessionBean.java:183)
	at br.com.escriba.websystems.session.ModuloSessionBean.getModuloByNome(ModuloSessionBean.java:164)
	at sun.reflect.GeneratedMethodAccessor919.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
	at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
	at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2929)
	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4020)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
	at $Proxy318.getModuloByNome(Unknown Source)
	at br.com.escriba.websystems.web.modulos.webregister.ConsultaProtocoloExameFace.getCfgComDigitoVerificador(ConsultaProtocoloExameFace.java:324)
	at sun.reflect.GeneratedMethodAccessor972.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.AstEqual.getValue(AstEqual.java:54)
	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233)
	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.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
	at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
	at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
	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 br.com.escriba.webcomponents.fileupload.UploadFilter.doFilter(UploadFilter.java:65)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at br.com.escriba.websystems.web.servlet.filter.ProcessaManutencaoFilter.run(ProcessaManutencaoFilter.java:63)
	at java.lang.Thread.run(Thread.java:619)


** END NESTED EXCEPTION **



Last packet sent to the server was 1 ms ago.
	at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
	at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
	... 93 more

+ Component Tree

<PartialTraversalViewRootImpl locale="pt_BR" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/home.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" xmlns:c="http://java.sun.com/jsp/jstl/core"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>#{SiteFace.currentSite.stCliDenominacao}</title>
<link rel="stylesheet" type="text/css" href="/css/geral.css"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/2portoalegre/css/basic.css"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/2portoalegre/css/formularios.css"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/2portoalegre/css/menus.css"/> <script src="/2portoalegre/js/mensagens.js" type="text/javascript"/> <script type="text/javascript" src="/js/jquery.js"/> <script type="text/javascript" src="/js/ddaccordion.js"/> <link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/2portoalegre/css/droppy.css"/> <script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/themes/2portoalegre/js/jquery.droppy.js"/> <script type="text/javascript"> ddaccordion.init( { headerclass: "expandable", contentclass: "categoryitems", revealtype: "click", collapseprev: true, defaultexpanded: [0], onemustopen: false, animatedefault: false, persiststate: true, toggleclass: ["", "openheader"], togglehtml: ["prefix", "", ""], animatespeed: "normal", oninit:function(headers, expandedindices){ }, onopenclose:function(header, index, state, isuseractivated){ } } ) </script>
</head> <body> <div id="container"> <div id="content"> <div id="top">
<div style="clear:both;display::inline;height:262px"> <object type="application/x-shockwave-flash" data="/themes/#{SiteFace.selectedTheme}/flash/topo.swf" width="770" height="262"> <param name="movie" value="/themes/#{SiteFace.selectedTheme}/flash/topo.swf"/> </object> </div> <ul id="nav"> <li><a href="/home.faces">Home</a></li> <li><a href="#">Institucional</a> <ul> <li><a href="/conteudo/76">Registradora Titular</a></li> <li><a href="/conteudo/77">Equipe</a></li> <li><a href="/conteudo/75">Função Registral Imobiliária</a></li> <li><a href="/conteudo/74">Princípios</a></li> </ul> </li> <li><a href="/contato.faces">Fale Conosco</a></li> <li><a href="#">Orientações</a> <ul> <li><a href="/conteudo/95">Matrícula</a></li> <li><a href="/conteudo/98">Registro</a></li> <li><a href="/conteudo/99">Averbação</a></li> <li><a href="/conteudo/101">Títulos</a></li> <li><a href="/conteudo/102">Certidões</a></li> <li><a href="/conteudo/208">Documentos Necessários</a></li> <li><a href="/conteudo/100">Requerimentos</a></li> <li><a href="/conteudo/96">Dúvidas Frequentes</a></li> <li><a href="/conteudo/97">Glossário</a></li> </ul> </li> <li><a href="#">2º Registro</a> <ul> <li><a href="/conteudo/105">Ruas Limites da Região de Competência</a></li> <li><a href="/conteudo/106">Bairros Abrangidos</a></li> <li><a href="/conteudo/104">Mapas</a></li> <li><a href="/conteudo/103">Localização</a></li> </ul> </li> <li><a href="/conteudo/80">Outras Serventias</a> <ul> <li><a href="/conteudo/79">Registro de Imóveis</a></li> <li><a href="/conteudo/81">Registro Civil</a></li> <li><a href="/conteudo/82">Tabelionato de Notas</a></li> <li><a href="/conteudo/83">Tabelionato de Protestos</a></li> <li><a href="/conteudo/80">Registro de Títulos e Documentos e de Pessoas Jurídica</a></li> <li><a href="/conteudo/84">Centro de Registro de Veículos Automotores</a></li> </ul> </li> <li><a href="/conteudo/85">Emolumentos</a> <ul> <li><a href="/conteudo/85">Imóveis</a></li> <li><a href="/conteudo/86">Certidões e Selos</a></li> </ul> </li> <li><a href="#">Utilitários</a> <ul> <li><a href="/conteudo/93">Legislação</a></li> <li><a href="/conteudo/94">Links Úteis</a></li> </ul> </li>
<Markup id="j_id5" rendered="true" singleton="false" transient="false">
<li><a href="/login.faces">Efetuar login</a></li>
</Markup>
<Markup id="j_id7" rendered="false" singleton="false" transient="false">
<li>
<HtmlOutputLink disabled="false" id="j_id9" rendered="true" transient="false" value="/CheckOutServlet">
<HtmlOutputText escape="true" id="j_id10" rendered="true" transient="false" value="Sair do Site"/>
</HtmlOutputLink>
</li>
</Markup>
</ul> <script type="text/javascript"> $(function() { $('#nav').droppy(); }); </script>
</div> <div id="centro">
<div id="menu">
<Markup id="sidebaarconf" rendered="false" singleton="false" tag="div" transient="false">
<HtmlForm enctype="application/x-www-form-urlencoded" id="frSeguranca" prependId="true" rendered="true" submitted="false" transient="false">
<h3 class="titulo expandable">Minhas Configurações </h3> <ul class="categoryitems"> <li class="subtitulo">Nome: 
<HtmlOutputText escape="true" id="j_id16" rendered="true" transient="false"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{InstituicaoUsuarioFace.gotouserHome}" actionExpression="#{InstituicaoUsuarioFace.gotouserHome}" disabled="false" id="j_id18" immediate="false" rendered="false" transient="false" value="Minha Página Inicial"/>
<HtmlCommandLink action="#{InstituicaoUsuarioFace.gotoSupervisorHome}" actionExpression="#{InstituicaoUsuarioFace.gotoSupervisorHome}" disabled="false" id="j_id19" immediate="false" rendered="false" transient="false" value="Minha Página Inicial"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{MeusPedidosFace.doMeusPedidos}" actionExpression="#{MeusPedidosFace.doMeusPedidos}" disabled="false" id="j_id22" immediate="false" rendered="true" transient="false" value="Meus Pedidos"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{MeusBoletosFace.doMeusBoletos}" actionExpression="#{MeusBoletosFace.doMeusBoletos}" disabled="false" id="j_id24" immediate="false" rendered="true" transient="false" value="Meus Boletos"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{CreditoAvulsoFace.doComprarCredito}" actionExpression="#{CreditoAvulsoFace.doComprarCredito}" disabled="false" id="j_id26" immediate="false" rendered="true" transient="false" value="Comprar Créditos"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{ExtratoContaCorrenteFace.doStartConsultaExtrato}" actionExpression="#{ExtratoContaCorrenteFace.doStartConsultaExtrato}" disabled="false" id="j_id28" immediate="false" rendered="true" transient="false" value="Extrato"/>
</li>
<HtmlPanelGroup id="j_id30" rendered="false" transient="false">
<li class="submenu">
<HtmlCommandLink action="#{ExtratoContaCorrenteFace.doStartConsultaExtratoSite}" actionExpression="#{ExtratoContaCorrenteFace.doStartConsultaExtratoSite}" disabled="false" id="j_id32" immediate="false" rendered="true" transient="false" value="Extrato Consolidado"/>
</li>
</HtmlPanelGroup>
<li class="submenu">
<HtmlCommandLink action="#{LoginFace.doChangePassword}" actionExpression="#{LoginFace.doChangePassword}" disabled="false" id="j_id35" immediate="false" rendered="true" transient="false" value="Trocar Senha"/>
</li>
<li class="submenu">
<HtmlOutputLink disabled="false" id="j_id38" rendered="true" transient="false" value="/CheckOutServlet">
<HtmlOutputText escape="true" id="j_id39" rendered="true" transient="false" value="Sair do Site"/>
</HtmlOutputLink>
</li>
<p id="saldo" style="padding:5px;">Saldo Atual: <strong>
<HtmlOutputText converter="javax.faces.convert.NumberConverter@7c6d8587" escape="true" id="j_id42" rendered="true" transient="false" value="0.0"/>
</strong></p>
</ul>
</HtmlForm>
</Markup>
<Markup id="sidebaraadmin" rendered="false" singleton="false" tag="div" transient="false">
<h3 class="titulo expandable">Configurações do Sistema</h3> <ul class="categoryitems">
<HtmlForm enctype="application/x-www-form-urlencoded" id="sidebaradminmenu" prependId="true" rendered="true" submitted="false" transient="false">
<li class="submenu">
<HtmlCommandLink action="#{AnalyticsFace.doListarRelatorios}" actionExpression="#{AnalyticsFace.doListarRelatorios}" disabled="false" id="j_id47" immediate="false" rendered="true" transient="false" value="Acompanhar Relatórios"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{ModuloFace.doListarModulos}" actionExpression="#{ModuloFace.doListarModulos}" disabled="false" id="j_id49" immediate="false" rendered="true" transient="false" value="Habilitar Serviços do site"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{SiteFace.doSiteEmManutencao}" actionExpression="#{SiteFace.doSiteEmManutencao}" disabled="false" id="j_id51" immediate="false" rendered="true" transient="false" value="Colocar Site em manutenção"/>
</li> <li class="subtitulo">Relatórios</li> <li class="submenu">
<HtmlCommandLink action="#{RelatorioPedidoCertidaoFace.doExibirConsultaPedidosByPeriodo}" actionExpression="#{RelatorioPedidoCertidaoFace.doExibirConsultaPedidosByPeriodo}" disabled="false" id="j_id53" immediate="false" rendered="true" transient="false" value="Gerar Relatório de Pedidos"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{RelatorioContaCorrenteFace.doExibirConsultaCreditosDebitosManuais}" actionExpression="#{RelatorioContaCorrenteFace.doExibirConsultaCreditosDebitosManuais}" disabled="false" id="j_id55" immediate="false" rendered="true" transient="false" value="Gerar Relatório de Créditos"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{RelatorioDiferencasCreditadasFace.doExibirConsultaDiferencasCreditadas}" actionExpression="#{RelatorioDiferencasCreditadasFace.doExibirConsultaDiferencasCreditadas}" disabled="false" id="j_id57" immediate="false" rendered="true" transient="false" value="Gerar Relatório de Diferenças"/>
</li> <li class="subtitulo">Grupos, Instituições e Pessoas</li> <li class="submenu">
<HtmlCommandLink action="#{GrupoFace.doListarGrupos}" actionExpression="#{GrupoFace.doListarGrupos}" disabled="false" id="j_id59" immediate="false" rendered="true" transient="false" value="Gerenciar Grupos"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{InstituicaoFace.doListarInstituicoes}" actionExpression="#{InstituicaoFace.doListarInstituicoes}" disabled="false" id="j_id61" immediate="false" rendered="true" transient="false" value="Gerenciar Instituições"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{InstituicaoUsuarioFace.doListUsuariosSemInstituicao}" actionExpression="#{InstituicaoUsuarioFace.doListUsuariosSemInstituicao}" disabled="false" id="j_id63" immediate="false" rendered="true" transient="false" value="Gerenciar Usuários da Internet"/>
</li>
</HtmlForm>
</ul>
</Markup>
<Markup id="sidebarcconteudo" rendered="false" singleton="false" tag="div" transient="false">
<HtmlForm enctype="application/x-www-form-urlencoded" id="sidebarconteudomenu" prependId="true" rendered="true" submitted="false" transient="false">
<h3 class="titulo expandable">Configurações de conteúdo</h3> <ul class="categoryitems"> <li class="submenu">
<HtmlCommandLink action="#{SiteFace.doEditarDadosCadastrais}" actionExpression="#{SiteFace.doEditarDadosCadastrais}" disabled="false" id="j_id67" immediate="false" rendered="true" transient="false" value="Alterar Dados do cartório"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{SiteFace.doEditarPaginaPrincipal}" actionExpression="#{SiteFace.doEditarPaginaPrincipal}" disabled="false" id="j_id69" immediate="false" rendered="true" transient="false" value="Alterar Página Inicial"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{TipoConteudoFace.doListarTipoConteudo}" actionExpression="#{TipoConteudoFace.doListarTipoConteudo}" disabled="false" id="j_id71" immediate="false" rendered="true" transient="false" value="Cadastrar Categoria de Menu"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{ConteudoFace.doListarConteudo}" actionExpression="#{ConteudoFace.doListarConteudo}" disabled="false" id="j_id73" immediate="false" rendered="true" transient="false" value="Cadastrar Conteúdo do Menu"/>
</li> <li class="submenu">
<HtmlCommandLink action="#{SiteFace.doEditarRss}" actionExpression="#{SiteFace.doEditarRss}" disabled="false" id="j_id75" immediate="false" rendered="true" transient="false" value="Leitor de notícias RSS"/>
</li> </ul>
</HtmlForm>
</Markup>
<Markup id="j_id77" rendered="true" singleton="false" transient="false">
<HtmlForm enctype="application/x-www-form-urlencoded" id="j_id78" prependId="true" rendered="true" submitted="false" transient="false">
<h3 class="titulo expandable">#{menuServicos.nomeRegionalizado}</h3> <ul class="categoryitems">
<li class="subtitulo">
<HtmlOutputText escape="true" id="j_id81" rendered="true" transient="false" value="Consulte Notas de Entrega"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{ModuloFace.executeModuloAction}" actionExpression="#{ModuloFace.executeModuloAction}" disabled="false" id="j_id84" immediate="false" rendered="true" transient="false" value="Nota de Exame e Cálculo"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{ModuloFace.executeModuloAction}" actionExpression="#{ModuloFace.executeModuloAction}" disabled="false" id="j_id87" immediate="false" rendered="true" transient="false" value="Nota de Certidão"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{ModuloFace.executeModuloAction}" actionExpression="#{ModuloFace.executeModuloAction}" disabled="false" id="j_id90" immediate="false" rendered="true" transient="false" value="Nota de Registro"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{ModuloFace.executeModuloAction}" actionExpression="#{ModuloFace.executeModuloAction}" disabled="false" id="j_id93" immediate="false" rendered="true" transient="false" value="Autenticidade de Certidão"/>
</li>
<li class="subtitulo">
<HtmlOutputText escape="true" id="j_id96" rendered="true" transient="false" value="Pedido de Certidão ON-LINE"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{ModuloFace.executeModuloAction}" actionExpression="#{ModuloFace.executeModuloAction}" disabled="false" id="j_id99" immediate="false" rendered="true" transient="false" value="Solicitação de Certidão"/>
</li>
<li class="submenu">
<HtmlCommandLink action="#{ModuloFace.executeModuloAction}" actionExpression="#{ModuloFace.executeModuloAction}" disabled="false" id="j_id102" immediate="false" rendered="true" transient="false" value="Andamento do Pedido"/>
</li>
</ul>
</HtmlForm>
</Markup>
<br/> <div align="center"> <a href="http://www.anoreg.org.br/cartoriossaibamais" target="_blank"><img src="/themes/2portoalegre/imagens/bannerx.jpg" width="130" height="53" vspace="10" border="0"/></a><br/><br/> <a href="http://www.escriba.com.br" target="_blank"><img src="/themes/2portoalegre/imagens/escriba.gif" width="130" height="53" vspace="10" border="0"/></a> </div> </div>
<div id="main">
<link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/themes/2portoalegre/css/tooltip.css"/> <script type="text/javascript" src="/js/websystems/processadorEventos.js"/> <script type="text/javascript" src="/js/websystems/recuperador.js"/> <script type="text/javascript" src="/js/websystems/formatador.js"/> <script type="text/javascript" src="/js/websystems/leitor.js"/> <script type="text/javascript" src="/js/websystems/verificador.js"/> <script type="text/javascript" src="/js/jquery.blockUI.js"/> <script type="text/javascript" src="/js/websystems/exibidor.js"/> <div id="content"/> <h4>
<HtmlOutputText escape="false" id="j_id108" rendered="true" transient="false"/>
</h4>
<Markup id="saudacaoDiv" rendered="false" singleton="false" tag="div" transient="false">
<p>
<HtmlOutputText escape="true" id="j_id111" rendered="true" transient="false" value="Olá, "/>
<strong>
<HtmlOutputText escape="true" id="j_id113" rendered="true" transient="false"/>
!</strong></p>
</Markup>
<HtmlOutputText escape="false" id="j_id115" rendered="true" transient="false"/>
<img src="/themes/2portoalegre/imagens/consultaprotocolo.gif" width="325" height="25" style="margin-bottom:5px;"/> <p>#{WSMessagesFace.messages.WEBREGISTER_MSG_CONS_PROT_BY_HOME}</p> <table border="0" cellpadding="3" cellspacing="2"> <tr> <td bgcolor="#FFFFFF" class="colunas"><strong style="display:block;float:left;width:auto; line-height: 15px; height: 15px;">Nota de Registro</strong></td> <td bgcolor="#FFFFFF" class="colunas"><strong style="display:block;float:left;width:auto; line-height: 15px; height: 15px;">Nota de Exame e Cálculo</strong></td> <td bgcolor="#FFFFFF" class="colunas"><strong style="display:block;float:left;width:auto; line-height: 15px; height: 15px;">Nota de Certidão</strong></td> </tr> <tr> <td width="33%">
<HtmlForm enctype="application/x-www-form-urlencoded" id="frConsultaRecibo" prependId="true" rendered="true" submitted="false" transient="false">
<fieldset>
<HtmlMessage for="recibo" id="j_id118" rendered="true" showDetail="true" showSummary="false" styleClass="msg_inline" tooltip="false" transient="false"/>
<HtmlMessage for="dv" id="j_id119" rendered="true" showDetail="true" showSummary="false" styleClass="msg_inline" tooltip="false" transient="false"/>
<label for="recibo"><strong>D </strong>
<HtmlInputText disabled="false" id="recibo" immediate="false" localValueSet="false" maxlength="9" onkeypress="setCurrentBotaoToClick('frConsultaRecibo:acaoConsultarRecibo'); return processarCampoNumerico(event);" readonly="false" rendered="true" required="false" size="11" style="width: 85px;" transient="false" valid="true" binding="#{WRConsultaProtocoloRecibo.formBean.inputProtocolo}"/>
-
<HtmlInputText converterMessage="O Dígito verificador informado é inválido" disabled="false" id="dv" immediate="false" localValueSet="false" maxlength="4" onkeypress="setCurrentBotaoToClick('frConsultaRecibo:acaoConsultarRecibo'); return processarCampoNumerico(event);" readonly="false" rendered="true" required="false" size="4" style="width: 25px;" transient="false" valid="true" binding="#{WRConsultaProtocoloRecibo.formBean.inputDigitoVerificador}"/>
</label>
<HtmlCommandButton action="#{WRConsultaProtocoloRecibo.doPesquisaProtocoloRecibo}" actionExpression="#{WRConsultaProtocoloRecibo.doPesquisaProtocoloRecibo}" disabled="false" id="acaoConsultarRecibo" immediate="false" onclick="blockCentro();" readonly="false" rendered="true" styleClass="button" transient="false" type="submit" value="Consultar"/>
</fieldset>
</HtmlForm>
</td> <td width="34%">
</PartialTraversalViewRootImpl>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
prettyContextcom.ocpsoft.pretty.PrettyContext@410486f6
Session Attributes
NameValue
LoginFacebr.com.escriba.websystems.web.faces.LoginFace@e1c7104
ModuloFacebr.com.escriba.websystems.web.faces.ModuloFace@5b56e22b
SiteFacebr.com.escriba.websystems.web.faces.SiteFace@18b2815b
WRConsultaProtocoloExamebr.com.escriba.websystems.web.modulos.webregister.ConsultaProtocoloExameFace@5142c1df
WRConsultaProtocoloRecibobr.com.escriba.websystems.web.modulos.webregister.ConsultaProtocoloReciboFace@ebbf008
WRConsultaProtocoloRegistrobr.com.escriba.websystems.web.modulos.webregister.ConsultaProtocoloRegistroFace@1038a1d3
WSMessagesFacebr.com.escriba.websystems.web.faces.WSMessages@7ca320f9
cachedPublicGroupbr.com.escriba.websystems.entity.Grupo[grpId=110nome=Público].
cachedSitebr.com.escriba.websystems.entity.Site[stId=4]
currentBaseSitewww.risegundazonapoa.com
Application Attributes
NameValue
ADAPTER_LIST[com.sun.xml.ws.transport.http.servlet.ServletAdapter@2df8cc12[name=], com.sun.xml.ws.transport.http.servlet.ServletAdapter@407c745a[name=]]
25/05/2018 03:59:42 - Generated by Facelets