If you specified a context other than the default IDMProv context when you installed the Roles Based Provisioning Module, the name of the main User Application .war file, which is IDMProv.war by default, matches the context. For example, if you specified the context IDMStartHere, the name of the file would be IDMStartHere.war.
When installing Identity Manager Home in an environment with a non-default context, you must perform the following additional steps:
At a command prompt, navigate to the JBoss deploy directory. For example: /opt/novell/idm/jboss/server/IDMProv/deploy
Rename the IDMProv.war file you copied from the Enhancement Pack to match the context name. For example, change the file name from IDMProv.war to IDMStartHere.war.
Enter the following command:
unzip IDMContext.war WEB-INF/web.xml
Where IDMContext is the modified name of the IDMProv.war file.
Use a text editor to open the WEB-INF/web.xml file.
In the web.xml file, find the following entry:
<display-name>IDMProv</display-name>
Change the IDMProv value to match the context name, then save and close the file.
At the command prompt, enter the following command:
zip -u0 IDMContext.war WEB-INF/web.xml
Enter the following command:
unzip IDMContext.war WEB-INF/lib/IDMfw.jar
Navigate to the WEB-INF/lib directory, the enter the following command:
unzip IDMfw.jar PortalService-conf/config.xml
Use a text editor to open the WEB-INF/lib/PortalService-conf/config.xml file.
In the config.xml file, find the following entry:
<key>portal.context</key> <value>${portal.context:IDMProv}</value>
Change the IDMProv value to match the context name, then save and close the file.
In the command prompt window, go to the WEB-INF/lib directory and enter the following command:
zip -u0 IDMfw.jar PortalService-conf/config.xml
In the command prompt window, navigate to the deploy directory and enter the following command:
zip -u0 IDMContext.war WEB-INF/lib/IDMfw.jar
Delete the WEB-INF directory.
Close the command prompt.