Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Ashish
On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurer nor...@apache.org wrote:
 Hi all,

 we at JAMES use MINA since a while now for our socket stuff. After
 doing some stress tests we encountered some OOM Exceptions. The same
 was seen by one of our users which use JAMES trunk. After debugging
 stuff it seems like the cause of the OOM is MINA. We took some heap
 which shows that MINA is takin the most memory. The class which shows
 the memory usage was:

 org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

 I attach the screnshots which shows the problem. Any idea ? We are
 using MINA-2.0.0-RC1.

 Maybe I'm wrong and the whole OOM is not related to MINA at all..

 Thanks,
 Norman

 Ps: Please keep server-dev in the cc

Norman,

Is there a way to reproduce this? I just want to try it out myself and debug.

-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

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



JAMES Server Nightly Build Report

2010-04-05 Thread JAMES Nightly Build System
An automated nightly build of JAMES has been posted to 
http://people.apache.org/builds/james/nightly/

Any unit test errors from the build should be reported below:

BUILD SUCCESSFUL
Total time: 4 minutes 38 seconds

Done. Packages Will Be Uploaded To The Nightly Repository.

Please review http://people.apache.org/builds/james/nightly/BUILD.log.


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



Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Norman Maurer
Hi Ashish,

thx for your reply. The problem is sometimes it takes sometime to get
the OOM, other times it happens within one minute. One of our users
reported to me that it happened within 1 minute (10 seconds and 30
seconds), after he switched to MINA trunk. So it seems it is faster
reproducable with MINA trunk. I uploaded the screenshot of Eclipse
Memory Analyzer to :

http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png

This was the one we got with MINA trunk. So you it again shows all the
memory allocated by MINA.

To reproduce the OOM you must perform the following steps:

1) svn checkout http://svn.apache.org/repos/asf/server/trunk james-trunk
2) cd james-trunk
2) mvn clean package
3) tar xfvz spring-deployment/target/james-spring-deployment-3.0-M1-bin.tar.gz
4) cd james-string-deploymnet-3.0-M1/bin
5) sudo ./run.sh
6) telnet localhost 4555 (user root, pass root)
7) adduser test test
8) quit

Now bomb the server with emails. You can use for example smtp-source
for it (wich is included in postfix)
9) smtp-source -s 20 -l 10100 -m 20 -c -f t...@test.de -t test localhost:25

This will bomb the servers with 20 emails with 20 concurrent sessions.

Hope this helps,
Bye,
Norman

2010/4/5 Ashish paliwalash...@gmail.com:
 On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurer nor...@apache.org wrote:
 Hi all,

 we at JAMES use MINA since a while now for our socket stuff. After
 doing some stress tests we encountered some OOM Exceptions. The same
 was seen by one of our users which use JAMES trunk. After debugging
 stuff it seems like the cause of the OOM is MINA. We took some heap
 which shows that MINA is takin the most memory. The class which shows
 the memory usage was:

 org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

 I attach the screnshots which shows the problem. Any idea ? We are
 using MINA-2.0.0-RC1.

 Maybe I'm wrong and the whole OOM is not related to MINA at all..

 Thanks,
 Norman

 Ps: Please keep server-dev in the cc

 Norman,

 Is there a way to reproduce this? I just want to try it out myself and debug.

 --
 thanks
 ashish

 Blog: http://www.ashishpaliwal.com/blog
 My Photo Galleries: http://www.pbase.com/ashishpaliwal


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



Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Ashish
Thanks Norman,

Will try to see this as soon as I can get some time from paid job :)

cheers
ashish

