geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Borges <franci...@x-hive.com>
Subject Re: Can't connect to ConnectionFactory, need resource-ref?
Date Tue, 03 Jul 2007 14:09:02 GMT
On Tuesday 03 July 2007, Shiva Kumar H R wrote:
> Comments inline.

> JNDI namespace for datasources should ideally be jdbc. Try changing

Even if I am not exposing a JDBC interface?


> <res-ref-name> to "jdbc/XhiveDS" (plus update jndi lookup code in your
> ejbs) as below, in sync with <ref-name> in openejb-jar.xml, and see if
> it solves the problem.

>      <resource-ref>
>        <res-ref-name>jdbc/XhiveDS</res-ref-name>
>        <res-type>
>         
> com.xhive.j2ee.connector.interfaces.XhiveCCIConnectionFactoryIf
> </res-type>
>        <res-auth>Container</res-auth>
>        <res-sharing-scope>Shareable</res-sharing-scope>
>      </resource-ref>
>
> If this doesn't solve, do post the errors you are seeing while
> deploying/running.

It worked!

:-)

Thank you very much for the help!

Cheers,
-- 
Francisco Borges

Mime
View raw message