[MWy] 3. ukol - nejde spustit....

Martina martina at matousec.com
Sat Apr 19 16:44:45 CEST 2008


Znovu zdravim,

tak jsem si stahla zadani, rozbalila, ... a nejde mi spustit ani "simple" 
priklad, kde muze byt chyba?

u-pl13:~/BIG/m3$ ls -ld ~/ActiveMQ/
drwxr-xr-x 6 tomim4am nofiles 2048 Apr 11 14:13 /afs/ms/u/t/tomim4am/ActiveMQ/
u-pl13:~/BIG/m3$ cd Example/Simple/
u-pl13:~/BIG/m3/Example/Simple$ less README
u-pl13:~/BIG/m3/Example/Simple$ ./make
u-pl13:~/BIG/m3/Example/Simple$ ../broker
ACTIVEMQ_HOME: /afs/ms/u/t/tomim4am/ActiveMQ
ACTIVEMQ_BASE: /afs/ms/u/t/tomim4am/ActiveMQ
Loading message broker from: xbean:activemq.xml
INFO  BrokerService                  - Using Persistence Adapter: 
JournalPersistenceAdapator(JDBCPersistenceAdaptor(org.apache.derby.jdbc.EmbeddedDataSource at d1e233))
INFO  BrokerService                  - ActiveMQ 5.0.0 JMS Message Broker 
(localhost) is starting
INFO  BrokerService                  - For help or more information please see: 
http://activemq.apache.org/
INFO  JDBCPersistenceAdapter         - Database driver recognized: 
[apache_derby_embedded_jdbc_driver]
INFO  DefaultDatabaseLocker          - Attempting to acquire the exclusive lock 
to become the Master broker
INFO  DefaultDatabaseLocker          - Becoming the master on dataSource: 
org.apache.derby.jdbc.EmbeddedDataSource at d1e233
INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active 
Journal: using 5 x 20.0 Megs at: 
/afs/ms.mff.cuni.cz/u/t/tomim4am/BIG/m3/Example/Simple/data/journal
INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s) in 
transactions recovered.
ERROR BrokerService                  - Failed to start ActiveMQ JMS Message 
Broker. Reason: java.io.IOException: Failed to bind to server socket: 
tcp://localhost:61616 due to: java.net.BindException: Address already in use
java.io.IOException: Failed to bind to server socket: tcp://localhost:61616 due 
to: java.net.BindException: Address already in use
         at 
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
         at 
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:108)
...


Problem pravdepodobne vystihuje radek:
tcp://localhost:61616 due to: java.net.BindException: Address already in use

Napada vas prosim, kde je chyba a co s tim?

Diky,
Martina




More information about the NSWI080 mailing list