I don't think that's valid URI hostname.  We need better validation
for these kinds of settings but the broker name must also be a valid
host name that you can put in a URI.

On 5/1/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
Why does ActiveMQ spit this warning out:

<snip>
WARN  MulticastDiscoveryAgent        - brokerName not set
</snip>

I do believe that my broker name is set:

<snip>
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://activemq.org/config/1.0";>

     <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfi
gurer">
         <property name="systemPropertiesModeName"
value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
     </bean>

     <broker brokerName="[EMAIL PROTECTED]" useJmx="true">

         <managementContext>
             <managementContext connectorPort="1099"
jmxDomainName="org.apache.activemq"/>
         </managementContext>

         <persistenceAdapter>
             <journaledJDBC journalLogFiles="5" dataDirectory="$
{activemq.home}/var/data"/>
         </persistenceAdapter>

         <transportConnectors>
             <transportConnector name="default" uri="tcp://localhost:
61616" discoveryUri="multicast://default"/>
         </transportConnectors>

         <networkConnectors>
             <networkConnector name="default" uri="multicast://
default" failover="true"/>
         </networkConnectors>

     </broker>

</beans>
</snip>

Broker name should be "[EMAIL PROTECTED]".

Why does ActiveMQ think that it is not set?

--jason
This email and any attachment(s) thereto, are intended for the use of
the addressee(s) named herein and may contain legally privileged and or
confidential information under applicable law. If you are not the
intended recipient of this e-mail, you are hereby notified any
dissemination, distribution or copying of this email, and any attachment(s)
thereto, is strictly prohibited. If you have received this communication
in error, please notify the sender at 415-281-2200 or via return e-mail at
[EMAIL PROTECTED] and permanently delete the original copy and
any copy of any e-mail, and any printout thereof. Thank you for your
cooperation.




--
Regards,
Hiram

Reply via email to