Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-10-26 Thread Benoit Tellier
Hi Matthieu, Thanks for your reply. I think this problem might be a quite taught one. First of all, I guess you are right on why clients prefer using UID * commands. I noticed it with thunderbird. You are right about the consistency model of message queues (hence having this discussion).

[GitHub] james-project pull request: JAMES-1624 move add-to-repo action to ...

2015-10-26 Thread mbaechler
Github user mbaechler closed the pull request at: https://github.com/apache/james-project/pull/8 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the

Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-10-26 Thread Matthieu Baechler
On 26/10/2015 10:54, Benoit Tellier wrote: [...] Seriously, I think dropping MESSAGE SEQUENCE NUMBER and returning an error on distributed implementation is our simplest walk-around on this topic... Doing overwise demands to add capabilities to the MessageManager to handle MESSAGE SEQUENCE

[jira] [Commented] (JAMES-1624) karaf build failure on james trunk on mvn package

2015-10-26 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14973884#comment-14973884 ] ASF GitHub Bot commented on JAMES-1624: --- Github user aduprat commented on the pull request:

[GitHub] james-project pull request: JAMES-1624 move add-to-repo action to ...

2015-10-26 Thread mbaechler
Github user mbaechler commented on the pull request: https://github.com/apache/james-project/pull/8#issuecomment-151063321 merged --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[jira] [Closed] (JAMES-1624) karaf build failure on james trunk on mvn package

2015-10-26 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthieu Baechler closed JAMES-1624. Resolution: Fixed merged > karaf build failure on james trunk on mvn package >

svn commit: r1710532 - /james/project/trunk/server/karaf/distribution/pom.xml

2015-10-26 Thread matthieu
Author: matthieu Date: Mon Oct 26 08:45:18 2015 New Revision: 1710532 URL: http://svn.apache.org/viewvc?rev=1710532=rev Log: JAMES-1624 move add-to-repo action to install phase This tasks takes artifacts from maven repository and put them in target/ directory. It actually needs

Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-10-26 Thread Matthieu Baechler
Hi Benoit, See my comments below. On 26/10/2015 01:11, Tellier Benoit wrote: [...] Well, I have troubles to see how to make this work in a distributed system. Message systems do not offer perfect guaranties and we might get a lot of troubles in case of network partitions. Double event

[GitHub] james-project pull request: James 1626

2015-10-26 Thread mbaechler
GitHub user mbaechler opened a pull request: https://github.com/apache/james-project/pull/9 James 1626 I added two fixups You can merge this pull request into a Git repository by running: $ git pull https://github.com/mbaechler/james-project JAMES-1626 Alternatively you can

[GitHub] james-project pull request: James 1626

2015-10-26 Thread rouazana
Github user rouazana commented on the pull request: https://github.com/apache/james-project/pull/9#issuecomment-151162003 :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] james-project pull request: James 1626

2015-10-26 Thread chibenwa
Github user chibenwa commented on the pull request: https://github.com/apache/james-project/pull/9#issuecomment-151163425 I really like the docker files becoming parts of james-project. --- If your project is set up for it, you can reply to this email and have your reply appear on

[jira] [Created] (JAMES-1628) Provide some DockerFiles to have a standard environment to build and run James

2015-10-26 Thread Matthieu Baechler (JIRA)
Matthieu Baechler created JAMES-1628: Summary: Provide some DockerFiles to have a standard environment to build and run James Key: JAMES-1628 URL: https://issues.apache.org/jira/browse/JAMES-1628

svn commit: r1710619 - in /james/project/trunk: ./ dockerfiles/ dockerfiles/compilation/ dockerfiles/compilation/java-8/ dockerfiles/destination/

2015-10-26 Thread matthieu
Author: matthieu Date: Mon Oct 26 15:11:18 2015 New Revision: 1710619 URL: http://svn.apache.org/viewvc?rev=1710619=rev Log: JAMES-1628 Provide environment for JAVA 8 compilation (cassandra profile) Contributed by Antoine Duprat and Raphael Ouazana Added:

[jira] [Commented] (MAILBOX-77) Guice Mailbox Module

2015-10-26 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/MAILBOX-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14974249#comment-14974249 ] Matthieu Baechler commented on MAILBOX-77: -- We did a guice mailbox module for cassandra.

