0 Replies Latest reply on Jan 9, 2013 8:20 AM by chandrasachin16

    JBPM 5 clustering

    chandrasachin16 Newbie

      Hi All ,

       

         I have been trying load balancing with JBoss AS 7 and achieved it using mod_jk using a simple servlet application. I tried to do the same with JBPM 5.2 but unfotunately came up with some error.I was able to launch the jbpm console but after logging in, it showed me a blank screen . The error log in the server is given below-

       

       

      14:57:48,654 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jbpm-console].[ErraiServlet]] (http-localhost-127.0.0.1-8080-12) Servlet.service() for servlet ErraiServlet threw exception: java.lang.IllegalArgumentException: clusteredSession.setAttribute.iae

                at org.jboss.as.web.session.ClusteredSession.setAttribute(ClusteredSession.java:808) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.errai.bus.server.HttpSessionProvider.getSession(HttpSessionProvider.java:46) [errai-bus-1.1-Final.jar:]

                at org.jboss.errai.bus.server.HttpSessionProvider.getSession(HttpSessionProvider.java:33) [errai-bus-1.1-Final.jar:]

                at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:71) [errai-bus-1.1-Final.jar:]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)

                at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)

                at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:123) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:89) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

                at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

       

       

      Can anybody throw some light on this.

       

       

      Regards

      Sachin