On Mon, Apr 5, 2010 at 1:27 PM, Norman Maurer
norman.mau...@googlemail.com wrote:
 Hi Ashish,

 thx for your reply. The problem is sometimes it takes sometime to get
 the OOM, other times it happens within one minute. One of our users
 reported to me that it happened within 1 minute (10 seconds and 30
 seconds), after he switched to MINA trunk. So it seems it is faster
 reproducable with MINA trunk. I uploaded the screenshot of Eclipse
 Memory Analyzer to :

 http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png

 This was the one we got with MINA trunk. So you it again shows all the
 memory allocated by MINA.

 To reproduce the OOM you must perform the following steps:

 1) svn checkout http://svn.apache.org/repos/asf/server/trunk james-trunk
 2) cd james-trunk
 2) mvn clean package
 3) tar xfvz spring-deployment/target/james-spring-deployment-3.0-M1-bin.tar.gz
 4) cd james-string-deploymnet-3.0-M1/bin
 5) sudo ./run.sh
 6) telnet localhost 4555 (user root, pass root)
 7) adduser test test
 8) quit

 Now bomb the server with emails. You can use for example smtp-source
 for it (wich is included in postfix)
 9) smtp-source -s 20 -l 10100 -m 20 -c -f t...@test.de -t test 
 localhost:25

 This will bomb the servers with 20 emails with 20 concurrent sessions.

 Hope this helps,
 Bye,
 Norman

 2010/4/5 Ashish paliwalash...@gmail.com:
 On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurer nor...@apache.org wrote:
 Hi all,

 we at JAMES use MINA since a while now for our socket stuff. After
 doing some stress tests we encountered some OOM Exceptions. The same
 was seen by one of our users which use JAMES trunk. After debugging
 stuff it seems like the cause of the OOM is MINA. We took some heap
 which shows that MINA is takin the most memory. The class which shows
 the memory usage was:

 org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

 I attach the screnshots which shows the problem. Any idea ? We are
 using MINA-2.0.0-RC1.

 Maybe I'm wrong and the whole OOM is not related to MINA at all..

 Thanks,
 Norman

 Ps: Please keep server-dev in the cc

 Norman,

 Is there a way to reproduce this? I just want to try it out myself and debug.

 --
 thanks
 ashish

 Blog: http://www.ashishpaliwal.com/blog
 My Photo Galleries: http://www.pbase.com/ashishpaliwal





-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

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



Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Eric Charles

Hi Ashish,

Please also note that we have 2 different exceptions:
- http://people.apache.org/~norman/oom/Screenshot.png that occurs with 
mina 2.0.0-RC1
- 
http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png 
that occurs with 2.0.0-RC2-SNAPSHOT


It happens on jdk 1.6 (and also 1.7)

Tks,

Eric


On 04/05/2010 10:01 AM, Ashish wrote:

Thanks Norman,

Will try to see this as soon as I can get some time from paid job :)

cheers
ashish

On Mon, Apr 5, 2010 at 1:27 PM, Norman Maurer
norman.mau...@googlemail.com  wrote:
   

Hi Ashish,

thx for your reply. The problem is sometimes it takes sometime to get
the OOM, other times it happens within one minute. One of our users
reported to me that it happened within 1 minute (10 seconds and 30
seconds), after he switched to MINA trunk. So it seems it is faster
reproducable with MINA trunk. I uploaded the screenshot of Eclipse
Memory Analyzer to :

http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png

This was the one we got with MINA trunk. So you it again shows all the
memory allocated by MINA.

To reproduce the OOM you must perform the following steps:

1) svn checkout http://svn.apache.org/repos/asf/server/trunk james-trunk
2) cd james-trunk
2) mvn clean package
3) tar xfvz spring-deployment/target/james-spring-deployment-3.0-M1-bin.tar.gz
4) cd james-string-deploymnet-3.0-M1/bin
5) sudo ./run.sh
6) telnet localhost 4555 (user root, pass root)
7) adduser test test
8) quit

Now bomb the server with emails. You can use for example smtp-source
for it (wich is included in postfix)
9) smtp-source -s 20 -l 10100 -m 20 -c -f t...@test.de -t test localhost:25

