cancel
Showing results for 
Search instead for 
Did you mean: 

Am getting alf-backstop-*.dmp Files?

o_o_
Champ in-the-making
Champ in-the-making
Hi,

   I am new to Alfresco and have installed it using the stack installer on Windows XP. I start it using alf_start.bat and stop it using alf_stop.bat.

   It seems every time it starts and stops it dumps a file of the form alf-backstop-*.dmp. Is this Ok i.e. is this the normal behavior? If yes then is it possible for me to specify another directory where it can put these dumps?

I am using the Alfresco Community Version 3.2, Java 6 update 16. Please let me know if I have forgotten to provide any more information.

Thanks a lot,
O.O.

P.S. I am not sure if this Thread/Post should be in the Installation Forum, but since I am new and I did not find a newbie forum – here goes.
11 REPLIES 11

mrogers
Star Contributor
Star Contributor
No its not normal.   What is happening is that shutdown is not working correctly, but Alfresco has shut down anyway.  And produced a dump so we can see which threads are causing the problem.

Please raise a JIRA ticket and post the contents of the dump file.

o_o_
Champ in-the-making
Champ in-the-making
Thanks mrogers. I guess I should post the Issue at https://issues.alfresco.com/jira/browse/ALFCOM (I have never opened a JIRA ticket before.) Please let me know under which component do I put it in the list given in the above URL?

Thanks,
O.O.

