Hello. I am trying to deploy this app that is composed of servlet+jsp+ejb in a MVC framework. This is working in "standart" (not clustered) jboss. I changed the web descriptor to include httpsession clustering. (no ejb clustering, to try to isolate the problems)
I end up with a "internal server error" when trying to access the app homepage. There are some strange lines in the log file that I think may give a clue. Here goes the log: 01:41:08,647 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@d66426 01:41:08,657 INFO [JBossWebApplicationContext] setDistributableSessionManager org.mortbay.j2ee.session.Manage r@f6e005 01:41:08,868 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=3,context=/webmail 01:41:09,018 INFO [jbossweb] Extract jar:file:/E:/cvs/jboss-3.0/build/output/jboss-3.0.5RC2/server/all/tmp/de ploy/server/all/deploy/webmail_anfetamina_httpCluster.ear/30.webmail_anfetamina_httpCluster.ear-contents/webma il.war!/ to c:\temp\Jetty_0_0_0_0_8080__webmail\webapp 01:41:09,829 INFO [JBossWebApplicationContext] setDistributable true 01:41:10,570 INFO [JBossWebApplicationContext#/webmail] using Distributable HttpSession Manager: org.mortbay. j2ee.session.Manager@f6e005 01:41:10,610 WARN [Manager] No Store. Falling back to a local session implementation - NO HTTPSESSION DISTRIB UTION 01:41:10,670 INFO [jbossweb] Started WebApplicationContext[/webmail,jwma Webmail] 01:41:10,830 INFO [STDOUT] TRACE: JwmaController init(config) begin 01:41:10,981 INFO [STDOUT] TRACE: JwmaController init(config) end 01:41:10,981 INFO [jbossweb] successfully deployed file:/E:/cvs/jboss-3.0/build/output/jboss-3.0.5RC2/server/ all/tmp/deploy/server/all/deploy/webmail_anfetamina_httpCluster.ear/30.webmail_anfetamina_httpCluster.ear-cont ents/webmail.war to /webmail 01:41:11,001 INFO [MainDeployer] Deployed package: file:/E:/cvs/jboss-3.0/build/output/jboss-3.0.5RC2/server/ all/deploy/webmail_anfetamina_httpCluster.ear 01:42:07,221 INFO [STDOUT] Gheguei pelo menos ate aqui!!! 01:42:07,251 INFO [STDOUT] TRACE: JwmaController service(request, response) begin 01:42:07,352 ERROR [SubscribingInterceptor] could not get AbstractReplicatedStore 01:42:07,372 WARN [jbossweb] WARNING: Exception for /webmail/jwma java.lang.ClassCastException at org.mortbay.j2ee.session.StateAdaptor.checkState(StateAdaptor.java:395) at org.mortbay.j2ee.session.StateAdaptor.getId(StateAdaptor.java:109) at org.mortbay.jetty.servlet.ServletHttpRequest.getSession(ServletHttpRequest.java:495) at inocrea.web.webmail.control.JwmaController.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:280) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:553) at org.mortbay.http.HttpContext.handle(HttpContext.java:1656) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:549) at org.mortbay.http.HttpContext.handle(HttpContext.java:1606) at org.mortbay.http.HttpServer.service(HttpServer.java:862) at org.jboss.jetty.Jetty.service(Jetty.java:497) at org.mortbay.http.HttpConnection.service(HttpConnection.java:752) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:769) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:202) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455) These are the strange lines that I've seen: ---- 01:41:10,610 WARN [Manager] No Store. Falling back to a local session implementation - NO HTTPSESSION DISTRIBUTION ---- 01:42:07,352 ERROR [SubscribingInterceptor] could not get AbstractReplicatedStore ---- The only line in this exception that refers to our code is JwmaController.service. I'll post that code also: public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { Log1.trace("JwmaController service(request, response) begin"); //1. Handle session HttpSession websession=req.getSession(true); //Object o=websession.getValue("jwma.session"); $ deprecated Object o=websession.getAttribute("jwma.session"); String acton=req.getParameter("acton"); String dome=req.getParameter("todo"); Log1.trace("JwmaController service() - acton = "+acton+" | todo = "+dome, 1); This second log doesn't ever happen, so it must be on one of the 4 lines above. My guess is that it is in "getSession". [UPDATE: It's not a guess anymore. I've added some more debug messages and it really fails there.] Any clue? -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user