An Error Occurred:

javax.el.ELException: /horarios/horarioGrupoJQ.xhtml @15,100 value="Horario de #{beanHorarios.nombreAgrupacion} del #{taluPlaestudiHome.instance.nomid2}": javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement

+ Stack Trace

javax.faces.FacesException: javax.el.ELException: /horarios/horarioGrupoJQ.xhtml @15,100 value="Horario de #{beanHorarios.nombreAgrupacion} del #{taluPlaestudiHome.instance.nomid2}": javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement
	at javax.faces.component.UIOutput.getValue(Unknown Source)
	at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(Unknown Source)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(Unknown Source)
	at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(Unknown Source)
	at javax.faces.component.UIComponentBase.encodeEnd(Unknown Source)
	at javax.faces.component.UIComponent.encodeAll(Unknown Source)
	at javax.faces.component.UIComponent.encodeAll(Unknown Source)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(Unknown Source)
	at com.sun.faces.lifecycle.Phase.doPhase(Unknown Source)
	at com.sun.faces.lifecycle.LifecycleImpl.render(Unknown Source)
	at javax.faces.webapp.FacesServlet.service(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	at es.ual.webacademica.web.filter.IE9CompatablityFixServlet.doFilter(IE9CompatablityFixServlet.java:29)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at es.ual.webacademica.web.filter.RendererFilter.doFilter(RendererFilter.java:189)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
	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.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
	at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:91)
	at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:72)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:420)
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:490)
	at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:420)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.el.ELException: /horarios/horarioGrupoJQ.xhtml @15,100 value="Horario de #{beanHorarios.nombreAgrupacion} del #{taluPlaestudiHome.instance.nomid2}": javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
	... 58 more
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1387)
	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:277)
	at es.ual.webacademica.session.BeanHorario.getNombreAgrupacion(BeanHorario.java:376)
	at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
	at es.ual.webacademica.session.BeanHorario_$$_javassist_seam_4.getNombreAgrupacion(BeanHorario_$$_javassist_seam_4.java)
	at sun.reflect.GeneratedMethodAccessor449.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:304)
	at com.sun.faces.el.DemuxCompositeELResolver._getValue(Unknown Source)
	at com.sun.faces.el.DemuxCompositeELResolver.getValue(Unknown Source)
	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
	at org.jboss.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:26)
	at org.jboss.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:31)
	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
	... 58 more
Caused by: org.hibernate.exception.JDBCConnectionException: could not prepare statement
	at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:132)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:124)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:193)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:157)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1881)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1858)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)
	at org.hibernate.loader.Loader.doQuery(Loader.java:906)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348)
	at org.hibernate.loader.Loader.doList(Loader.java:2550)
	at org.hibernate.loader.Loader.doList(Loader.java:2536)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2366)
	at org.hibernate.loader.Loader.list(Loader.java:2361)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:340)
	at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1788)
	at org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:232)
	at org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:157)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:268)
	... 87 more
Caused by: java.sql.SQLRecoverableException: Conexión cerrada
	at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:3560)
	at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:748)
	at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:734)
	at org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:405)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:159)
	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:183)
	... 102 more

+ Component Tree

