EnablingSSO for WSO2 Servers is
one nice thing you can do with WSO2 Identity
Server. If you do it on a single server and try to access multiple
server instances on same browser you may come across session
time outs.
What
happens here is when user access one server and switch to access
other server in the same browser, JSESSION cookie is replaced by
other server. To overcome that we have to do the following
steps.
-
- Find config under name of HostName.
- Uncomment it.
- Change it to some meaningful hostname
<HostName>esb.wso2.com</HostName>
- change config MgtHostName as well
<MgtHostName>esb.wso2.com</MgtHostName>
- Do the step 1 to GREG as well.
- Go to hosts file in your server.
- sudo gedit /etc/hosts
- add following entries
127.0.0.1 esb.wso2.com
127.0.0.1 greg.wso2.com
127.0.0.1 greg.wso2.com
- Restart the servers
No comments:
Post a Comment