Please find the files below….

geronimo-ra.xml

<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
        <dep:moduleId>
            <dep:groupId>console.dbpool</dep:groupId>
            <dep:artifactId>so_orcl_pool</dep:artifactId>
            <dep:version>1.0</dep:version>
            <dep:type>rar</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>oracle</dep:groupId>
                <dep:artifactId>ojdbc</dep:artifactId>
                <dep:version>1.4</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
        </dep:dependencies>
    </dep:environment>
    <resourceadapter>
        <outbound-resourceadapter>
            <connection-definition>
                <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>so_orcl_pool</name>
                    <config-property-setting name="Password">setlws</config-property-setting>
                    <config-property-setting name="Driver">oracle.jdbc.OracleDriver</config-property-setting>
                    <config-property-setting name="UserName">setlws</config-property-setting>
                    <config-property-setting name="ConnectionURL">jdbc:oracle:thin:@hydhtc45773:1521:orcl</config-property-setting>

                    <connectionmanager>
                        <local-transaction/>
                        <single-pool>
                            <max-size>10</max-size>
                            <min-size>10</min-size>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>
</connector>

ejb-jar.xml

<?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>CoreBusRequestListener</display-name>
        <ejb-name>CoreBusRequestListener</ejb-name>
        <ejb-class>com.infosys.so.ejbs.CoreBusListener</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>jms/CoreBusQueue</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-property>
                        <activation-config-property-name>messageSelector</activation-config-property-name>
                        <activation-config-property-value>MessageType='Request'</activation-config-property-value>
                </activation-config-property>
        </activation-config>
        <env-entry>
                <env-entry-name>ListenServiceName</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>CoreMessagingQueueService</env-entry-value>
        </env-entry>
        <env-entry>
                <env-entry-name>SendServiceName</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>RequestQueueMessagingService</env-entry-value>
        </env-entry>
    </message-driven>
   
    <message-driven>
        <display-name>CoreBusResponseListener</display-name>
        <ejb-name>CoreBusResponseListener</ejb-name>
        <ejb-class>com.infosys.so.ejbs.CoreBusListener</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>jms/CoreBusQueue</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-property>
                        <activation-config-property-name>messageSelector</activation-config-property-name>
                        <activation-config-property-value>MessageType='Response'</activation-config-property-value>
                </activation-config-property>
        </activation-config>
        <env-entry>
                <env-entry-name>ListenServiceName</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>CoreMessagingQueueService</env-entry-value>
        </env-entry>
        <env-entry>
                <env-entry-name>SendServiceName</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>ResponseQueueMessagingService</env-entry-value>
        </env-entry>
    </message-driven>

    <message-driven>
        <display-name>CoreBusErrorListener</display-name>
        <ejb-name>CoreBusErrorListener</ejb-name>
        <ejb-class>com.infosys.so.ejbs.CoreBusListener</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>jms/CoreBusQueue</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-property>
                        <activation-config-property-name>messageSelector</activation-config-property-name>
                        <activation-config-property-value>MessageType='Error'</activation-config-property-value>
                </activation-config-property>
        </activation-config>
         <env-entry>
                <env-entry-name>ListenServiceName</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>CoreMessagingQueueService</env-entry-value>
        </env-entry>
        <env-entry>
                <env-entry-name>SendServiceName</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>ErrorQueueMessagingService</env-entry-value>
        </env-entry>
    </message-driven>
   

    <message-driven>
        <display-name>MetricsListener</display-name>
        <ejb-name>MetricsListener</ejb-name>
        <ejb-class>com.infosys.so.ejbs.MetricsListener</ejb-class>
        <transaction-type>Container</transaction-type>
        <activation-config>
                <activation-config-property>
                        <activation-config-property-name>destination</activation-config-property-name>
                        <activation-config-property-value>jms/MetricsQueue</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>

        <session>
                <display-name>soEJB</display-name>
                <ejb-name>soEJB</ejb-name>
                <home>com.infosys.so.ejbs.soEJBHome</home>
                <remote>com.infosys.so.ejbs.soInterface</remote>
                <ejb-class>com.infosys.so.ejbs.soEJBBean</ejb-class>
                <session-type>Stateless</session-type>
                <transaction-type>Container</transaction-type>
                <resource-ref>
                    <res-ref-name>so_orcl_ds</res-ref-name>
                    <res-type>javax.sql.DataSource</res-type>
                    <res-auth>Container</res-auth>
                    <res-sharing-scope>Shareable</res-sharing-scope>
                </resource-ref>
        </session>
 </enterprise-beans>
 
 <assembly-descriptor>
  <container-transaction>
        <method>
        <ejb-name>CoreBusRequestListener</ejb-name>
         <method-name>*</method-name>
       </method>
       <trans-attribute>Required</trans-attribute>
     </container-transaction>
 
  <container-transaction>
        <method>
        <ejb-name>CoreBusResponseListener</ejb-name>
         <method-name>*</method-name>
       </method>
       <trans-attribute>Required</trans-attribute>
     </container-transaction>
 
     <container-transaction>
        <method>
        <ejb-name>CoreBusErrorListener</ejb-name>
         <method-name>*</method-name>
       </method>
       <trans-attribute>Required</trans-attribute>
     </container-transaction>
    
     <container-transaction>
                <method>
                <ejb-name>MetricsListener</ejb-name>
             <method-name>*</method-name>
           </method>
           <trans-attribute>Required</trans-attribute>
     </container-transaction>
    
    </assembly-descriptor>
</ejb-jar>

openejb-jar.xml

<?xml version="1.0" encoding="UTF-8"?>
<openejb-jar
  xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
  xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
  xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
  xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
  xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
  inverseClassloading="false">
  <!-- configId="soEJB"> -->

<sys:environment>
        <sys:moduleId>
            <sys:artifactId>so</sys:artifactId>
        </sys:moduleId>
    <sys:dependencies>   
   
        <sys:dependency>
            <sys:groupId>console.dbpool</sys:groupId>
            <sys:artifactId>so_orcl_pool</sys:artifactId>
        </sys:dependency>
       
        <sys:dependency>
          <sys:groupId>so</sys:groupId>
          <sys:artifactId>soclasses</sys:artifactId>
          <sys:version>2.5</sys:version>
          <sys:type>jar</sys:type>
        </sys:dependency>
     
        <sys:dependency>
            <sys:groupId>oracle</sys:groupId>
            <sys:artifactId>ojdbc</sys:artifactId>
            <sys:version>1.4</sys:version>
            <sys:type>jar</sys:type>
        </sys:dependency>
       
    </sys:dependencies>
</sys:environment>

<enterprise-beans>
    <message-driven>
    <ejb-name>CoreBusRequestListener</ejb-name>
    <resource-adapter>
        <resource-link>so_JMS_Resources</resource-link>
    </resource-adapter>
    <activation-config>
                <activation-config-property>
                        <activation-config-property-name>destination</activation-config-property-name>
                        <activation-config-property-value>jms/CoreBusQueue</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-property>
                        <activation-config-property-name>messageSelector</activation-config-property-name>
                        <activation-config-property-value>MessageType='Request'</activation-config-property-value>
                </activation-config-property>
        </activation-config>
    </message-driven>
   
    <message-driven>
    <ejb-name>CoreBusResponseListener</ejb-name>
    <resource-adapter>
        <resource-link>so_JMS_Resources</resource-link>
    </resource-adapter>
    <activation-config>
                <activation-config-property>
                        <activation-config-property-name>destination</activation-config-property-name>
                        <activation-config-property-value>jms/CoreBusQueue</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-property>
                        <activation-config-property-name>messageSelector</activation-config-property-name>
                        <activation-config-property-value>MessageType='Response'</activation-config-property-value>
                </activation-config-property>
        </activation-config>
    </message-driven>
   
    <message-driven>
    <ejb-name>CoreBusErrorListener</ejb-name>
    <resource-adapter>
        <resource-link>so_JMS_Resources</resource-link>
    </resource-adapter>
        <activation-config>
                <activation-config-property>
                        <activation-config-property-name>destination</activation-config-property-name>
                        <activation-config-property-value>jms/CoreBusQueue</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-property>
                        <activation-config-property-name>messageSelector</activation-config-property-name>
                        <activation-config-property-value>MessageType='Error'</activation-config-property-value>
                </activation-config-property>
        </activation-config>
    </message-driven>
   
   
    <message-driven>
    <ejb-name>MetricsListener</ejb-name>
    <resource-adapter>
        <resource-link>so_JMS_Resources</resource-link>
    </resource-adapter>
        <activation-config>
                <activation-config-property>
                        <activation-config-property-name>destination</activation-config-property-name>
                        <activation-config-property-value>jms/MetricsQueue</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>
 
    <session>
        <ejb-name>soEJB</ejb-name>
        <jndi-name>soEJB</jndi-name>
            <resource-ref>
            <ref-name>so_orcl_ds</ref-name>
            <resource-link>so_orcl_pool</resource-link>
        </resource-ref>
    </session>
 
</enterprise-beans>
</openejb-jar>


Thanks and Regards,
Sunny Saxena
SOA and Web Services CoE| SETLabs | Hyderabad
Phone: [deleted] |Ext: 48444
"...smile, and the world will smile with you"

-----Original Message-----
From: ammulder@gmail.com [mailto:ammulder@gmail.com] On Behalf Of Aaron Mulder
Sent: Tuesday, August 22, 2006 4:28 PM
To: user@geronimo.apache.org
Subject: Re: Unable to locate Datasource

Can you post your geronimo-ra.xml, ejb-jar.xml, and openejb-jar.xml?

Thanks,
      Aaron

On 8/22/06, Sunny Saxena <Sunny_Saxena@infosys.com> wrote:
>
>
>
> We have an EAR which contains a connector module and an EJB. This worked fine in 1.0. Now while migrating to 1.1, we put the geronimo-ra.xml file in the connectow META-INF to configure the data pool. But when we deploy the EJB now, we get the follwoing error:

>
> Geronimo Application Server started
> Deployer operation failed: Unable to resolve resource reference
> 'orcl_ds' (Could not auto-map to resource .  Try adding a resource-ref
> mapping to your Geronimo deployment plan.)
> org.apache.geronimo.common.DeploymentException: Unable to resolve
> resource reference 'orcl_ds' (Could not  auto-map to resource.  Try
> adding a resource-ref mapping to your Geronimo deployment plan.)
>
> where 'orcl_ds' is the name of the data source. we have entries both in the openejb-jar.xml and ejb-jar.xml, which worked in 1.0.

>
> Thanks and Regards,
> Sunny Saxena
> SOA and Web Services CoE| SETLabs | Hyderabad
> Phone: [deleted] |Ext: 48444
> "...smile, and the world will smile with you"
>
> **************** 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***
>