4 Replies Latest reply on May 29, 2006 11:19 AM by Weston M. Price

    Spurious waring :-)

    Adrian Brock Master

       

      13:09:34,478 WARN [JBossManagedConnectionPool] waring: prefill pool option was selected for pool that does not support this feature. Please verify your *-ds.xml configuration.
      13:09:34,481 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA'
      


      1) Despite the typo, you don't need to put a redundant "warning"
      in the text since it is handled by the log level.

      2) You don't say which "-ds.xml" I have to check? This could at least
      include the JBossManagedConnectionPool's ObjectName. Better
      would be a reference to the jndi name, but it is quite hard for
      it to get this.
      There's a number of other messages in that class that
      could benefit from this sort of context. :-)

      3) I've checked my -ds.xml, using the second message and it doesn't
      include config for prefilling :-)

      jms/jms-ds.xml
       <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
       <tx-connection-factory>
       <jndi-name>JmsXA</jndi-name>
       <xa-transaction/>
       <rar-name>jms-ra.rar</rar-name>
       <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
       <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
       <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
       <max-pool-size>20</max-pool-size>
       <security-domain-and-application>JmsXARealm</security-domain-and-application>
       </tx-connection-factory>