This will bomb the servers with 20 emails with 20 concurrent sessions.

Hope this helps,
Bye,
Norman

2010/4/5 Ashishpaliwalash...@gmail.com:
 

On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurernor...@apache.org  wrote:
   

Hi all,

we at JAMES use MINA since a while now for our socket stuff. After
doing some stress tests we encountered some OOM Exceptions. The same
was seen by one of our users which use JAMES trunk. After debugging
stuff it seems like the cause of the OOM is MINA. We took some heap
which shows that MINA is takin the most memory. The class which shows
the memory usage was:

org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

I attach the screnshots which shows the problem. Any idea ? We are
using MINA-2.0.0-RC1.

Maybe I'm wrong and the whole OOM is not related to MINA at all..

Thanks,
Norman

Ps: Please keep server-dev in the cc
 

Norman,

Is there a way to reproduce this? I just want to try it out myself and debug.

--
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

   
 



   



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



svn commit: r930830 - in /james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core: RetrCmdHandler.java TopCmdHandler.java

2010-04-05 Thread norman
Author: norman
Date: Mon Apr  5 08:49:01 2010
New Revision: 930830

URL: http://svn.apache.org/viewvc?rev=930830view=rev
Log:
Close streams when finish writing

Modified:

james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java

james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java

Modified: 
james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java?rev=930830r1=930829r2=930830view=diff
==
--- 
james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
 (original)
+++ 
james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/RetrCmdHandler.java
 Mon Apr  5 08:49:01 2010
@@ -92,6 +92,9 @@ public class RetrCmdHandler implements C
 // write a single dot to mark message as complete
 out.write((.\r\n).getBytes());
 out.flush();
+
+extraDotOut.close();
+out.close();
 }
 
 session.writeStream(stream.getInputStream());

Modified: 
james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java?rev=930830r1=930829r2=930830view=diff
==
--- 
james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java
 (original)
+++ 
james/server/trunk/pop3server/src/main/java/org/apache/james/pop3server/core/TopCmdHandler.java
 Mon Apr  5 08:49:01 2010
@@ -129,6 +129,9 @@ public class TopCmdHandler extends RetrC
 // write a single dot to mark message as complete
 out.write((.\r\n).getBytes());
 out.flush();
+
+extraDotOut.close();
+out.close();
 }
 session.writeStream(stream.getInputStream());
 



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



Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Norman Maurer
I think thats only because mina-trunk is not using CircularQueue
anymore. It now seems to use ConcurrentLinkedQueue.

Bye,
Norman

