activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Miller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3926) jms.redeliveryPolicy.redeliveryDelay and jms.redeliveryPolicy.initialRedeliveryDelay options cause a failure on startup
Date Sat, 14 Jul 2012 08:57:33 GMT
John Miller created AMQ-3926:
--------------------------------

             Summary: jms.redeliveryPolicy.redeliveryDelay and jms.redeliveryPolicy.initialRedeliveryDelay
options cause a failure on startup
                 Key: AMQ-3926
                 URL: https://issues.apache.org/jira/browse/AMQ-3926
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.6.0
         Environment: Ubuntu 12.04 x64, Tomcat 7.0.22, java1.6_33 x64
            Reporter: John Miller
            Priority: Critical


After upgrading from 5.5 to 5.6 broker throws en exception on startup
------------------------------------------ context.xml ------------
 <Resource name="jms/connectionFactory" auth="Container" type="org.apache.activemq.ActiveMQConnectionFactory"
            description="Repository JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory"
            brokerURL="failover:(tcp://localhost:61616)?timeout=3000&amp;jms.redeliveryPolicy.maximumRedeliveries=2&amp;jms.redeliveryPolicy.redeliveryDelay=3000L&amp;jms.redeliveryPolicy.useExponentialBackOff=false"
            brokerName="LocalActiveMQBroker"/>
----------------------------------------------------------------------


java.lang.IllegalArgumentException: There are 1 jms options that couldn't be set on the ConnectionFactory.
Check the options are spelled correctly. Unknown parameters=[{redeliveryPolicy.redeliveryDelay=3000L}].
This connection factory cannot be started.
	at org.apache.activemq.ActiveMQConnectionFactory.setBrokerURL(ActiveMQConnectionFactory.java:404)
	at org.apache.activemq.ActiveMQConnectionFactory.buildFromProperties(ActiveMQConnectionFactory.java:660)
	at org.apache.activemq.jndi.JNDIBaseStorable.setProperties(JNDIBaseStorable.java:59)
	at org.apache.activemq.jndi.JNDIReferenceFactory.getObjectInstance(JNDIReferenceFactory.java:73)
	at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:826)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:145)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:814)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:159)
	at org.apache.commons.configuration.JNDIConfiguration.getProperty(JNDIConfiguration.java:404)
	at net.worldticket.services.core.persistence.javaConfig.WebApplicationLoaderContext.jmsConnectionFactory(WebApplicationLoaderContext.java:85)
	at net.worldticket.services.core.persistence.javaConfig.WebApplicationLoaderContext$$EnhancerByCGLIB$$de53

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message