james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: ActiveMQ the cause?
Date Tue, 12 Oct 2010 07:50:13 GMT
Hi Norman,

I you want, i can send you the wireshark file I have to have a better 
view on the different tcp streams.
For example, I've copied a stream hereafter (there are other ones in 
parallel, some are shorter).
Thunderbird seems to send a FETCH .. UID ... command per UID (btw, I'm 
not sure we have such a test in the protocol-tester project)

But I don't see a way to identify the exact command that produced the OOM.
I rather think that it is a addition of commands that made the memory 
grow (memory dump clearly shows the loaded objects such as jpaheader,...).

Tks,

Eric

* OK JAMES IMAP4rev1 Server  Server 172.16.1.131 is ready.
1 capability
* CAPABILITY IMAP4rev1 LITERAL+ CHILDREN NAMESPACE
1 OK CAPABILITY completed.
2 login "LOGIN" "PWD"
2 OK LOGIN completed.
3 namespace
* NAMESPACE (("" ".")) NIL NIL
3 OK NAMESPACE completed.
4 lsub "" "*"
* LSUB () "." "INBOX.community-apache-org"
* LSUB () "." "INBOX.maven-apache-org"
* LSUB () "." "INBOX.james-apache-org"
* LSUB () "." "INBOX.tycho-eclipse-org"
* LSUB () "." "INBOX.lucene-apache-org"
* LSUB () "." "INBOX.hadoop-apache-org"
* LSUB () "." "INBOX.openjpa-apache-org"
* LSUB () "." "INBOX.cassandra-apache-org"
* LSUB () "." "INBOX.release-discuss-apache-org"
* LSUB () "." "Sent"
* LSUB () "." "INBOX.retreats-apache-org"
* LSUB () "." "INBOX.private-apache-org"
* LSUB () "." "INBOX.felix-apache-org"
* LSUB () "." "INBOX.harmony-apache-org"
* LSUB () "." "INBOX.committer-apache-org"
* LSUB () "." "INBOX.aries-apache-org"
* LSUB () "." "Drafts"
* LSUB () "." "Archives.2010"
* LSUB () "." "Trash"
* LSUB () "." "INBOX.karaf-apache-org"
* LSUB () "." "INBOX.hbase-apache-org"
* LSUB () "." "Archives"
4 OK LSUB completed.
5 list "" "INBOX"
* LIST (\HasChildren) "." "INBOX"
5 OK LIST completed.
6 select "INBOX.james-apache-org"
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 2973 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 590990175]
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen)]
* OK [UIDNEXT 3128]
6 OK [READ-WRITE] SELECT completed.
7 UID fetch 1:* (FLAGS)
* 1 FETCH (FLAGS (\Seen) UID 1)
* 2 FETCH (FLAGS (\Seen) UID 2)
* 3 FETCH (FLAGS (\Seen) UID 3)
* 4 FETCH (FLAGS (\Seen) UID 4)
* 5 FETCH (FLAGS (\Seen) UID 5)
* 6 FETCH (FLAGS (\Seen) UID 6)
* 7 FETCH (FLAGS (\Seen) UID 7)
* 8 FETCH (FLAGS (\Seen) UID 8)
* 9 FETCH (FLAGS (\Seen) UID 9)
* 10 FETCH (FLAGS (\Seen) UID 10)
* 11 FETCH (FLAGS (\Seen) UID 11)
* 12 FETCH (FLAGS (\Seen) UID 12)
* 13 FETCH (FLAGS (\Seen) UID 13)
* 14 FETCH (FLAGS (\Seen) UID 14)
* 15 FETCH (FLAGS (\Seen) UID 15)
* 16 FETCH (FLAGS (\Seen) UID 16)
* 17 FETCH (FLAGS (\Seen) UID 17)
* 18 FETCH (FLAGS (\Seen) UID 18)
* 19 FETCH (FLAGS (\Seen) UID 19)
* 20 FETCH (FLAGS (\Seen) UID 20)
* 21 FETCH (FLAGS (\Seen) UID 21)
* 22 FETCH (FLAGS (\Seen) UID 22)
* 23 FETCH (FLAGS (\Seen) UID 23)
* 24 FETCH (FLAGS (\Seen) UID 24)
* 25 FETCH (FLAGS (\Seen) UID 25)
* 26 FETCH (FLAGS (\Seen) UID 26)
* 27 FETCH (FLAGS (\Seen) UID 27)
* 28 FETCH (FLAGS (\Seen) UID 28)
* 29 FETCH (FLAGS (\Seen) UID 29)
* 30 FETCH (FLAGS (\Seen) UID 30)
* 31 FETCH (FLAGS (\Seen) UID 31)
* 32 FETCH (FLAGS (\Seen) UID 32)
* 33 FETCH (FLAGS (\Seen) UID 33)
* 34 FETCH (FLAGS (\Seen) UID 34)
* 35 FETCH (FLAGS (\Seen) UID 35)
* 36 FETCH (FLAGS (\Seen) UID 36)
* 37 FETCH (FLAGS (\Seen) UID 37)
* 38 FETCH (FLAGS (\Seen) UID 38)
* 39 FETCH (FLAGS (\Seen) UID 39)
* 40 FETCH (FLAGS (\Seen) UID 40)
* 41 FETCH (FLAGS (\Seen) UID 41)
* 42 FETCH (FLAGS (\Seen) UID 42)
* 43 FETCH (FLAGS (\Answered \Seen) UID 43)
* 44 FETCH (FLAGS (\Seen) UID 44)
* 45 FETCH (FLAGS (\Seen) UID 45)
* 46 FETCH (FLAGS (\Seen) UID 46)
* 47 FETCH (FLAGS (\Seen) UID 47)
* 48 FETCH (FLAGS (\Seen) UID 48)
* 49 FETCH (FLAGS (\Seen) UID 49)
* 50 FETCH (FLAGS (\Seen) UID 50)
* 51 FETCH (FLAGS (\Seen) UID 51)
* 52 FETCH (FLAGS (\Seen) UID 52)
* 53 FETCH (FLAGS (\Seen) UID 53)
* 54 FETCH (FLAGS (\Seen) UID 54)
* 55 FETCH (FLAGS (\Seen) UID 55)
* 56 FETCH (FLAGS (\Seen) UID 56)
* 57 FETCH (FLAGS (\Seen) UID 57)
* 58 FETCH (FLAGS (\Seen) UID 58)
* 59 FETCH (FLAGS (\Seen) UID 59)
* 60 FETCH (FLAGS (\Seen) UID 60)
* 61 FETCH (FLAGS (\Seen) UID 61)
* 62 FETCH (FLAGS (\Seen) UID 62)
* 63 FETCH (FLAGS (\Seen) UID 63)
* 64 FETCH (FLAGS (\Answered \Seen) UID 64)
* 65 FETCH (FLAGS (\Seen) UID 65)
* 66 FETCH (FLAGS (\Answered \Seen) UID 66)
* 67 FETCH (FLAGS (\Seen) UID 67)
* 68 FETCH (FLAGS (\Seen) UID 68)
* 69 FETCH (FLAGS (\Seen) UID 69)
* 70 FETCH (FLAGS (\Seen) UID 70)
* 71 FETCH (FLAGS (\Seen) UID 71)
* 72 FETCH (FLAGS (\Seen) UID 72)
* 73 FETCH (FLAGS (\Seen) UID 73)
* 74 FETCH (FLAGS (\Seen) UID 74)

