Warm Regards,
Anshuk Pal
Chaudhuri
SETLabs -
Web Services CoE
Infosys Technologies Ltd.
Hyderabad
Extn. 48030
From: Krishnakumar B [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 2:28 PM
To: [email protected]
Subject: Re: ActivationSpec was never registered with ResourceAdapter
<activation-config-property>
<activation-config-property-name>...</activation-config-property-name>
<activation-config-property-value>.../activation-config-property-value>
</activation-config-property>
Hi,While deploying an ear application file(containing EJB and WAR),
I facing the error: java.lang.IllegalStateException : ActivationSpec was never registered with ResourceAdapter ResourceAdapter is not of type: org.activemq.ra.ActiveMQResourceAdapter
The deployment plan file of the mdb looks like this:
<enterprise-beans>
<message-driven>
<ejb-name>CoreBusRequestListener</ejb-name>
<resource-adapter>
<resource-link>ActiveMQ RA</resource-link>
</resource-adapter>
</message-driven>
</enterprise-beans>The application.xml of the ear:
<?xml version="1.0" encoding="UTF-8"?>
<application 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/application_1_4.xsd"
version="1.4">
<display-name>Syndeo2.5</display-name>
<module>
<web>
<web-uri>ger-syndeo-war.war</web-uri>
<context-root>Syndeo2.5</context-root>
</web>
</module>
<module>
<ejb>ger-syndeo-ejb.jar</ejb>
</module>
</application>The EAR deployment(geronimo-application.xml) file of the application looks like:
<?xml version="1.0" encoding="UTF-8"?>
<application
xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0 "
configId="MyAPP">
<dependency>
<uri>myapp/activemq-ra/3.2.1/jar</uri>
</dependency>
<dependency>
<uri>myapp/activemq-core/3.2.1/jar</uri>
</dependency><module>
<ejb>myejb.jar</ejb>
<alt-dd>openejb-jar.xml</alt-dd>
</module>
<module>
<web>mywar.war</web>
<web-app
xmlns=" http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
xmlns:naming=" http://geronimo.apache.org/xml/ns/naming-1.0"
configId="mywar">
<naming:resource-ref>
<naming:ref-name>orcl_ds</naming:ref-name>
<naming:resource-link>orcl_pool</naming:resource-link>
</naming:resource-ref>
<naming:resource-ref>
<naming:ref-name>QueueCF1</naming:ref-name>
<naming:resource-link>QueueCF1</naming:resource-link>
</naming:resource-ref>
<naming:resource-ref>
<naming:ref-name>QueueCF2</naming:ref-name>
<naming:resource-link>QueueCF2</naming:resource-link>
</naming:resource-ref>
</web-app>
</module>
</application>
Can any body tell whar extra configuration do I need to mention?
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***
