Hello, I've made an app that works fine with one or two users, but when several users (10++) connect to the app, this send an error to some of the connected users. I hope you can help me, please :D
org.hibernate.SessionException: Session is closed! org.hibernate.SessionException: Session is closed! Faces Servlet javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) javax.faces.component.UICommand.broadcast(UICommand.java:315) javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) javax.faces.webapp.FacesServlet.service(FacesServlet.java:409) org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98) com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:323) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170) com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) com.sun.grizzly.ContextTask.run(ContextTask.java:71) com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) java.lang.Thread.run(Thread.java:662)
|