Hi,
On Tomcat startup, our fedora installation hangs for a few minutes,
sometimes for as long as an hour. It seems that ActiveMQ is the problem
because when its turned off, the startup executes in a few second.
I have turn on TRACE logging for ActiveMQ and here is the log traces before
and after the hangup :
INFO 2012-08-10 10:34:44.059 [main]
(org.apache.activemq.store.kahadb.MessageDatabase) Recovery replayed 2
operations from the journal in 0.017 seconds.
INFO 2012-08-10 10:34:44.065 [main]
(org.apache.activemq.broker.BrokerService) ActiveMQ 5.5.0 JMS Message
Broker (localhost) is starting
INFO 2012-08-10 10:34:44.065 [main]
(org.apache.activemq.broker.BrokerService) For help or more information
please see: http://activemq.apache.org/
DEBUG 2012-08-10 10:45:28.699 [main]
(org.apache.activemq.broker.region.AbstractRegion) localhost adding
destination: topic://fedora.apim.update
DEBUG 2012-08-10 10:45:28.736 [main]
(org.apache.activemq.broker.region.TopicRegion) Restoring durable
subscription: SubscriptionInfo {subscribedDestination =
topic://fedora.apim.update, destination = topic://fedora.apim.update,
clientId = fedoragsearch0, subscriptionName = fedora.apim.update, selector
= null}
DEBUG 2012-08-10 10:45:28.776 [main]
(org.apache.activemq.broker.TransportConnector) Publishing:
tcp://localhost:61616 for broker transport URI: tcp://localhost:61616
DEBUG 2012-08-10 10:45:28.777 [main]
(org.apache.activemq.broker.region.AbstractRegion) localhost adding
destination: topic://ActiveMQ.Advisory.Topic
TRACE 2012-08-10 10:45:28.785 [main]
(org.apache.activemq.broker.jmx.ManagedRegionBroker) Sub with key:
fedoragsearch0:fedora.apim.update, already registered
INFO 2012-08-10 10:45:28.790 [main]
(org.apache.activemq.transport.TransportServerThreadSupport) Listening for
connections at: tcp://localhost:61616
In this case it hung for a little bit more than 10 minutes. I've been
looking for a solution all day long and I can't find anything. Any idea ?
Also, I have tried to remove everything in
$FEDORA_HOME/data/activemq-data/localhost/KahaDB/ and it rebuilds itself at
startup fast. Where does the info is taken to rebuild the activemq data ?
In the FOXML ?
Thanks,
André
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users