Hi

Le 20 juil. 2015 02:59, "Rohan Beckles" <[email protected]> a écrit :
>
> Hi Romain --
>
> One thing I'm a bit stuck with is referencing the JackRabbit adapter via
JNDI.
> According to the logs
>
> INFO: Creating Resource(id=jackrabbit-jca-2.8.0RA)
> Jul 20, 2015 1:40:41 AM org.apache.openejb.assembler.classic.Assembler
createResource
> INFO: Thread pool size for 'jackrabbit-jca-2.8.0RA' is (30)
> Jul 20, 2015 1:40:41 AM org.apache.openejb.assembler.classic.Assembler
createRecipe
> INFO: Creating Resource(id=jackrabbit-jca-2.8.0)
> Jul 20, 2015 1:40:41 AM org.apache.openejb.assembler.classic.Assembler
createResource
> INFO: Creating ConnectionManager for Resource(id=jackrabbit-jca-2.8.0)
> Jul 20, 2015 1:40:41 AM
org.apache.geronimo.connector.outbound.GenericConnectionManager$InterceptorsImpl
<init>
> INFO: No runtime TransactionSupport
> Jul 20, 2015 1:40:41 AM org.apache.openejb.assembler.classic.Assembler
logUnusedProperties
> WARNING: Property "ResourceAdapter" not supported by
"jackrabbit-jca-2.8.0"
>
> in concert with your discussions here:
>
>
http://tomee-openejb.979440.n4.nabble.com/Please-provide-a-working-example-for-configuring-any-kind-of-resource-adapters-in-tomee-td4673033.html#a4673048
>
> I should be able to access the resource adapter as
openejb:Resource/jackrabbit-jca-2.8.0RA, correct?
> However, having dumped the JNDI namespace from "java:" downwards, there
is no sign of jackrabbit-jca-2.8.0RA
> or anything else related to jackrabbit.  Are JCA resources auto-magically
mapped into the JNDI namespace, or
> must they be specified?
>

Magically no but jndi tree is not unique so you surely didnt dump the ra or
openejb resources one.

> Also, all of the examples I've looked at use JBoss as the application
server and specify the use of a ds.xml file  -
> what's the equivalent of the ds.xml file in TomEE?

For datasources right? Tomee.xml in conf/ or resources.xml in the app.

>
> Many thanks,
> --
> Rohan Beckles
> [email protected]
>

Reply via email to