[jira] [Updated] (JAMES-1557) Add a Cassandra mailbox implementation

2014-09-02 Thread pbenoit (JIRA)

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

pbenoit updated JAMES-1557:
---
Attachment: server-with-cassandra.patch
server-with-cassandra.diff

Here my patch and the diff to enroll cassandra-mailbox.

 Add a Cassandra mailbox implementation
 --

 Key: JAMES-1557
 URL: https://issues.apache.org/jira/browse/JAMES-1557
 Project: James Server
  Issue Type: New Feature
Affects Versions: Trunk
Reporter: pbenoit
Priority: Minor
 Attachments: server-with-cassandra.diff, server-with-cassandra.patch


 Hi,
 I have pushed a mailbox implementation over Cassandra on the Apache James 
 Mailbox sub-project. To use this implementation we need the Cassandra option 
 in MailboxConfigurationBeanFactoryPostProcessor.java and little modification 
 on pom.xml.
 I have a patch for this but we also need the Cassandra mailbox implementation 
 in James/data.
 What is the best way to do this ?
 Regards,
 Philippe



--
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



Build failed in Jenkins: james-server-trunk » Apache James :: Server :: SMTP #4636

2014-09-02 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-protocols-smtp/4636/

--
[...truncated 961 lines...]
2014-09-02 10:15:21,074 INFO  [main   ] [SMTP   
   ] 130 This SMTP server does not require authentication.
2014-09-02 10:15:21,074 INFO  [main   ] [SMTP   
   ] 162 No maximum message size is enforced for this server.
2014-09-02 10:15:21,089 INFO  [main   ] [SMTP   
   ] 277 Init SMTP Service done
2014-09-02 10:15:21,093 INFO  [executor-2 ] [SMTP   
   ] 69 Id='2079663200' User='' Connection established from 
127.0.0.1
2014-09-02 10:15:21,098 INFO  [main   ] [SMTP   
   ] 286 Dispose SMTP Service
2014-09-02 10:15:21,100 INFO  [executor-8 ] [SMTP   
   ] 69 Id='2079663200' User='' Connection closed for 127.0.0.1
2014-09-02 10:15:21,105 INFO  [main   ] [SMTP   
   ] 298 Dispose SMTP Service done
2014-09-02 10:15:21,107 INFO  [main   ] [SMTP   
   ] 187 SMTP Service bound to: localhost:8031
2014-09-02 10:15:21,107 INFO  [main   ] [SMTP   
   ] 347 SMTP Service is running on: asf911.gq1.ygridcore.net
2014-09-02 10:15:21,108 INFO  [main   ] [SMTP   
   ] 360 SMTP Service handler hello name is: 
asf911.gq1.ygridcore.net
2014-09-02 10:15:21,131 INFO  [main   ] [SMTP   
   ] 205 SMTP Service handler connection timeout is: 36
2014-09-02 10:15:21,131 INFO  [main   ] [SMTP   
   ] 210 SMTP Service connection backlog is: 200
2014-09-02 10:15:21,131 INFO  [main   ] [SMTP   
   ] 130 This SMTP server does not require authentication.
2014-09-02 10:15:21,132 INFO  [main   ] [SMTP   
   ] 162 No maximum message size is enforced for this server.
2014-09-02 10:15:21,149 INFO  [main   ] [SMTP   
   ] 277 Init SMTP Service done
2014-09-02 10:15:21,152 INFO  [executor-2 ] [SMTP   
   ] 69 Id='1485083064' User='' Connection established from 
127.0.0.1
2014-09-02 10:15:21,159 INFO  [executor-9 ] [SMTP   
   ] 69 Id='1485083064' User='' Successfully spooled mail 
Mail1409652921158-cae4df5e-eeeb-4323-8c63-dd68720370b5 from 
mail_sender1@localhost on localhost/127.0.0.1 for [mail_recipient1@localhost]
2014-09-02 10:15:21,165 INFO  [executor-3 ] [SMTP   
   ] 69 Id='1485083064' User='' Successfully spooled mail 
Mail1409652921164-8dc6779f-bd39-43bb-912d-2eb37d082ece from 
mail_sender2@localhost on localhost/127.0.0.1 for [mail_recipient2@localhost]
2014-09-02 10:15:21,167 INFO  [main   ] [SMTP   
   ] 286 Dispose SMTP Service
2014-09-02 10:15:21,169 INFO  [executor-6 ] [SMTP   
   ] 69 Id='1485083064' User='' Connection closed for 127.0.0.1
2014-09-02 10:15:21,174 INFO  [main   ] [SMTP   
   ] 298 Dispose SMTP Service done
2014-09-02 10:15:21,175 INFO  [main   ] [SMTP   
   ] 187 SMTP Service bound to: localhost:8032
