tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Does tomee plus support ValidatingManagedConnectionFactory?
Date Wed, 09 Jan 2013 10:34:03 GMT
first you can't use tomee.xml for war provided resources (tomee.xml
resources are created at startup before any deployment so the classes are
not here at all). You can use resources.xml (in WEB-INF) - same syntax

then the type (or more exactly for you class-name attribute) is the
managedconnectionfactory one and not Resource (which is not the java type
you want)

That said it should be deployed by default normally and you have the name
in the logs

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/1/9 Anthony Fryer <apfryer@hotmail.com>

> Yes i'll definately test it.
>
> I have a question around the configuration of the pooling parameters.  Now
> I'm deploying the ra in the war file, i was trying to use tomee.xml to
> configure values like poolMinSize, poolMaxSize etc.
>
> I tried variations like this...
>
> <Resource id="eis/sabre/900001" type="Resource">
>                 poolMinSize = 7
>                 poolMaxSize = 10
> </Resource>
>
> But this always errors because the type is not supported.
>
> The only way i have succeeded in configuring the pool is by adding these
> lines to the system.properties file...
>
> eis/sabre/900001.poolMinSize = 2
> eis/sabre/900001.poolMaxSize = 10
>
> Is it possible to configure the pool in tomee.xml and if so, what value
> should i use for the type attribute?
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Does-tomee-plus-support-ValidatingManagedConnectionFactory-tp4660187p4660198.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message