users@glassfish.java.net

Re: How to bind my MDB to a Non-JMS Resource Adapter?

From: Dies Koper <dies_at_jp.fujitsu.com>
Date: Sun, 27 Jan 2008 19:48:24 +0900

All looks good..
Except for the errors in the log of course.

May we see your application (both MDB and RA)? The EAR/RAR/xx modules
you deployed are fine, no need for source or NetBeans project files.

And it is dinner time for me, I'd look at them tomorrow.

Markus KARG wrote:
> Dies Koper schrieb:
>> Your resource-adapter-mid setting looks good.
>>
>> Did you happen to leave in the mappedName attribute in the
>> @MessageDriven annotation in your source?
>> Or do you happen to have any resource-env-ref or resource-ref
>> definitions in your ejb-jar.xml for this bean?
>> How about other @Resource or @Resources annotations in your bean's
>> source?
>> Do you see any other error messages in the server.log?
> There is neither of that. I do not use ejb-jar.xml at all, and here is
> the complete code of the MDB:
>
> @MessageDriven
> public class MailMessageDrivenBean implements MailMessageListener {
>
> @Override
> public void onMail(final Mail mail) {
> // Do nothing for now, since this is only a sample.
> }
>
> }
>
>
> Thanks
> Markus