OpenSSO on JBoss 4.x
By pierrot on Mar 28, 2008
- unzip JBoss AS package (http://surfnet.dl.sourceforge.net/sourceforge/jboss/jboss-4.2.2.GA.zip)
- unzip opensso.war to <jboss>/server/default/deploy/opensso.war/ directory (because of lost of configuration issue)
- run JBoss Application Server
$ <jboss>/bin/run.sh -b <host> (eg. /opt/jboss-4.2.2.GA/bin/run.sh -b meuse.czech.sun.com).
Note: -b switch is necessary: without it, it does not work with FQDM
- configure FAM (http://<host>:8080/opensso) (if you configure it from localhost, don't type in the browser http://localhost:, but use the FQDM) \*\*
- restart JBoss
(Ctrl-C in console where you started JBoss and run again or <jboss>/bin/shutdown.sh and run)
\*\*= FAM remembers via which address you access it at configuration time and tries to use it later, so when I configure it by using "127.0.0.1:8080/opensso" form local machine and use FQDM later, it doesn't work, it uses "127.0.0.1" for all subpages, which of course doesn't work from outside. So it's necessary to configure it using FQDM.