Did it work OK before you editted the xml? BTW I wonder if _ is a
valid URI character

On 9/15/06, falchion <[EMAIL PROTECTED]> wrote:

yes, but i edit activemq.xml like this:

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

       <transportConnector uri="stomp://localhost:61617"/>
    </transportConnectors>


to

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

       <transportConnector uri="stomp://HBwly_liuzh:61617"/>
    </transportConnectors>

HBwly_liuzh is my computer's name

James.Strachan wrote:
>
> Are you sure you didn't edit the activemq.xml file?
>
> On 9/15/06, falchion <[EMAIL PROTECTED]> wrote:
>>
>> when i down the activemq-4.0-SNAPSHOT.zip ,then extact it to D:\activemq,
>> and
>> the run activemq.bat ,it report error following:
>>
>> Loading Message Broker from: xbean:activemq.xml
>> ACTIVEMQ_HOME: D:\activemq\bin\..
>> INFO  BrokerService                  - ActiveMQ 4.0-SNAPSHOT JMS Message
>> Broker (localhost) is starting
>> INFO  BrokerService                  - For help or more information
>> please
>> see: http://www.logicblaze.com
>> INFO  JDBCPersistenceAdapter         - Database driver recognized:
>> [apache_derby_embedded_jdbc_driver]
>> INFO  JournalPersistenceAdapter      - Journal Recovery Started from:
>> Active
>> Journal: using 5 x 20.0 Megs at: ..\activemq-data\journal
>> INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s) in
>> transactions recovered.
>> Failed to execute start task. Reason:
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
>> path resource [activemq.xml]: Error setting property values; nested
>> exception is org.springframework.beans.PropertyAccessExceptionsException:
>> PropertyAccessExceptionsException (1 errors); nested
>> propertyAccessExceptions are:
>> [org.springframework.beans.MethodInvocationException: Property
>> 'transportConnectors' threw exception; nested exception is
>> java.lang.IllegalArgumentException: Port value out of range: -1]
>>
>>
>> sos!!
>>
>>
>> thank you very much!!!!
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ActiveMq-install-error-sos-tf2276382.html#a6321790
>> Sent from the ActiveMQ - User forum at Nabble.com.
>>
>>
>
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>

--
View this message in context: 
http://www.nabble.com/ActiveMq-install-error-sos-tf2276382.html#a6321998
Sent from the ActiveMQ - User forum at Nabble.com.




--

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

Reply via email to