geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshuk Chinmoy Pal Chaudhuri" <Anshuk_PalChaudh...@infosys.com>
Subject RE: ActivationSpec was never registered with ResourceAdapter
Date Sat, 10 Jun 2006 09:21:47 GMT
Thanks Krishna.
I have added the activation config details in the openejb-jar.xml file.
But still its having the same problem.
But if in the geronimo-application.xml file,if I mention the
parenId="geronimo/activemq/1.0/car", then it will work fine.
But mentioning the parentId as geronimo/activemq/1.0/car will create a
few problems in the my web application.
How will I resolve the error?As in without even mentioning the parentId
in the geronimo-application.xml file.
 

Warm Regards, 
Anshuk Pal Chaudhuri 
SETLabs - Web Services CoE 
Infosys Technologies Ltd. 
Hyderabad 
Extn. 48030 

 

________________________________

From: Krishnakumar B [mailto:www.bkk@gmail.com] 
Sent: Monday, June 05, 2006 2:28 PM
To: user@geronimo.apache.org
Subject: Re: ActivationSpec was never registered with ResourceAdapter


Hi Anshuk,
 
Ur EJB- MDB plan should have a Activation Spec section.
 
<activation-config>
      <activation-config-property>
 
<activation-config-property-name>...</activation-config-property-name>
 
<activation-config-property-value>.../activation-config-property-value> 
      </activation-config-property>
</activation-config>
 
Add this within <message-driven> and try.
 
Regards
Krishnakumar B
 


On 6/5/06, Anshuk Chinmoy Pal Chaudhuri
<Anshuk_PalChaudhuri@infosys.com> wrote: 

	
	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
<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
<http://geronimo.apache.org/xml/ns/j2ee/web-1.0> " 
	                 xmlns:naming="
http://geronimo.apache.org/xml/ns/naming-1.0
<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***
	



Mime
View raw message