activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Koch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3906) repeated error message regarding chunk stream logged
Date Fri, 14 Dec 2012 08:00:17 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532150#comment-13532150
] 

Manfred Koch commented on AMQ-3906:
-----------------------------------

I wanted to test if the issue is fixed but i can't get it work. I replaced 5.7.0 with the
activemq-all-5.8-20121107.031227-28.jar and got following error while starting the tests:


{code}
08:40:04,543[JMX connector]  INFO ManagementContext:132 - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:11099/jmxrmi
08:40:04,574[main]  INFO BrokerService:594 - Using Persistence Adapter: MemoryPersistenceAdapter
08:40:04,851[main]  INFO BrokerService:633 - Apache ActiveMQ 5.8-SNAPSHOT (localhost, ID:myserver-62765-1355470804641-0:1)
is starting
08:40:04,871[main]  INFO TransportConnector:243 - Connector vm://localhost?create=false?broker.persistent=false
Started
08:40:04,875[main]  INFO BrokerService:657 - Apache ActiveMQ 5.8-SNAPSHOT (localhost, ID:myserver-62765-1355470804641-0:1)
started
08:40:04,875[main]  INFO BrokerService:659 - For help or more information please see: http://activemq.apache.org
08:40:04,876[main] ERROR BrokerService:1842 - Memory Usage for the Broker (64 mb) is more
than the maximum available for the JVM: 63 mb
08:40:04,878[main] ERROR BrokerService:1898 - Temporary Store limit is 51200 mb, whilst the
temporary data directory: C:\unittest\localhost\tmp_storage only has 10213 mb of usable space
08:40:04,879[main]  INFO MessageBrokerActivity:63 - Message broker successfully started. The
broker URL is: vm://localhost?create=false?broker.persistent=false
08:40:04,991[ActiveMQ Task-1]  INFO FailoverTransport:1030 - Successfully connected to vm://localhost?create=false?broker.persistent=false
08:40:05,311[main]  INFO MessagingActivity:89 - Messaging successfully started. The URL is:
failover:(vm://localhost?create=false?broker.persistent=false)
08:40:07,797[ActiveMQ BrokerService[localhost] Task-2] ERROR Queue:1494 - Failed to page in
more queue messages 
java.lang.NoClassDefFoundError: org/fusesource/hawtbuf/UTF8Buffer
	at org.apache.activemq.command.Message.getProperty(Message.java:172)
	at org.apache.activemq.filter.PropertyExpression.evaluate(PropertyExpression.java:182)
	at org.apache.activemq.filter.ComparisonExpression$1.evaluate(ComparisonExpression.java:210)
	at org.apache.activemq.filter.ComparisonExpression.matches(ComparisonExpression.java:478)
	at org.apache.activemq.broker.region.AbstractSubscription.matches(AbstractSubscription.java:92)
	at org.apache.activemq.broker.region.policy.SimpleDispatchSelector.canDispatch(SimpleDispatchSelector.java:46)
	at org.apache.activemq.broker.region.QueueDispatchSelector.canSelect(QueueDispatchSelector.java:57)
	at org.apache.activemq.broker.region.Queue.doActualDispatch(Queue.java:1905)
	at org.apache.activemq.broker.region.Queue.doDispatch(Queue.java:1846)
	at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:2003)
	at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1491)
	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129)
	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org.fusesource.hawtbuf.UTF8Buffer
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 16 more
08:41:07,825[main]  INFO BrokerService:692 - Apache ActiveMQ 5.8-SNAPSHOT (localhost, ID:myserver-62765-1355470804641-0:1)
is shutting down
08:41:07,826[main]  INFO TransportConnector:283 - Connector vm://localhost?create=false?broker.persistent=false
Stopped
08:41:07,841[main]  INFO BrokerService:754 - Apache ActiveMQ 5.8-SNAPSHOT (localhost, ID:myserver-62765-1355470804641-0:1)
uptime 1 minute
08:41:07,841[main]  INFO BrokerService:757 - Apache ActiveMQ 5.8-SNAPSHOT (localhost, ID:myserver-62765-1355470804641-0:1)
is shutdown

{code}
                
> repeated error message regarding chunk stream logged
> ----------------------------------------------------
>
>                 Key: AMQ-3906
>                 URL: https://issues.apache.org/jira/browse/AMQ-3906
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.6.0
>         Environment: ActiveMQ 5.6.0 running on Linux FC10 x86
>            Reporter: Rajib Rashid
>         Attachments: activemq.xml, kahadb.zip
>
>
> after running normally for ~24 hours, warning messages/errors like below are logged every
30 seconds:
> {code}
> 2012-06-27 14:33:31,532 org.apache.activemq.broker.region.Topic[ActiveMQ Broker[ZyrionMessageBus]
Scheduler]: (WARN) Failed to browse Topic: remoteUpdateP2PTopic
> java.io.EOFException: Chunk stream does not exist, page: 50 is marked free
>         at org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:460)
>         at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:437)
>         at org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:434)
>         at org.apache.kahadb.page.Transaction.load(Transaction.java:410)
>         at org.apache.kahadb.page.Transaction.load(Transaction.java:367)
>         at org.apache.kahadb.index.BTreeIndex.loadNode(BTreeIndex.java:262)
>         at org.apache.kahadb.index.BTreeIndex.getRoot(BTreeIndex.java:174)
>         at org.apache.kahadb.index.BTreeIndex.iterator(BTreeIndex.java:232)
>         at org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex$MessageOrderIterator.<init>(MessageDatabase.java:2714)
>         at org.apache.activemq.store.kahadb.MessageDatabase$MessageOrderIndex.iterator(MessageDatabase.java:2696)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$3.execute(KahaDBStore.java:525)
>         at org.apache.kahadb.page.Transaction.execute(Transaction.java:769)
>         at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recover(KahaDBStore.java:521)
>         at org.apache.activemq.store.ProxyTopicMessageStore.recover(ProxyTopicMessageStore.java:62)
>         at org.apache.activemq.broker.region.Topic.doBrowse(Topic.java:559)
>         at org.apache.activemq.broker.region.Topic.access$100(Topic.java:62)
>         at org.apache.activemq.broker.region.Topic$6.run(Topic.java:684)
>         at org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> {code}
> since then the warning has been logged 6000+ times. not sure if this is due to the fact
that we have enabled expiration of queued messages for offline subscribers.
> {code}
> % ls -l apps/activemq/data/kahadb/
> total 32068
> -rw-r--r-- 1 root root 33030144 2012-06-29 14:44 db-14.log
> -rw-r--r-- 1 root root   339968 2012-06-29 14:44 db.data
> -rw-r--r-- 1 root root   196984 2012-06-29 14:44 db.redo
> -rw-r--r-- 1 root root        0 2012-06-26 16:40 lock
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message