Cisco Cisco Prime Service Catalog 10.0 Technical References

Page of 216
 
5-4
Cisco Prime Service Catalog 10.0 Configuration Guide
OL-31034-01
Chapter 5      System Administration 
Ongoing Infrastructure Maintenance Tasks
  •
Section 3.5: Content-coding
  •
Section 14.3: Accept-Encoding
  •
Section 14.11: Content-Encoding
GZIP compression will benefit users working over slow or high latency networks. However, GZIP 
compression will add a slight overhead on both the server and the user’s browser.
To enable GZIP compression:
Step 1
Locate the web.xml under RequestCenter.war/WEB-INF. For example, a typical location is:
C:\jboss-as-7.1.1.Final\RequestCenterServer\deployments\RequestCenter.war\WEB-INF
Step 2
Look for the following entry (which is commented out):
<!--filter>
 
<filter-name>CompressingFilter</filter-name>
 
<filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
 
</filter-->
Step 3
Remove the comments, so the entry becomes:
<filter>
 
<filter-name>CompressingFilter</filter-name>
 
<filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
 
</filter>
Step 4
Look for the following entry (which is commented out):
<!--filter-mapping id="newscale_gzip_filter_1">
 
<filter-name>CompressingFilter</filter-name>
 
<url-pattern>/*</url-pattern>
 
</filter-mapping-->
Step 5
Remove the comments, so the entry becomes:
<!--filter-mapping id="newscale_gzip_filter_1">
 
<filter-name>CompressingFilter</filter-name>
 
<url-pattern>/*</url-pattern>
 
</filter-mapping-->
Step 6
Save the file and restart the application servers.
Java Memory Settings
Java memory settings are specific to the Java Virtual Machine (JVM) used by the application server. Use 
the commands “java –h” and “java –X” to return a full listing of the options available on your system. 
Please ensure that you are calling the same JVM that is used by your application server when issuing 
these commands.
  •
-ms –mx as appropriate (usually 1GB of memory is reserved for the heap within the JVM).
  •
-server mode is recommended for Sun JVM.
  •
A common modification is to increase the garbage collector’s maximum permanent generation size 
to 128MB with the argument: --XX:MaxPermSize=128m.