DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
We'll take the EJB container DefaultStatefulContainer as an example here. By looking into config.xml, we can see the container is defined as followed:
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
...
<gbean name="DefaultStatefulContainer">
<attribute name="timeout">${StatefulTimeout}</attribute>
<attribute name="capacity">${Capacity}</attribute>
<attribute name="bulkPassivate">${BulkPassivate}</attribute>
</gbean>
...
|
All these values are set as system variables in config-substitutions.properties file under the same directory as config.xml.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
...
Capacity=1000
StatefulTimeout=20
BulkPassivate=100
...
|
Which means if you want to configure any of properties, change the numbers in config-substitutions.properties or update config.xml after the server is stopped. Here is an example by updating config.xml directly:
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
...
<gbean name="DefaultStatefulContainer">
<attribute name="timeout">${StatefulTimeout}</attribute>
<attribute name="capacity">500</attribute>
<attribute name="bulkPassivate">${BulkPassivate}</attribute>
</gbean>
...
|
...