Closed GoogleCodeExporter closed 9 years ago
Ok. So, when I change password for admin application, if both jboss servers are
running with mod_jk, I cannot login to admin application with set password. If
I use only one jboss server at a time, login works on each jboss server.
Original comment by ngara...@gmail.com
on 15 Nov 2010 at 9:31
If you have not worker.loadbalancer.sticky_session=true in your
workers.properties file you cannot access the admin application through mod_jk.
You can either enable sticky_session (not recommended) or access the admin
application directly on one of the two servers (not through mod_jk).
Original comment by chstath
on 15 Nov 2010 at 1:01
I have sticky_session=true. But, since I can access admin application directly,
issue is solved for now.
Thanks.
Regards,
Nikola
Original comment by ngara...@gmail.com
on 16 Nov 2010 at 11:51
For sticky_session to work correclty, you also have to add a jvmRoute in your
server.xml file. This is located in
<jboss_home>/server/default/deploy/jbossweb.sar/server.xml
Edit the file and find
<Engine name="jboss.web" defaultHost="localhost">
Add a jvmRoute argument with the name of your worker i.e. if your workers in
the workers.properties are jboss1 and jboss2, the server.xml files in the two
jboss installations will have
<Engine name="jboss.web" defaultHost="localhost" jvmRoute="jboss1">
and
<Engine name="jboss.web" defaultHost="localhost" jvmRoute="jboss2">
Original comment by chstath
on 16 Nov 2010 at 12:04
Ok, I added jvmRoute argument to each jboss server. Is restarting the jboss
servers necessary for this argument to start working?
Original comment by ngara...@gmail.com
on 16 Nov 2010 at 6:13
Yes, any change in jboss xml configuration files requires a restart
Original comment by chstath
on 17 Nov 2010 at 9:36
Original comment by chstath
on 30 Nov 2010 at 12:55
Original issue reported on code.google.com by
ngara...@gmail.com
on 12 Nov 2010 at 2:43