<AjaxViewRoot id="_viewRoot" immediate="false" locale="en" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/horarios/horarioGrupoJQ.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> <head>
<title>
<HtmlOutputText escape="true" id="j_id3" rendered="true" transient="false"/>
</title>
<HtmlLoadStyle id="j_id5" rendered="true" src="/css/fullcalendar.css" transient="false"/>
<HtmlLoadStyle id="j_id6" media="print" rendered="true" src="/css/fullcalendar.print.css" transient="false"/>
<HtmlLoadScript id="j_id7" rendered="true" src="/js/jquery-1.7.1.min.js" transient="false"/>
<HtmlLoadScript id="j_id8" rendered="true" src="/js/jquery-ui-1.8.17.custom.min.js" transient="false"/>
<HtmlLoadScript id="j_id9" rendered="true" src="/js/fullcalendar.js" transient="false"/>
<HtmlLoadScript id="j_id10" rendered="true" src="/js/jquery.tools.min.js" transient="false"/>
<HtmlLoadScript id="j_id11" rendered="true" src="/js/bootstrap-app.js" transient="false"/>
<link rel="stylesheet" href="#{request.contextPath}/css/bootstrap-responsive.css"/> <link rel="stylesheet" href="#{request.contextPath}/css/bootstrap-ual.css"/> <link rel="stylesheet" href="#{request.contextPath}/css/bootstrap.css"/> <script src="#{request.contextPath}/js/bootstrap-transition.js"/> <script src="#{request.contextPath}/js/bootstrap-alert.js"/> <script src="#{request.contextPath}/js/bootstrap-modal.js"/> <script src="#{request.contextPath}/js/bootstrap-dropdown.js"/> <script src="#{request.contextPath}/js/bootstrap-scrollspy.js"/> <script src="#{request.contextPath}/js/bootstrap-tab.js"/> <script src="#{request.contextPath}/js/bootstrap-tooltip.js"/> <script src="#{request.contextPath}/js/bootstrap-popover.js"/> <script src="#{request.contextPath}/js/bootstrap-button.js"/> <script src="#{request.contextPath}/js/bootstrap-collapse.js"/> <script src="#{request.contextPath}/js/bootstrap-carousel.js"/> <script src="#{request.contextPath}/js/bootstrap-typeahead.js"/> <script src="#{request.contextPath}/js/bootstrap-app.js"/> <script type="text/javascript" src="../seam/resource/remoting/resource/remote.js"/> <script type="text/javascript" src="../seam/resource/remoting/interface.js?beanHorarios"/> <script type="text/javascript"> jQuery.noConflict(); jQuery(document).ready( function() { jQuery('#calendario').fullCalendar({ header: { left: 'prev,next today',/*Esto quitalorrr*/ center: 'title', right: 'month,agendaWeek,agendaDay' }, //Modificado para adaptarlo e nuestras necesidades: columnFormat: { month: 'ddd', week: 'ddd d', day: 'dddd d' }, timeFormat: { // for event elements '': 'H:mm' // default }, defaultView: '#{beanHorarios.modo}', aspectRatio:0.5, //height: 1500, //contentHeight: 1000, firstDay: 1, weekends: #{beanHorarios.esMaster()}, editable: false, allDaySlot: false, monthNames: ['enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre'], monthNamesShort: ['ene','feb','mar','abr','may','jun','jul','ago','sep','oct','nov','dic'], dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], dayNamesShort: ['Dom','Lun','Mar','Mie','Jue','Vie','Sab'], buttonText: { today: 'hoy', month: 'mes', week: 'semana', day: 'd\u00EDa' }, axisFormat: 'HH:mm', firstHour: 8, minTime: 8, maxTime: 22, eventTextColor: '#333', selectable: true, selectHelper: true, events:
<HtmlOutputText escape="false" id="j_id13" rendered="true" transient="false"/>
}); jQuery('.fc-button').click(function(){ jQuery('.fc-event-bg').popover(); jQuery('.fc-event-skin').popover(); setFechaSeleccionada(); setModo(); //Desde aquí quiero llamar al serFechaSeleccionada }); jQuery('.fc-event-bg').popover(); jQuery('.fc-event-skin').popover(); }); </script> <script type="text/javascript"> //<![CDATA[ // Set the conversation id into Seam Remoting. Seam.Remoting.getContext().setConversationId( #{conversation.id} ); // Get the Remoting interface to our EJB3 var beanHorarios = Seam.Component.getInstance("beanHorarios"); function getFechaSeleccionada(){ beanHorarios.getFechaSeleccionada( function (result) { }); } function setFechaSeleccionada(){ beanHorarios.setFechaSeleccionada( jQuery('#calendario').fullCalendar('getDate')); } function getModo(){ beanHorarios.getModo( function (result) { }); } function setModo(){ beanHorarios.setModo( jQuery('#calendario').fullCalendar('getView').name); } // ]]> </script>
<link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/ua_general_horarios2.css"/> <!--[if lte IE 8]> <link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/ua_ie.css" media="screen" /> <![endif]--> <!-- a:loadStyle src="resource:///stylesheet/theme.xcss" /--> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <meta name="Description" content="detalle de los horarios"/> <meta name="keywords" content="Horarios,estudios,semanal,mensual,grupos de pr�cticas"/> <meta http-equiv="content-language" content="es"/> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-25866742-2']); _gaq.push(['_setDomainName', '.ual.es']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body class="soloCuerpo">
<HtmlDiv id="contenedor" rendered="true" transient="false">
<HtmlDiv id="pliegue" rendered="true" transient="false"/>
<HtmlDiv id="contenido" rendered="true" transient="false">
<HtmlDiv id="cabecera" rendered="true" transient="false">
<a href="http://www.ual.es">
<HtmlGraphicImage alt="Universidad de Almer�a; ir a p�gina de inicio" id="j_id17" ismap="false" rendered="true" styleClass="logo" transient="false" url="/img/logotipo2.png" value="/img/logotipo2.png"/>
</a>
</HtmlDiv>
<h1 class="educa" id="comunidad">
#{taluPlaestudiHome.instance.nolid2}>>
</h1> <div id="cuerpo" class="educa"> <div id="contenidoSeccion"> <div id="articulo"> <h2>
<HtmlOutputText escape="true" id="j_id22" rendered="true" transient="false"/>
</h2>
<HtmlMessages errorClass="errormsg" globalOnly="true" id="messages" infoClass="infomsg" layout="list" rendered="true" showDetail="false" showSummary="true" styleClass="message" tooltip="false" transient="false" warnClass="warnmsg"/>
<HtmlForm enctype="application/x-www-form-urlencoded" id="j_id24" prependId="true" rendered="true" submitted="false" transient="false">
<HtmlAjaxStatus forceId="false" id="commonstatus" rendered="true" transient="false">
start
<div class="loading">Cargando...</div>
</HtmlAjaxStatus>
<HtmlAjaxOutputPanel ajaxRendered="false" id="linkImprimir" keepTransient="true" layout="inline" rendered="true" transient="false">
<span class="panelImprimir">
<HtmlLink action=" disabled="false" id="impresionDia" immediate="false" includePageParams="true" propagation="default" rendered="true" styleClass="pdf" target="_blank" transient="false" value="Version imprimible" view="/horarios/horarioGrupoJQI.seam">
<UIParameter id="j_id27" name="grupo" rendered="true" transient="false" value="1219294"/>
<UIParameter id="j_id28" name="tipoTitulacion" rendered="true" transient="false" value="GRA"/>
<UIParameter id="j_id29" name="fecha" rendered="true" transient="false" value="1582634609911"/>
</HtmlLink>
</span>
</HtmlAjaxOutputPanel>
<div id="calendario"/>
</HtmlForm>
</div> </div> </div>
</HtmlDiv>
</HtmlDiv>
<HtmlDiv id="pie" rendered="true" transient="false">
<ul> <li><a href="#">Aviso legal</a></li> <li><a href="#">Poltica de privacidad</a></li> <li id="ultimo"><a href="#">Accesibilidad</a></li> </ul>
<HtmlGraphicImage alt="Logotipo de la Universidad de Almera" id="j_id34" ismap="false" rendered="true" transient="false" url="/img/logoUAL.png" value="/img/logoUAL.png"/>
<p> Copyright UAL 2012</p>
</HtmlDiv>
</body> </html>
</AjaxViewRoot>

+ Scoped Variables

Request Parameters
NameValue
anyo_actual2019-20
grupo1219294
plan6010
tipoTitulacionGRA
Request Attributes
NameValue
ajaxContextorg.ajax4jsf.context.AjaxContextImpl@719aca97
anyo_actual2019-20
grupo1219294
plan6010
tipoTitulacionGRA
Session Attributes
NameValue
None
Application Attributes
NameValue
PDFRendererFilteres.ual.webacademica.web.filter.RendererFilter@35ba80eb
25-feb-2020 13:43:29 - Generated by Facelets