<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
The adminGuide is:<br>
====================================<br>
<h3>JVM</h3>
<p>The host controller contains the main <tt>jvm</tt> definitions
with arguments:</p>
<div class="code panel" style="border-width: 1px;">
<div class="codeContent panelContent">
<div>
<div id="highlighter_779793" class="syntaxhighlighter nogutter
java">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="code">
<div class="container" title="Hint: double-click to
select code">
<div class="line number1 index0 alt2"><code
class="java plain"><jvms></code></div>
<div class="line number2 index1 alt1"><code
class="java spaces"> </code><code
class="java plain"><jvm name=</code><code
class="java string">"default"</code><code
class="java plain">></code></div>
<div class="line number3 index2 alt2"><code
class="java spaces"> </code><code
class="java plain"><heap size=</code><code
class="java string">"64m"</code> <code
class="java plain">max-size=</code><code
class="java string">"128m"</code><code
class="java plain">/></code></div>
<div class="line number4 index3 alt1"><code
class="java spaces"> </code><code
class="java plain"></jvm></code></div>
<div class="line number5 index4 alt2"><code
class="java plain"></jvms></code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p><sub>(See domain/configuration/host.xml)</sub><br>
From the preceeding examples we can see that we also had a <tt>jvm</tt>
reference at server group level in the domain controller. The
jvm's name <b>must</b> match one of the definitions in the host
controller. The values supplied at domain controller and host
controller level are combined, with the host controller taking
precedence if the same parameter is given in both places.</p>
<p>Finally, as seen, we can also override the <tt>jvm</tt> at
server level. Again, the jvm's name <b>must</b> match one of the
definitions in the host controller. The values are combined with
the ones coming in from domain controller and host controller
level, this time the server definition takes precedence if the
same parameter is given in all places.</p>
<p><br>
</p>
<br>
==== But the facts are ===============================<br>
<br>
1. the name MUST NOT match to host.xml <jvms><jvm
name=""> definition neither in server-group nor server<br>
2. The host controller <jvms> definition will be overwritten
by server-group (not as described)<br>
3. Q: if no jvm is set by SG and S the default will be 64-256
PermGen=128-128 where the defaults from? I expect value not set in
java command.<br>
4. Q: if only one value is given (e.g. Host(xms=128 xmx=256)
Server=(xmx=512)) this value is overwritten)<br>
<br>
So is 1. and 2. a bug or the new behaviour?<br>
If this is a new behaviour the results of mixing jvm params might be
unexpected if the names dosn't match.<br>
<br>
So can someone clarify what is the 'correct' way<br>
<br>
I've tested with AS7.1.2.Final-SNAPSHOT today<br>
<br>
- Wolf<br>
</body>
</html>