Re: My Telecom-SudParis end of school project on SIEVE and Manage SIEVE
Thank you also Benoit for all the great work. Have fun at school and see you soon here. Eric On 2015-09-20 12:03, Benoit Tellier wrote: Thank you very much ! I just created tickets in the JIRA : JAMES-1614 -> JAMES-1620 MPT-23 JSIEVE-99 and JSIEVE-100 If anyone have comments, just tell me. Benoit Tellier Le 16/09/2015 21:38, Stephen Brewin a écrit : Thanks Benoit It would be good to record your goals in JIRA so we can monitor their progress. Enabling the storage of Sieve scripts to a chosen repository is a great way to go. Cheers --Steve On 14/09/2015 20:06, Benoit Tellier wrote: Hi every one ! My internship at Linagora ended last Friday. I will soon go back to school at Telecom-SudParis. I will manage myself to try to find some time to continue to work on James. I proposed a end of studies' project on James. It is a four month project for two peoples ( ~200 hours of code ), me, and Erwan Guyomarc'h. The aim is to better integrate Sieve. It has the following goals : ### Sieve integration - Make LocalDelivery mailet use SIEVE repositories instead of local files - Move SieveRepositories and the like to data-* projects - Write generic unit tests for SieveRepositories - Implement a Cassandra based SIEVE repository - Write integration tests for implemented SIEVE features ### Manage Sieve - Write a netty based implementation ( using today's mailet based parser ) - Use MPT to write integration tests for Manage Sieve protocol. ### Additional SIEVE features - For now it is only plan to implement RFC 5230 : Vacation Extension If you have any comment, remarks and the like, don't hesitate ! Cheers, Benoit - 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 -- Eric Charles http://datalayer.io - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
[jira] [Commented] (JAMES-1612) dev-build documentation is not consistent wrt beta4
[ https://issues.apache.org/jira/browse/JAMES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908068#comment-14908068 ] Eric Charles commented on JAMES-1612: - Not sure to understand, are you talking about the documentation or the way we structure svn? Thx, Eric > dev-build documentation is not consistent wrt beta4 > --- > > Key: JAMES-1612 > URL: https://issues.apache.org/jira/browse/JAMES-1612 > Project: James Server > Issue Type: Bug > Components: Documentation >Affects Versions: Trunk >Reporter: Matthieu Baechler > > dev-build defines three different things for JAMES_SRC_HOME : > 1. source distribution : it's an almost empty shell that just downloads > everything from maven central > 2. http://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/ > checks out the server sources > 3. http://svn.apache.org/repos/asf/james/current checks out every james > modules > I suggest to change this to http://svn.apache.org/repos/asf/james/current > content for the 3 ways and to tag > http://svn.apache.org/repos/asf/james/current on releases. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
[jira] [Commented] (JAMES-1593) James Spooler performance issue
[ https://issues.apache.org/jira/browse/JAMES-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908066#comment-14908066 ] Eric Charles commented on JAMES-1593: - Geronimo has shown issues along the way, so switching back to oracle javamail makes more sense to me. > James Spooler performance issue > --- > > Key: JAMES-1593 > URL: https://issues.apache.org/jira/browse/JAMES-1593 > Project: James Server > Issue Type: Bug > Components: SMTPServer >Affects Versions: 3.0-beta4 > Environment: Linux , CentOS release 6.6 (Final), >Reporter: Mehdi Salarkia > Labels: newbie, performance > Attachments: 0001-JAMES-1593-unit-test-to-show-geronimo-bug.patch, > problem_1.eml > > > We have a mail system based on Apache james and we are experiencing some > performance issues . > The current implementation of Apache james has a dependency on Apache > Geronimo for mime and mail processing and it seems there is an issue at-least > in the version "geronimo-javamail_1.4_mail" package . > It seems like the "javax.mail.internet.MimeMessage.getEncoding()" method > never finishes and when I look at the cpu and I profiled the application it > shows this method has a high cpu consumtion, here is a jstack of what was > happening at the time: > "spooler-1" daemon prio=10 tid=0x2b3ee9a5 nid=0x57b4 runnable > [0x2b3e8388d000] >java.lang.Thread.State: RUNNABLE > at javax.mail.internet.MimeMessage.getEncoding(MimeMessage.java:751) > at > org.apache.james.core.MimeMessageUtil.writeMessageBodyTo(MimeMessageUtil.java:135) > at > org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:338) > - locked <0x00060ceef588> (a > org.apache.james.core.MimeMessageWrapper) > at > org.apache.james.mailrepository.file.FileMailRepository.internalStore(FileMailRepository.java:203) > at > org.apache.james.mailrepository.lib.AbstractMailRepository.store(AbstractMailRepository.java:98) > at > org.apache.james.transport.mailets.ToRepository.service(ToRepository.java:91) > at > org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65) > at > org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334) > at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220) > at > org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) > at > org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:81) > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) > at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) > at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) > at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73) >
svn commit: r1705251 - /james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java
Author: btellier Date: Fri Sep 25 08:25:46 2015 New Revision: 1705251 URL: http://svn.apache.org/viewvc?rev=1705251&view=rev Log: MAILBOX-252 Remove debug System.out from JPASubscriptionManagerTest Modified: james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java Modified: james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java?rev=1705251&r1=1705250&r2=1705251&view=diff == --- james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java (original) +++ james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java Fri Sep 25 08:25:46 2015 @@ -65,7 +65,6 @@ public class JPASubscriptionManagerTest @Override public SubscriptionManager createSubscriptionManager() { -System.out.println(entityManagerFactory); JVMMailboxPathLocker locker = new JVMMailboxPathLocker(); JPAMailboxSessionMapperFactory mf = new JPAMailboxSessionMapperFactory(entityManagerFactory, new JPAUidProvider(locker, entityManagerFactory), new JPAModSeqProvider(locker, entityManagerFactory)); - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
svn commit: r1705249 - /james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java
Author: btellier Date: Fri Sep 25 08:17:22 2015 New Revision: 1705249 URL: http://svn.apache.org/viewvc?rev=1705249&view=rev Log: MAILBOX-252 Manage specially overriden JPA methods for JPASubscriptionManagerTest Modified: james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java Modified: james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java?rev=1705249&r1=1705248&r2=1705249&view=diff == --- james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java (original) +++ james/mailbox/trunk/jpa/src/test/java/org/apache/james/mailbox/jpa/JPASubscriptionManagerTest.java Fri Sep 25 08:17:22 2015 @@ -22,6 +22,7 @@ import java.util.HashMap; import org.apache.james.mailbox.AbstractSubscriptionManagerTest; import org.apache.james.mailbox.SubscriptionManager; +import org.apache.james.mailbox.exception.SubscriptionException; import org.apache.james.mailbox.jpa.mail.JPAModSeqProvider; import org.apache.james.mailbox.jpa.mail.JPAUidProvider; import org.apache.james.mailbox.jpa.mail.model.JPAMailbox; @@ -41,7 +42,7 @@ public class JPASubscriptionManagerTest private OpenJPAEntityManagerFactory entityManagerFactory; @Before -public void setUp() { +public void setup() { HashMap properties = new HashMap(); properties.put("openjpa.ConnectionDriverName", "org.h2.Driver"); @@ -58,10 +59,13 @@ public class JPASubscriptionManagerTest JPASubscription.class.getName() + ")"); entityManagerFactory = OpenJPAPersistence.getEntityManagerFactory(properties); + +super.setup(); } @Override public SubscriptionManager createSubscriptionManager() { +System.out.println(entityManagerFactory); JVMMailboxPathLocker locker = new JVMMailboxPathLocker(); JPAMailboxSessionMapperFactory mf = new JPAMailboxSessionMapperFactory(entityManagerFactory, new JPAUidProvider(locker, entityManagerFactory), new JPAModSeqProvider(locker, entityManagerFactory)); @@ -72,7 +76,8 @@ public class JPASubscriptionManagerTest } @After -public void tearDown() { +public void teardown() throws SubscriptionException { +super.teardown(); entityManagerFactory.close(); } } - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org