The default automatic logoff value is 30 minutes. You might
want to change the default setting depending on your security needs.
Procedure
- Back up the web.xml file. On Windows, the web.xml file is normally located in the MAXIMO_HOME\applications\maximo\maximouiweb\webmodule\WEB-INF directory. On UNIX systems, the default location is the MAXIMO_HOME/maximo/applications/maximo/maximouiweb/webmodule/WEB-INF directory. MAXIMO_HOME is the directory where the base services are installed. On Windows, the default path is c:\IBM\SMP. On UNIX systems, the default path is /opt/IBM/SMP.
- Open the web.xml file in a text editor.
- In the <session-config> section,
search for the session timeout tag, named <session-timeout>.
In the following code example, the automatic timeout is set to timeout
after 90 minutes.
<session-config> <!-- The session-timeout element defines the default session timeout interval for all sessions created in this web application. The specified timeout must be expressed in a whole number of minutes. --> <session-timeout>90</session-timeout> </session-config>
- Change the existing value in the <session-timeout> tag to the value you want to specify as the new logoff value.
- Save and close the web.xml file.
- Rebuild the Maximo® EAR file on the administrative workstation
to invoke the changes. To rebuild the Maximo EAR,
run one of the following scripts, depending on your platform:
- On Windows systems, run the buildmaximoear script, located in the C:\ibm\SMP\Maximo\deployment directory on the administrative workstation.
- On UNIX systems, run the buildmaximoear.sh script, located in the /opt/IBM/SMP/maximo/deployment directory on the administrative workstation.
- Deploy the Maximo EAR
to WebSphere® Application
Server.
You can deploy the Maximo EAR
using WebSphere Application
Server or
you can use the command line. To view command line instructions
about how to deploy the Maximo EAR
file, see Manually deploying the EAR file. To deploy the Maximo EAR on WebSphere Application
Server,
complete a process similar to the following example on WebSphere Application
Server v6.1.0.37.
- Log on to WebSphere Application Server.
- Click Applications, then Enterprise Applications.
- Uninstall the previous Maximo EAR before you begin redeploying the new one because updating the existing Maximo EAR can cause caching issues.
- Click Install.
- If WebSphere Application Server is on the administrative workstation, navigate to the location of the Maximo EAR by clicking Local File System. If you do not have direct access to the administrative workstation on which the Maximo EAR is located, click Remote File System and navigate to the Maximo EAR location, for example on Windows C:\ibm\SMP\maximo\deployment\default, and click the file.
- Click OK, then click Next.
- On the Select installation options screen, make sure that the Maximo installation is selected. If there are multiple Maximo installations on your WebSphere Application Server environment, click the specific application name for the installation. Then click Next.
- On the Map modules to servers screen, select the web server and application server in the Clusters and Servers box, select all of the modules, then click Apply.
- Click Next.
- On the Map virtual hosts for Web modules screen, click the options for your installation and change the Virtual host options to the host you have set up for the Maximo application. Click Next.
- On the Summary page, review the summary and click Finish.
- After the Maximo EAR file has installed, click Save to save your changes. The Maximo EAR is now deployed to the server.
- Go to the WAS console and from the navigation tree, click Applications > Enterprise Applications. Then click MAXIMO > Class loading and update detection. For WAR class Loader Policy, the Class loader for each WAR file in application option is selected by default. Click the Single class loader for application option. Click Save to save your changes.
- Restart Tivoli® Provisioning Manager. If you have problems logging into Tivoli Provisioning Manager after rebuilding the Maximo EAR, see https://www-304.ibm.com/support/docview.wss?uid=swg21321974 for information about how to resolve the issue.
No comments:
Post a Comment