Hi,
No you need not to do that.
I assume you are using Geronimo v1.1. But you might have to add
additional dependency to your openejb-jar.xml as given in the below.
<sys:dependency>
<sys:groupId>geronimo</sys:groupId>
<sys:artifactId>activemq-broker</sys:artifactId>
<sys:version>1.1</sys:version>
<sys:type>car</sys:type>
</sys:dependency>
To further information have a look at
http://cwiki.apache.org/confluence/display/GMOxDOC11/MDB+Sample+Application.
Regards,
Lasantha Ranaweera
Arunanthisivam Vimalathithen wrote:
Hi,
I am trying to deploy an EAR containing MDB I have deployed a JMS
resource (ActiveMQ RAR) seperately. But when I deploy the MDB
(parentId in openejb-jar.xml for MDB refers to deployed JMS
resource), I get an java.lang.ClassNotFoundException :
org.activemq.ra.ActiveMQActivationSpec error. Why is this? Does the
JMS resource also have to deployed as part of the MDB ear?
Thanks and regards,
Vimalan