Wednesday Jan 28, 2009

Retaining all versions of Converged Load Balancer XML File

CLB xml file in sailfin gets regenerated each time with new version number when clb xml changes (<name>.xml.v<number> Eg. clb.xml.v39). When a new version is generated the old clb xml file is deleted. If you need to retain the old files for debugging purposes you need to add a java system property clbreconfig.debug to true under java-config. It can be done using Admin GUI/CLI (asadmin script).

The following is the java system property added under java-config of server-config element

<java-config classpath-prefix="${com.sun.aas.installRoot}/lib/comms-appserv-rt.jar" classpath-suffix="" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" system-classpath="">
<jvm-options>-XX:MaxPermSize=192m</jvm-options>
<jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.ee.admin.AppServerMBeanServerBuilder</jvm-options>

<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
<jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
<jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
<jvm-options>-Dclbreconfig.debug=true</jvm-options>
<jvm-options>-Xmx512m</jvm-options>
<jvm-options>-client</jvm-options>

Similarly to retain the clb xml under instances you need to do the same under instance config.


About

srinik

Search

Categories
Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today