[jboss-user] [Clustering/JBoss] - Problem with Apache loadbalancer, j_security_check and JBos

sudeepthi do-not-reply at jboss.com
Wed Sep 26 04:51:21 EDT 2007

I am using Apache load balancer using mod_jk and Jboss as a application server. Currently in my cluster i configured two Jboss servers which are running on different machines. I am using round-robin load balancer algorithm.

In my application i am using JAAS as a form based authentication. In my clustered configuration the request will be go to the server in round-robin way. I mean that if the first request goes to the first server then the second request goes to the second server and the third request goes to again first server and so on.This configuration is done without sticky session.

Now the problem is if i request for login page, the request is going to first server and the login page is displayed successfully. After entering user name and password if i submit the page, the request is going to the second server and its displaying "HTTP Status 400 - Invalid direct reference to form login page" instead of displaying the home page of my application.

I am using Apache web server 2.2.4, mod_jk 1.2.50 and JBoss 4.0.2 Application server.

Can anybody help me how to solve this issue? I am waiting for your valuable response.

Thanks & Regards,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088710#4088710

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088710

More information about the jboss-user mailing list