Am wondering if that XML changed a little since M4 - I wonder could
you try 4.0-RC1 and see if you still get that problem?
http://people.apache.org/~chirino/incubator-activemq-4.0-RC1/

There are some examples here you can use to get started
http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/network/

James

On 3/29/06, skarthik <[EMAIL PROTECTED]> wrote:
>
> 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.
>
>


--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to