activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Retzlaff (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1611) edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException: Already started.
Date Tue, 18 Mar 2008 12:09:33 GMT

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

Fabio Retzlaff commented on AMQ-1611:
-------------------------------------

Hi,

I have the same problem using FUSE MB 5.0.0.9 and FUSE SMX 3.3.0.8.
I'm using SMX with JCAFlow for failover, I have about 70 activationSpecs and try the send
100 files to each Bindind components (25 at all) that starts the flow .
When the first lot of messages has processed I send more 100 messages and then a get the error
bellow.
Anybody knows what I can do to solve this problem?

Thank's

{noformat}
[ERROR] [17/Mar/2008 20:01:43:123] Failed to checkpoint a message store: java.util.concurrent.ExecutionException:
java.io.IOException: Already started.
java.util.concurrent.ExecutionException: java.io.IOException: Already started.
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:398)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter$1.iterate(JournalPersistenceAdapter.java:119)
        at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:118)
        at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:42)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Already started.
        at org.apache.activemq.store.jdbc.TransactionContext.begin(TransactionContext.java:148)
        at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransaction(JDBCPersistenceAdapter.java:356)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter.beginTransaction(JournalPersistenceAdapter.java:193)
        at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:41)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:258)
        at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:233)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(JournalPersistenceAdapter.java:368)
        at org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(JournalPersistenceAdapter.java:367)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        ... 3 more
{noformat}
My config:
{noformat}
        <sm:flows>
                <sm:jcaFlow jmsURL="vm://localhost" connectionManager="#connectionManager"
/>
        </sm:flows>


        <jencks:connectionManager id="connectionManager"
                containerManagedSecurity="false" transaction="xa"
                transactionManager="#transactionManager"
                poolingSupport="#poolingSupport"
                connectionTracker="#connectionTracker" />
                
        <jencks:transactionManager id="transactionManager"
                transactionLogDir="./data/txlog"
                defaultTransactionTimeoutSeconds="600" />
                
        <jencks:connectionTracker id="connectionTracker"
                geronimoTransactionManager="#transactionManager" />
                
        <jencks:poolingSupport id="poolingSupport"
                connectionMaxWaitMilliseconds="30000" connectionMaxIdleMinutes="1"
                poolMinSize="10" poolMaxSize="64" />
                
        <amq:broker useJmx="true" name="broker" brokerName="localhost"
                dataDirectory="data/amq">
                
                <amq:persistenceAdapter>
                        <amq:journaledJDBC useDatabaseLock="false"
                                dataDirectory="data/amq" journalLogFiles="5" dataSource="#sqlserver-ds"
/>
                </amq:persistenceAdapter>
                
                <amq:transportConnectors>
                        <amq:transportConnector uri="vm://localhost" />
                </amq:transportConnectors>
                
                <amq:systemUsage>
                        <amq:systemUsage>
                                <amq:memoryUsage>
                                        <amq:memoryUsage limit="64 mb" percentUsageMinDelta="20"
/>
                                </amq:memoryUsage>
                                <amq:tempUsage>
                                        <amq:tempUsage limit="100 mb" />
                                </amq:tempUsage>
                                <amq:storeUsage>
                                        <amq:storeUsage limit="1 gb" name="foo" />
                                </amq:storeUsage>
                        </amq:systemUsage>
                </amq:systemUsage>
        </amq:broker>

        <bean id="sqlserver-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
                <property name="driverClassName" value="net.sourceforge.jtds.jdbc.Driver"
/>
                <property name="url" value="jdbc:jtds:sqlserver://server:1433/test_db;tds=8.0"
/>
                <property name="username" value="user" />
                <property name="password" value="pass" />
                <property name="initialSize" value="10" />
                <property name="maxActive" value="64" />
                <property name="maxIdle" value="2" />
                <property name="maxWait" value="15000" />
        </bean>
{noformat}

> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException:
Already started.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1611
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1611
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>            Reporter: aakanksha singh
>
> Hi..I m getting this msg in activemq.log after every 5 minutes..please provide me the
solution.
> 2008-03-06 00:00:10,847 ERROR Failed to checkpoint a message store: edu.emory.mathcs.backport.java.util.concurrent.ExecutionE
> xception: java.io.IOException: Already started. | org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(Jo
> urnalPersistenceAdapter.java:395) [ActiveMQ Journal Checkpoint Worker]
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException:
Already started.
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.doCheckpoint(JournalPersistenceAdapter.java:386)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$2.iterate(JournalPersistenceAdapter.java:129)
>         at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:101)
>         at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25)
>         at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39)
> Caused by: java.io.IOException: Already started.
>         at org.apache.activemq.store.jdbc.TransactionContext.begin(TransactionContext.java:145)
>         at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.beginTransaction(JDBCPersistenceAdapter.java:358)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter.beginTransaction(JournalPersistenceAdapter.java:189)
>         at org.apache.activemq.util.TransactionTemplate.run(TransactionTemplate.java:41)
>         at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:247)
>         at org.apache.activemq.store.journal.JournalMessageStore.checkpoint(JournalMessageStore.java:221)
>         at org.apache.activemq.store.journal.JournalPersistenceAdapter$4.call(JournalPersistenceAdapter.java:356)
>         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message