2014-09-02 10:15:21,175 INFO  [main   ] [SMTP   
   ] 347 SMTP Service is running on: asf911.gq1.ygridcore.net
2014-09-02 10:15:21,176 INFO  [main   ] [SMTP   
   ] 360 SMTP Service handler hello name is: 
asf911.gq1.ygridcore.net
2014-09-02 10:15:21,176 INFO  [main   ] [SMTP   
   ] 205 SMTP Service handler connection timeout is: 36
2014-09-02 10:15:21,176 INFO  [main   ] [SMTP   
   ] 210 SMTP Service connection backlog is: 200
2014-09-02 10:15:21,176 INFO  [main   ] [SMTP   
   ] 130 This SMTP server does not require authentication.
2014-09-02 10:15:21,177 INFO  [main   ] [SMTP   
   ] 162 No maximum message size is enforced for this server.
2014-09-02 10:15:21,189 INFO  [main   ] [SMTP   
   ] 277 Init SMTP Service done
2014-09-02 10:15:21,192 INFO  [executor-2 ] [SMTP   
   ] 69 Id='1207715470' User='' Connection established from 
127.0.0.1
2014-09-02 10:15:21,197 INFO  [main   ] [SMTP   
   ] 286 Dispose SMTP Service

Build failed in Jenkins: james-server-trunk #4636

2014-09-02 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/4636/

--
[...truncated 4929 lines...]
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/data/data-jcr/pom.xml
 to 
org.apache.james/james-server-data-jcr/3.0.0-beta5-SNAPSHOT/james-server-data-jcr-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk ? Apache James :: Server 
:: Data :: JCR Persistence #4635
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4328 bytes
Compression is 0.0%
Took 0.23 sec
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/karaf/distribution/pom.xml
 to 
org.apache.james.karaf/james-karaf-distribution/3.0.0-beta5-SNAPSHOT/james-karaf-distribution-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk ? Apache James :: Karaf 
:: James Server #4635
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 6663 bytes
Compression is 0.0%
Took 2.4 sec
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/queue/queue-jms/pom.xml
 to 
org.apache.james/james-server-queue-jms/3.0.0-beta5-SNAPSHOT/james-server-queue-jms-3.0.0-beta5-SNAPSHOT.pom
Sending artifact delta relative to james-server-trunk ? Apache James :: Server 
:: Mail Queue :: JMS #4635
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4524 bytes
Compression is 0.0%
Took 99 ms
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/filesystem-api/pom.xml
 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-SNAPSHOT/james-server-filesystem-api-3.0.0-beta5-SNAPSHOT.pom
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/filesystem-api/target/james-server-filesystem-api-3.0.0-beta5-SNAPSHOT.jar
 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20140902.100945-844/james-server-filesystem-api-3.0.0-beta5-20140902.100945-844.jar
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/filesystem-api/target/james-server-filesystem-api-3.0.0-beta5-SNAPSHOT-tests.jar
 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20140902.100945-844/james-server-filesystem-api-3.0.0-beta5-20140902.100945-844-tests.jar
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/filesystem-api/target/james-server-filesystem-api-3.0.0-beta5-SNAPSHOT-sources.jar
 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20140902.100945-844/james-server-filesystem-api-3.0.0-beta5-20140902.100945-844-sources.jar
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/filesystem-api/target/james-server-filesystem-api-3.0.0-beta5-SNAPSHOT-test-sources.jar
 to 
org.apache.james/james-server-filesystem-api/3.0.0-beta5-20140902.100945-844/james-server-filesystem-api-3.0.0-beta5-20140902.100945-844-test-sources.jar
Sending artifact delta relative to james-server-trunk ? Apache James :: Server 
:: Filesystem API #4635
Archived 5 artifacts
Archive block size is 32768
Received 0 blocks and 56651 bytes
Compression is 0.0%
Took 0.18 sec
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/mailet/mailetcontainer-api/pom.xml
 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-SNAPSHOT/james-server-mailetcontainer-api-3.0.0-beta5-SNAPSHOT.pom
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/mailet/mailetcontainer-api/target/james-server-mailetcontainer-api-3.0.0-beta5-SNAPSHOT.jar
 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20140902.101003-839/james-server-mailetcontainer-api-3.0.0-beta5-20140902.101003-839.jar
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/mailet/mailetcontainer-api/target/james-server-mailetcontainer-api-3.0.0-beta5-SNAPSHOT-tests.jar
 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20140902.101003-839/james-server-mailetcontainer-api-3.0.0-beta5-20140902.101003-839-tests.jar
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/mailet/mailetcontainer-api/target/james-server-mailetcontainer-api-3.0.0-beta5-SNAPSHOT-sources.jar
 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20140902.101003-839/james-server-mailetcontainer-api-3.0.0-beta5-20140902.101003-839-sources.jar
