User: mulder
Date: 00/10/04 18:36:32
Modified: src/etc/conf jboss.jcml
Log:
Changed configuration service so it doesn't use the JMX call to determine
whether a parameter is writeable.
Changed Minerva so the old "shrinking" is now "idle timeout".
- An object is guaranteed to be released when it has surpassed the idle
timeout (well, the next time GC is run, anyway)
- There's a new parameter MaxIdleTimeoutShrinkPercent that you can use
to force the server to replace some objects that hit the idle timeout
so the pool doesn't shrink too rapidly.
- The pool now prepopulates objects up to the minimum size, so the pool
is never below the minimum size
Updated jboss.jcml to reflect the new Minerva parameters.
Revision Changes Path
1.4 +23 -15 jboss/src/etc/conf/jboss.jcml
Index: jboss.jcml
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/etc/conf/jboss.jcml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- jboss.jcml 2000/09/29 18:54:35 1.3
+++ jboss.jcml 2000/10/05 01:36:32 1.4
@@ -1,7 +1,15 @@
+<?xml version="1.0"?>
+
<server>
<mbean name="DefaultDomain:service=Logging,type=Console">
<attribute name="Format">[{2}] {4}</attribute>
</mbean>
+ <mbean name="DefaultDomain:service=Logging,type=File">
+ <attribute name="LogName">server.log</attribute>
+ </mbean>
+ <mbean name="EJB:service=ContainerFactory">
+ <attribute name="VerifyDeployments">true</attribute>
+ </mbean>
<mbean name="DefaultDomain:service=Webserver">
<attribute name="Port">8083</attribute>
</mbean>
@@ -14,37 +22,37 @@
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:HypersonicSQL:hsql://localhost</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
- <attribute name="LoggingEnabled">false</attribute>
+ <attribute name="JDBCUser">sa</attribute>
<attribute name="MaxSize">10</attribute>
- <attribute name="Password"></attribute>
- <attribute name="ShrinkPercent">0.33</attribute>
+ <attribute name="Password" />
<attribute name="GCEnabled">false</attribute>
+ <attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">false</attribute>
<attribute name="GCInterval">120000</attribute>
- <attribute name="JDBCUser">sa</attribute>
+ <attribute name="IdleTimeout">1800000</attribute>
+ <attribute name="IdleTimeoutEnabled">false</attribute>
+ <attribute name="LoggingEnabled">false</attribute>
+ <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">0</attribute>
- <attribute name="ShrinkMinIdleTime">600000</attribute>
- <attribute name="ShrinkingEnabled">false</attribute>
</mbean>
<mbean name="DefaultDomain:service=XADataSource,name=InstantDB">
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:idb:../conf/instantdb.properties</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
- <attribute name="LoggingEnabled">false</attribute>
+ <attribute name="JDBCUser" />
<attribute name="MaxSize">10</attribute>
- <attribute name="Password"></attribute>
- <attribute name="ShrinkPercent">0.33</attribute>
+ <attribute name="Password" />
<attribute name="GCEnabled">false</attribute>
+ <attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">false</attribute>
<attribute name="GCInterval">120000</attribute>
- <attribute name="JDBCUser"></attribute>
+ <attribute name="IdleTimeout">1800000</attribute>
+ <attribute name="IdleTimeoutEnabled">false</attribute>
+ <attribute name="LoggingEnabled">false</attribute>
+ <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">0</attribute>
- <attribute name="ShrinkMinIdleTime">600000</attribute>
- <attribute name="ShrinkingEnabled">false</attribute>
- </mbean>
- <mbean name="EJB:service=ContainerFactory">
- <attribute name="VerifyDeployments">true</attribute>
</mbean>
</server>
+