svn commit: r1710622 - in /james/project/trunk: README.txt dockerfiles/compilation/java-6/ dockerfiles/compilation/java-6/Dockerfile dockerfiles/compilation/java-6/compile.sh

2015-10-26 Thread matthieu
Author: matthieu Date: Mon Oct 26 15:15:02 2015 New Revision: 1710622 URL: http://svn.apache.org/viewvc?rev=1710622=rev Log: JAMES-1628 Provide environment for JAVA 6 compilation Contributed by Antoine Duprat and Raphael Ouazana Added:

[GitHub] james-project pull request: James 1626

2015-10-26 Thread aduprat
Github user aduprat commented on the pull request: https://github.com/apache/james-project/pull/9#issuecomment-151161789 :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

svn commit: r1710623 [1/2] - in /james/project/trunk: ./ dockerfiles/ dockerfiles/destination/conf/ dockerfiles/destination/conf/META-INF/ dockerfiles/destination/conf/lib/ dockerfiles/destination/var

2015-10-26 Thread matthieu
Author: matthieu Date: Mon Oct 26 15:15:48 2015 New Revision: 1710623 URL: http://svn.apache.org/viewvc?rev=1710623=rev Log: JAMES-1628 Provide docker environment running James from build Contributed by Antoine Duprat and Raphael Ouazana Added:

svn commit: r1710624 - in /james/project/trunk: README.txt dockerfiles/compilation/java-8/Dockerfile dockerfiles/compilation/java-8/integration_tests.sh

2015-10-26 Thread matthieu
Author: matthieu Date: Mon Oct 26 15:16:09 2015 New Revision: 1710624 URL: http://svn.apache.org/viewvc?rev=1710624=rev Log: JAMES-1628 Provide a docker entry point playing integration tests on a running James Contributed by Antoine Duprat and Raphael Ouazana Added:

svn commit: r1710623 [2/2] - in /james/project/trunk: ./ dockerfiles/ dockerfiles/destination/conf/ dockerfiles/destination/conf/META-INF/ dockerfiles/destination/conf/lib/ dockerfiles/destination/var

2015-10-26 Thread matthieu
Added: james/project/trunk/dockerfiles/destination/conf/smtpserver.xml URL: http://svn.apache.org/viewvc/james/project/trunk/dockerfiles/destination/conf/smtpserver.xml?rev=1710623=auto == ---

Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-10-26 Thread Benoit Tellier
Le 26/10/2015 11:08, Matthieu Baechler a écrit : On 26/10/2015 10:54, Benoit Tellier wrote: [...] Seriously, I think dropping MESSAGE SEQUENCE NUMBER and returning an error on distributed implementation is our simplest walk-around on this topic... Doing overwise demands to add

Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-10-26 Thread Benoit Tellier
Le 26/10/2015 14:08, Matthieu Baechler a écrit : On 26/10/2015 13:53, Benoit Tellier wrote: [...] I think we could create a Session row that map MESSAGE SEQUENCE NUMBER to the real messages. Then, for a given session, we never remap things, we only add messages to this row. In case of

[jira] [Commented] (JAMES-1479) Create a Guice module

2015-10-26 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14974140#comment-14974140 ] Matthieu Baechler commented on JAMES-1479: -- JAMES-1626 doesn't make all components guice-ready

Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-10-26 Thread Matthieu Baechler
On 26/10/2015 13:53, Benoit Tellier wrote: [...] I think we could create a Session row that map MESSAGE SEQUENCE NUMBER to the real messages. Then, for a given session, we never remap things, we only add messages to this row. In case of EXPUNGE, we create a new row that won't be used until a

[jira] [Commented] (JAMES-1477) Replace @Resource with @Inject where it can

2015-10-26 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14974237#comment-14974237 ] Matthieu Baechler commented on JAMES-1477: -- @Resource removal is actually done in JAMES-1626 but

[jira] [Closed] (JAMES-1628) Provide some DockerFiles to have a standard environment to build and run James

2015-10-26 Thread Matthieu Baechler (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthieu Baechler closed JAMES-1628. Resolution: Fixed merged > Provide some DockerFiles to have a standard environment to