[JENKINS] Archiving 
https://builds.apache.org/job/james-server-trunk/ws/trunk/mailet/mailetcontainer-api/target/james-server-mailetcontainer-api-3.0.0-beta5-SNAPSHOT-test-sources.jar
 to 
org.apache.james/james-server-mailetcontainer-api/3.0.0-beta5-20140902.101003-839/james-server-mailetcontainer-api-3.0.0-beta5-20140902.101003-839-test-sources.jar
Sending artifact delta relative to james-server-trunk ? Apache James :: Server 
:: Mailetcontainer API #4635
Archived 5 artifacts
Archive block size is 32768
Received 0 blocks and 

svn commit: r1622049 - in /james/server/trunk: app/pom.xml container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java

2014-09-02 Thread eric
Author: eric
Date: Tue Sep  2 16:16:37 2014
New Revision: 1622049

URL: http://svn.apache.org/r1622049
Log:
enroll mailbox-cassandra in james server - patch by pbenoit (JAMES-1557)

Modified:
james/server/trunk/app/pom.xml

james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
james/server/trunk/pom.xml

Modified: james/server/trunk/app/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1622049r1=1622048r2=1622049view=diff
==
--- james/server/trunk/app/pom.xml (original)
+++ james/server/trunk/app/pom.xml Tue Sep  2 16:16:37 2014
@@ -461,6 +461,17 @@
 /dependency
 dependency
 groupIdorg.apache.james/groupId
+artifactIdapache-james-mailbox-cassandra/artifactId
+scoperuntime/scope
+exclusions
+exclusion
+artifactIdmail/artifactId
+groupIdjavax.mail/groupId
+/exclusion
+/exclusions
+/dependency
+dependency
+groupIdorg.apache.james/groupId
 artifactIdjames-server-data-file/artifactId
 scoperuntime/scope
 exclusions

Modified: 
james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java?rev=1622049r1=1622048r2=1622049view=diff
==
--- 
james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
 (original)
+++ 
james/server/trunk/container/spring/src/main/java/org/apache/james/container/spring/bean/factorypostprocessor/MailboxConfigurationBeanFactoryPostProcessor.java
 Tue Sep  2 16:16:37 2014
@@ -65,6 +65,9 @@ public class MailboxConfigurationBeanFac
 } else if (provider.equalsIgnoreCase(hbase)) {
 mailbox = hbase-mailboxmanager;
 subscription = hbase-subscriptionManager;
+} else if (provider.equalsIgnoreCase(cassandra)) {
+mailbox = cassandra-mailboxmanager;
+subscription = cassandra-subscriptionManager;
 }
 
 if (mailbox == null)

Modified: james/server/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1622049r1=1622048r2=1622049view=diff
==
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Tue Sep  2 16:16:37 2014
@@ -502,6 +502,12 @@
 /dependency
 dependency
 groupIdorg.apache.james/groupId
+artifactIdapache-james-mailbox-cassandra/artifactId
+version${mailbox.version}/version
+scopetest/scope
+/dependency
+dependency
+groupIdorg.apache.james/groupId
 artifactIdapache-james-mailbox-api/artifactId
 version${mailbox.version}/version
 /dependency



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



[jira] [Resolved] (JAMES-1557) Add a Cassandra mailbox implementation

2014-09-02 Thread Eric Charles (JIRA)

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

Eric Charles resolved JAMES-1557.
-
   Resolution: Fixed
Fix Version/s: 3.0.0-beta5
 Assignee: Eric Charles

Committed, Thx Philippe Benoit.

 Add a Cassandra mailbox implementation
 --

 Key: JAMES-1557
 URL: https://issues.apache.org/jira/browse/JAMES-1557
 Project: James Server
  Issue Type: New Feature
Affects Versions: Trunk
Reporter: pbenoit
Assignee: Eric Charles
Priority: Minor
 Fix For: 3.0.0-beta5

 Attachments: server-with-cassandra.diff, server-with-cassandra.patch


 Hi,
 I have pushed a mailbox implementation over Cassandra on the Apache James 
 Mailbox sub-project. To use this implementation we need the Cassandra option 
 in MailboxConfigurationBeanFactoryPostProcessor.java and little modification 
 on pom.xml.
 I have a patch for this but we also need the Cassandra mailbox implementation 
 in James/data.
 What is the best way to do this ?
 Regards,
 Philippe



--
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



Jenkins build is back to normal : james-server-trunk » Apache James :: Server :: SMTP #4637

2014-09-02 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-protocols-smtp/4637/


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



Jenkins build is back to normal : james-server-trunk #4637

2014-09-02 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/4637/changes


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