activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skarthik <karthik.sethura...@necam.com>
Subject Re: Problem configuring networkConnector properties via XML
Date Wed, 29 Mar 2006 17:24:05 GMT

Sorry, resending as for some reason the original post has no new line
characters and is unreadable:

Hi,

 I am using activeMQ-M4. When i configured the networkConnectors using the
broker XML configuration file, as described in the networkBrokers link
http://www.activemq.org/Networks+of+Brokers , activeMQ is unable to start.
Is there something I am missing?

 Following are the errors from the activeMQ log and corresponding
configuration snippets that I tried:

 1)
      <networkConnectors>
         <networkConnector uri="failover://(tcp:/localhost:61617)">
            name = bridge
            dynamicOnly = false
            conduitSubscriptions = true
            decreaseNetworkConsumerPriority = false
      	   <excludedDestinations>
      		   <topic physicalName="t_local"/>
      	   </excludedDestinations>
      	   <dynamicallyIncludedDestinations>
      		   <topic physicalName="t_remote"/>
      	   </dynamicallyIncludedDestinations>
         </networkConnector>
      </networkConnectors>

Error
-----

Loading message broker from: xbean:file:config.xml

ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name'org.apache.activemq.network.NetworkConnector' defined in URL
[file:config.xml]: Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'excludedDestinations' of bean class
[org.apache.activemq.network.NetworkConnector]: Bean property
'excludedDestinations' is not writable or has an invalid setter method: Does
the parameter type of the setter match the return type of the getter?

ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.network.NetworkConnector' defined in URL
[file:config.xml]: Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'excludedDestinations' of bean class
[org.apache.activemq.network.NetworkConnector]: Bean property
'excludedDestinations' is not writable or has an invalid setter method: Does
the parameter type of the setter match the return type of the getter?

2)
      <networkConnectors>
         <networkConnector uri="failover://(tcp:/localhost:61617)">
            name = bridge
         </networkConnector>
      </networkConnectors>

Error
-----
Loading message broker from: xbean:file:config.xml

ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.network.NetworkConnector' defined in URL
[file:config.xml]:
 Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'name' of bean class [org.apache.activemq.network.NetworkConnector]: Bean
property 'name' is not writable or has an
 invalid setter method: Does the parameter type of the setter match the
return type of the getter?
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.network.NetworkConnector' defined in URL
[file:config.xml]: Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'name' of bean class [org.apache.activemq.network.NetworkConnector]: Bean
property 'name' is not writable or has an invalid setter method: Does the
parameter type of the setter match the return type of the getter?

3)
      <networkConnectors>
         <networkConnector uri="failover://(tcp:/localhost:61617)">
      	   <excludedDestinations>
      		   <topic physicalName="t_local"/>
      	   </excludedDestinations>
         </networkConnector>
      </networkConnectors>

Error
-----

Loading message broker from: xbean:file:config.xml

ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name' org.apache.activemq.network.NetworkConnector' defined in URL
[file:config.xml]: Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'excludedDestinations' of bean class
[org.apache.activemq.network.NetworkConnector]: Bean property
'excludedDestinations' is not writable or has an invalid setter method: Does
the parameter type
of the setter match the return type of the getter?
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.network.NetworkConnector' defined in URL
[file:config.xml]: Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'excludedDestinations' of bean class
[org.apache.activemq.network.NetworkConnector]: Bean property
'excludedDestinations' is not writable or has an invalid setter method: Does
the parameter type of the setter match the return type of the getter?

 thanks, karthik 

--
View this message in context: http://www.nabble.com/Problem-configuring-networkConnector-properties-via-XML-t1363518.html#a3654550
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message