<<ejb-jar.xml>> <<JMS_CLIENT_MDB_LISTENER_DEPLOYMENT_PLAN.xml>> <<openejb-jar.xml>>
Hi,
I am having some issues in deploying MDB's on Geronimo 1.0 reagrding the parent id.
I do not have ear application files as such.Just a simple MDB listening to a queue.
I have created the queues (which is mentioned in the MDB config files) using the resource adapater file from the activemq-ra-3.2.1 file.
The resource adapter file contains the parent id: geronimo/activemq-broker/1.0/car
The parent id of the MDB deployment file has to be org/apache/geronimo/SystemJMS otherwise it will throw an error of java.lang.ClassNotFoundException: org.activemq.ra.ActiveMQActivationSpec,true. But while deploying the MDB using the parent id: org/apache/geronimo/SystemJMS,there is an error saying that Unable to load first parent of configuration TESTING_JMS_MDB No configuration with id: org/apache/geronimo/SystemJMS
I have attached the configuration files:
- JMS_CLIENT_MDB_LISTENER_DEPLOYMENT_PLAN.xml (resource adapter file to create queues)
- ejb-jar.xml
- openejb-jar.xml
The default activemq-broker application is running.
Is it to do with that or something?
Can somebody let me know asap what else configuration do I need to make to make that working?
Warm Regards,
Anshuk Pal Chaudhuri
| **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** |
<?xml version="1.0" encoding="UTF-8"?> <ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<enterprise-beans>
<message-driven>
<display-name>TESTING_JMS_MDB</display-name>
<ejb-name>TESTING_JMS_MDB</ejb-name>
<ejb-class>com.infosys.syndeo.multipleprotocols.jmsinterface.JMSSenderMDBImpl</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>destination</activation-config-property-name>
<activation-config-property-value>QueueRequest</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>
</enterprise-beans>
</ejb-jar>
<?xml version="1.0" encoding="UTF-8"?> <connector configId="JMS_MDB_CLIENT" parentId="geronimo/activemq-broker/1.0/car" xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"> <resourceadapter> <resourceadapter-instance> <resourceadapter-name>JMS_MDB_CLIENT</resourceadapter-name> <config-property-setting name="Password">geronimo</config-property-setting> <config-property-setting name="UserName">geronimo</config-property-setting> <nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.0"> <nam:gbean-link>DefaultWorkManager</nam:gbean-link> </nam:workmanager> </resourceadapter-instance> </resourceadapter> <adminobject> <adminobject-interface>javax.jms.Queue</adminobject-interface> <adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class> <adminobject-instance> <message-destination-name>SyndeoQueueRequest</message-destination-name> <config-property-setting name="PhysicalName">QueueRequest</config-property-setting> </adminobject-instance> </adminobject> <adminobject> <adminobject-interface>javax.jms.Queue</adminobject-interface> <adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class> <adminobject-instance> <message-destination-name>QueueResponse</message-destination-name> <config-property-setting name="PhysicalName">SyndeoQueueResponse</config-property-setting> </adminobject-instance> </adminobject> </connector>
<?xml version="1.0" encoding="UTF-8"?> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0" configId="TESTING_JMS_MDB" parentId="org/apache/geronimo/SystemJMS"> <enterprise-beans> <message-driven> <ejb-name>TESTING_JMS_MDB</ejb-name> <resource-adapter> <resource-link>ActiveMQ RA</resource-link> </resource-adapter> </message-driven> </enterprise-beans> </openejb-jar>
