Sun OpenSSO Enterprise 8.0 Update 1 Release Notes

Examples of Creating Specialized OpenSSO War Files

The following examples are intended for Solaris and Linux systems. If you are on a Windows system, run the createwar.bat script and adjust the paths for Windows conventions.

Creating a Console Only WAR File

To Create a Console Only WAR File

1. Create a staging directory and extract the files from opensso.war. For example:


mkdir /tmp/consolewarstaging
cd /tmp/consolewarstaging
jar xvf /downloads/opensso/deployable-war/opensso.war

2. Run the createwar.sh script to create a console only WAR file named console.war.

You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory.


cd /downloads/opensso/deployable-war
./createwar.sh -s /tmp/consolewarstaging -t console -w /tmp/console.war

3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR.

Creating a Distributed Authentication UI Server WAR File

To Create a Distributed Authentication UI Server WAR File

1. Create a staging directory and extract the files from opensso.war. For example:


mkdir /tmp/dawarstaging
cd /tmp/dawarstaging
jar xvf /downloads/opensso/deployable-war/opensso.war

2. Run the createwar.sh script to create a Distributed Authentication UI server WAR file named distauth.war.

You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory.


cd /downloads/opensso/deployable-war
./createwar.sh -s /tmp/dawarstaging -t distauth -w /tmp/distauth.war

3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR.

Creating a Server Only (No Admin Console) WAR File

To Create a Server Only (No Admin Console) WAR File

1. Create a staging directory and extract the files from opensso.war. For example:


mkdir /tmp/serveronlywarstaging
cd /tmp/serveronlywarstaging
jar xvf /downloads/opensso/deployable-war/opensso.war

2. Run the createwar.sh script to create a server only WAR file named serveronly.war.

You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory.


cd /downloads/opensso/deployable-war
./createwar.sh -s /tmp/serveronlywarstaging -t noconsole -w /tmp/serveronly.war

3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR.

Creating an IDP Discovery Service WAR File

To Create an IDP Discovery Service WAR File

1. Create a staging directory and extract the files from opensso.war. For example:


mkdir /tmp/idpdiscoverywarstaging
cd /tmp/idpdiscoverywarstaging
jar xvf /downloads/opensso/deployable-war/opensso.war

2. Run the createwar.sh script to create a IDP Discovery Service WAR file named idpdiscovery.war.

You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory.


cd /downloads/opensso/deployable-war
./createwar.sh -s /tmp/idpdiscoverywarstaging -t idpdiscovery -w /tmp/idpdiscovery.war

3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR.