geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Sturm" <christoph.st...@gmail.com>
Subject problem looking up connection factory from a war
Date Thu, 08 Jun 2006 20:41:10 GMT
hey!

i have this in my web.xml:

    <resource-ref>
        <res-ref-name>ConnectionFactory</res-ref-name>
        <res-type>javax.jms.ConnectionFactory</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>

and this in my geronimo-web.xml:

    <n:resource-ref>
        <n:ref-name>ConnectionFactory</n:ref-name>
        <n:resource-link>DefaultActiveMQConnectionFactory</n:resource-link>
    </n:resource-ref>

and when i deploy the war i get this error:

org.apache.geronimo.common.DeploymentException: Unable to resolve
resource reference 'ConnectionFactory' (Could not find resource
'DefaultActiveMQConnectionFactory'.  Perhaps it has not yet been
configured, or your application does not have a dependency declared
for that resource module?)

(I am using the geronimo 1.1 candidate)

what am i doing wrong?

thanks
 chris
-- 
christoph.sturm@gmail.com

Mime
View raw message