Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 67863 invoked from network); 5 Jun 2006 08:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jun 2006 08:58:50 -0000 Received: (qmail 19963 invoked by uid 500); 5 Jun 2006 08:58:46 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 19939 invoked by uid 500); 5 Jun 2006 08:58:46 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 19928 invoked by uid 99); 5 Jun 2006 08:58:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 01:58:46 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_MESSAGE,HTML_TAG_EXIST_TBODY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of www.bkk@gmail.com designates 64.233.162.201 as permitted sender) Received: from [64.233.162.201] (HELO nz-out-0102.google.com) (64.233.162.201) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 01:58:45 -0700 Received: by nz-out-0102.google.com with SMTP id m7so978724nzf for ; Mon, 05 Jun 2006 01:58:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=W7XqPLO+v8OrN20E2sum7Zm7aRmsbm+8YaxmPSz1PY84IO5rGsz4V//tC/+1rXf0F9sLUdX8IF/3yNkkXZkV4SmQyVm4K0I5pyFjKDGX+qw2IVad+wc8BmPEg9QKiIv6pR3IffaonH69oWoJnVPBwDwxmlwKpMAJj2cKbDl5hgA= Received: by 10.36.43.12 with SMTP id q12mr2690107nzq; Mon, 05 Jun 2006 01:58:24 -0700 (PDT) Received: by 10.36.138.14 with HTTP; Mon, 5 Jun 2006 01:58:24 -0700 (PDT) Message-ID: <2ed2f49c0606050158j4bb4845cxdca4703d560c66b1@mail.gmail.com> Date: Mon, 5 Jun 2006 14:28:24 +0530 From: "Krishnakumar B" To: user@geronimo.apache.org Subject: Re: ActivationSpec was never registered with ResourceAdapter In-Reply-To: <299DA3656EEB7843B07E2D4999B28FED6C4858@HYDHTCMSG01.ad.infosys.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5403_5502517.1149497904570" References: <299DA3656EEB7843B07E2D4999B28FED6C4858@HYDHTCMSG01.ad.infosys.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5403_5502517.1149497904570 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Anshuk, Ur EJB- MDB plan should have a Activation Spec section. ... .../activation-config-property-value> Add this within and try. Regards Krishnakumar B On 6/5/06, Anshuk Chinmoy Pal Chaudhuri 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:* > > > > CoreBusRequestListener > > ActiveMQ RA > > > > > *The application.xml of the ear:* > > 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"> > Syndeo2.5 > > > ger-syndeo-war.war > Syndeo2.5 > > > > ger-syndeo-ejb.jar > > > > *The EAR deployment(geronimo-application.xml) file of the application > looks like:* > > > xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0" > configId="MyAPP"> > > myapp/activemq-ra/3.2.1/jar > > > myapp/activemq-core/3.2.1/jar > > > > myejb.jar > openejb-jar.xml > > > mywar.war > xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0" > xmlns:naming=" > http://geronimo.apache.org/xml/ns/naming-1.0" > configId="mywar"> > > orcl_ds > > orcl_pool > > > > QueueCF1 > > QueueCF1 > > > QueueCF2 > > QueueCF2 > > > > > > 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*** > ------=_Part_5403_5502517.1149497904570 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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"
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***

------=_Part_5403_5502517.1149497904570--