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. geronimo activemq-broker 1.1 car 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