2010/4/5 Eric Charles eric.char...@u-mangate.com:
 Hi Ashish,

 Please also note that we have 2 different exceptions:
 - http://people.apache.org/~norman/oom/Screenshot.png that occurs with mina
 2.0.0-RC1
 -
 http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png
 that occurs with 2.0.0-RC2-SNAPSHOT

 It happens on jdk 1.6 (and also 1.7)

 Tks,

 Eric


 On 04/05/2010 10:01 AM, Ashish wrote:

 Thanks Norman,

 Will try to see this as soon as I can get some time from paid job :)

 cheers
 ashish

 On Mon, Apr 5, 2010 at 1:27 PM, Norman Maurer
 norman.mau...@googlemail.com  wrote:


 Hi Ashish,

 thx for your reply. The problem is sometimes it takes sometime to get
 the OOM, other times it happens within one minute. One of our users
 reported to me that it happened within 1 minute (10 seconds and 30
 seconds), after he switched to MINA trunk. So it seems it is faster
 reproducable with MINA trunk. I uploaded the screenshot of Eclipse
 Memory Analyzer to :


 http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png

 This was the one we got with MINA trunk. So you it again shows all the
 memory allocated by MINA.

 To reproduce the OOM you must perform the following steps:

 1) svn checkout http://svn.apache.org/repos/asf/server/trunk james-trunk
 2) cd james-trunk
 2) mvn clean package
 3) tar xfvz
 spring-deployment/target/james-spring-deployment-3.0-M1-bin.tar.gz
 4) cd james-string-deploymnet-3.0-M1/bin
 5) sudo ./run.sh
 6) telnet localhost 4555 (user root, pass root)
 7) adduser test test
 8) quit

 Now bomb the server with emails. You can use for example smtp-source
 for it (wich is included in postfix)
 9) smtp-source -s 20 -l 10100 -m 20 -c -f t...@test.de -t test
 localhost:25

 This will bomb the servers with 20 emails with 20 concurrent
 sessions.

 Hope this helps,
 Bye,
 Norman

 2010/4/5 Ashishpaliwalash...@gmail.com:


 On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurernor...@apache.org
  wrote:


 Hi all,

 we at JAMES use MINA since a while now for our socket stuff. After
 doing some stress tests we encountered some OOM Exceptions. The same
 was seen by one of our users which use JAMES trunk. After debugging
 stuff it seems like the cause of the OOM is MINA. We took some heap
 which shows that MINA is takin the most memory. The class which shows
 the memory usage was:

 org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

 I attach the screnshots which shows the problem. Any idea ? We are
 using MINA-2.0.0-RC1.

 Maybe I'm wrong and the whole OOM is not related to MINA at all..

 Thanks,
 Norman

 Ps: Please keep server-dev in the cc


 Norman,

 Is there a way to reproduce this? I just want to try it out myself and
 debug.

 --
 thanks
 ashish

 Blog: http://www.ashishpaliwal.com/blog
 My Photo Galleries: http://www.pbase.com/ashishpaliwal









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



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



Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Eric Charles

Yes,

One instance of 
org.apache.mina.core.session.DefaultIoSessionDataStructureFactory$DefaultWriteRequestQueue 
contains :
- for 2.0.0-RC1 : one instance of org.apache.mina.util.CircularQueue 
with an array of many 
org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest
- for 2.0.0-RC2-SNAPSHOT : many recursive instances of 
java.util.concurrent.ConcurrentLinkedQueue


Tks,
Eric


On 04/05/2010 10:51 AM, Norman Maurer wrote:

I think thats only because mina-trunk is not using CircularQueue
anymore. It now seems to use ConcurrentLinkedQueue.

Bye,
Norman

2010/4/5 Eric Charleseric.char...@u-mangate.com:
   

Hi Ashish,

Please also note that we have 2 different exceptions:
- http://people.apache.org/~norman/oom/Screenshot.png that occurs with mina
2.0.0-RC1
-
http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png
that occurs with 2.0.0-RC2-SNAPSHOT

It happens on jdk 1.6 (and also 1.7)

Tks,

Eric


On 04/05/2010 10:01 AM, Ashish wrote:
 

Thanks Norman,

Will try to see this as soon as I can get some time from paid job :)

cheers
ashish

On Mon, Apr 5, 2010 at 1:27 PM, Norman Maurer
norman.mau...@googlemail.comwrote:

   

Hi Ashish,

thx for your reply. The problem is sometimes it takes sometime to get
the OOM, other times it happens within one minute. One of our users
reported to me that it happened within 1 minute (10 seconds and 30
seconds), after he switched to MINA trunk. So it seems it is faster
reproducable with MINA trunk. I uploaded the screenshot of Eclipse
Memory Analyzer to :


http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png

This was the one we got with MINA trunk. So you it again shows all the
memory allocated by MINA.

To reproduce the OOM you must perform the following steps:

1) svn checkout http://svn.apache.org/repos/asf/server/trunk james-trunk
2) cd james-trunk
2) mvn clean package
3) tar xfvz
spring-deployment/target/james-spring-deployment-3.0-M1-bin.tar.gz
4) cd james-string-deploymnet-3.0-M1/bin
5) sudo ./run.sh
6) telnet localhost 4555 (user root, pass root)
7) adduser test test
8) quit

