[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

alesj do-not-reply at jboss.com
Thu Nov 6 09:40:03 EST 2008


The problem and fix are both quite simple. ;-)

Problem:
BeanMetaDataDeployer has 2 constructors.
The metadata provided in that xml is not enough to make exact/deterministic decision about which constructor to chose.
In Carlo's case, he is just lucky that ConstructorInfo is ordered the way it is == matching the right one.

Solution:
simply add class="org.jboss.kernel.Kernel" to constructor's parameter

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187363#4187363

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187363



More information about the jboss-user mailing list