Problem validating a MessageDrivenBean

Hi all,

I'm trying to make an existing J2EE Application portable and I've got some problems with a MessageDrivenBean.

We're using XDoclet to generate the Deployment Descriptors (and some code of course).

So the error I'm getting is:

Test Name : tests.ejb.messagebean.HasValidMethodDescriptor

Test Assertion : EJB 2.0 Spec 14.4.7 Message-drive beans with container-managed transaction must use Required or NotSupported transaction attribute

Test Description : Unexpected error in verifier, check for problems related to: [ java.lang.NullPointerException ]

The DD contains:

<container-transaction>

<method>

<ejb-name>WFItemListener</ejb-name>

<method-name>onMessage</method-name>

</method>

<trans-attribute>Required</trans-attribute>

</container-transaction>

as generated by XDoclet.

I really don't know what the problem is - from my point of view everything should be working fine. Is it perhaps a bug?

Thanks a lot for any kind of help.

Nadine

[1128 byte] By [Nadine] at [2007-9-30 20:43:34]
# 1

Yes, that does look like a bug. We need the following information to carry out further investigation...

a) What is the version of AVK are you using?

b) Can you please send us a test case? Was there a stack trace when that exception was raised?

j2ee_avk_support@sun.com is the email alias where you can send us test case etc.

Thanks,

Sahoo

sahoo_s_k at 2007-7-7 1:32:30 > top of Java-index,Enterprise & Remote Computing,AVK Portability...