[Beginners Corner] - mutilple JBoss servers session expire (loadbalancer) problem
by ddai
Hello JBoss gurus,
Currently I am facing a very painstaking problem. I want to have a 1 web server + 2 app servers configuration for the sake of fault tolerance. So I use loadbalancer in "worker.properties" file. Also in that file, I specify two JBoss app servers' names. And that works well.
However, I found the loadbalancer can make the request go to each app server one after another. But that caused a problem when a user logs in. When we access authenticate.jsp in one app server, it works well. However, when we submit the username, the request are actually transferred to app server 2. And server 1 reports session expire error, with a link for us to go back. When we click that link, the request goes back to server 1 again and seems that the username has been approved. But when we submit anything in there, server 2 takes control again and server 1 reports session expire again. So the "working well" and "session expire" apprear consecutively as the request goes back and forth between those two app servers.
Could anyone tell me if this is a problem in application or in JBoss configuration. If it is due to JBoss, what should I do? Thanks, in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055637#4055637
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055637
18Â years, 10Â months
[JBoss Seam] - javax.el.ELException , unable to localize the error
by dkane
Hello
I would like to know how to deal with such Exception stack trace in Seam application (no information about errorneous line number)
Thank you
| javax.el.ELException: /main.xhtml: Bean: org.javassist.tmp.java.lang.Object_$$_javassist_48, property: find
| at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
| at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:799)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055632#4055632
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055632
18Â years, 10Â months