users@glassfish.java.net

config in sun-resources.xml works for JMS connecton pool name only ?

From: Gustav Trede <gustav.trede_wsdevel_at_telia.com>
Date: Mon, 07 Jul 2008 15:20:36 +0200

Hello,

In an ear project using glassfish v2.1 build 39. with either the
included openmq 4.1 Patch 2 (Build 2-a) or 4.2 rc2 build.

Im trying to have the jms connection pool configured automaticly on a
fresh deployment in sun-resources.xml.

Only the pool name "jms/auroraEntityTopicFactoryPool" is picked up , all
other config parameters are ignored.
my sun-resources.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resources PUBLIC "-//Sun Microsystems, Inc.//DTD Application
Server 9.1 Resource Definitions //EN"
"http://www.sun.com/software/appserver/dtds/sun-resources_1_3.dtd">
<resources>
<admin-object-resource enabled="true" jndi-name="jms/AAAAAAA"
object-type="user" res-adapter="jmsra"
res-type="javax.jms.Topic"><description/>
</admin-object-resource>
<connector-resource enabled="true"
jndi-name="jms/auroraEntityTopicFactory" object-type="user"
pool-name="jms/auroraEntityTopicFactoryPoola" ><description/>
</connector-resource>
<connector-connection-pool associate-with-thread="false"
connection-creation-retry-attempts="3"
connection-creation-retry-interval-in-seconds="5"
connection-definition-name="javax.jms.TopicConnectionFactory"
connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0"
fail-all-connections="false" idle-timeout-in-seconds="0"
is-connection-validation-required="false"
lazy-connection-association="false" lazy-connection-enlistment="false"
match-connections="true" max-connection-usage-count="0"
max-pool-size="16" max-wait-time-in-millis="60000"
name="jms/auroraEntityTopicFactoryPoola" pool-resize-quantity="1"
resource-adapter-name="jmsra" steady-pool-size="1"
transaction-support="true" validate-atmost-once-period-in-seconds="0"> />
</connector-connection-pool>
</resources>


regards
 Gustav Trede