users@glassfish.java.net

Re: 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 16:14:57 +0200

C:\java\appservers\glassfishV2\bin>asadmin version --verbose
Version = Sun Java System Application Server 9.1.1 (build b39-fcs)
Command version executed successfully.


Jagadish Prasath Ramu skrev:
> Can you post the exact build/version ?
>
> asadmin version --verbose
>
> Seems like the following bug
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=3478
>
> which is fixed in 9.1 UR1 (9.1_01)
>
> Thanks,
> -Jagadish
>
>
> On Mon, 2008-07-07 at 15:20 +0200, Gustav Trede wrote:
>
>> 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
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>