[jboss-user] [EJB3] - unable to determine messagingType interface for MDB
Anish Nath
do-not-reply at jboss.com
Mon Mar 21 00:10:23 EDT 2011
Anish Nath [http://community.jboss.org/people/anishnath] created the discussion
"unable to determine messagingType interface for MDB"
To view the discussion, visit: http://community.jboss.org/message/594361#594361
--------------------------------------------------------------
Hi i'm using Jboss As6, and EJB3 MDB,
My Message DrivenBean looks like
public final class OverrideMDB extends DefaultMDB
implements MessageListener, HasBeenInstrumented
{
public void onMessage(Message message)
{
}
//
}
abstract class DefaultMDB
implements HasBeenInstrumented
{
protected final void onMessageReceive(Message message)
{
//BUSINESS METHOD
}
}
Getting the error like this and deployment getting failed
*Caused by: org.jboss.deployers.spi.DeploymentException: Error creating ejb container OverrideMDB: Unable to choose messagingType interface for MDB OverrideMDB from [interface net.sourceforge.cobertura.coveragedata.HasBeenInstrumented, interface javax.jms.MessageListener]*
* at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:773) [:1.7.17]*
* at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:710) [:1.7.17]*
* at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:692) [:1.7.17]*
* at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:655) [:1.7.17]*
* at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:544) [:1.7.17]*
* at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:177) [:6.0.0.Final]*
* ... 49 more*
*http://opensourceframework.blogspot.com/ ANish
*
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/594361#594361]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110321/f2e58983/attachment.html
More information about the jboss-user
mailing list