users@glassfish.java.net

Re: Deploying a JMS topic using sun-resources.xml

From: Jagadish Prasath Ramu <Jagadish.Ramu_at_Sun.COM>
Date: Mon, 03 Jan 2011 19:02:10 +0530

[javax.jms.Topic is used for administered object]

You can create connector-connection-pool for any of the
following connection-definitions of jmsra.

eg:
javax.jms.ConnectionFactory
javax.jms.QueueConnectionFactory
javax.jms.TopicConnectionFactory

Thanks,
-Jagadish

On Mon, 2011-01-03 at 11:38 +0100, Edmondo Porcu wrote:
> Good morning,
> deploying through asadmin add-resources sun-resources.xml containing a
> jdbc entry and a jms topic fails for the jms topic, while it succeed
> for the the jdbc
>
> <connector-connection-pool associate-with-thread="false"
> connection-creation-retry-attempts="0"
> connection-creation-retry-interval-in-seconds="10"
> connection-definition-name="javax.jms.Topic"
> connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0"
> fail-all-connections="false" idle-timeout-in-seconds="300"
> is-connection-validation-required="false"
> lazy-connection-association="false" lazy-connection-enlistment="false"
> match-connections="true" max-connection-usage-count="0"
> max-pool-size="32" max-wait-time-in-millis="60000" name="isCurve"
> pool-resize-quantity="2" resource-adapter-name="jmsra"
> steady-pool-size="8" validate-atmost-once-period-in-seconds="0"/>
>
> <connector-resource enabled="true" jndi-name="isCurve"
> object-type="user" pool-name="isCurve">
> <description/>
> </connector-resource>
>
>
> The error is:
>
> Command : Invalid connection definition. Connector Module with
> connection definition javax.jms.Topic not found.
> Command : Attribute value (pool-name = isCurve) is not found in list
> of connector connection pools.
>
>
> Do you have any idea of what the issue might be?
>
> Best Regards
> Edmondo Porcu