chstath / gss

Automatically exported from code.google.com/p/gss
Other
0 stars 0 forks source link

How to change default values? #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to change default password for admin application, and for example, 
default user class (quota size). If I change it before ant install and ant 
deploy or run, settings do not work, they are still default ones.

Regards,
Nikola

Original issue reported on code.google.com by ngara...@gmail.com on 12 Nov 2010 at 2:43

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Yes, any change in jboss xml configuration files requires a restart

Original comment by chstath on 17 Nov 2010 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by chstath on 30 Nov 2010 at 12:55