Now bomb the server with emails. You can use for example smtp-source
for it (wich is included in postfix)
9) smtp-source -s 20 -l 10100 -m 20 -c -f t...@test.de -t test
localhost:25

This will bomb the servers with 20 emails with 20 concurrent
sessions.

Hope this helps,
Bye,
Norman

2010/4/5 Ashishpaliwalash...@gmail.com:

 

On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurernor...@apache.org
  wrote:

   

Hi all,

we at JAMES use MINA since a while now for our socket stuff. After
doing some stress tests we encountered some OOM Exceptions. The same
was seen by one of our users which use JAMES trunk. After debugging
stuff it seems like the cause of the OOM is MINA. We took some heap
which shows that MINA is takin the most memory. The class which shows
the memory usage was:

org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

I attach the screnshots which shows the problem. Any idea ? We are
using MINA-2.0.0-RC1.

Maybe I'm wrong and the whole OOM is not related to MINA at all..

Thanks,
Norman

Ps: Please keep server-dev in the cc

 

Norman,

Is there a way to reproduce this? I just want to try it out myself and
debug.

--
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal


   


 



   


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


 

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

   



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



Re: JAMES OOM, maybe the cause of MINA ?

2010-04-05 Thread Ashish
On Mon, Apr 5, 2010 at 2:21 PM, Norman Maurer
norman.mau...@googlemail.com wrote:
 I think thats only because mina-trunk is not using CircularQueue
 anymore. It now seems to use ConcurrentLinkedQueue.

 Bye,
 Norman

I remember, Emm removed all references to CircularQueue, but this was
to make it thread safe :)

http://mina.markmail.org/message/xirxdepng3j65w4b?q=CircularQueue#query:CircularQueue+page:1+mid:xirxdepng3j65w4b+state:results

Hmm, not sure why it would hold the references.

Thanks for Heads up..


 2010/4/5 Eric Charles eric.char...@u-mangate.com:
 Hi Ashish,

 Please also note that we have 2 different exceptions:
 - http://people.apache.org/~norman/oom/Screenshot.png that occurs with mina
 2.0.0-RC1
 -
 http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png
 that occurs with 2.0.0-RC2-SNAPSHOT

 It happens on jdk 1.6 (and also 1.7)

 Tks,

 Eric


 On 04/05/2010 10:01 AM, Ashish wrote:

 Thanks Norman,

 Will try to see this as soon as I can get some time from paid job :)

 cheers
 ashish

 On Mon, Apr 5, 2010 at 1:27 PM, Norman Maurer
 norman.mau...@googlemail.com  wrote:


 Hi Ashish,

 thx for your reply. The problem is sometimes it takes sometime to get
 the OOM, other times it happens within one minute. One of our users
 reported to me that it happened within 1 minute (10 seconds and 30
 seconds), after he switched to MINA trunk. So it seems it is faster
 reproducable with MINA trunk. I uploaded the screenshot of Eclipse
 Memory Analyzer to :


 http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png

 This was the one we got with MINA trunk. So you it again shows all the
 memory allocated by MINA.

 To reproduce the OOM you must perform the following steps:

 1) svn checkout http://svn.apache.org/repos/asf/server/trunk james-trunk
 2) cd james-trunk
 2) mvn clean package
 3) tar xfvz
 spring-deployment/target/james-spring-deployment-3.0-M1-bin.tar.gz
 4) cd james-string-deploymnet-3.0-M1/bin
 5) sudo ./run.sh
 6) telnet localhost 4555 (user root, pass root)
 7) adduser test test
 8) quit

 Now bomb the server with emails. You can use for example smtp-source
 for it (wich is included in postfix)
 9) smtp-source -s 20 -l 10100 -m 20 -c -f t...@test.de -t test
 localhost:25

 This will bomb the servers with 20 emails with 20 concurrent
 sessions.

 Hope this helps,
 Bye,
 Norman

 2010/4/5 Ashishpaliwalash...@gmail.com:


 On Sun, Apr 4, 2010 at 12:59 AM, Norman Maurernor...@apache.org
  wrote:


 Hi all,

 we at JAMES use MINA since a while now for our socket stuff. After
 doing some stress tests we encountered some OOM Exceptions. The same
 was seen by one of our users which use JAMES trunk. After debugging
 stuff it seems like the cause of the OOM is MINA. We took some heap
 which shows that MINA is takin the most memory. The class which shows
 the memory usage was:

 org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest

 I attach the screnshots which shows the problem. Any idea ? We are
 using MINA-2.0.0-RC1.

 Maybe I'm wrong and the whole OOM is not related to MINA at all..

 Thanks,
 Norman

 Ps: Please keep server-dev in the cc


 Norman,

 Is there a way to reproduce this? I just want to try it out myself and
 debug.

 --
 thanks
 ashish

 Blog: http://www.ashishpaliwal.com/blog
 My Photo Galleries: http://www.pbase.com/ashishpaliwal









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


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



