blob: 491778d953e21c5dc1910600061892260810411f [file] [log] [blame]
<div class="wiki-content maincontent"><p>ActiveMQ will run under Kaffe with a few adjustments to the default configuration.</p>
<p>We have found the Kaffe does not properly implement:</p>
<ul><li>File based NIO</li><li>Multicast Sockets</li><li>JMX connector JNDI handling</li></ul>
<p>Therefore, the default ActiveMQ configuration must be adjusted to disable the Journal (uses NIO), disable Multicast discovery, and JMX.</p>
<p>The Kaffe and OS Version that was tested against was:</p>
<blockquote>
<p>kaffe version info: Engine: Interpreter Version: 1.1.7 Java Version: 1.4<br clear="none">
OS &amp; version: Linux dev-10 2.6.13-15.8-smp #1 SMP Tue Feb 7 11:07:24 UTC</p></blockquote>
<p>The following is the activemq.xml that was used:</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
&lt;beans&gt;
&lt;bean class=&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;/&gt;
&lt;broker useJmx=&quot;false&quot; xmlns=&quot;http://activemq.org/config/1.0&quot;&gt;
&lt;persistenceAdapter&gt;
&lt;journaledJDBC useJournal=&quot;false&quot; dataDirectory=&quot;activemq-data&quot;/&gt;
&lt;/persistenceAdapter&gt;
&lt;transportConnectors&gt;
&lt;transportConnector name=&quot;default&quot; uri=&quot;tcp://localhost:61616&quot;/&gt;
&lt;transportConnector name=&quot;stomp&quot; uri=&quot;stomp://localhost:61613&quot;/&gt;
&lt;/transportConnectors&gt;
&lt;/broker&gt;
&lt;/beans&gt;
]]></script>
</div></div></div>