gronfelt
Champ in-the-making
Champ in-the-making
I have the same issue, every shutdown creates a backstop-log, which typically looks like this:
Alfresco Shutdown Backstop Dump, time:20090819145914
Thread Group: system  Max Priority: 10
    Thread: Reference Handler  Priority: 10 Daemon
    Thread: Finalizer  Priority: 8 Daemon
    Thread: Signal Dispatcher  Priority: 9 Daemon
    Thread: RMI TCP Accept-0  Priority: 5 Daemon
    Thread: RMI TCP Accept-0  Priority: 5 Daemon
    Thread: GC Daemon  Priority: 2 Daemon
    Thread: RMI Scheduler(0)  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:60941]  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50501]  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50502]  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50503]  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50504]  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50505]  Priority: 5 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50506]  Priority: 5 Daemon
    Thread: Thread-21  Priority: 8 Daemon
    Thread: RMI RenewClean-[192.168.250.18:50507]  Priority: 5 Daemon
    Thread: Java2D Disposer  Priority: 10 Daemon
    Thread Group: main  Max Priority: 10
        Thread: MySQL Statement Cancellation Timer  Priority: 5 Daemon
        Thread: Timer-0  Priority: 5 Daemon
        Thread: AlfJLANWorker1  Priority: 5 Daemon
        Thread: AlfJLANWorker2  Priority: 5 Daemon
        Thread: AlfJLANWorker3  Priority: 5 Daemon
        Thread: AlfJLANWorker4  Priority: 5 Daemon
        Thread: AlfJLANWorker5  Priority: 5 Daemon
        Thread: AlfJLANWorker6  Priority: 5 Daemon
        Thread: AlfJLANWorker7  Priority: 5 Daemon
        Thread: AlfJLANWorker8  Priority: 5 Daemon
        Thread: AlfJLANWorker9  Priority: 5 Daemon
        Thread: AlfJLANWorker10  Priority: 5 Daemon
        Thread: AlfJLANWorker11  Priority: 5 Daemon
        Thread: AlfJLANWorker12  Priority: 5 Daemon
        Thread: AlfJLANWorker13  Priority: 5 Daemon
        Thread: AlfJLANWorker14  Priority: 5 Daemon
        Thread: AlfJLANWorker15  Priority: 5 Daemon
        Thread: AlfJLANWorker16  Priority: 5 Daemon
        Thread: AlfJLANWorker17  Priority: 5 Daemon
        Thread: AlfJLANWorker18  Priority: 5 Daemon
        Thread: AlfJLANWorker19  Priority: 5 Daemon
        Thread: AlfJLANWorker20  Priority: 5 Daemon
        Thread: AlfJLANWorker21  Priority: 5 Daemon
        Thread: AlfJLANWorker22  Priority: 5 Daemon
        Thread: AlfJLANWorker23  Priority: 5 Daemon
        Thread: AlfJLANWorker24  Priority: 5 Daemon
        Thread: AlfJLANWorker25  Priority: 5 Daemon
        Thread: Deployment Receiver Engine Keep Alive  Priority: 5
        Thread: Thread-63  Priority: 5
        Thread: Thread-64  Priority: 5
        Thread: Thread-65  Priority: 5
        Thread: Thread-66  Priority: 5
        Thread: Thread-67  Priority: 5
        Thread: Thread-68  Priority: 5
        Thread: http-8080-Acceptor-0  Priority: 5 Daemon
        Thread: http-8080-1  Priority: 5 Daemon
        Thread: http-8080-2  Priority: 5 Daemon
        Thread: TP-Processor1  Priority: 5 Daemon
        Thread: TP-Processor2  Priority: 5 Daemon
        Thread: TP-Processor3  Priority: 5 Daemon
        Thread: TP-Processor4  Priority: 5 Daemon
        Thread: TP-Processor5  Priority: 5 Daemon
        Thread: TP-Processor6  Priority: 5 Daemon
        Thread: TP-Processor7  Priority: 5 Daemon
        Thread: TP-Processor8  Priority: 5 Daemon
        Thread: http-8080-3  Priority: 5 Daemon
        Thread: http-8080-4  Priority: 5 Daemon
        Thread: http-8080-5  Priority: 5 Daemon
        Thread: TP-Processor9  Priority: 5 Daemon
        Thread: TP-Processor10  Priority: 5 Daemon
        Thread: TP-Processor11  Priority: 5 Daemon
        Thread: TP-Processor12  Priority: 5 Daemon
        Thread: http-8080-6  Priority: 5 Daemon
        Thread: http-8080-7  Priority: 5 Daemon
        Thread: http-8080-8  Priority: 5 Daemon
        Thread: http-8080-9  Priority: 5 Daemon
        Thread: http-8080-10  Priority: 5 Daemon
        Thread: http-8080-11  Priority: 5 Daemon
        Thread: http-8080-12  Priority: 5 Daemon
        Thread: http-8080-13  Priority: 5 Daemon
        Thread: http-8080-14  Priority: 5 Daemon
        Thread: http-8080-15  Priority: 5 Daemon
        Thread: http-8080-16  Priority: 5 Daemon
        Thread: http-8080-17  Priority: 5 Daemon
        Thread: http-8080-18  Priority: 5 Daemon
        Thread: http-8080-19  Priority: 5 Daemon
        Thread: http-8080-20  Priority: 5 Daemon
        Thread: TP-Processor16  Priority: 5 Daemon
        Thread: http-8080-21  Priority: 5 Daemon
        Thread: http-8080-22  Priority: 5 Daemon
        Thread: http-8080-23  Priority: 5 Daemon
        Thread: http-8080-24  Priority: 5 Daemon
        Thread: http-8080-25  Priority: 5 Daemon
        Thread: http-8080-26  Priority: 5 Daemon
        Thread: http-8080-27  Priority: 5 Daemon
        Thread: http-8080-28  Priority: 5 Daemon
        Thread: http-8080-29  Priority: 5 Daemon
        Thread: http-8080-30  Priority: 5 Daemon
        Thread: http-8080-31  Priority: 5 Daemon
        Thread: http-8080-32  Priority: 5 Daemon
        Thread: Alfresco Shutdown Backstop Thread (Self Destruct)  Priority: 5 Daemon
        Thread: DestroyJavaVM  Priority: 5
        Thread Group: TraceableThreadGroup-1  Max Priority: 10
            Thread: indexThread1  Priority: 5 Daemon
            Thread: indexThread2  Priority: 5 Daemon
            Thread: indexThread3  Priority: 5 Daemon
            Thread: indexThread4  Priority: 5 Daemon
            Thread: indexThread5  Priority: 5 Daemon
            Thread: indexThread6  Priority: 5 Daemon
            Thread: indexThread7  Priority: 5 Daemon
            Thread: indexThread8  Priority: 5 Daemon
            Thread: indexThread9  Priority: 5 Daemon
            Thread: indexThread10  Priority: 5 Daemon
        Thread Group: TraceableThreadGroup-3  Max Priority: 10
            Thread: defaultAsyncAction1  Priority: 5 Daemon
            Thread: defaultAsyncAction2  Priority: 5 Daemon
        Thread Group: TraceableThreadGroup-5  Max Priority: 10
        Thread Group: TraceableThreadGroup-7  Max Priority: 10
            Thread: indexTrackerThread1  Priority: 5 Daemon
            Thread: indexTrackerThread2  Priority: 5 Daemon
            Thread: indexTrackerThread3  Priority: 5 Daemon
            Thread: indexTrackerThread4  Priority: 5 Daemon
            Thread: indexTrackerThread5  Priority: 5 Daemon
        Thread Group: QuartzScheduler:DefaultScheduler  Max Priority: 10
        Thread Group: FTPSessions  Max Priority: 10
    Thread Group: RMI Runtime  Max Priority: 10
        Thread: RMI TCP Connection(44)-192.168.250.18  Priority: 5 Daemon
        Thread: RMI TCP Connection(45)-127.0.0.1  Priority: 5 Daemon

I'm not really sure how to interpret it.

The server is running CentOS 5.3, with Java 1.6.0 update 13 and Alfresco 3.3.0 revision 15634.

Edit: However, this behaviour has been seen with prior versions too.

o_o_
Champ in-the-making
Champ in-the-making
Hi,

   I just posted this Bug on in JIRA ALFCOM-3334 at https://issues.alfresco.com/jira/browse/ALFCOM-3334 .

Gronfelt,
   I hope you could post some of your alf-backstop-*.dmp and log files. Since you are using the 3.3 version it might be more incentive for them to fix this.

O.O.

gronfelt
Champ in-the-making
Champ in-the-making
I've added my latest dump-file to the JIRA issue.

