On 7/3/07, Francisco Borges <francisco@x-hive.com> wrote:
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?

It's not mandatory, just a best practice - makes your code more readable.

> <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!

Francisco Borges