Version: Sun Identity Manager 8.1
Operating System: Oracle Linux 6 (64-bit)
Components Tested On: Tomcat 6.41, Java 6.38 (64-bit)
Prerequisites
Install Tomcat 6
1. Download the Tomcat 6 here. Select Binary Distributions => Core => tar.gz.
File: apache-tomcat-6.0.41.tar.gz
2. Execute the following command to extract the tar.gz file. A "apache-tomcat-6.0.41" directory is created. The location of that directory is refer to as the TOMCAT_HOME directory.
1 | tar -xvf apache-tomcat-6.0.41. tar .gz |
3. Add the following lines to the top of $TOMCAT_HOME/bin/setclasspath.sh file:
1 2 3 4 5 6 7 | # Location of a JDK JAVA_HOME= /home/oracle/jdk1 .6.0_38 # Location of your unpacked Tomcat CATALINA_HOME= /home/oracle/apache-tomcat-6 .0.41 export JAVA_HOME CATALINA_HOME |
4. When configuring Tomcat to support UTF-8, add the URIEncoding="UTF-8" attribute to the connector element in the $TOMCAT_HOME/conf/server.xml file, for example:
1 2 3 4 | < Connector port = "8080" protocol = "HTTP/1.1" connectionTimeout = "20000" redirectPort = "8443" URIEncoding = "UTF-8" /> |
5. When configuring Tomcat to support UTF-8, also add -Dfile.encoding=UTF-8 in your Java VM options. Add the following line to the top of “$TOMCAT_HOME/bin/catalina.sh”:
1 | export JAVA_OPTS= "-Dfile.encoding=UTF-8" |
Installing Sun Identity Manager
1. Download the file from https://edelivery.oracle.com.
Product Pack: Sun Products
Platform: Oracle Solaris on SPARC (32-bit)
Sun Products Media Pack for Oracle Solaris on SPARC (32-bit)
Sun Identity Manager 8.1
File: V19877-01.zip (158M)
2. When installing Identity Manager on UNIX® or Linux systems, the /var/opt/sun/install
directory must exist and be writable by the user running the installer.
1 2 | sudo mkdir -p /var/opt/sun/install sudo chown oracle:oracle /var/opt/sun/install/ |
3. Make a directory to unzip the SIM file.
1 2 3 4 | mkdir /home/oracle/sim cd /home/oracle/sim mv /home/oracle/Downloads/V19877-01 .zip /home/oracle/sim/ unzip V19877-01.zip |
4. Execute the following commands to start the installer:
1 2 3 4 5 | # Make the install script executable chmod 750 install # The argument is needed to run installer on a 64-bit machine JAVA_OPTS=-Dos.arch= "x86" . /install |
5. Below are screen shots to walk you through the installation wizard:
![]() |
Welcome Screen Click Next |
![]() |
Click Yes (Accept License) |
![]() |
Select New Installation Then click Next |
![]() |
Specify path to install SIM components. This path will be refer to as WSHOME. |
![]() |
Before clicking "Launch Setup", add the
additional jars in "$WSHOME/WEB-INF/lib" directory
- JavaMail API 1.4.7 (mail.jar)
- JavaBeans Activation Framework 1.1 (activation.jar)
- GlassFish Server (glassfish3/mq/lib/jms.jar)
|
![]() |
Specify the repository path. |
![]() |
Select "No, I will configure Identity Manager myself" |
![]() |
Click Execute |
![]() |
Click Next |
6. Navigate into WSHOME and package everything into a WAR file.
1 2 | cd /home/oracle/idm jar -cvf .. /idm .war * |
7. Move the WAR file into TOMCAT_HOME/webapps directory. Restart the Tomcat server.
8. Once the Tomcat server is running, go to "localhost:8080/idm" to access the Sun Identity Manager console.
![]() |
ID: administrator Password: administrator or ID: configurator Password: configurator |
No comments:
Post a Comment