o_o_
Champ in-the-making
Champ in-the-making
Thanks gronfelt
O.O.

dipti
Champ in-the-making
Champ in-the-making
Hi,
We are using alfresco version 3 on linux RHEL5 64 bit machine java jdk1.6.0_25.
I am using stopWebLogic.sh and startWebLogic.sh to stop and start the alfresco.
The alf-backstop-20150609004041.dmpand alf-backstop-20150609105951.dmp files are created.
Please help to analyse the issue.

Thanks lot.

mrogers
Star Contributor
Star Contributor
It's just alfresco not shutting down correctly.    You may safely ignore it.

The actual underlying problem was fixed many years ago.

dipti
Champ in-the-making
Champ in-the-making
Thanks for your reply!!

The issue we are facing is that we are having alfresco setup on 2 different linux machines and both are using same alfresco metatdata repository(alf data,upload).
The alfresco server is running and we are able to use it in our application to do attachments.
Where as,on second machine the alfresco console is running state but we are not able to do login through admin user(and other user also) and also not able to do attachments through this amchine alfresco.
Also ,the database is same for both the alfresco.

We are not able to perform index recovery (using fill recovery mode in custom repoitory poperties) on second machine as it gives error.
Below are the logs:
<Jun 9, 2015 11:23:40 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.20.56:9001 for protocols iiop, t3, ldap, snmp, http.>
<Jun 9, 2015 11:23:40 AM IST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "alfresco56_domain" running in Production Mode>
<Jun 9, 2015 11:23:40 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jun 9, 2015 11:23:40 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
11:28:15,715  ERROR [lucene.index.IndexInfo] Index is missing 5df83799-ef09-4a7d-aadb-ac279ea13fbc
11:28:15,719  ERROR [lucene.index.IndexInfo] Index is missing b436e7a7-8403-4eca-804e-9649ad9dc6eb
11:28:15,719  ERROR [lucene.index.IndexInfo] Index is missing 2b7d597a-a3c3-4de8-bee5-65500dd9a160
11:28:15,720  ERROR [lucene.index.IndexInfo] Index is missing 2507b93c-a14a-4d76-8985-327e215d83bd
11:28:15,720  ERROR [lucene.index.IndexInfo] Index is missing dc8e14b9-71b6-4e3e-ab77-83a72b141bf6
11:28:15,720  ERROR [lucene.index.IndexInfo] Index is missing bcb04196-9348-47dc-8402-3ad5ace7365c
11:56:54,706  ERROR [repo.transaction.AlfrescoTransactionSupport] After completion (rolled-back) Lucene exception
java.lang.NullPointerException
   at org.apache.lucene.index.IndexFileDeleter.findDeletableFiles(IndexFileDeleter.java:88)
   at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:1570)
   at org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:1351)
   at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:588)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.closeDeltaIndexWriter(IndexInfo.java:915)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.closeDelta(IndexInfo.java:932)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo$RolledBackTransition.beforeWithReadLock(IndexInfo.java:1599)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.setStatus(IndexInfo.java:1230)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.setStatus(AbstractLuceneBase.java:257)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl.rollback(AbstractLuceneIndexerImpl.java:524)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.rollback(AbstractLuceneIndexerAndSearcherFactory.java:822)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.afterCompletion(AlfrescoTransactionSupport.java:798)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:133)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:904)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:879)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:782)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:730)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:332)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:111)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy89.index(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
11:56:54,713  ERROR [quartz.core.JobRunShell] Job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception:
java.lang.NullPointerException
   at org.apache.lucene.index.IndexFileDeleter.findDeletableFiles(IndexFileDeleter.java:88)
   at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:1570)
   at org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:1351)
   at org.apache.lucene.index.IndexWriter.maybeFlushRamSegments(IndexWriter.java:1344)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:697)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:680)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1507)
   at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
   at sun.reflect.GeneratedMethodAccessor575.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy89.index(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
11:56:54,716  ERROR [quartz.core.ErrorLogger] Job (DEFAULT.ftsIndexerJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.NullPointerException
   at org.apache.lucene.index.IndexFileDeleter.findDeletableFiles(IndexFileDeleter.java:88)
   at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:1570)
   at org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:1351)
   at org.apache.lucene.index.IndexWriter.maybeFlushRamSegments(IndexWriter.java:1344)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:697)
   at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:680)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1507)
   at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
   at sun.reflect.GeneratedMethodAccessor575.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy89.index(Unknown Source)
   at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   … 1 more
11:58:35,037  ERROR [quartz.core.JobRunShell] Job DEFAULT.org.springframework.scheduling.quartz.JobDetailBean#7f1c3366 threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: Reindex failure for org.alfresco.repo.node.index.IndexTransactionTracker
   at org.alfresco.repo.node.index.AbstractReindexComponent.reindex(AbstractReindexComponent.java:265)
   at org.alfresco.repo.node.index.IndexRecoveryJob.execute(IndexRecoveryJob.java:31)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)


Please help to track the issue.
Thanks.

Please help us to resolve the issue.