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)
name = bridge
dynamicOnly = false
conduitSubscriptions = true
decreaseNetworkConsumerPriority = false
Error
-----
Loading message broker from: xbean:file:config.xml
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.spr
ingframework.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.No
tWritablePropertyException: Invalid property 'excludedDestinations' of bean
clas
s [org.apache.activemq.network.NetworkConnector]: Bean property
'excludedDestina
tions' 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.BeanCreationExcept
ion: Error creating bean with name
'org.apache.activemq.network.NetworkConnector
' defined in URL [file:config.xml]: Error setting property values; nested
except
ion is org.springframework.beans.NotWritablePropertyException: Invalid
property
'excludedDestinations' of bean class
[org.apache.activemq.network.NetworkConnect
or]: Bean property 'excludedDestinations' is not writable or has an invalid
sett
er method: Does the parameter type of the setter match the return type of
the ge
tter?
2)
name = bridge
Error
-----
Loading message broker from: xbean:file:config.xml
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.spr
ingframework.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.No
tWritablePropertyException: Invalid property 'name' of bean class
[org.apache.ac
tivemq.network.NetworkConnector]: Bean property 'name' is not writable or
has an
invalid setter method: Does the parameter type of the setter match the
return t
ype of the getter?
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationExcept
ion: Error creating bean with name
'org.apache.activemq.network.NetworkConnector
' defined in URL [file:config.xml]: Error setting property values; nested
except
ion is org.springframework.beans.NotWritablePropertyException: Invalid
property
'name' of bean class [org.apache.activemq.network.NetworkConnector]: Bean
proper
ty 'name' is not writable or has an invalid setter method: Does the
parameter ty
pe of the setter match the return type of the getter?
3)
Error
-----
Loading message broker from: xbean:file:config.xml
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.spr
ingframework.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.No
tWritablePropertyException: Invalid property 'excludedDestinations' of bean
clas
s [org.apache.activemq.network.NetworkConnector]: Bean property
'excludedDestina
tions' 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.BeanCreationExcept
ion: Error creating bean with name
'org.apache.activemq.network.NetworkConnector
' defined in URL [file:config.xml]: Error setting property values; nested
except
ion is org.springframework.beans.NotWritablePropertyException: Invalid
property
'excludedDestinations' of bean class
[org.apache.activemq.network.NetworkConnect
or]: Bean property 'excludedDestinations' is not writable or has an invalid
sett
er method: Does the parameter type of the setter match the return type of
the ge
tter?
thanks,
karthik
--
View this message in context:
http://www.nabble.com/Problem-configuring-networkConnector-properties-via-XML-t1363518.html#a3654402
Sent from the ActiveMQ - User forum at Nabble.com.