users@glassfish.java.net

Deploying an EAR with MDB that uses an ActiveMQ Connector Resource

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Apr 2008 14:38:58 PDT

I am having problems when I deploy my EAR which has a Message-Driven Bean that makes use of a Connector Resources which uses the ActiveMQ v5.1 RA. I have the Connector Connection Pool setup, and the Connector Resource. My sun-ejb-jar.xml file contains:

<mdb-connection-factory>
        <jndi-name>LokiActiveMQ</jndi-name>
</mdb-connection-factory>

But I still seems to be trying to load the Sun JMS classes, with predictable non-working results. Below are the applicable log file entries.




[#|2008-04-23T14:15:24.812-0700|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=19;_ThreadName=Thread-41;|deployed with moduleid = TestEnterpriseApp1|#]

[#|2008-04-23T14:15:25.343-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=Thread-40;setUseInboundSession;com.sun.messaging.jms.ra.ActivationSpec;_RequestID=7ace5520-6e1f-4857-9a63-4b69b4eeb764;|RAR8000 : The method setUseInboundSession is not present in the class : com.sun.messaging.jms.ra.ActivationSpec|#]

[#|2008-04-23T14:15:25.343-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=Thread-40;UseInboundSession;com.sun.messaging.jms.ra.ActivationSpec;_RequestID=7ace5520-6e1f-4857-9a63-4b69b4eeb764;|RAR7097: No setter method present for the property UseInboundSession in the class com.sun.messaging.jms.ra.ActivationSpec|#]

[#|2008-04-23T14:15:25.343-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=Thread-40;setServerUrl;com.sun.messaging.jms.ra.ActivationSpec;_RequestID=7ace5520-6e1f-4857-9a63-4b69b4eeb764;|RAR8000 : The method setServerUrl is not present in the class : com.sun.messaging.jms.ra.ActivationSpec|#]

[#|2008-04-23T14:15:25.343-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=Thread-40;ServerUrl;com.sun.messaging.jms.ra.ActivationSpec;_RequestID=7ace5520-6e1f-4857-9a63-4b69b4eeb764;|RAR7097: No setter method present for the property ServerUrl in the class com.sun.messaging.jms.ra.ActivationSpec|#]

[#|2008-04-23T14:15:25.343-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=Thread-40;setBasedir;com.sun.messaging.jms.ra.ActivationSpec;_RequestID=7ace5520-6e1f-4857-9a63-4b69b4eeb764;|RAR8000 : The method setBasedir is not present in the class : com.sun.messaging.jms.ra.ActivationSpec|#]

[#|2008-04-23T14:15:25.343-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=Thread-40;basedir;com.sun.messaging.jms.ra.ActivationSpec;_RequestID=7ace5520-6e1f-4857-9a63-4b69b4eeb764;|RAR7097: No setter method present for the property basedir in the class com.sun.messaging.jms.ra.ActivationSpec|#]

[#|2008-04-23T14:15:25.578-0700|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=18;_ThreadName=Thread-40;TestEnterpriseApp1;|LDR5010: All ejb(s) of [TestEnterpriseApp1] loaded successfully!|#]
[Message sent by forum member 'drizzt321' (drizzt321)]

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