<div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! <img src="https://jazz.net/wiki/pub/Deployment/WebPreferences/todo.png" alt="todo.png" width="50" height="50" align="right"> Setting up !WebSphere Application Server by using the clm_was_config.py script %DKGRAY% Authors: Main.MichaelAfshar <br> Build basis: The Rational solution for Collaborative Lifecycle Management (CLM) 4.0 and later, up to and including ELM 7.0.2. %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> <br> =Note: Support removed for IBM !WebSphere Application Server (Traditional WAS) starting with ELM version 7.0.3. Use !WebSphere Liberty, either embedded and installed with ELM applications, or separately installed= <br><br> With this Jython script, you can automate common administration tasks and configure security in !WebSphere Application Server. ---++Before you begin Make sure !WebSphere Application Server is installed, a profile is created, and the server is started prior to running =clm_was_config.py=. ---++About this task <sticky><div style="border-width:1px; border-style:solid; border-color:#FFEAA0; background-color:#FFFFE1; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> *Important:* The 4 GB memory used in the heap size settings and the JVM arguments is for a system with minimum of 8 GB of physical memory. When increasing the Java heap size, ensure that enough unused physical memory is available on the machine to cover the increase. If sufficient physical memory is not available, either install additional memory or take into account the effect on overall performance that occurs. It is also important to have more physical memory than is required by all of the processes on the machine combined to prevent paging or swapping. Paging reduces the performance of the system and affects the performance of the Java memory management system. </div></sticky> The =clm_was_config.py= Jython script performs the following tasks: * Clears the Use Java 2 security to restrict application access to local resources check box. * Selects the Enable application security check box. * Selects the Enable administrative security check box. * Selects the Use available authentication data when an unprotected URI is accessed check box. * Sets the Initial Java Virtual Machine heap size to 4096. * Sets the Maximum Java Virtual Machine heap size to 4096. * Sets the recommended JVM arguments: AIX <verbatim> -Xmx4g -Xms4g -Xmn512m -Xgcpolicy:gencon -Xnocompressedrefs </verbatim> Solaris and Mac OS X <sticky><div style="border-width:1px; border-style:solid; border-color:#FFEAA0; background-color:#FFFFE1; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> *Note:* Mac OS X is unsupported. </div></sticky> <verbatim> -Xmx4g -Xms4g -Xmn512m -XX:MaxPermSize=768M -XX:ReservedCodeCacheSize=512M -XX:CodeCacheMinimumFreeSpace=2M </verbatim> Windows and Linux <verbatim> -Xmx4g -Xms4g -Xmn512m -Xgcpolicy:gencon -Xcompressedrefs -Xgc:preferredHeapBase=0x100000000 </verbatim> * Adds the following custom properties: * Name: JAZZ_HOME Value: Path to the !JazzInstallDir/server/conf directory. * Name: java.awt.headless Value: true * Name: org.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin Value: true * *For releases before ELM 7.0.1 SR1 / 7.0.2 SR1:* * Name: log4j.configuration Value: Path to the startup_log4j.properties file. * *For releases 7.0.1 SR1 / 7.0.2 SR1 and beyond:* * Name: log4j2.configuration Value: Path to the startup_log4j2.xml file. <sticky><div style="border-width:1px; border-style:solid; border-color:#FFEAA0; background-color:#FFFFE1; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> *Note:* If you are using Oracle or SQL Server database, you must manually add the JDBC location in the Integrated Solutions Console. For more information, see [[http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m4/topic/com.ibm.jazz.install.doc/topics/t_s_server_installation_setup_WAS.html][Setting up WebSphere Application Server]] in the information center. </div></sticky> ---++Procedure 1. To set up !WebSphere Application Server, open a command window and change the directory to =WASInstallDir/AppServer/profiles/profile_name/bin=. If you have more than one profile under the profiles directory, select the profile that you want to be used for the CLM installation. 1. Enter the following command substituting _WAS_username_ with the !WebSphere Application Server admin username, _WAS_password_ with the admin user password, path to the script with the location of the script, for example, =C:/JazzTeamServer/server/was/clm_was_config.py= (notice the forward slash on Windows platform), and =JazzInstallDir/server/conf= with the path to the Jazz Team Server installation configuration directory. To avoid problems, do not use spaces in the path. You can use double quotation marks for paths with spaces. UNIX <verbatim> ./wsadmin.sh -language jython -user WAS_username -password WAS_password -f Path to the script/clm_was_config.py JazzInstallDir/server/conf </verbatim> Windows <sticky><div style="border-width:1px; border-style:solid; border-color:#FFEAA0; background-color:#FFFFE1; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> *Note:* You must use forward slashes for the path to the installation configuration and the script directories. For example, =C:/Progra~1/IBM/JazzTeamServer/server/conf= </div></sticky> <verbatim> wsadmin.bat -language jython -user WAS_username -password WAS_password -f Path to the script/clm_was_config.py JazzInstallDir/server/conf </verbatim> ---+++++!! Related topics: [[DeploymentWebHome][Deployment web home]], [[DeploymentWebHome][Deployment web home]] ---+++++!! External links: * [[https://www.ibm.com][IBM]] ---+++++!! Additional contributors: Main.TWikiUser, Main.TWikiUser <sticky></div></sticky>
This topic: Deployment
>
WebHome
>
DeploymentInstallingUpgradingAndMigrating
>
AutomatedScriptsForDeployingCLMOnWAS
>
SetupWASJython
History: r5 - 2024-01-05 - 15:41:02 -
DineshKumar
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use.
Please read the following
disclaimer
.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more
here
.