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

Michael Grafnetter mgrafi at gmail.com
Sat Apr 19 16:54:37 CEST 2008


On je totiz problem sa trafit na pocitac, kde uz nema broker spusteny niekto
iny.
Jednoduchy test: ps -ef | grep ActiveMQ
Riesenie je bud zmenit port alebo pocitac.

Michael

-----Original Message-----
From: mwy-bounces at dsrg.mff.cuni.cz [mailto:mwy-bounces at dsrg.mff.cuni.cz] On
Behalf Of Martina
Sent: Saturday, April 19, 2008 4:45 PM
To: Middleware Course
Subject: [MWy] 3. ukol - nejde spustit....

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.Embe
ddedDataSource 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:3
3)
         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

_______________________________________________
MWy mailing list
MWy at dsrg.mff.cuni.cz
https://dsrg.mff.cuni.cz/mailman/listinfo/mwy





More information about the NSWI080 mailing list