When installing a Web application with multiple instances, running the psww_web_desc_modify
command creates multiple EAR files, with each EAR file containing a different instanceId
and i3root
value, corresponding to the instances in the Web application.
To avoid creating multiple EAR files
-instanceId
and -i3root
parameters.-DPssInstanceID=<instance_ID>
-DPssI3Root=<precise_root>
To monitor the application, the Precise for Web agent(s) jar(s) must be loaded. Consult with your Web Administrator on where the right location is to do so. Examples:
<bea-root>\weblogic91\samples\domains\medrec\startWebLogic.cmd
F:\webservers_linux\poollin3\ibm\websphere61\profiles\AppSrv01\config\cells\poollin3Node01Cell\nodes\poollin3Node01\servers\server1\server.xml
Tomcat 5.x & 6.x: <tomcat-dir> \bin\setclasspath.bat(sh)
or click the Tomcat executable, and in the Apage Tomcat Properties dialog box, go to the Java tab. There you can see the Java classpath.
You will also need to add the servlet-api.jar file manually to the classpath. It can be found at: e.g. <tomcat- dir>\common\lib\servlet-api.jar. |
<sun-one-install-dir>\<server-name>\config\server.xml
file and follow the instruction in the action item.Custom
If you select Custom, verify that the CommittedCount counter under Transaction Manager is enabled. |
To verify that browser-side and server-side data is properly correlated, specify the name of the session cookie that is used by the application in the settings.xml file. Session cookie names can be JSESSIONID, _sn, SID, etc. Contact your application administrator to find the name of the cookie.
To add the session cookie name
registry/instances/www/<server_name>/<instance_name>/settings
<filter-session-cookie>
tag.<filter-session-cookie>_sn</filter-session-cookie>
The cookie session name for J2EE (JSESSIONID) is the default value for the |
To add post-parameters collection for IIS, see the following sections:
By inserting wildcard application mapping, you can instruct IIS to allow ISAPI applications known as interceptors to intercept and examine every request before the requested page is sent to its mapped application. The effect is an application mapping that handles every file name extension.
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log in to your computer by using an account that is not in the Administrators group, and then use the |
To add a wildcard application mapping to a Web server or Web site
<precise_root>\products\www\instances\<instance_id>\bin\IISFilter.dll
<precise_root>\products\www\instances\<instance_id>\bin\IISFilter.dll
To update the collect-post-parameters tag
registry/instances/www/<server_name>/<instance_name>/settings
To add post-parameters collection for IIS, see the following sections:
By inserting wildcard application mapping, you can instruct IIS to allow ISAPI applications known as interceptors to intercept and examine every request before the requested page is sent to its mapped application. The effect is an application mapping that handles every file name extension.
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log in to your computer by using an account that is not in the Administrators group, and then use the |
It is highly recommended to install the Microsoft hotfix mentioned in KB 2505146 (http://support.microsoft.com/kb/2505146) as this solves a Microsoft IIS7 issue. Should you not apply the hotfix and continue to perform the following steps, your application will stop working. |
To add wildcard application mapping to a Web server or Web site
products\www\install\psww_insert_isapi_handlers.bat <precise_root><instance_id><site_name> add-handler PreciseWebHandler <filter_path>
filter_path
is the path to the instance bin folder concatenated with "IISFilter", without the _32.dll or _64.dll extension. For example: c:\precise\products\www\instances\2643\bin\IISFilter
For example: products\www\install\psww_insert_isapi_handlers.bat "E:\Precise Installation" 2442 Petshop add-handler PreciseWebHandler "E:\Precise Installation\products\www\instances\2442\bin\IISFilter"
To update the collect-post-parameters tag
registry/instances/www/<server_name>/<instance_name>/settings/server-side
<collect-post-parameters
> tag to true.To add post-parameters collection for all other supported Web servers, see the following section:
This feature is not supported for Apache 1.3. |
To update the collect-post-parameters tag
registry/instances/www/<server_name>/<instancec_name>/settings/server-side
<collect-post-parameters>
tag to true.To remove wildcard application mapping from a Web server or Web site
products\www\install\psww_insert_isapi_handlers.bat <precise_root><instance_id><site_name> remove_handler PreciseWebHandler <filter_path>
filter_path
is the path to the instance bin folder concatenated with "IISFilter", without the _32.dll or _64.dll extension. For example: c:\precise\products\www\instances\2643\bin\IISFilter
For example: products\www\install\psww_insert_isapi_handlers.bat "E:\Precise Installation" 2442 Petshop remove-handler PreciseWebHandler "E:\Precise Installation\products\www\instances\2442\bin\IISFilter"
| | | | | | | |