users@glassfish.java.net

Re: Confusing deployment error

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Sep 2007 19:53:31 PDT

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