... (snipped)...

* 2925 FETCH (FLAGS (\Seen) UID 3079)
* 2926 FETCH (FLAGS (\Seen) UID 3080)
* 2927 FETCH (FLAGS (\Seen) UID 3081)
* 2928 FETCH (FLAGS (\Seen) UID 3082)
* 2929 FETCH (FLAGS (\Seen) UID 3083)
* 2930 FETCH (FLAGS (\Seen) UID 3084)
* 2931 FETCH (FLAGS (\Seen) UID 3085)
* 2932 FETCH (FLAGS (\Seen) UID 3086)
* 2933 FETCH (FLAGS (\Seen) UID 3087)
* 2934 FETCH (FLAGS (\Seen) UID 3088)
* 2935 FETCH (FLAGS (\Seen) UID 3089)
* 2936 FETCH (FLAGS (\Seen) UID 3090)
* 2937 FETCH (FLAGS (\Seen) UID 3091)
* 2938 FETCH (FLAGS (\Seen) UID 3092)
* 2939 FETCH (FLAGS (\Answered \Seen) UID 3093)
* 2940 FETCH (FLAGS (\Seen) UID 3094)
* 2941 FETCH (FLAGS (\Seen) UID 3095)
* 2942 FETCH (FLAGS (\Seen) UID 3096)
* 2943 FETCH (FLAGS (\Seen) UID 3097)
* 2944 FETCH (FLAGS (\Seen) UID 3098)
* 2945 FETCH (FLAGS (\Seen) UID 3099)
* 2946 FETCH (FLAGS (\Seen) UID 3100)
* 2947 FETCH (FLAGS (\Seen) UID 3101)
* 2948 FETCH (FLAGS (\Seen) UID 3102)
* 2949 FETCH (FLAGS (\Seen) UID 3103)
* 2950 FETCH (FLAGS (\Seen) UID 3104)
* 2951 FETCH (FLAGS (\Seen) UID 3105)
* 2952 FETCH (FLAGS (\Seen) UID 3106)
* 2953 FETCH (FLAGS (\Seen) UID 3107)
* 2954 FETCH (FLAGS (\Seen) UID 3108)
* 2955 FETCH (FLAGS (\Seen) UID 3109)
* 2956 FETCH (FLAGS (\Seen) UID 3110)
* 2957 FETCH (FLAGS (\Seen) UID 3111)
* 2958 FETCH (FLAGS (\Seen) UID 3112)
* 2959 FETCH (FLAGS (\Seen) UID 3113)
* 2960 FETCH (FLAGS (\Answered \Seen) UID 3114)
* 2961 FETCH (FLAGS (\Seen) UID 3115)
* 2962 FETCH (FLAGS (\Seen) UID 3116)
* 2963 FETCH (FLAGS (\Seen) UID 3117)
* 2964 FETCH (FLAGS (\Seen) UID 3118)
* 2965 FETCH (FLAGS (\Seen) UID 3119)
* 2966 FETCH (FLAGS (\Seen) UID 3120)
* 2967 FETCH (FLAGS (\Seen) UID 3121)
* 2968 FETCH (FLAGS (\Seen) UID 3122)
* 2969 FETCH (FLAGS (\Seen) UID 3123)
* 2970 FETCH (FLAGS (\Seen) UID 3124)
* 2971 FETCH (FLAGS (\Seen) UID 3125)
* 2972 FETCH (FLAGS (\Seen) UID 3126)
* 2973 FETCH (FLAGS (\Seen) UID 3127)
7 OK FETCH completed.
8 UID fetch 1289 (UID RFC822.SIZE BODY.PEEK[])
* 1246 FETCH (RFC822.SIZE 45478 UID 1289 BODY[] {45478}
Return-Path: 
<server-dev-return-38502-eric.charles=u-mangate.com@james.apache.org>
Message-ID: <1054531714.70412.1277646185182.JavaMail.root@srv001>
MIME-Version: 1.0
Received: from hermes.apache.org ([140.211.11.3])
           by 172.16.1.131 (JAMES SMTP Server ) with SMTP ID 530
           for <eric.charles@u-mangate.com>;
           Sun, 27 Jun 2010 15:43:02 +0200 (CEST)
Received: (qmail 48003 invoked by uid 500); 27 Jun 2010 13:43:00 -0000
Mailing-List: contact server-dev-help@james.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:server-dev-unsubscribe@james.apache.org>
List-Help: <mailto:server-dev-help@james.apache.org>
List-Post: <mailto:server-dev@james.apache.org>
List-Id: "James Developers List" <server-dev.james.apache.org>
Reply-To: "James Developers List" <server-dev@james.apache.org>
Delivered-To: mailing list server-dev@james.apache.org
Received: (qmail 47995 invoked by uid 500); 27 Jun 2010 13:43:00 -0000
Received: (qmail 47992 invoked by uid 99); 27 Jun 2010 13:43:00 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
     by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 13:43:00 
+0000
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
.tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
     by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jun 2010 13:42:55 
+0000
Received: by eris.apache.org (Postfix, from userid 65534)
.id CCCAA2388903; Sun, 27 Jun 2010 13:42:01 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Subject: svn commit: r958388 - in /james/imap/trunk:
  api/src/main/java/org/apache/james/imap/api/message/request/
  api/src/main/java/org/apache/james/imap/api/process/
  message/src/main/java/org/apache/james/imap/encode/base/
  message/src/main/java/org/apache/jame...
Date: Sun, 27 Jun 2010 13:42:01 -0000
To: server-cvs@james.apache.org
From: norman@apache.org
X-Mailer: svnmailer-1.0.8
X-Virus-Checked: Checked by ClamAV on apache.org

Author: norman
Date: Sun Jun 27 13:42:00 2010
New Revision: 958388

URL: http://svn.apache.org/viewvc?rev=958388&view=rev
Log:
Add javadocs

Modified:
     
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/message/request/ImapRequest.java
     
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapProcessorFactory.java
     
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/SelectedMailbox.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/AbstractChainedImapEncoder.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/EndImapEncoder.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/encode/main/DefaultImapEncoderFactory.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/AbstractImapRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/AbstractMailboxSelectionRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/AppendRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/AuthenticateRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/BaseImap4Rev1MessageFactory.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/CopyRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/CreateRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/DeleteRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/ExpungeRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/LoginRequest.java
     
james/imap/trunk/message/src/main/java/org/apache/james/imap/message/request/LogoutRequest.java

Modified: 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/message/request/ImapRequest.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/api/src/main/java/org/apache/james/imap/api/message/request/ImapRequest.java?rev=958388&r1=958387&r2=958388&view=diff
==============================================================================
--- 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/message/request/ImapRequest.java

(original)
+++ 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/message/request/ImapRequest.java

Sun Jun 27 13:42:00 2010
@@ -21,6 +21,10 @@ package org.apache.james.imap.api.messag

  import org.apache.james.imap.api.ImapCommand;

+/**
+ * The actual Imap request
+ *
+ */
  public interface ImapRequest {

      /**

Modified: 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapProcessorFactory.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapProcessorFactory.java?rev=958388&r1=958387&r2=958388&view=diff
==============================================================================
--- 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapProcessorFactory.java

(original)
+++ 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/ImapProcessorFactory.java

Sun Jun 27 13:42:00 2010
@@ -24,5 +24,10 @@ package org.apache.james.imap.api.proces
   */
  public interface ImapProcessorFactory {

+    /**
+     * Build a new instance of a {@link ImapProcessor}
+     *
+     * @return processor
+     */
      public ImapProcessor buildImapProcessor();
  }

Modified: 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/SelectedMailbox.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/SelectedMailbox.java?rev=958388&r1=958387&r2=958388&view=diff
==============================================================================
--- 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/SelectedMailbox.java

(original)
+++ 
james/imap/trunk/api/src/main/java/org/apache/james/imap/api/process/SelectedMailbox.java

Sun Jun 27 13:42:00 2010
@@ -22,24 +22,74 @@ package org.apache.james.imap.api.proces
  import java.util.Collection;


+/**
+ * Interface which represent a selected Mailbox during the selected state
+ *
+ */
  public interface SelectedMailbox {


On 11/10/2010 18:05, Norman Maurer wrote:
> Hi Eric,
>
> Did you also have a look with wireshark what the exact command and
> argument was which triggered the OOM?
>
> Thx
> Norman
>
> 2010/10/11, Eric Charles<eric@apache.org>:
>> Hi Norman,
>>
>> There were 2 main problems:
>> 1. The amq one which is now resolved tks to your last commit
>> 2. James no more responding on imap which is always caused by OOM (I
>> missed some log the first time).
>>
>> For the second one, analysis of memory dump shows oom comes from huge
>> usage of memory due to loading of message, headers,... (in case of
>> 10.000 message fetch for example).
>> I don't benefit from Lob streaming on derby database, but it won't help
>> much because jpaheader for example also take much memory.
>>
>> Tks,
>>
>> Eric
>>
>> On 11/10/2010 13:10, Norman Maurer wrote:
>>> Ok 4/5 is fixed now... Just to keep you updated..
>>>
>>> Bye.
>>> Norman
>>>
>>> 2010/10/11 Norman Maurer<norman@apache.org>:
>>>> Ok at least you can reproduce it, thats good ;) Did you take a  thread
>>>> dump ?
>>>>
>>>> Bye,
>>>> Norman
>>>>
>>>>
>>>> 2010/10/11 Eric Charles<eric@apache.org>:
>>>>> It's the same with latest thunderbird
>>>>> I restarted disabling 'Check for new messages on startup on all my
>>>>> accounts.
>>>>> If I go quickly from one folder to another, I fall back in the endless
>>>>> 'downloading'/'indexing'...
>>>>> However, if I quietly click on 'Get Mail' folder per folder, it's ok.
>>>>>
>>>>> I think we are still with Bug 1 (Bug 2 and 3 should be resolved if 1
is
>>>>> resolved) for IMAP, fetching simultaneously some folders.
>>>>> Bug 4 is for amq.
>>>>>
>>>>> Tks,
>>>>>
>>>>> Eric
>>>>>
>>>>>
>>>>> On 10/10/2010 20:03, Eric Charles wrote:
>>>>>> I tried to resync thunderbird without clicking on any folder.
>>>>>> Still the same behaviour : "downloading xxx on yyy", www on zzz,...
>>>>>>
>>>>>> Wireshark tells me more: I never saw such red/black lines in the
tcp
>>>>>> stream (one red/black on every 5/10 tcp packet: "segment lost").
>>>>>> 1783    8.626604    91.183.38.48    192.168.1.12    IMAP    [TCP
>>>>>> Previous
>>>>>> segment lost] Response:
>>>>>> ss.properties?rev=1005079&r1=1005078&r2=1005079&view=diff
>>>>>>
>>>>>> I was wondering if my cable was right:
>>>>>> - tested plain http via cable: wireshark is green.
>>>>>> - tested thunderbird/james via wifi : same black/red lines in
>>>>>> wireshark.
>>>>>>
>>>>>> I have saved the dump and will analyze further tomorrow, but a tcp
>>>>>> conversation selected from a "segment lost" seems ok.
>>>>>>
>>>>>> So for now (this may change), I think we have:
>>>>>>
>>>>>> 1. A client is in a stage that causes the "segment lost" tcp errors
==>
>>>>>> Bug 1
>>>>>> 2. Client/server conversation loops endless ==>   Bug 2
>>>>>> 3.1. James finally hangs ==>   Bug 3
>>>>>> 3.2. James finally gets oom ==>   Bug 3
>>>>>> 4. Manual stop is needed.
>>>>>> 5. After manual stop in state 3.1 or 3.2, there's a activemq
>>>>>> java.io.EOFException: Chunk stream does not exist at page: 0 ==>
  Bug 4
>>>>>>
>>>>>> So 4 bugs ?
>>>>>> I will upgrade my thunderbird 3.0.3 on linux to the latest version
and
>>>>>> see
>>>>>> if bug 1 is not resolved.
>>>>>> Bug 4 may be resolved with 5.4.1 and latest commits for the james
stop
>>>>>> procedure.
>>>>>>
>>>>>> Tks,
>>>>>>
>>>>>> Eric
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 10/10/2010 18:31, Eric Charles wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have on James 3 (trunk of 2 week ago) my INBOX with 10 subfolders,
>>>>>>> some
>>>>>>> of these subfolders having more than 10.000 mails.
>>>>>>> I mainly use a PC, so the IMAP sync is done regulary along the
day.
>>>>>>>
>>>>>>> I also have another PC I synchronize once a week.
>>>>>>> During the IMAP sync of that PC, I selected randomly some subfolders
>>>>>>> and
>>>>>>> saw (this occured twice, but not always...):
>>>>>>> - Thunderbird syncs well during a some minutes (10?)
>>>>>>> - After, Thunderbird begins to say "downloading xx of yy mails"..
>>>>>>> .when
>>>>>>> yy is reached, he says "downloading ww of zz" where zz is a little
>>>>>>> greater
>>>>>>> than yy.
>>>>>>> - I wait, wait, and finally have timeout, and the mails are no
more
>>>>>>> viewable in thunderbird.
>>>>>>>
>>>>>>> James is stucked.
>>>>>>> The first time I had OOM (I think), today, I had no OOM, but
James was
>>>>>>> no
>>>>>>> more reachable via IMAP, though accepting mails via SMTP.
>>>>>>>
>>>>>>> I stopped, and when restarting, I had the following exception
(James
>>>>>>> was
>>>>>>> not usable anymore):
>>>>>>> INFO  18:16:37,646 | org.apache.activemq.store.kahadb.plist.PListStore
>>>>>>> |
>>>>>>> PListStore:activemq-data/localhost/tmp_storage started
>>>>>>> INFO  18:16:37,648 | org.apache.activemq.broker.BrokerService
| Using
>>>>>>> Persistence Adapter:
>>>>>>> KahaDBPersistenceAdapter[activemq-data/localhost/KahaDB]
>>>>>>> INFO  18:16:38,248 | org.apache.activemq.store.kahadb.plist.PListStore
>>>>>>> |
>>>>>>> PListStore:../data/localhost/tmp_storage started
>>>>>>> ERROR 18:16:38,301 | org.apache.activemq.broker.BrokerService
| Failed
>>>>>>> to
>>>>>>> start ActiveMQ JMS Message Broker. Reason: java.io.EOFException:
Chunk
>>>>>>> stream does not exist at page: 0
>>>>>>> java.io.EOFException: Chunk stream does not exist at page: 0
>>>>>>>          at
>>>>>>> org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
>>>>>>>          at
>>>>>>> org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
>>>>>>>          at
>>>>>>> org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:428)
>>>>>>>          at
>>>>>>> org.apache.kahadb.page.Transaction.load(Transaction.java:404)
>>>>>>>          at
>>>>>>> org.apache.kahadb.page.Transaction.load(Transaction.java:361)
>>>>>>>          at
>>>>>>> org.apache.activemq.store.kahadb.MessageDatabase$1.execute(MessageDatabase.java:243)
>>>>>>>          at
>>>>>>> org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
>>>>>>>          at
>>>>>>> org.apache.activemq.store.kahadb.MessageDatabase.loadPageFile(MessageDatabase.java:230)
>>>>>>>          at
>>>>>>> org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:309)
>>>>>>>          at
>>>>>>> org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:353)
>>>>>>>          at
>>>>>>> org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:217)
>>>>>>>          at
>>>>>>> org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:178)
>>>>>>>
>>>>>>> Sounds l ike https://issues.apache.org/activemq/browse/AMQ-2935.
>>>>>>>
>>>>>>> To solve it, I had to remove the activemq-data directory (btw,
2 weeks
>>>>>>> ago was activemq 5.4.0 with 2 brokers started and activemq-data
in bin
>>>>>>> directory).
>>>>>>>
>>>>>>> I made a test to restart from scratch my account in thunderbird,
and
>>>>>>> it
>>>>>>> was OK.
>>>>>>>
>>>>>>> Is it because it does a incremental sync and I select different
>>>>>>> folders
>>>>>>> (just to make things complicated :) ) during the download ?
>>>>>>>
>>>>>>> Anyway, it is not easy to reproduce.
>>>>>>> Activemq 5.4.1. may be worth to try, but I'm not sure it the
the
>>>>>>> cause...
>>>>>>>
>>>>>>> Tks,
>>>>>>>
>>>>>>> Eric
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message