> Where svConnector is the name of my RA. It's too bad that I have to use a
> descriptor, as I don't need the ejb-jar.xml anymore. But there you go. I'm
> all good.
Yes, unfortunately resource-adapter-mid is a provider-specific deployment
mechanism and we don't have glassfish-specific annotations yet and hence we need
a sun-ejb-jar.xml in non-jmsra MDBs.
Thanks
--Siva.
glassfish_at_javadesktop.org wrote:
> Yes, I was missing something. I needed to configure the MDB in the sun-ejb-jar.xml descriptor. After reading this
>
> https://glassfish.dev.java.net/javaee5/docs/DG/bealk.html
>
> I defined a sun-ejb-jar.xml that looks like this...
>
> <sun-ejb-jar>
> <enterprise-beans>
> <ejb>
> <ejb-name>TreEventBean</ejb-name>
> <mdb-resource-adapter>
> <resource-adapter-mid>svConnector</resource-adapter-mid>
> </mdb-resource-adapter>
> </ejb>
> </enterprise-beans>
> </sun-ejb-jar>
>
>
> Where svConnector is the name of my RA. It's too bad that I have to use a descriptor, as I don't need the ejb-jar.xml anymore. But there you go. I'm all good.
>
> Thanks,
> Ed
> [Message sent by forum member 'hildo' (hildo)]
>
> http://forums.java.net/jive/thread.jspa?messageID=235354
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>