blob: 9257713c92e20a5a106cb4eb25ed183104d40f64 [file] [log] [blame]
<div class="wiki-content maincontent"><p>If you get an error like this</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[
2005-08-14 17:18:45,618 ERROR [org.jboss.resource.deployment.RARDeployment]
Starting failed jboss.jca:service=RARDeployment,name=&#39;activemq-ra-3.0.rar&#39;
org.jboss.deployment.DeploymentException: Error for resource adapter class
org.activemq.ra.ActiveMQResourceAdapter accessing property setter
ConfigPropertyMetaData@e62121[name=UseEmbeddedBroker type=java.lang.Boolean
value=false descriptions=[DescriptionMetaData@1ad093c[language=en
description=Boolean to configure if the connector should create an embedded
broker.]]]; - nested throwable: (java.lang.NoSuchMethodException:
org.activemq.ra.ActiveMQResourceAdapter.setUseEmbeddedBroker(java.lang.Boolean))
at
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
at
org.jboss.resource.deployment.ResourceAdapterFactory.createResourceAdapter(ResourceAdapterFactory.java:90)
at
org.jboss.resource.deployment.RARDeployment.startService(RARDeployment.java:101)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at
org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:110)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
]]></script>
</div></div>
<h3 id="java.lang.NoSuchMethodExceptionorg.activemq.ra.ActiveMQResourceAdapter.setUseEmbeddedBroker-Fix">Fix</h3>
<p>You are using 3.0 of ActiveMQ. This bug is fixed in 3.1.x so use 3.1-M6 or later.</p></div>