[jira] Closed: (HUPA-63) Maven build is broken for gwt 2.0.0

2010-04-05 Thread Neil Crow (JIRA)

 [ 
https://issues.apache.org/jira/browse/HUPA-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil Crow closed HUPA-63.
-


Fixed

 Maven build is broken for gwt 2.0.0
 ---

 Key: HUPA-63
 URL: https://issues.apache.org/jira/browse/HUPA-63
 Project: JAMES Hupa
  Issue Type: Bug
 Environment: Windows XP,
 Eclipse
 Java 6
 GWT 2.0.0
Reporter: Neil Crow
Assignee: Manuel Carrasco Moñino

 I tried to build hupa from trunk last night, and failed several times with a 
 dependency resolution error.
 Firstly, my local  version metadata for the gwt-maven-plugin was out of date, 
 so I deleted it and reran.
 But again I got a dependency resolution error for 
 com.google.gwt:gwt-dev:2.0.0.
 The problem is that it was looking for the artifact with the windows 
 classifier, and as of gwt 2.0.0 the OS specific classifiers are no longer 
 needed.
 In order to compile for gwt-2.0.0, you need to use gwt-maven-plugin-1.2,
 however client/pom.xml specifies version gwt-maven-plugin-1.1
 Removing the version number from the plugin definition, or changing it to 1.2 
 will solve the problem.

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


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



svn commit: r930917 - /james/imap/trunk/api/src/main/java/org/apache/james/api/imap/

2010-04-05 Thread norman
Author: norman
Date: Mon Apr  5 17:46:19 2010
New Revision: 930917

URL: http://svn.apache.org/viewvc?rev=930917view=rev
Log:
remove empty package

Removed:
james/imap/trunk/api/src/main/java/org/apache/james/api/imap/


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



[jira] Created: (HUPA-68) Missing dependency in hupa-server pom.xml

2010-04-05 Thread Neil Crow (JIRA)
Missing dependency in hupa-server pom.xml
-

 Key: HUPA-68
 URL: https://issues.apache.org/jira/browse/HUPA-68
 Project: JAMES Hupa
  Issue Type: Improvement
  Components: server
Reporter: Neil Crow
Assignee: Norman Maurer
Priority: Minor


org.apache.hupa.server.utils.MessageUtils imports and references 
org.apache.commons.fileupload.FileItem directly.
In the maven command line build, the dependency to commons-fileupload-1.2.1 is 
resolved transitively through the dependency on gwtupload-0.5.7.

However, when using the m2eclipse plugin, commons-fileupload-1.2.1 is not added 
to the maven dependencies, and this shows up as a compile error in the eclipse 
IDE.

This problem is resolved by adding commons-fileupload-1.2.1 as a direct 
dependency of hupa-server.

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


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