users@glassfish.java.net

error on MDB depolyment

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Jan 2009 11:21:18 PST

I am getting the following error while deploying MDB..


RAR8000 : The method setConnectionFactoryJndiName is not present in the class : com.sun.messaging.jms.ra.ActivationSpec
RAR7097: No setter method present for the property connectionFactoryJndiName in the class com.sun.messaging.jms.ra.ActivationSpec


the following line of code is throwing the error.


 @MessageDriven(mappedName="QQ", activationConfig = {
        
   
    @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
    @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "Durable"),
    @ActivationConfigProperty(propertyName = "ClientId", propertyValue = "testBean"),
    @ActivationConfigProperty(propertyName = "subscriptionName", propertyValue = "TestBeanBean"),
    @ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "QF"),
    @ActivationConfigProperty(propertyName = "DestinationJndiName", propertyValue = "QFC"),
    @ActivationConfigProperty(propertyName = "destination", propertyValue = "QQ")})

Please suggest what is worng..is there any classpath issue or something else.

Please suggest.

Thanks
Rash
[Message sent by forum member 'rashm' (rashm)]

http://forums.java.net/jive/thread.jspa?messageID=327439