Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
Description
SourceForge Submitter: tkitchens .
I've tested a clustering with a simple application. When I
configure form-based authentication (which works fine for
this app without clustering) for this application and try to
login, I get an error and cannot log in - you can find the
stack trace in the attached text file.
Server output from the console:
C:\TEMP\jboss-3.0.6-node1\bin>run -c all
=========================================
======================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\TEMP\jboss-3.0.6-node1\bin
..
.
JAVA: C:\tools\jdk1.4.1\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH: ;C:\tools\jdk1.4.1
\lib\tools.jar;C:\TEMP\jboss-3.0.6-node1\bin
run
.jar
.
=========================================
======================================
17:21:38,181 INFO [Server] JBoss Release: JBoss-
3.0.6 CVSTag=JBoss_3_0_6
It appears that the
org.jboss.jetty.security.JBossUserRealm nor any of the
classes it references are Serializable. When the server
attempts to replicate this object to another node upon
authentication, replication fails, since it's not
Serializable. This appears to be a bug, since you should
be able to use form-based authentication in conjunction
with clustering. I have attached the debugger to JBoss
and determined that the JBossUserRealm is indeed the
problem.
OS: Windows 2000, Service Pack 3
JDK: 1.4.1_01
To reproduce: deploy any simple web application that
uses form-based authentication and clustering and
attempt to login.