JBoss Community

Datasource published always in "Republish" state

created by Carlos Prieto in JBoss Tools - View the full discussion

Hello everybody,

 

I'm facing a strange problem when republishing an app in JBoss inside Eclipse. This is my environment:

- Windows 7

- Eclipse Ganymede 3.4.0

- JBoss Tools 3.0.3 (installed from http://download.jboss.org/jbosstools/updates/JBossTools-3.0.3.GA via the "Software Updates..." menu in Eclipse)

- JBoss 4.2.2 Server

 

When I start the server with the app deployed, the state of the EAR within the server reaches the "Synchronized" state when it finishes starting. BUT the XML with the datasource deployed remains in the "Republish" state (see the uploaded image with the JBoss Server view and the uploaded XML with the datasource).

The application works fine but, when I make any minor change to any XHTML of my app and hit the "Publish" of my server (I have the JBoss server configured not to publish changes automatically), the following two lines are thrown to the console output:

 

10:36:35,909 INFO  Datasource published always in "Republish" state Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=oficinaVirtual-REGISTRO-ds' from JNDI name 'java:oficinaVirtual-REGISTRO-ds'

10:36:35,960 INFO  Datasource published always in "Republish" state Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=oficinaVirtual-REGISTRO-ds' to JNDI name 'java:oficinaVirtual-REGISTRO-ds'

 

 

and, after that, my application crashes when I try to access it again. As I haven't made any changes to the XML that contains the datasource, it shouldn't unbound and bound again. How could I avoid this behaviour?

 

This is the error I receive when I access the application after republishing it:

 

10:36:42,241 WARN  Datasource published always in "Republish" state SQL Error: 0, SQLState: null

10:36:42,241 ERROR Datasource published always in "Republish" state You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)

10:36:42,245 ERROR Datasource published always in "Republish" state 11-sep-2012 10:36:42 com.sun.facelets.FaceletViewHandler handleRenderException

GRAVE: Error Rendering View[/home.xhtml]

javax.el.ELException: /home.xhtml: org.hibernate.exception.GenericJDBCException: Cannot open connection

          at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)

          at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)

          at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)

          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(RenderResponsePhase.java:134)

          at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

          at com.corpme.mercantil.utils.FacesServletWrapper.service(FacesServletWrapper.java:40)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.corpme.mercantil.utils.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:71)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)

          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:178)

          at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

          at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

          at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)

          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:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          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:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

          at java.lang.Thread.run(Thread.java:662)

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.criteria.CriteriaLoader.list(CriteriaLoader.java:94)

          at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)

          at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)

          at com.corpme.mercantil.model.registro.dao.ovseccion.OvSeccionSearchDAO.find(OvSeccionSearchDAO.java:46)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)

          at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

          at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)

          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:166)

          at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

          at com.corpme.mercantil.model.registro.dao.ovseccion.OvSeccionSearchDAO_$$_javassist_8.find(OvSeccionSearchDAO_$$_javassist_8.java)

          at com.corpme.mercantil.oficinaVirtual.session.Home.init(Home.java:65)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)

          at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

          at org.jboss.seam.transaction.Ro

10:36:42,245 ERROR Datasource published always in "Republish" state llbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)

          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:166)

          at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

          at com.corpme.mercantil.oficinaVirtual.session.Home_$$_javassist_7.init(Home_$$_javassist_7.java)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)

          at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)

          at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)

          at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)

          at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

          at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)

          at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)

          at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)

          ... 52 more

Caused by: org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)

          at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)

          at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)

          at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)

          ... 111 more

Caused by: javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.

          at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:387)

          at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)

          at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)

          ... 113 more

10:36:42,246 WARN  Datasource published always in "Republish" state executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@3b5487e) threw exception

javax.el.ELException: /home.xhtml: org.hibernate.exception.GenericJDBCException: Cannot open connection

          at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)

          at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)

          at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)

          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(RenderResponsePhase.java:134)

          at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

          at com.corpme.mercantil.utils.FacesServletWrapper.service(FacesServletWrapper.java:40)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at com.corpme.mercantil.utils.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:71)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)

          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:178)

          at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

          at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

          at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)

          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:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          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:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

          at java.lang.Thread.run(Thread.java:662)

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.criteria.CriteriaLoader.list(CriteriaLoader.java:94)

          at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)

          at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)

          at com.corpme.mercantil.model.registro.dao.ovseccion.OvSeccionSearchDAO.find(OvSeccionSearchDAO.java:46)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)

          at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

          at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)

          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:166)

          at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

          at com.corpme.mercantil.model.registro.dao.ovseccion.OvSeccionSearchDAO_$$_javassist_8.find(OvSeccionSearchDAO_$$_javassist_8.java)

          at com.corpme.mercantil.oficinaVirtual.session.Home.init(Home.java:65)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)

          at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

          at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)

          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:166)

          at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

          at com.corpme.mercantil.oficinaVirtual.session.Home_$$_javassist_7.init(Home_$$_javassist_7.java)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)

          at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)

          at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)

          at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)

          at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

          at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)

          at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)

          at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)

          ... 52 more

Caused by: org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)

          at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)

          at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)

          at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)

          ... 111 more

Caused by: javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.

          at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:387)

          at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)

          at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)

          ... 113 more

 

 

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community