pool properties of "jonas-ra.xml" not setted/ignored

Stefano Arosio <[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Organization Mobis
Message-ID <[email protected]>
Hello.

I'm using jonas 5.1.2 and I have a configuration problem with a XA
"JDBC Resource Adapters".

The parameter setted in jonas-ra.xml like "mapperName","user"
and "password" are configured properly, but all pool parameters are
ignored. Under here i copy the jonas-ra.xml and
the "jadmin web page" where you can see that the pool properties
are not setted.

What is the problem?

thank you,

Stefano Arosio

JADMIN WEB PAGE

Resource Adapter

Name

db_mainDbRa_XA

JNDI
Name

jdbcmps

File

db_mainDbRa_XA.rar

Path

/mydir/deploy/db_mainDbRa_XA.rar

Properties

databaseName

dbSpecificMethods

description

dsClass

oracle.jdbc.xa.client.OracleXADataSource

isolationLevel

loginTimeout

0

logTopic

mapperName

rdb.oracle

password

mypassword

portNumber

12345

serverName

server1

user

myuser

Pool properties

Maximum
age

Connection maximum age (Value in minutes)

Maximum
open time

Connection maximum open time (Value in minutes)

Pool
initial size

0
Initial size of the connection pool

Pool
minimum

Minimum size of the connection pool

Pool
maximum

Maximum size of the connection pool (-1 = no max)

Max
Wait Time

Maximum time in seconds to wait for a Connection
(0 = no wait)

Max
Waiters

Maximum number of concurrent waiters for a
Connection

Sampling
Period

Sampling Period in seconds

jonas-ra.xml

<?xml version = "1.0" encoding = "UTF-8"?>

<jonas-connector xmlns="http://www.objectweb.org/jonas/ns"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation=" http://www.objectweb.org/jonas/ns

http://www.objectweb.org/jonas/ns/jonas-connector_4_2.xsd " >

<jndi-name>jdbcmps</jndi-name>

<rarlink>JOnASJDBC_XA</rarlink>

<jonas-config-property>

<jonas-config-property-name>dsClass</jonas-config-property-name>

<jonas-config-property-value>

oracle.jdbc.xa.client.OracleXADataSource

</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>mapperName</jonas-config-property-name>

<jonas-config-property-value>

rdb.oracle

</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>dbSpecificMethods</jonas-config-property-name>

<jonas-config-property-value></jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>serverName</jonas-config-property-name>

<jonas-config-property-value>server1</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>portNumber</jonas-config-property-name>

<jonas-config-property-value>12345</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>user</jonas-config-property-name>

<jonas-config-property-value>myuser</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>password</jonas-config-property-name>

<jonas-config-property-value>mypassword</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-max-age-minutes</jonas-config-property-name>

<jonas-config-property-value>30</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-max-opentime</jonas-config-property-name>

<jonas-config-property-value>60</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>jdbc-check-level</jonas-config-property-name>

<jonas-config-property-value>1</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>jdbc-test-statement</jonas-config-property-name>

<jonas-config-property-value>

select * from dual

</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-min</jonas-config-property-name>

<jonas-config-property-value>1</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-max</jonas-config-property-name>

<jonas-config-property-value>30</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-sampling-period</jonas-config-property-name>

<jonas-config-property-value>30</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-max-waittime</jonas-config-property-name>

<jonas-config-property-value>5</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pool-max-waiters</jonas-config-property-name>

<jonas-config-property-value>100</jonas-config-property-value>

</jonas-config-property>

<jonas-config-property>

<jonas-config-property-name>pstmt-max</jonas-config-property-name>

<jonas-config-property-value>0</jonas-config-property-value>

</jonas-config-property>

</jonas-connector>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.