You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Sai Arunachalam <sa...@gmail.com> on 2004/08/12 10:20:41 UTC
Is geronimo compatible with resource adapters deployed in weblogic
Hi,
I would be happy to know as to what would be the equivalents for
the following 4 tags that are part of weblogic-ra.xml (weblogic
specific deployment descriptor for resource adapters).
weblogic has what is known as a principal map for security:
<security-principal-map>
(provides a mechanism to define appropriate resource-principal values
for resuorce adapter and EIS authorization processing, based upon the
known WebLogic runtime initiating run time initiating-principal. This
map allows for hte specification of a defined set of initiaitng
principals and the corresponding resource principal's username and
password that should be used when allocating managed connections and
connection handles) This has subtags that are <map-entry>,
<initiating-principal> and <resource-principal>.
<map-config-property>
(identifies a configuration property name and value that corresponds
to an ra.xml config-entry element with the corresponding
config-property-name. At deployment time, all values present in a
map-config-property specification will be set on the
ManagedConnectionFactory.
Weblogic has the following tags that are extra as the parameters for
connection pooling:
<capacity-increment>
(identifies the max number of additional managed connections which the
server attempts to obtain during resizing of the maintained connection
pool)
<shrinking-enabled>
(indicates whether or not the connection pool should have unused
managed connection reclaimed as a means to control system resources)
two more related tags are <shrink-period-minutes> and
<connection-cleanup-frequency>
If anybody can tell me as to how I port a RA with a weblogic-ra.xml
that has the above tags, i.e. what tags should I add to geronimo to
get the same functionality, that'd be great....
Thanks in advance,
Sai
Re: Is geronimo compatible with resource adapters deployed in weblogic
Posted by Gianny Damour <gi...@optusnet.com.au>.
On 12/08/2004 6:20 PM, Sai Arunachalam wrote:
>Hi,
> I would be happy to know as to what would be the equivalents for
>the following 4 tags that are part of weblogic-ra.xml (weblogic
>specific deployment descriptor for resource adapters).
>
>weblogic has what is known as a principal map for security:
>
><security-principal-map>
>
>
Geronimo defines what is known as a ReamlBridge. Various RealmBridge
implementations are availale (have a look here
org.apache.geronimo.security.bridge) and this WebLogic configuration
refers to a PropertiesFilePrincipalMappingUserPasswordRealmBridge.
The tag to use is <realm-bridge>, cf. the .xsd. It specifies a
RealmBridge name.
Then, you declare the RealmBridge which matches your needs at the end of
the geronimo-ra.xml file. This is a standard GBean, yet its name MUST be
geronimo.security:service=RealmBridge,name=<the RealmBridge name that
you are declared>
><map-config-property>
>
>
<config-property-setting>
This guy overrides the one in the ra.xml DD.
><capacity-increment>
>
>
This tuning parameter is not implemented. The various pool
implementations add only one ManagedConnection at a time.
As a matter of fact, I have never used this WebLogic feature. Having
said that, Geronimo implements other features.
><shrinking-enabled>
>
>
Not implemented.
><connection-cleanup-frequency>
>
>
Not implemented.
Cheers,
Gianny
Re: Is geronimo compatible with resource adapters deployed in weblogic
Posted by toby cabot <to...@caboteria.org>.
On Thu, Aug 12, 2004 at 01:50:41PM +0530, Sai Arunachalam wrote:
> <security-principal-map>
Not sure.
> <map-config-property>
I've found that this isn't needed - geronimo will load the values from
the ra.xml config-property elements without needing an entry in
geronimo-ra.xml, at least for resource adapters so it should work for
connection factories, too.
> <capacity-increment>
> <shrinking-enabled>
> two more related tags are <shrink-period-minutes> and
> <connection-cleanup-frequency>
I'm not sure, but I'd say that these look like tuning parameters to me
so you're probably OK for testing without them.
I think that the schema for the geronimo-config.ra file is
modules/connector/src/schema/geronimo-connector_1_5.xsd in the
geronimo source tree.