You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Mohit Anchlia <mo...@gmail.com> on 2013/01/04 17:02:10 UTC

Process running but not listening on the port

I had 90K messages in the queue and that point yesterday I stopped activemq
and started activemq with new config to enable fileQueueCursor. After
starting activemq I see that the process has started but is not listening
on the port. Neither has jetty come up for some reason. I tried thread dump
but it didn't log stack trace anywhere. I checked again today and it still
is stuck.

2013-01-03 21:53:52,684 | INFO  | Using Persistence Adapter:
KahaDBPersistenceAdapter[/mq/data/pprfdaa300.id.net/kahadb] |
org.apache.activemq.broker.BrokerService | main
2013-01-03 21:53:52,692 | INFO  | JMX consoles can connect to
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi |
org.apache.activemq.broker.jmx.ManagementContext | JMX connector
2013-01-03 21:53:53,269 | INFO  | KahaDB is version 4 |
org.apache.activemq.store.kahadb.MessageDatabase | main
2013-01-03 21:53:53,310 | INFO  | Recovering from the journal ... |
org.apache.activemq.store.kahadb.MessageDatabase | main
2013-01-03 21:53:53,310 | INFO  | Recovery replayed 2 operations from the
journal in 0.026 seconds. |
org.apache.activemq.store.kahadb.MessageDatabase | main
2013-01-03 21:53:53,532 | INFO  | Apache ActiveMQ 5.7.0 (pprfdaa300.id.net,
ID:pprfdaa300.id.net-49479-1357278833402-0:1) is starting |
org.apache.activemq.broker.BrokerService | main
2013-01-03 21:53:54,231 | INFO  | PListStore:[/mq/data/
pprfdaa300.id.net/tmp_storage] initialized |
org.apache.activemq.store.kahadb.plist.PListStore | main

Re: Process running but not listening on the port

Posted by Mohit Anchlia <mo...@gmail.com>.
I removed fileQueueCursor and it came up just fine. This is my config with
fileQueueCursor that made activemq hang on startup. Not sure why

        <destinationPolicy>
            <policyMap>
                <policyEntries>
                    <policyEntry queue=">" producerFlowControl="true"
memoryLimit="200mb">
                        <deadLetterStrategy>
                          <individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true" />
                        </deadLetterStrategy>
                       <pendingQueuePolicy>
                          <!--vmQueueCursor/-->
                          <fileQueueCursor/>
                       </pendingQueuePolicy>
                    </policyEntry>


On Fri, Jan 4, 2013 at 8:02 AM, Mohit Anchlia <mo...@gmail.com>wrote:

> I had 90K messages in the queue and that point yesterday I stopped
> activemq and started activemq with new config to enable fileQueueCursor.
> After starting activemq I see that the process has started but is not
> listening on the port. Neither has jetty come up for some reason. I tried
> thread dump but it didn't log stack trace anywhere. I checked again today
> and it still is stuck.
>
> 2013-01-03 21:53:52,684 | INFO  | Using Persistence Adapter:
> KahaDBPersistenceAdapter[/mq/data/pprfdaa300.id.net/kahadb] |
> org.apache.activemq.broker.BrokerService | main
> 2013-01-03 21:53:52,692 | INFO  | JMX consoles can connect to
> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi |
> org.apache.activemq.broker.jmx.ManagementContext | JMX connector
> 2013-01-03 21:53:53,269 | INFO  | KahaDB is version 4 |
> org.apache.activemq.store.kahadb.MessageDatabase | main
> 2013-01-03 21:53:53,310 | INFO  | Recovering from the journal ... |
> org.apache.activemq.store.kahadb.MessageDatabase | main
> 2013-01-03 21:53:53,310 | INFO  | Recovery replayed 2 operations from the
> journal in 0.026 seconds. |
> org.apache.activemq.store.kahadb.MessageDatabase | main
> 2013-01-03 21:53:53,532 | INFO  | Apache ActiveMQ 5.7.0 (pprfdaa300.id.net,
> ID:pprfdaa300.id.net-49479-1357278833402-0:1) is starting |
> org.apache.activemq.broker.BrokerService | main
> 2013-01-03 21:53:54,231 | INFO  | PListStore:[/mq/data/
> pprfdaa300.id.net/tmp_storage] initialized |
> org.apache.activemq.store.kahadb.plist.PListStore | main
>