[jira] [Closed] (JSIEVE-87) james-jsieve artifact should not produce -src.zip/tar.gz, just -sources.jar

2012-02-22 Thread Eric Charles (Closed) (JIRA)

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

Eric Charles closed JSIEVE-87.
--

Resolution: Won't Fix
  Assignee: Eric Charles

Not applicable, we should for now continue to deliver packaged src and bin, and 
not-only maven artifacts (jars).


 james-jsieve artifact should not produce -src.zip/tar.gz, just -sources.jar 
 

 Key: JSIEVE-87
 URL: https://issues.apache.org/jira/browse/JSIEVE-87
 Project: JAMES jSieve
  Issue Type: Improvement
Reporter: Eric Charles
Assignee: Eric Charles



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (JSIEVE-83) Integrate managesieve in the current jSieve modules

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated JSIEVE-83:
---

Affects Version/s: 0.5
Fix Version/s: 0.5

 Integrate managesieve in the current jSieve modules
 ---

 Key: JSIEVE-83
 URL: https://issues.apache.org/jira/browse/JSIEVE-83
 Project: JAMES jSieve
  Issue Type: Improvement
Affects Versions: 0.5
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.5


 Move https://svn.apache.org/repos/asf/james/mangesieve/trunk/ as a jsieve 
 submodule.
 The managesieve may be independent of jsieve, but this will allow to quickly 
 ship it in a release without having to define a new web site, jira,...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[CANCELED] Re: [VOTE] Release Apache James jSieve 0.5

2012-02-22 Thread Eric Charles

The VOTE is canceled (see previous thread on src tarball availability).
I will reroll later.
Thx, Eric

On 21/02/12 20:32, Eric Charles wrote:

Hi Stefano,
See comment inside.

I will cancel the vote and relaunch a new one after fixing assembly.

Thx for your review, Eric


On 21/02/12 12:01, Stefano Bagnara wrote:

2012/2/20 Eric Charlese...@apache.org:

Hi there,

In preparation of James server 3.0b4 release, we have have to release
jSieve
0.5. This release uses the latest mime4j 0.7.2. which makes it
compatible
with server. The manager module is not taken in this release as it
depends
on a server snapshot.


If manager depends on server then it cannot be included in the jsieve
tree as server already depends on jsieve and we don't want
bidirectional dependency (or we'll be hit by this at each release
cycle)



jsievemanager is aimed to be used within server, we must resolve that
bidirectional issue wherever jsievemanager is inside or outside jsieve
(let's tackle on JSIEVE-86).



You can see the list of changes on
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10412version=12314991


So please cast your VOTE:

https://repository.apache.org/content/repositories/orgapachejames-003


[X] -1 Something is wrong
I can't find the source package for this release (AFAIK we can't vote
binaries).
It was available in the 0.4 package
(http://apache.fastbull.org/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.zip)

, so maybe something gone wrong with the latest pom changes or with
the release process.



src are available:

https://repository.apache.org/content/repositories/orgapachejames-003/org/apache/james/apache-jsieve-core/0.5/apache-jsieve-core-0.5-sources.jar

https://repository.apache.org/content/repositories/orgapachejames-003/org/apache/james/apache-jsieve-mailet/0.5/apache-jsieve-mailet-0.5-sources.jar

https://repository.apache.org/content/repositories/orgapachejames-003/org/apache/james/apache-jsieve-util/0.5/apache-jsieve-util-0.5-sources.jar


... but a single tarball with all of them is not... - I had issues with
the assemble module, desactivated it for the release, now I fixed it.


Stefano

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





--
eric | http://about.echarles.net | @echarles

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



Re: ACL support plans

2012-02-22 Thread Eric Charles

Hi,

Quick note (no time atm for an answer on your questions, and your 
planning one is quite dangerous :) : Norman has started the imap port 
into protocols, and I may next week help with that - the server b4 
release (end of next week) will be with apache-james-imap, but the next 
one with protocols-imap.


Thx,
Eric

On 22/02/12 08:21, Jochen Gazda wrote:

Gentlemen,

In the next weeks, I would like to proceed with
https://issues.apache.org/jira/browse/IMAP-358 Enforce rights required
to perform different IMAP4rev1 Commands in IMAP processors.
Just two questions:

(1) Is it still OK if I further work under apache-james-imap and not
under protocols-imap? Is there a rough estimate when will
apache-james-imap become obsolete?

(2) Tests: Is there a recommended way how to test the enforcement of
the individual rights in James?
I have written some tests for GETACL, SETACL, LISTRIGHTS, MYRIGHTS and
DELETERIGHTS in the apache-james-imap-processor project. All of them
are directed towards the respective processors. Could please somebody
review esp. the test*Right*() methods in them and tell me if it is
sufficient to test the security of other IMAP commands in this way?

Best,

gazda

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



--
eric | http://about.echarles.net | @echarles

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



[jira] [Created] (JSIEVE-88) Rename apache-jsieve-assembly to apache-jsieve-all

2012-02-22 Thread Eric Charles (Created) (JIRA)
Rename apache-jsieve-assembly to apache-jsieve-all
--

 Key: JSIEVE-88
 URL: https://issues.apache.org/jira/browse/JSIEVE-88
 Project: JAMES jSieve
  Issue Type: Improvement
Affects Versions: 0.5
Reporter: Eric Charles
 Fix For: 0.5


This will allow to have a nice naming structure for the pom with the top begin 
apache-jsieve, and the release files being 
apache-jsieve-all-0.6-SNAPSHOT-bin.tar.gz and 
apache-jsieve-all-0.6-SNAPSHOT-src.tar.gz


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (JSIEVE-86) Potential bidirectional dependency between jsieve manager and server

2012-02-22 Thread Eric Charles (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/JSIEVE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213455#comment-13213455
 ] 

Eric Charles commented on JSIEVE-86:


+1. I will move the SieveFileRepository to the james-server-filesystem-api 
module (unless you have a better place for it) - I wouldn't add a new module 
for this - and will enroll jsieve manager in the new release.

It's prolly not the correct server module, but we will fix this later.


 Potential bidirectional dependency between jsieve manager and server
 

 Key: JSIEVE-86
 URL: https://issues.apache.org/jira/browse/JSIEVE-86
 Project: JAMES jSieve
  Issue Type: New Feature
Reporter: Eric Charles

 sieve manager is aimed to be used in server
 james-server-filesystem-api is the one to talk about...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1292176 - in /james/jsieve/trunk: all/ all/pom.xml all/src/assemble/src.xml assemble/ core/pom.xml mailet/pom.xml manager/pom.xml pom.xml util/pom.xml

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:30:50 2012
New Revision: 1292176

URL: http://svn.apache.org/viewvc?rev=1292176view=rev
Log:
Rollback to 0.5-SNAPSHOT (release cancelled) + rename assembly to all 
(JSIEVE-88)

Added:
james/jsieve/trunk/all/
  - copied from r1291922, james/jsieve/trunk/assemble/
Removed:
james/jsieve/trunk/assemble/
Modified:
james/jsieve/trunk/all/pom.xml
james/jsieve/trunk/all/src/assemble/src.xml
james/jsieve/trunk/core/pom.xml
james/jsieve/trunk/mailet/pom.xml
james/jsieve/trunk/manager/pom.xml
james/jsieve/trunk/pom.xml
james/jsieve/trunk/util/pom.xml

Modified: james/jsieve/trunk/all/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/pom.xml?rev=1292176r1=1291922r2=1292176view=diff
==
--- james/jsieve/trunk/all/pom.xml (original)
+++ james/jsieve/trunk/all/pom.xml Wed Feb 22 08:30:50 2012
@@ -23,14 +23,14 @@
 parent
 groupIdorg.apache.james/groupId
 artifactIdapache-jsieve/artifactId
-version0.6-SNAPSHOT/version
+version0.5-SNAPSHOT/version
 relativePath../relativePath
 /parent
 
-artifactIdapache-jsieve-assemble/artifactId
+artifactIdapache-jsieve-all/artifactId
 packagingpom/packaging
 
-nameApache James jSieve Assembly/name
+nameApache James jSieve All/name
 description
 Apache jSieve is a server side mail filtering system 
 implementing RFC3028. Apache jSieve is developed by the 

Modified: james/jsieve/trunk/all/src/assemble/src.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/src/assemble/src.xml?rev=1292176r1=1291922r2=1292176view=diff
==
--- james/jsieve/trunk/all/src/assemble/src.xml (original)
+++ james/jsieve/trunk/all/src/assemble/src.xml Wed Feb 22 08:30:50 2012
@@ -40,6 +40,7 @@
 exclude**/james-project/**/exclude
 exclude**/site/**/exclude
 exclude**/.*/exclude
+excludemanager/**/exclude
   /excludes
   useDefaultExcludestrue/useDefaultExcludes
 /fileSet

Modified: james/jsieve/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/core/pom.xml?rev=1292176r1=1292175r2=1292176view=diff
==
--- james/jsieve/trunk/core/pom.xml (original)
+++ james/jsieve/trunk/core/pom.xml Wed Feb 22 08:30:50 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-jsieve/artifactId
 groupIdorg.apache.james/groupId
-version0.6-SNAPSHOT/version
+version0.5-SNAPSHOT/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/mailet/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/pom.xml?rev=1292176r1=1292175r2=1292176view=diff
==
--- james/jsieve/trunk/mailet/pom.xml (original)
+++ james/jsieve/trunk/mailet/pom.xml Wed Feb 22 08:30:50 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-jsieve/artifactId
 groupIdorg.apache.james/groupId
-version0.6-SNAPSHOT/version
+version0.5-SNAPSHOT/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/manager/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/pom.xml?rev=1292176r1=1292175r2=1292176view=diff
==
--- james/jsieve/trunk/manager/pom.xml (original)
+++ james/jsieve/trunk/manager/pom.xml Wed Feb 22 08:30:50 2012
@@ -37,7 +37,7 @@
modulejsieve/module
modulemailet/module
modulemock/module
-   moduleserver/module
+!--   moduleserver/module --
/modules
 
dependencies

Modified: james/jsieve/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/pom.xml?rev=1292176r1=1292175r2=1292176view=diff
==
--- james/jsieve/trunk/pom.xml (original)
+++ james/jsieve/trunk/pom.xml Wed Feb 22 08:30:50 2012
@@ -27,7 +27,7 @@
 /parent
 
 artifactIdapache-jsieve/artifactId
-version0.6-SNAPSHOT/version
+version0.5-SNAPSHOT/version
 packagingpom/packaging
 
 nameApache James JSieve/name
@@ -36,11 +36,11 @@
 inceptionYear2008/inceptionYear
 
 modules
+moduleall/module
 modulecore/module
 modulemailet/module
+modulemanager/module
 moduleutil/module
-!-- modulemanager/module --
-!-- moduleassemble/module --
 /modules
 
 scm

Modified: james/jsieve/trunk/util/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/util/pom.xml?rev=1292176r1=1292175r2=1292176view=diff
==
--- 

svn commit: r1292177 - /james/jsieve/trunk/RELEASE_NOTES.txt

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:33:19 2012
New Revision: 1292177

URL: http://svn.apache.org/viewvc?rev=1292177view=rev
Log:
Release notes for 0.5 release

Modified:
james/jsieve/trunk/RELEASE_NOTES.txt

Modified: james/jsieve/trunk/RELEASE_NOTES.txt
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/RELEASE_NOTES.txt?rev=1292177r1=1292176r2=1292177view=diff
==
--- james/jsieve/trunk/RELEASE_NOTES.txt (original)
+++ james/jsieve/trunk/RELEASE_NOTES.txt Wed Feb 22 08:33:19 2012
@@ -20,6 +20,32 @@ Licensing and legal issues
 For legal and licensing issues, please look in the legal section of
 the documentation or read the LICENSE and NOTICE files.
 
+Version 0.5
+--- 
+
+Changes
+-
+Sub-task
+[JSIEVE-65] - Inherit plugin management
+Bug
+[JSIEVE-74] - Script parsing fails when the string contains a backslash
+[JSIEVE-75] - incorrect parsing of script containing multiple multi-line 
forms
+Improvement
+[JSIEVE-67] - Improve Documentation
+[JSIEVE-70] - Improve Validation Exceptions
+[JSIEVE-73] - Ensure Body Extension Functions As Per Specification
+[JSIEVE-78] - Add a Mail notification mechanism for when Sieve scripts fail
+[JSIEVE-80] - Add the ability to advertise the available Sieve extensions
+[JSIEVE-83] - Integrate managesieve in the current jSieve modules
+[JSIEVE-85] - Add build-helper-maven-plugin on apache-jsieve-core pom for 
generated src
+[JSIEVE-88] - Rename apache-jsieve-assembly to apache-jsieve-all
+New Feature
+[JSIEVE-51] - Sieve-In-Xml (Full Preview)
+Task
+[JSIEVE-61] - Split Parent And Aggregation Poms
+[JSIEVE-62] - Review TODOs
+[JSIEVE-64] - Improve and Standardise Build
+
 Version 0.4
 --- 
 



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



svn commit: r1292178 - /james/jsieve/tags/apache-jsieve-0.5/

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:33:46 2012
New Revision: 1292178

URL: http://svn.apache.org/viewvc?rev=1292178view=rev
Log:
Rollback 0.5 release

Removed:
james/jsieve/tags/apache-jsieve-0.5/


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



svn commit: r1292179 - /james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:35:46 2012
New Revision: 1292179

URL: http://svn.apache.org/viewvc?rev=1292179view=rev
Log:
move sieve manager file repo to a server module

Added:

james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java
  - copied unchanged from r1292178, 
james/jsieve/trunk/manager/server/src/main/java/org/apache/james/managesieve/file/SieveFileRepository.java


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



svn commit: r1292179 - /james/jsieve/trunk/manager/server/src/main/java/org/apache/james/managesieve/file/SieveFileRepository.java

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:35:46 2012
New Revision: 1292179

URL: http://svn.apache.org/viewvc?rev=1292179view=rev
Log:
move sieve manager file repo to a server module

Removed:

james/jsieve/trunk/manager/server/src/main/java/org/apache/james/managesieve/file/SieveFileRepository.java


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



svn commit: r1292181 - /james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:36:36 2012
New Revision: 1292181

URL: http://svn.apache.org/viewvc?rev=1292181view=rev
Log:
move sieve manager file repo test to a server module

Added:

james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java
  - copied unchanged from r1292180, 
james/jsieve/trunk/manager/server/src/test/java/org/apache/james/managesieve/file/SieveFileRepositoryTestCase.java


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



svn commit: r1292181 - /james/jsieve/trunk/manager/server/src/test/java/org/apache/james/managesieve/file/SieveFileRepositoryTestCase.java

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:36:36 2012
New Revision: 1292181

URL: http://svn.apache.org/viewvc?rev=1292181view=rev
Log:
move sieve manager file repo test to a server module

Removed:

james/jsieve/trunk/manager/server/src/test/java/org/apache/james/managesieve/file/SieveFileRepositoryTestCase.java


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



[jira] [Closed] (JSIEVE-88) Rename apache-jsieve-assembly to apache-jsieve-all

2012-02-22 Thread Eric Charles (Closed) (JIRA)

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

Eric Charles closed JSIEVE-88.
--

Resolution: Fixed
  Assignee: Eric Charles

Done

 Rename apache-jsieve-assembly to apache-jsieve-all
 --

 Key: JSIEVE-88
 URL: https://issues.apache.org/jira/browse/JSIEVE-88
 Project: JAMES jSieve
  Issue Type: Improvement
Affects Versions: 0.5
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.5


 This will allow to have a nice naming structure for the pom with the top 
 begin apache-jsieve, and the release files being 
 apache-jsieve-all-0.6-SNAPSHOT-bin.tar.gz and 
 apache-jsieve-all-0.6-SNAPSHOT-src.tar.gz

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1292182 - in /james/jsieve/trunk/manager: pom.xml server/

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:39:18 2012
New Revision: 1292182

URL: http://svn.apache.org/viewvc?rev=1292182view=rev
Log:
Remove jsieve manager server to get rid of the bidirectional dependency between 
jsieve manager and server (JSIEVE-86)

Removed:
james/jsieve/trunk/manager/server/
Modified:
james/jsieve/trunk/manager/pom.xml

Modified: james/jsieve/trunk/manager/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/pom.xml?rev=1292182r1=1292181r2=1292182view=diff
==
--- james/jsieve/trunk/manager/pom.xml (original)
+++ james/jsieve/trunk/manager/pom.xml Wed Feb 22 08:39:18 2012
@@ -37,7 +37,6 @@
modulejsieve/module
modulemailet/module
modulemock/module
-!--   moduleserver/module --
/modules
 
dependencies
@@ -70,7 +69,6 @@
target.jdk1.6/target.jdk

project.build.sourceEncodingUTF-8/project.build.sourceEncoding
commons-io.version2.1/commons-io.version
-   james-server.version3.0-beta4-SNAPSHOT/james-server.version
mailet.version2.4/mailet.version
mailet-base.version1.0/mailet-base.version
/properties



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

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2653/changes

Changes:

[eric] move sieve manager file repo test to a server module

[eric] move sieve manager file repo to a server module

--
[...truncated 309 lines...]
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[446,74]
 cannot find symbol
symbol  : class StorageException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[470,53]
 cannot find symbol
symbol  : class UserNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[470,76]
 cannot find symbol
symbol  : class StorageException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[496,34]
 cannot find symbol
symbol  : class QuotaNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[528,50]
 cannot find symbol
symbol  : class QuotaNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[528,74]
 cannot find symbol
symbol  : class StorageException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[543,63]
 cannot find symbol
symbol  : class StorageException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[549,52]
 cannot find symbol
symbol  : class UserNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[557,54]
 cannot find symbol
symbol  : class UserNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[565,51]
 cannot find symbol
symbol  : class UserNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[565,74]
 cannot find symbol
symbol  : class QuotaNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[594,54]
 cannot find symbol
symbol  : class UserNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[595,12]
 cannot find symbol
symbol  : class QuotaNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[595,36]
 cannot find symbol
symbol  : class StorageException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[613,69]
 cannot find symbol
symbol  : class UserNotFoundException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 
https://builds.apache.org/job/james-server-trunk/ws/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java:[614,12]
 cannot find symbol
symbol  : class StorageException
location: class org.apache.james.managesieve.file.SieveFileRepository
[ERROR] 

svn commit: r1292194 - in /james/server/trunk: ./ filesystem-api/ filesystem-api/src/main/java/org/apache/james/filesystem/api/ filesystem-api/src/test/java/org/apache/james/filesystem/api/

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 08:52:29 2012
New Revision: 1292194

URL: http://svn.apache.org/viewvc?rev=1292194view=rev
Log:
Integrate SieveFileRepository in server tree - temp solution as a better place 
must be found, indeed we introduce commons-io in filesystem-api (JSIEVE-86)

Modified:
james/server/trunk/filesystem-api/pom.xml

james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java

james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java
james/server/trunk/pom.xml

Modified: james/server/trunk/filesystem-api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/filesystem-api/pom.xml?rev=1292194r1=1292193r2=1292194view=diff
==
--- james/server/trunk/filesystem-api/pom.xml (original)
+++ james/server/trunk/filesystem-api/pom.xml Wed Feb 22 08:52:29 2012
@@ -22,19 +22,14 @@
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
-
 parent
 artifactIdjames-server/artifactId
 groupIdorg.apache.james/groupId
 version3.0-beta4-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
-
-groupIdorg.apache.james/groupId
 artifactIdjames-server-filesystem-api/artifactId
-
 nameApache James Server Filesystem API/name
-
 properties
 !-- OSGI stuff --
 james.osgi.export
@@ -44,7 +39,20 @@
 *
 /james.osgi.import
 /properties
-
+dependencies
+dependency
+groupIdorg.apache.james/groupId
+artifactIdapache-jsieve-manager-api/artifactId
+/dependency
+dependency
+groupIdcommons-io/groupId
+artifactIdcommons-io/artifactId
+/dependency
+dependency
+groupIdjunit/groupId
+artifactIdjunit/artifactId
+/dependency
+/dependencies
 build
 plugins
 plugin
@@ -66,6 +74,17 @@
 /execution
 /executions
 /plugin
+!-- TODO Move the SieveFileRepository and 
SieveFileRepositoryTestCase in other module - See JSIEVE-86 --
+!-- Test are exclude (ported from junit 4.x to 3.x) --
+plugin
+  groupIdorg.apache.maven.plugins/groupId
+  artifactIdmaven-surefire-plugin/artifactId
+  configuration
+excludes
+  exclude**/*Test.java/exclude
+/excludes
+  /configuration
+/plugin
 /plugins
 /build
 /project

Modified: 
james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java?rev=1292194r1=1292193r2=1292194view=diff
==
--- 
james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java
 (original)
+++ 
james/server/trunk/filesystem-api/src/main/java/org/apache/james/filesystem/api/SieveFileRepository.java
 Wed Feb 22 08:52:29 2012
@@ -18,7 +18,7 @@
  *
  */
 
-package org.apache.james.managesieve.file;
+package org.apache.james.filesystem.api;
 
 import java.io.BufferedOutputStream;
 import java.io.File;
@@ -38,7 +38,6 @@ import javax.annotation.Resource;
 
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
-import org.apache.james.filesystem.api.FileSystem;
 import org.apache.james.managesieve.api.ConfigurationError;
 import org.apache.james.managesieve.api.DuplicateException;
 import org.apache.james.managesieve.api.DuplicateUserException;

Modified: 
james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java?rev=1292194r1=1292193r2=1292194view=diff
==
--- 
james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java
 (original)
+++ 
james/server/trunk/filesystem-api/src/test/java/org/apache/james/filesystem/api/SieveFileRepositoryTestCase.java
 Wed Feb 22 08:52:29 2012
@@ -18,10 +18,7 @@
  *
  */
 
-package org.apache.james.managesieve.file;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
+package org.apache.james.filesystem.api;
 
 import java.io.File;
 import java.io.FileInputStream;
@@ -30,8 +27,9 @@ import java.io.IOException;
 import java.io.InputStream;
 

[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-22 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213469#comment-13213469
 ] 

lcl hst commented on IMAP-360:
--

Ok, I have been able to reproduce this with James 3.0 beta3. I haven't yet been 
able to run James 3.0 beta4.

Fresh James installation, using Oracle backend. Added a domain (domain.tld), 
then added some users. Then logging in using Thunderbird.

I'm dragging e-mails into the folders, then shutting down Thunderbird, then 
dragging some more e-mails, shutting down Thunderbird, then starting it again: 
Folder jumps.

I think it might be something specific to the messages.
Eric Charles: Could I supply the messages and my settings so someone could look 
into it? I'd rather not upload these messages here publicly.

 IMAP-folder jumps
 -

 Key: IMAP-360
 URL: https://issues.apache.org/jira/browse/IMAP-360
 Project: JAMES Imap
  Issue Type: Bug
  Components: JPA Mailbox, Mailbox, Protocol
Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
 Environment: Windows 7, 64 bits, Oracle JPA.
Reporter: lcl hst
Priority: Critical
   Original Estimate: 24h
  Remaining Estimate: 24h

 When clicking an IMAP-folder in Thunderbird, I see several messages,
 when changing to another and switching back, I see different messages!
 This is the case, everytime I switch folders. So this folder jumps.
 I did not expect this. This should never happen.
 It seems different messages are returned sometimes? Or maybe
 Thunderbird is doing something wrong.
 I've attached the IMAP-log from Thunderbird. As you can see in the log
 below, I chose INBOX, then clicked Trash, then chose INBOX again.
 The 2nd time I viewed the inbox, there were other messages and
 messages got removed. When I switch over and over, I get different
 messages all the time. Some messages are marked read, some not. This
 changes all the time.
 What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Jenkins build is unstable: james-server-trunk #2654

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2654/changes



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



Jenkins build is still unstable: james-server-trunk #2655

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/changes



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



svn commit: r1292218 - in /james/jsieve/trunk: all/src/assemble/bin.xml all/src/assemble/src.xml pom.xml

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 09:54:08 2012
New Revision: 1292218

URL: http://svn.apache.org/viewvc?rev=1292218view=rev
Log:
Set jsieve parent to 1.8.1 release and integrate jsieve manage into the src/bin 
distribution

Modified:
james/jsieve/trunk/all/src/assemble/bin.xml
james/jsieve/trunk/all/src/assemble/src.xml
james/jsieve/trunk/pom.xml

Modified: james/jsieve/trunk/all/src/assemble/bin.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/src/assemble/bin.xml?rev=1292218r1=1292217r2=1292218view=diff
==
--- james/jsieve/trunk/all/src/assemble/bin.xml (original)
+++ james/jsieve/trunk/all/src/assemble/bin.xml Wed Feb 22 09:54:08 2012
@@ -58,6 +58,48 @@
   /includes
 /fileSet
 fileSet
+  directory${project.basedir}/../manager/target/directory
+  outputDirectory//outputDirectory
+  includes
+includeapache-jsieve*.jar/include
+  /includes
+/fileSet
+fileSet
+  directory${project.basedir}/../manager/api/target/directory
+  outputDirectory//outputDirectory
+  includes
+includeapache-jsieve*.jar/include
+  /includes
+/fileSet
+fileSet
+  directory${project.basedir}/../manager/core/target/directory
+  outputDirectory//outputDirectory
+  includes
+includeapache-jsieve*.jar/include
+  /includes
+/fileSet
+fileSet
+  directory${project.basedir}/../manager/jsieve/target/directory
+  outputDirectory//outputDirectory
+  includes
+includeapache-jsieve*.jar/include
+  /includes
+/fileSet
+fileSet
+  directory${project.basedir}/../manager/mailet/target/directory
+  outputDirectory//outputDirectory
+  includes
+includeapache-jsieve*.jar/include
+  /includes
+/fileSet
+fileSet
+  directory${project.basedir}/../manager/mock/target/directory
+  outputDirectory//outputDirectory
+  includes
+includeapache-jsieve*.jar/include
+  /includes
+/fileSet
+fileSet
   directory${project.basedir}/../target/site/apidocs/directory
   outputDirectory/apidocs/outputDirectory
 /fileSet
@@ -104,4 +146,4 @@
   /excludes
 /dependencySet
   /dependencySets
-/assembly
\ No newline at end of file
+/assembly

Modified: james/jsieve/trunk/all/src/assemble/src.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/src/assemble/src.xml?rev=1292218r1=1292217r2=1292218view=diff
==
--- james/jsieve/trunk/all/src/assemble/src.xml (original)
+++ james/jsieve/trunk/all/src/assemble/src.xml Wed Feb 22 09:54:08 2012
@@ -40,7 +40,6 @@
 exclude**/james-project/**/exclude
 exclude**/site/**/exclude
 exclude**/.*/exclude
-excludemanager/**/exclude
   /excludes
   useDefaultExcludestrue/useDefaultExcludes
 /fileSet

Modified: james/jsieve/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/pom.xml?rev=1292218r1=1292217r2=1292218view=diff
==
--- james/jsieve/trunk/pom.xml (original)
+++ james/jsieve/trunk/pom.xml Wed Feb 22 09:54:08 2012
@@ -23,7 +23,7 @@
 parent
 groupIdorg.apache.james/groupId
 artifactIdjames-project/artifactId
-version1.8.2-SNAPSHOT/version
+version1.8.1/version
 /parent
 
 artifactIdapache-jsieve/artifactId



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



svn commit: r1292219 - /james/jsieve/trunk/manager/target/

2012-02-22 Thread bago
Author: bago
Date: Wed Feb 22 10:00:37 2012
New Revision: 1292219

URL: http://svn.apache.org/viewvc?rev=1292219view=rev
Log:
Remove generated folders

Removed:
james/jsieve/trunk/manager/target/


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



svn commit: r1292222 - in /james/jsieve/trunk: all/pom.xml all/src/assemble/bin.xml pom.xml

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 10:07:18 2012
New Revision: 129

URL: http://svn.apache.org/viewvc?rev=129view=rev
Log:
Simply declare the needed dependecies for the distribution, voodoo maven will 
pick the transitive ones - Still NOTICE and LICENCE to fix for jsieve 0.5 
release.

Modified:
james/jsieve/trunk/all/pom.xml
james/jsieve/trunk/all/src/assemble/bin.xml
james/jsieve/trunk/pom.xml

Modified: james/jsieve/trunk/all/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/pom.xml?rev=129r1=1292221r2=129view=diff
==
--- james/jsieve/trunk/all/pom.xml (original)
+++ james/jsieve/trunk/all/pom.xml Wed Feb 22 10:07:18 2012
@@ -44,57 +44,33 @@
 groupIdorg.apache.james/groupId
 artifactIdapache-jsieve-core/artifactId
 /dependency
-
 dependency
 groupIdorg.apache.james/groupId
 artifactIdapache-jsieve-mailet/artifactId
 /dependency
-
 dependency
 groupIdorg.apache.james/groupId
 artifactIdapache-jsieve-util/artifactId
 /dependency
-
 dependency
 groupIdorg.apache.james/groupId
-artifactIdapache-mailet/artifactId
+artifactIdapache-jsieve-manager-api/artifactId
 /dependency
-
 dependency
 groupIdorg.apache.james/groupId
-artifactIdapache-mailet-base/artifactId
+artifactIdapache-jsieve-manager-core/artifactId
 /dependency
-
 dependency
 groupIdorg.apache.james/groupId
-artifactIdapache-mime4j-core/artifactId
-/dependency
-
-dependency
-groupIdcommons-logging/groupId
-artifactIdcommons-logging/artifactId
-/dependency
-
-dependency
-groupIdjunit/groupId
-artifactIdjunit/artifactId
-scopetest/scope
+artifactIdapache-jsieve-manager-jsieve/artifactId
 /dependency
-
 dependency
-groupIdlog4j/groupId
-artifactIdlog4j/artifactId
-scopetest/scope
-/dependency
-
-dependency
-groupIdjavax.mail/groupId
-artifactIdmail/artifactId
+groupIdorg.apache.james/groupId
+artifactIdapache-jsieve-manager-mailet/artifactId
 /dependency
-
 dependency
-groupIdjavax.activation/groupId
-artifactIdactivation/artifactId
+groupIdorg.apache.james/groupId
+artifactIdapache-jsieve-manager-mock/artifactId
 /dependency
 /dependencies
 

Modified: james/jsieve/trunk/all/src/assemble/bin.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/src/assemble/bin.xml?rev=129r1=1292221r2=129view=diff
==
--- james/jsieve/trunk/all/src/assemble/bin.xml (original)
+++ james/jsieve/trunk/all/src/assemble/bin.xml Wed Feb 22 10:07:18 2012
@@ -37,28 +37,21 @@
   /includes
 /fileSet
 fileSet
-  directory${project.basedir}/../mailet/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../util/target/directory
+  directory${project.basedir}/../core/target/directory
   outputDirectory//outputDirectory
   includes
 includeapache-jsieve*.jar/include
   /includes
 /fileSet
 fileSet
-  directory${project.basedir}/../core/target/directory
+  directory${project.basedir}/../mailet/target/directory
   outputDirectory//outputDirectory
   includes
 includeapache-jsieve*.jar/include
   /includes
 /fileSet
 fileSet
-  directory${project.basedir}/../manager/target/directory
+  directory${project.basedir}/../util/target/directory
   outputDirectory//outputDirectory
   includes
 includeapache-jsieve*.jar/include

Modified: james/jsieve/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/pom.xml?rev=129r1=1292221r2=129view=diff
==
--- james/jsieve/trunk/pom.xml (original)
+++ james/jsieve/trunk/pom.xml Wed Feb 22 10:07:18 2012
@@ -114,6 +114,31 @@
 /dependency
 dependency
 groupIdorg.apache.james/groupId
+artifactIdapache-jsieve-manager-api/artifactId
+version${project.version}/version
+/dependency
+dependency
+groupIdorg.apache.james/groupId
+artifactIdapache-jsieve-manager-core/artifactId
+version${project.version}/version
+/dependency
+dependency
+groupIdorg.apache.james/groupId
+

[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-22 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213506#comment-13213506
 ] 

lcl hst commented on IMAP-360:
--

Ok, tested some more: I don't even need those e-mails.

Steps:
1. Download fresh James 3.0 beta3 app.zip
2. Unzip.
3. Modify database.properties (see below).
4. Put Oracle jars in conf/lib: ojdbc5.jar (2.030.460 bytes), ojdbc6.jar 
(2.152.137 bytes).
5. run.bat
6. james-cli.bat -h 127.0.0.1 adddomain domain.tld
7. james-cli.bat -h 127.0.0.1 adduser t...@domain.tld test
8. james-cli.bat -h 127.0.0.1 adduser te...@domain.tld test
9. Open Thunderbird, add account:
- Name: t...@domain.tld
- E-mail address: t...@domain.tld
- Password: test
- Incoming: IMAP
- Incoming hostname: 127.0.0.1
- Incoming port: Auto
- Incoming SSL: Auto
- Incoming Auth: Auto
- Outgoing: SMTP
- Outgoing hostname: 127.0.0.1
- Outgoing port: Auto
- Outgoing SSL: Auto
- Outgoing Auth: Auto
- Username: t...@domain.tld
10. Finish adding the account.
11. Click inbox. Everything's empty.
12. Compose message. Send hello (subject and message) 
To:t...@domain.tld,te...@domain.tld. Note the message arrives.
13. Close Thunderbird (make sure the process thunderbird.exe is gone).
14. Start Thunderbird. There's a new unread message.
15. Send another message to only t...@domain.tld. Note the message arrives.
16. Close Thunderbird (make sure the process thunderbid.exe is gone).
17. Start Thunderbird. There's 2 new unread messages.
18. Click Get messages. Note 1 of the messages disappears from the Inbox.
19. Click Get messages. Note there's 2 messages in the Inbox again.
20. Also note it's always the first message that disappears. 
21. The Sent-folder is also jumping.

I hope you can reproduce the problem with these steps.

database.properties:
database.driverClassName=oracle.jdbc.OracleDriver
database.url=jdbc:oracle:thin:@//192.168.4.137:1521/ourdb
database.username=myusername
database.password=ourpassword
vendorAdapter.database=ORACLE
openjpa.streaming=true

Mozilla Thunderbird v10.0.2.
Apache James v3.0 beta3.

select * from v$version;

Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
PL/SQL Release 10.2.0.4.0 - Production
CORE   10.2.0.4.0  Production
TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

 IMAP-folder jumps
 -

 Key: IMAP-360
 URL: https://issues.apache.org/jira/browse/IMAP-360
 Project: JAMES Imap
  Issue Type: Bug
  Components: JPA Mailbox, Mailbox, Protocol
Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
 Environment: Windows 7, 64 bits, Oracle JPA.
Reporter: lcl hst
Priority: Critical
   Original Estimate: 24h
  Remaining Estimate: 24h

 When clicking an IMAP-folder in Thunderbird, I see several messages,
 when changing to another and switching back, I see different messages!
 This is the case, everytime I switch folders. So this folder jumps.
 I did not expect this. This should never happen.
 It seems different messages are returned sometimes? Or maybe
 Thunderbird is doing something wrong.
 I've attached the IMAP-log from Thunderbird. As you can see in the log
 below, I chose INBOX, then clicked Trash, then chose INBOX again.
 The 2nd time I viewed the inbox, there were other messages and
 messages got removed. When I switch over and over, I get different
 messages all the time. Some messages are marked read, some not. This
 changes all the time.
 What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Jenkins build is still unstable: james-server-trunk #2656

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2656/



-
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-app-trunk #625

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-app-trunk/625/

--
[...truncated 625 lines...]
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/apache-james-mailbox-api/0.4-SNAPSHOT/apache-james-mailbox-api-0.4-SNAPSHOT.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/apache-james-mailbox-api-0.4-20120222.042022-357.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/apache-james-mailbox-tool/0.4-SNAPSHOT/apache-james-mailbox-tool-0.4-SNAPSHOT.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/apache-james-mailbox-tool-0.4-20120222.042517-274.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/geronimo-annotation_1.0_spec-1.1.1.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/protocols/protocols-api/1.6.2/protocols-api-1.6.2.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/protocols-api-1.6.2.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/apache-mailet/2.4/apache-mailet-2.4.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/apache-mailet-2.4.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-core/3.1.0.RELEASE/spring-core-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-core-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-asm/3.1.0.RELEASE/spring-asm-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-asm-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-beans/3.1.0.RELEASE/spring-beans-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-beans-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-context-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-expression/3.1.0.RELEASE/spring-expression-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-expression-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-web/3.1.0.RELEASE/spring-web-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-web-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/commons-configuration-1.6.jar
[INFO] Installing 
/home/jenkins/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar 
to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/commons-lang-2.6.jar
[INFO] Installing 
/home/jenkins/.m2/repository/javax/mail/mail/1.4.4/mail-1.4.4.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/mail-1.4.4.jar
[INFO] Installing 
/home/jenkins/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/log4j-1.2.16.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/james-server-lifecycle-spring/3.0-beta4-SNAPSHOT/james-server-lifecycle-spring-3.0-beta4-SNAPSHOT.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/james-server-lifecycle-spring-3.0-beta4-20120222.091431-753.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-annotation_1.1_spec/1.0.1/geronimo-annotation_1.1_spec-1.0.1.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/geronimo-annotation_1.1_spec-1.0.1.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-jpa_2.0_spec/1.0/geronimo-jpa_2.0_spec-1.0.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/geronimo-jpa_2.0_spec-1.0.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/james-server-cli/3.0-beta4-SNAPSHOT/james-server-cli-3.0-beta4-SNAPSHOT.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/james-server-cli-3.0-beta4-20120222.092135-608.jar
[INFO] Installing 
/home/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/commons-cli-1.2.jar
[INFO] Installing 

Re: [CANCELED} Re: [VOTE] Release Apache James jSieve 0.5

2012-02-22 Thread Stefano Bagnara
2012/2/22 Eric Charles e...@apache.org:
 Hi Stefano,

 I don't understand what you mean with the references in the LICENSE/NOTICE.
 If you look at jsieve 0.4 release, there are no such references, and to my
 understanding it's not the goal of these files to list the jars.

I just noticed we had an issue also in 0.4 release. The main license
file for the binary distribution didn't include the licensing
information for Oracle's javamail/activation jars that are bundled in
the lib folder.
I'm in the process of removing oracle dependencies in favor of
geronimo ones as jsieve only depends on the API part of the library
and they should be equivalent (we did the same in jdkim), so that we
only bundle apache licensed libraries and everything is
cleaner/easier. Hope to commit it soon.

Stefano

 Btw, one thing to do is to update the RELEASE_NOTE.txt (one more reason to
 cancel).

 Thx,
 Eric



 On 21/02/12 22:46, Stefano Bagnara wrote:

 2012/2/21 Eric Charlese...@apache.org:

 Hi Stefano,
 See comment inside.

 I will cancel the vote and relaunch a new one after fixing assembly.

 Thx for your review, Eric


 Thanks to you for the hard work! Reviewing is easy compared to pushing
 releases!

 On 21/02/12 12:01, Stefano Bagnara wrote:


 (http://apache.fastbull.org/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.zip)
 , so maybe something gone wrong with the latest pom changes or with
 the release process.


 src are available:


 https://repository.apache.org/content/repositories/orgapachejames-003/org/apache/james/apache-jsieve-core/0.5/apache-jsieve-core-0.5-sources.jar

 https://repository.apache.org/content/repositories/orgapachejames-003/org/apache/james/apache-jsieve-mailet/0.5/apache-jsieve-mailet-0.5-sources.jar

 https://repository.apache.org/content/repositories/orgapachejames-003/org/apache/james/apache-jsieve-util/0.5/apache-jsieve-util-0.5-sources.jar

 ... but  a single tarball with all of them is not... - I had issues with
 the
 assemble module, desactivated it for the release, now I fixed it.


 I'm not sure this is right, as they are not the full sources of our
 product: they don't include the root stuff (like the website and
 release notes) and they don't include tests.

 One thing to check after you fix the assembly is the LICENSE/NOTICE
 for the bin assembly: they have to include references to the jars
 included in the binary tar.

 Stefano

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


 --
 eric | http://about.echarles.net | @echarles

 -
 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: IMAP-folder jumps

2012-02-22 Thread l0c4l h0st
Hi, I just posted some more information to the JIRA.

On Thu, Feb 9, 2012 at 7:53 PM, Eric Charles e...@apache.org wrote:
 Hi,

 Which version are you using?

 I didn't have that before with James.

 Now (since a few weeks), it's true that I can have that behavior, but the
 messages are consistent: I mean, the newly seen messages are just new ones.
 This is done thx the IDLE function that we support and also the streaming
 reading in case of large mails synchronization (batch reading).

 I also work with many thunderbird filters, but all this works well.

 Do I have to understand the 2nd time you click on INBOX you have messages
 that should not be there - where should these messages be then (in another
 folder)?

 The thunderbird log has been removed. Please open a JIRA and attach it there
 https://issues.apache.org/jira/browse/IMAP

 Thx again,
 Eric



 On 09/02/12 17:38, l0c4l h0st wrote:

 When clicking an IMAP-folder in Thunderbird, I see several messages,
 when changing to another and switching back, I see different messages!

 This is the case, everytime I switch folders. So this folder jumps.
 I did not expect this. This should never happen.

 It seems different messages are returned sometimes? Or maybe
 Thunderbird is doing something wrong.

 I've attached the IMAP-log from Thunderbird. As you can see in the log
 below, I chose INBOX, then clicked Trash, then chose INBOX again.
 The 2nd time I viewed the inbox, there were other messages and
 messages got removed. When I switch over and over, I get different
 messages all the time. Some messages are marked read, some not. This
 changes all the time.

 What is going on here?

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


 --
 eric | http://about.echarles.net | @echarles

 -
 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] [Created] (JSIEVE-89) move to geronimo / remove oracle dependencies and licensing stuff

2012-02-22 Thread Stefano Bagnara (Created) (JIRA)
move to geronimo / remove oracle dependencies and licensing stuff
-

 Key: JSIEVE-89
 URL: https://issues.apache.org/jira/browse/JSIEVE-89
 Project: JAMES jSieve
  Issue Type: Task
  Components: MultiModule
Affects Versions: 0.4
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
Priority: Minor
 Fix For: 0.5


We can remove javax.mail/javax.activation artifacts (Oracle) and depends on 
Geronimo api jars so we don't have to deal with licensing/notice issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (JSIEVE-90) Clean up build configuration, assembly, notice/license attachment, ant build

2012-02-22 Thread Stefano Bagnara (Created) (JIRA)
Clean up build configuration, assembly, notice/license attachment, ant build


 Key: JSIEVE-90
 URL: https://issues.apache.org/jira/browse/JSIEVE-90
 Project: JAMES jSieve
  Issue Type: Task
  Components: MultiModule
Affects Versions: 0.4
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
 Fix For: 0.5


jsieve 0.4 binary package didn't include a correct license for the included 
libraries.
newer assembly plugin allow simpler configuration to define what to put in the 
binary.
ant build has not been updated since a lot and doesn't work anymore.. let's 
remove it to avoid confusion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1292244 - /james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java

2012-02-22 Thread bago
Author: bago
Date: Wed Feb 22 11:41:23 2012
New Revision: 1292244

URL: http://svn.apache.org/viewvc?rev=1292244view=rev
Log:
Fix EOL chars in test file. I believe \r\f is not a valid EOL and is strange 
that javamail did support this. 

Modified:
james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java

Modified: 
james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java?rev=1292244r1=1292243r2=1292244view=diff
==
--- james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java 
(original)
+++ james/jsieve/trunk/core/src/test/java/org/apache/jsieve/MultipleToTest.java 
Wed Feb 22 11:41:23 2012
@@ -29,26 +29,26 @@ import org.apache.jsieve.util.check.Scri
 
 public class MultipleToTest extends TestCase {
 
-private static final String SOLO_TO_EMAIL = Date: Sun, 1 Apr 2007 
1100:00:00 +0100 (BST)\r\f
-+ From: roadrun...@acme.example.com\r\f
-+ To: coy...@desert.example.org\r\f
-+ Subject: Who's The Fool?\r\f + \r\f + Beep-Beep\r\f;
+private static final String SOLO_TO_EMAIL = Date: Sun, 1 Apr 2007 
1100:00:00 +0100 (BST)\r\n
++ From: roadrun...@acme.example.com\r\n
++ To: coy...@desert.example.org\r\n
++ Subject: Who's The Fool?\r\n + \r\n + Beep-Beep\r\n;
 
-private static final String MULTIPLE_TO_EMAIL = Date: Sun, 1 Apr 2007 
1100:00:00 +0100 (BST)\r\f
-+ From: roadrun...@acme.example.com\r\f
+private static final String MULTIPLE_TO_EMAIL = Date: Sun, 1 Apr 2007 
1100:00:00 +0100 (BST)\r\n
++ From: roadrun...@acme.example.com\r\n
 + To: coy...@desert.example.org, b...@example.org, 
-+ el...@hunters.example.org,\r\f
-+ Subject: Who's The Fool?\r\f + \r\f + Beep-Beep\r\f;
++ el...@hunters.example.org,\r\n
++ Subject: Who's The Fool?\r\n + \r\n + Beep-Beep\r\n;
 
-private static final String FILTER_SCRIPT = require \fileinto\;\r\f
-+ if address :is :all \to\ \coy...@desert.example.org\ {\r\f
-+   fileinto \coyote\;\r\f}\r\f
-+ if address :is :all \to\ \b...@example.org\ {\r\f
-+   fileinto \bugs\;\r\f}\r\f
-+ if address :is :all \to\ \roadrunnerac...@example.org\ 
{\r\f
-+   fileinto \rr\;\r\f}\r\f
-+ if address :is :all \to\ \el...@hunters.example.org\ {\r\f
-+   fileinto \elmer\;\r\f}\r\f;
+private static final String FILTER_SCRIPT = require \fileinto\;\r\n
++ if address :is :all \to\ \coy...@desert.example.org\ {\r\n
++   fileinto \coyote\;\r\n}\r\n
++ if address :is :all \to\ \b...@example.org\ {\r\n
++   fileinto \bugs\;\r\n}\r\n
++ if address :is :all \to\ \roadrunnerac...@example.org\ 
{\r\n
++   fileinto \rr\;\r\n}\r\n
++ if address :is :all \to\ \el...@hunters.example.org\ {\r\n
++   fileinto \elmer\;\r\n}\r\n;
 
 public void testSingleTo() throws Exception {
 ScriptChecker checker = new ScriptChecker();



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



svn commit: r1292250 - /james/server/trunk/mailetcontainer-api/src/main/resources/mailetcontainer.conf

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 11:57:52 2012
New Revision: 1292250

URL: http://svn.apache.org/viewvc?rev=1292250view=rev
Log:
Remove InSpammerBlacklist from default mailet configuration (JAMES-1380)

Modified:

james/server/trunk/mailetcontainer-api/src/main/resources/mailetcontainer.conf

Modified: 
james/server/trunk/mailetcontainer-api/src/main/resources/mailetcontainer.conf
URL: 
http://svn.apache.org/viewvc/james/server/trunk/mailetcontainer-api/src/main/resources/mailetcontainer.conf?rev=1292250r1=1292249r2=1292250view=diff
==
--- 
james/server/trunk/mailetcontainer-api/src/main/resources/mailetcontainer.conf 
(original)
+++ 
james/server/trunk/mailetcontainer-api/src/main/resources/mailetcontainer.conf 
Wed Feb 22 11:57:52 2012
@@ -31,20 +31,17 @@
   /spooler
 
   processors
+  
 processor state=root enableJmx=true
   mailet match=All class=PostmasterAlias/
   mailet match=RelayLimit=30 class=Null/
   mailet match=SMTPAuthSuccessful class=ToProcessor
 processortransport/processor
   /mailet
-  mailet match=InSpammerBlacklist=dnsbl.njabl.org. class=ToProcessor
-processorspam/processor
-notice550 Requested action not taken: rejected - see 
http://njabl.org//notice
-   /mailet
-   mailet match=All class=ToProcessor
+  mailet match=All class=ToProcessor
 processortransport/processor
-   /mailet
- /processor
+  /mailet
+/processor
 
 processor state=transport enableJmx=true
   mailet match=SMTPAuthSuccessful class=SetMimeHeader
@@ -102,6 +99,7 @@
 passThroughfalse/passThrough
   /mailet
 /processor
+
   /processors
 
 /mailetcontainer



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



[jira] [Closed] (JAMES-1380) Default mailet configuration should not apply InSpammerBlacklist

2012-02-22 Thread Eric Charles (Closed) (JIRA)

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

Eric Charles closed JAMES-1380.
---

Resolution: Fixed
  Assignee: Eric Charles

Done.

 Default mailet configuration should not apply InSpammerBlacklist
 

 Key: JAMES-1380
 URL: https://issues.apache.org/jira/browse/JAMES-1380
 Project: JAMES Server
  Issue Type: Improvement
Affects Versions: 3.0-beta4
Reporter: Eric Charles
Assignee: Eric Charles

 InSpammerBlacklist is configured by default in the mailetcontainer.xml
   mailet match=InSpammerBlacklist=dnsbl.njabl.org. class=ToProcessor
 processorspam/processor
 notice550 Requested action not taken: rejected - see 
 http://njabl.org//notice
/mailet
 This gives a safer default configuration but slows down the spooling. 
 This configuration will still be present in the -template, and thus can be 
 applied by any administrator before starting the server.
 I propose to get rid of it.
 If I don't hear anything against, I will to it tomorrow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Reopened] (JAMES-1380) Default mailet configuration should not apply InSpammerBlacklist

2012-02-22 Thread Eric Charles (Reopened) (JIRA)

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

Eric Charles reopened JAMES-1380:
-


 Default mailet configuration should not apply InSpammerBlacklist
 

 Key: JAMES-1380
 URL: https://issues.apache.org/jira/browse/JAMES-1380
 Project: JAMES Server
  Issue Type: Improvement
Affects Versions: 3.0-beta4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 3.0-beta4


 InSpammerBlacklist is configured by default in the mailetcontainer.xml
   mailet match=InSpammerBlacklist=dnsbl.njabl.org. class=ToProcessor
 processorspam/processor
 notice550 Requested action not taken: rejected - see 
 http://njabl.org//notice
/mailet
 This gives a safer default configuration but slows down the spooling. 
 This configuration will still be present in the -template, and thus can be 
 applied by any administrator before starting the server.
 I propose to get rid of it.
 If I don't hear anything against, I will to it tomorrow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (JAMES-1380) Default mailet configuration should not apply InSpammerBlacklist

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated JAMES-1380:


Affects Version/s: 3.0-beta4
Fix Version/s: 3.0-beta4

 Default mailet configuration should not apply InSpammerBlacklist
 

 Key: JAMES-1380
 URL: https://issues.apache.org/jira/browse/JAMES-1380
 Project: JAMES Server
  Issue Type: Improvement
Affects Versions: 3.0-beta4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 3.0-beta4


 InSpammerBlacklist is configured by default in the mailetcontainer.xml
   mailet match=InSpammerBlacklist=dnsbl.njabl.org. class=ToProcessor
 processorspam/processor
 notice550 Requested action not taken: rejected - see 
 http://njabl.org//notice
/mailet
 This gives a safer default configuration but slows down the spooling. 
 This configuration will still be present in the -template, and thus can be 
 applied by any administrator before starting the server.
 I propose to get rid of it.
 If I don't hear anything against, I will to it tomorrow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Resolved] (JAMES-1380) Default mailet configuration should not apply InSpammerBlacklist

2012-02-22 Thread Eric Charles (Resolved) (JIRA)

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

Eric Charles resolved JAMES-1380.
-

Resolution: Fixed

 Default mailet configuration should not apply InSpammerBlacklist
 

 Key: JAMES-1380
 URL: https://issues.apache.org/jira/browse/JAMES-1380
 Project: JAMES Server
  Issue Type: Improvement
Affects Versions: 3.0-beta4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 3.0-beta4


 InSpammerBlacklist is configured by default in the mailetcontainer.xml
   mailet match=InSpammerBlacklist=dnsbl.njabl.org. class=ToProcessor
 processorspam/processor
 notice550 Requested action not taken: rejected - see 
 http://njabl.org//notice
/mailet
 This gives a safer default configuration but slows down the spooling. 
 This configuration will still be present in the -template, and thus can be 
 applied by any administrator before starting the server.
 I propose to get rid of it.
 If I don't hear anything against, I will to it tomorrow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
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 stable : james-server-trunk #2657

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2657/changes



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



Jenkins build became unstable: james-server-trunk #2658

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2658/



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-22 Thread Eric Charles (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213564#comment-13213564
 ] 

Eric Charles commented on IMAP-360:
---

Hi,
I donwloaded james 3.0b3 and applied your scenario step by step with default 
configuration (not with oracle)
I can not reproduce the problem you describe.
The mail are there and are not jumping.
I'm using also using thunderbird 10.0.2.
Anyone else to try this scenario ?
Thx, Eric

 IMAP-folder jumps
 -

 Key: IMAP-360
 URL: https://issues.apache.org/jira/browse/IMAP-360
 Project: JAMES Imap
  Issue Type: Bug
  Components: JPA Mailbox, Mailbox, Protocol
Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
 Environment: Windows 7, 64 bits, Oracle JPA.
Reporter: lcl hst
Priority: Critical
   Original Estimate: 24h
  Remaining Estimate: 24h

 When clicking an IMAP-folder in Thunderbird, I see several messages,
 when changing to another and switching back, I see different messages!
 This is the case, everytime I switch folders. So this folder jumps.
 I did not expect this. This should never happen.
 It seems different messages are returned sometimes? Or maybe
 Thunderbird is doing something wrong.
 I've attached the IMAP-log from Thunderbird. As you can see in the log
 below, I chose INBOX, then clicked Trash, then chose INBOX again.
 The 2nd time I viewed the inbox, there were other messages and
 messages got removed. When I switch over and over, I get different
 messages all the time. Some messages are marked read, some not. This
 changes all the time.
 What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-22 Thread Eric Charles (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213565#comment-13213565
 ] 

Eric Charles commented on IMAP-360:
---

I think I already asked for, but do you see anything in the logs files 
(Exception,...) - Anything special with your database connection?

 IMAP-folder jumps
 -

 Key: IMAP-360
 URL: https://issues.apache.org/jira/browse/IMAP-360
 Project: JAMES Imap
  Issue Type: Bug
  Components: JPA Mailbox, Mailbox, Protocol
Affects Versions: 0.1, 0.2-M1, 0.2, 0.2.1, 0.3
 Environment: Windows 7, 64 bits, Oracle JPA.
Reporter: lcl hst
Priority: Critical
   Original Estimate: 24h
  Remaining Estimate: 24h

 When clicking an IMAP-folder in Thunderbird, I see several messages,
 when changing to another and switching back, I see different messages!
 This is the case, everytime I switch folders. So this folder jumps.
 I did not expect this. This should never happen.
 It seems different messages are returned sometimes? Or maybe
 Thunderbird is doing something wrong.
 I've attached the IMAP-log from Thunderbird. As you can see in the log
 below, I chose INBOX, then clicked Trash, then chose INBOX again.
 The 2nd time I viewed the inbox, there were other messages and
 messages got removed. When I switch over and over, I get different
 messages all the time. Some messages are marked read, some not. This
 changes all the time.
 What is going on here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (IMAP-360) IMAP-folder jumps

2012-02-22 Thread lcl hst (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/IMAP-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213569#comment-13213569
 ] 

lcl hst commented on IMAP-360:
--

This is the entire log I see in the console. The log files in the log-directory 
are empty.


INFO  10:56:57,889 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@37611a05:
 startup date [Wed Feb 22 10:56:57 CET
 2012]; root of context hierarchy
log4j:WARN No appenders could be found for logger 
(org.apache.commons.configuration.ConfigurationUtils).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
INFO  10:57:02,989 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | Bean 
'logprovider' of type [class 
org.apache.james.container.spring.lifecycle.LogProviderImpl] is not eligible 
for getting process
ed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO  10:57:03,719 | james.mailrepositorystore | JamesMailStore init...
INFO  10:57:03,723 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.file.FileMailRepository to 
handle file protocol requests for repositories with key file
INFO  10:57:03,723 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to 
handle db protocol requests for repositories with key db
INFO  10:57:03,723 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to 
handle dbfile protocol requests for repositories with key dbfile
INFO  10:57:03,723 | james.mailrepositorystore | Registering Repository 
instance of class org.apache.james.mailrepository.file.MBoxMailRepository to 
handle mbox protocol requests for repositories with key mbox
INFO  10:57:04,150 | james.dnsservice | Autodiscovery is enabled - trying to 
discover your system's DNS Servers
INFO  10:57:04,155 | james.dnsservice | Adding autodiscovered server 192.168.4.1
INFO  10:57:04,156 | james.dnsservice | Adding autodiscovered server 192.168.4.2
INFO  10:57:04,156 | james.dnsservice | Adding autodiscovered search path 
obec.local.
INFO  10:57:04,156 | james.dnsservice | DNS Server is: 192.168.4.1
INFO  10:57:04,157 | james.dnsservice | DNS Server is: 192.168.4.2
INFO  10:57:04,164 | james.dnsservice | Registered cache, resolver and search 
paths as DNSJava defaults
12  James  WARN   [main] openjpa.Runtime - An error occurred while registering 
a ClassTransformer with PersistenceUnitInfo: name 'James', root URL 
[file:/D:/apache-james-3.0-beta3-oracle/bin/../conf/]. The error has been cons
umed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class 
transformation will not be available.
INFO  10:57:04,381 | james.domainlist | Set autodetect to: true
INFO  10:57:04,382 | james.domainlist | Set autodetectIP to: true
31  James  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0
57  James  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
org.apache.openjpa.jdbc.sql.OracleDictionary.
2268  James  INFO   [main] openjpa.Runtime - The Entity 
org.apache.james.mailbox.jpa.mail.model.JPAUserFlag was enhanced at level 
2, but the current level of enhancement is 1.055.128.
2270  James  INFO   [main] openjpa.Runtime - A down level Entity was detected 
and logged. Please enable RUNTIME trace to see all down level Entities.
WARN  10:57:06,923 | james.mailetcontext | The specified postmaster address ( 
postmaster@localhost ) is not a local address.  This is not necessarily a 
problem, but it does mean that emails addressed to the postmaster will be
 routed to another server.  For some configurations this may cause problems.
INFO  10:57:07,012 | james.mailprocessor | Matcher All instantiated.
INFO  10:57:07,024 | james.mailprocessor | Mailet PostmasterAlias instantiated.
INFO  10:57:07,028 | james.mailprocessor | Matcher RelayLimit=30 instantiated.
INFO  10:57:07,032 | james.mailprocessor | Mailet Null instantiated.
INFO  10:57:07,034 | james.mailprocessor | Matcher SMTPAuthSuccessful 
instantiated.
INFO  10:57:07,038 | james.mailprocessor | Mailet ToProcessor instantiated.
INFO  10:57:07,042 | james.mailprocessor | Matcher 
InSpammerBlacklist=dnsbl.njabl.org. instantiated.
INFO  10:57:07,043 | james.mailprocessor | Mailet ToProcessor instantiated.
INFO  10:57:07,043 | james.mailprocessor | Matcher All instantiated.
INFO  10:57:07,044 | james.mailprocessor | Mailet ToProcessor instantiated.
INFO  10:57:07,492 | james.mailprocessor | Matcher SMTPAuthSuccessful 
instantiated.
INFO  10:57:07,495 | james.mailprocessor | Mailet SetMimeHeader instantiated.
INFO  10:57:07,496 | james.mailprocessor | Matcher All instantiated.
INFO  10:57:07,515 | 

svn commit: r1292256 - /james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java

2012-02-22 Thread bago
Author: bago
Date: Wed Feb 22 12:37:35 2012
New Revision: 1292256

URL: http://svn.apache.org/viewvc?rev=1292256view=rev
Log:
Make sure to set the right content type when creating test messages 
(application/sieve is not declared/added to the mailcap so oracle javamail 
allow an undocumented behaviour, while geronimo is more strict and remove the 
unknown content type).

Modified:

james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java

Modified: 
james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java?rev=1292256r1=1292255r2=1292256view=diff
==
--- 
james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java
 (original)
+++ 
james/jsieve/trunk/manager/mailet/src/test/java/org/apache/james/managesieve/mailet/ManageSieveMailetTestCase.java
 Wed Feb 22 12:37:35 2012
@@ -197,6 +197,11 @@ public class ManageSieveMailetTestCase {
 application/sieve; charset=UTF-8)
   ));
 scriptPart.setDisposition(MimeBodyPart.ATTACHMENT);
+// setting a DataHandler with no mailcap definition is not
+// supported by the specs. Javamail activation still work,
+// but Geronimo activation translate it to text/plain. 
+// Let's manually force the header.
+scriptPart.setHeader(Content-Type, application/sieve; 
charset=UTF-8);
 scriptPart.setFileName(scriptName);
 multipart.addBodyPart(scriptPart);
 message.setContent(multipart);
@@ -264,6 +269,7 @@ public class ManageSieveMailetTestCase {
 SyntaxException, 
 application/sieve; charset=UTF-8)
   ));
+scriptPart.setHeader(Content-Type, application/sieve; 
charset=UTF-8);
 scriptPart.setDisposition(MimeBodyPart.ATTACHMENT);
 scriptPart.setFileName(scriptName);
 multipart.addBodyPart(scriptPart);
@@ -469,6 +475,7 @@ public class ManageSieveMailetTestCase {
 scriptContent, 
 application/sieve; charset=UTF-8)
   ));
+scriptPart.setHeader(Content-Type, application/sieve; 
charset=UTF-8);
 scriptPart.setDisposition(MimeBodyPart.ATTACHMENT);
 scriptPart.setFileName(scriptName);
 multipart.addBodyPart(scriptPart);
@@ -536,6 +543,7 @@ public class ManageSieveMailetTestCase {
 SyntaxException, 
 application/sieve; charset=UTF-8)
   ));
+scriptPart.setHeader(Content-Type, application/sieve; 
charset=UTF-8);
 scriptPart.setDisposition(MimeBodyPart.ATTACHMENT);
 scriptPart.setFileName(scriptName);
 multipart.addBodyPart(scriptPart);
@@ -1164,7 +1172,8 @@ public class ManageSieveMailetTestCase {
 MimeMessage result = ((MockMailetContext) 
_mailet.getMailetContext()).getMessage();
 assertNotNull(result);
 // Check the subject header
-assertEquals(Re: , result.getSubject());
+// Javamail returns Re:  instead Geronimo returns Re: (no 
trailing space)
+assertEquals(Re:, result.getSubject().trim());
 // Check the response
 MimeMultipart multipart = (MimeMultipart) result.getContent();
 assertEquals(1, multipart.getCount());



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



svn commit: r1292257 - in /james/jsieve/trunk: NOTICE.txt RELEASE_NOTES.txt all/src/assemble/bin.xml core/pom.xml mailet/pom.xml manager/mailet/pom.xml pom.xml util/pom.xml

2012-02-22 Thread bago
Author: bago
Date: Wed Feb 22 12:38:56 2012
New Revision: 1292257

URL: http://svn.apache.org/viewvc?rev=1292257view=rev
Log:
move to geronimo / remove oracle dependencies and licensing stuff (JSIEVE-89)
Clean up build configuration, assembly, notice/license attachment, ant build 
(JSIEVE-90)

Modified:
james/jsieve/trunk/NOTICE.txt
james/jsieve/trunk/RELEASE_NOTES.txt
james/jsieve/trunk/all/src/assemble/bin.xml
james/jsieve/trunk/core/pom.xml
james/jsieve/trunk/mailet/pom.xml
james/jsieve/trunk/manager/mailet/pom.xml
james/jsieve/trunk/pom.xml
james/jsieve/trunk/util/pom.xml

Modified: james/jsieve/trunk/NOTICE.txt
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/NOTICE.txt?rev=1292257r1=1292256r2=1292257view=diff
==
--- james/jsieve/trunk/NOTICE.txt (original)
+++ james/jsieve/trunk/NOTICE.txt Wed Feb 22 12:38:56 2012
@@ -1,5 +1,5 @@
 Apache James JSieve Library
-Copyright 2009 The Apache Software Foundation
+Copyright 2012 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).

Modified: james/jsieve/trunk/RELEASE_NOTES.txt
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/RELEASE_NOTES.txt?rev=1292257r1=1292256r2=1292257view=diff
==
--- james/jsieve/trunk/RELEASE_NOTES.txt (original)
+++ james/jsieve/trunk/RELEASE_NOTES.txt Wed Feb 22 12:38:56 2012
@@ -45,6 +45,8 @@ Task
 [JSIEVE-61] - Split Parent And Aggregation Poms
 [JSIEVE-62] - Review TODOs
 [JSIEVE-64] - Improve and Standardise Build
+[JSIEVE-89] - move to geronimo / remove oracle dependencies and licensing 
stuff
+[JSIEVE-90] - Clean up build configuration, assembly, notice/license 
attachment, ant build
 
 Version 0.4
 --- 

Modified: james/jsieve/trunk/all/src/assemble/bin.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/src/assemble/bin.xml?rev=1292257r1=1292256r2=1292257view=diff
==
--- james/jsieve/trunk/all/src/assemble/bin.xml (original)
+++ james/jsieve/trunk/all/src/assemble/bin.xml Wed Feb 22 12:38:56 2012
@@ -18,10 +18,6 @@
   limitations under the License.
   --
   idbin/id
-  !-- 
-  Generates a jar file including the binary jar and the runtime dependencies.
-  including NOTICE and LICENSE in the root.
-  --
   formats
 formatzip/format
 formattar.gz/format
@@ -36,107 +32,25 @@
 includeRELEASE_NOTES.txt/include
   /includes
 /fileSet
-fileSet
-  directory${project.basedir}/../core/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../mailet/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../util/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../manager/api/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../manager/core/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../manager/jsieve/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../manager/mailet/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../manager/mock/target/directory
-  outputDirectory//outputDirectory
-  includes
-includeapache-jsieve*.jar/include
-  /includes
-/fileSet
-fileSet
-  directory${project.basedir}/../target/site/apidocs/directory
-  outputDirectory/apidocs/outputDirectory
-/fileSet
+fileSet
+  directory${project.basedir}/../target/site/apidocs/directory
+  outputDirectory/apidocs/outputDirectory
+/fileSet
   /fileSets
-  files
-file
-  source${project.basedir}/../LICENSE.mail/source
-  outputDirectorylib/outputDirectory
-  destNamemail.LICENSE/destName
-/file
-file
-  source${project.basedir}/../LICENSE.activation/source
-  outputDirectorylib/outputDirectory
-  destNameactivation.LICENSE/destName
-/file
-file
-  

svn commit: r1292258 - in /james/jsieve/trunk: ./ core/ mailet/ util/

2012-02-22 Thread bago
Author: bago
Date: Wed Feb 22 12:39:16 2012
New Revision: 1292258

URL: http://svn.apache.org/viewvc?rev=1292258view=rev
Log:
move to geronimo / remove oracle dependencies and licensing stuff (JSIEVE-89)
Clean up build configuration, assembly, notice/license attachment, ant build 
(JSIEVE-90)

Removed:
james/jsieve/trunk/LICENSE.activation
james/jsieve/trunk/LICENSE.mail
james/jsieve/trunk/core/BUILDING.txt
james/jsieve/trunk/core/LICENSE.apache
james/jsieve/trunk/core/NOTICE.base
james/jsieve/trunk/core/build.xml
james/jsieve/trunk/mailet/LICENSE.apache
james/jsieve/trunk/mailet/NOTICE.base
james/jsieve/trunk/mailet/build.xml
james/jsieve/trunk/util/LICENSE.apache
james/jsieve/trunk/util/NOTICE.base
james/jsieve/trunk/util/build.xml


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



[jira] [Resolved] (JSIEVE-90) Clean up build configuration, assembly, notice/license attachment, ant build

2012-02-22 Thread Stefano Bagnara (Resolved) (JIRA)

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

Stefano Bagnara resolved JSIEVE-90.
---

Resolution: Fixed

 Clean up build configuration, assembly, notice/license attachment, ant build
 

 Key: JSIEVE-90
 URL: https://issues.apache.org/jira/browse/JSIEVE-90
 Project: JAMES jSieve
  Issue Type: Task
  Components: MultiModule
Affects Versions: 0.4
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
 Fix For: 0.5


 jsieve 0.4 binary package didn't include a correct license for the included 
 libraries.
 newer assembly plugin allow simpler configuration to define what to put in 
 the binary.
 ant build has not been updated since a lot and doesn't work anymore.. let's 
 remove it to avoid confusion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Resolved] (JSIEVE-89) move to geronimo / remove oracle dependencies and licensing stuff

2012-02-22 Thread Stefano Bagnara (Resolved) (JIRA)

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

Stefano Bagnara resolved JSIEVE-89.
---

Resolution: Fixed

Done.

Fixed \r\f EOL to \r\n to fix a test
Acced setHeader(Content-Type,application/sieve to some sieve test because 
geronimo is more strict about using undeclared content-types in datahandler. 
Either we added an handler for the application/sieve content type or it changed 
the ct to text/plain. Manually updating the header fixes the issue.

 move to geronimo / remove oracle dependencies and licensing stuff
 -

 Key: JSIEVE-89
 URL: https://issues.apache.org/jira/browse/JSIEVE-89
 Project: JAMES jSieve
  Issue Type: Task
  Components: MultiModule
Affects Versions: 0.4
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
Priority: Minor
 Fix For: 0.5


 We can remove javax.mail/javax.activation artifacts (Oracle) and depends on 
 Geronimo api jars so we don't have to deal with licensing/notice issues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
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 stable : james-server-trunk #2659

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2659/



-
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-app-trunk #626

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-app-trunk/626/

--
[...truncated 432 lines...]
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/geronimo-annotation_1.0_spec-1.1.1.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/protocols/protocols-api/1.6.2/protocols-api-1.6.2.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/protocols-api-1.6.2.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/apache-mailet/2.4/apache-mailet-2.4.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/apache-mailet-2.4.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-core/3.1.0.RELEASE/spring-core-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-core-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-asm/3.1.0.RELEASE/spring-asm-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-asm-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-beans/3.1.0.RELEASE/spring-beans-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-beans-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-context-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-expression/3.1.0.RELEASE/spring-expression-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-expression-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/springframework/spring-web/3.1.0.RELEASE/spring-web-3.1.0.RELEASE.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/spring-web-3.1.0.RELEASE.jar
[INFO] Installing 
/home/jenkins/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/commons-configuration-1.6.jar
[INFO] Installing 
/home/jenkins/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar 
to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/commons-lang-2.6.jar
[INFO] Installing 
/home/jenkins/.m2/repository/javax/mail/mail/1.4.4/mail-1.4.4.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/mail-1.4.4.jar
[INFO] Installing 
/home/jenkins/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/log4j-1.2.16.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/james-server-lifecycle-spring/3.0-beta4-SNAPSHOT/james-server-lifecycle-spring-3.0-beta4-SNAPSHOT.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/james-server-lifecycle-spring-3.0-beta4-SNAPSHOT.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-annotation_1.1_spec/1.0.1/geronimo-annotation_1.1_spec-1.0.1.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/geronimo-annotation_1.1_spec-1.0.1.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/geronimo/specs/geronimo-jpa_2.0_spec/1.0/geronimo-jpa_2.0_spec-1.0.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/geronimo-jpa_2.0_spec-1.0.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/apache/james/james-server-cli/3.0-beta4-SNAPSHOT/james-server-cli-3.0-beta4-SNAPSHOT.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/james-server-cli-3.0-beta4-SNAPSHOT.jar
[INFO] Installing 
/home/jenkins/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/commons-cli-1.2.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/slf4j-api-1.6.1.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar
 to 
https://builds.apache.org/job/james-app-trunk/ws/trunk/target/appassembler/lib/slf4j-log4j12-1.6.1.jar
[INFO] Installing 
/home/jenkins/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar
 to 

svn commit: r1292275 - /james/jsieve/trunk/README.txt

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 13:24:45 2012
New Revision: 1292275

URL: http://svn.apache.org/viewvc?rev=1292275view=rev
Log:
Document how to release jsieve in the README.txt

Modified:
james/jsieve/trunk/README.txt

Modified: james/jsieve/trunk/README.txt
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/README.txt?rev=1292275r1=1292274r2=1292275view=diff
==
--- james/jsieve/trunk/README.txt (original)
+++ james/jsieve/trunk/README.txt Wed Feb 22 13:24:45 2012
@@ -1,5 +1,10 @@
-JSieve is built using Maven 2 (http://maven.apache.org). To build all modules 
type
+JSieve is built using Maven 2 (http://maven.apache.org).
 
+To build all modules type:
 % mvn install
 
- 
+To release: 
+%mvn clean javadoc:aggregate site install
+%mvn release:clean
+%mvn release:perform
+Read the rest on http://www.apache.org/dev/publishing-maven-artifacts.html



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



svn commit: r1292280 - in /james/jsieve/trunk: all/pom.xml core/pom.xml mailet/pom.xml manager/api/pom.xml manager/core/pom.xml manager/jsieve/pom.xml manager/mailet/pom.xml manager/mock/pom.xml manag

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 13:34:02 2012
New Revision: 1292280

URL: http://svn.apache.org/viewvc?rev=1292280view=rev
Log:
[maven-release-plugin] prepare release apache-jsieve-0.5

Modified:
james/jsieve/trunk/all/pom.xml
james/jsieve/trunk/core/pom.xml
james/jsieve/trunk/mailet/pom.xml
james/jsieve/trunk/manager/api/pom.xml
james/jsieve/trunk/manager/core/pom.xml
james/jsieve/trunk/manager/jsieve/pom.xml
james/jsieve/trunk/manager/mailet/pom.xml
james/jsieve/trunk/manager/mock/pom.xml
james/jsieve/trunk/manager/pom.xml
james/jsieve/trunk/pom.xml
james/jsieve/trunk/util/pom.xml

Modified: james/jsieve/trunk/all/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/pom.xml?rev=1292280r1=1292279r2=1292280view=diff
==
--- james/jsieve/trunk/all/pom.xml (original)
+++ james/jsieve/trunk/all/pom.xml Wed Feb 22 13:34:02 2012
@@ -23,7 +23,7 @@
 parent
 groupIdorg.apache.james/groupId
 artifactIdapache-jsieve/artifactId
-version0.5-SNAPSHOT/version
+version0.5/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/core/pom.xml?rev=1292280r1=1292279r2=1292280view=diff
==
--- james/jsieve/trunk/core/pom.xml (original)
+++ james/jsieve/trunk/core/pom.xml Wed Feb 22 13:34:02 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-jsieve/artifactId
 groupIdorg.apache.james/groupId
-version0.5-SNAPSHOT/version
+version0.5/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/mailet/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/pom.xml?rev=1292280r1=1292279r2=1292280view=diff
==
--- james/jsieve/trunk/mailet/pom.xml (original)
+++ james/jsieve/trunk/mailet/pom.xml Wed Feb 22 13:34:02 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-jsieve/artifactId
 groupIdorg.apache.james/groupId
-version0.5-SNAPSHOT/version
+version0.5/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/manager/api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/api/pom.xml?rev=1292280r1=1292279r2=1292280view=diff
==
--- james/jsieve/trunk/manager/api/pom.xml (original)
+++ james/jsieve/trunk/manager/api/pom.xml Wed Feb 22 13:34:02 2012
@@ -16,15 +16,14 @@
 specific language governing permissions and limitations
 under the License.
   --
-project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
-   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;
+project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;
modelVersion4.0.0/modelVersion
 
parent
 groupIdorg.apache.james/groupId
artifactIdapache-jsieve-manager/artifactId
relativePath../relativePath
-   version0.5-SNAPSHOT/version
+   version0.5/version
/parent

artifactIdapache-jsieve-manager-api/artifactId

Modified: james/jsieve/trunk/manager/core/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/core/pom.xml?rev=1292280r1=1292279r2=1292280view=diff
==
--- james/jsieve/trunk/manager/core/pom.xml (original)
+++ james/jsieve/trunk/manager/core/pom.xml Wed Feb 22 13:34:02 2012
@@ -16,13 +16,12 @@
 specific language governing permissions and limitations
 under the License.
   --
-project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
-   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;
+project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;
modelVersion4.0.0/modelVersion
parent
 groupIdorg.apache.james/groupId
artifactIdapache-jsieve-manager/artifactId
-version0.5-SNAPSHOT/version
+version0.5/version
relativePath../relativePath
/parent
 

Modified: james/jsieve/trunk/manager/jsieve/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/jsieve/pom.xml?rev=1292280r1=1292279r2=1292280view=diff

svn commit: r1292283 - /james/jsieve/tags/apache-jsieve-0.5/

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 13:34:54 2012
New Revision: 1292283

URL: http://svn.apache.org/viewvc?rev=1292283view=rev
Log:
[maven-release-plugin]  copy for tag apache-jsieve-0.5

Added:
james/jsieve/tags/apache-jsieve-0.5/
  - copied from r1292280, james/jsieve/trunk/


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



svn commit: r1292284 - in /james/jsieve/trunk: all/pom.xml core/pom.xml mailet/pom.xml manager/api/pom.xml manager/core/pom.xml manager/jsieve/pom.xml manager/mailet/pom.xml manager/mock/pom.xml manag

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 13:35:19 2012
New Revision: 1292284

URL: http://svn.apache.org/viewvc?rev=1292284view=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
james/jsieve/trunk/all/pom.xml
james/jsieve/trunk/core/pom.xml
james/jsieve/trunk/mailet/pom.xml
james/jsieve/trunk/manager/api/pom.xml
james/jsieve/trunk/manager/core/pom.xml
james/jsieve/trunk/manager/jsieve/pom.xml
james/jsieve/trunk/manager/mailet/pom.xml
james/jsieve/trunk/manager/mock/pom.xml
james/jsieve/trunk/manager/pom.xml
james/jsieve/trunk/pom.xml
james/jsieve/trunk/util/pom.xml

Modified: james/jsieve/trunk/all/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/all/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/all/pom.xml (original)
+++ james/jsieve/trunk/all/pom.xml Wed Feb 22 13:35:19 2012
@@ -23,7 +23,7 @@
 parent
 groupIdorg.apache.james/groupId
 artifactIdapache-jsieve/artifactId
-version0.5/version
+version0.6-SNAPSHOT/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/core/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/core/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/core/pom.xml (original)
+++ james/jsieve/trunk/core/pom.xml Wed Feb 22 13:35:19 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-jsieve/artifactId
 groupIdorg.apache.james/groupId
-version0.5/version
+version0.6-SNAPSHOT/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/mailet/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/mailet/pom.xml (original)
+++ james/jsieve/trunk/mailet/pom.xml Wed Feb 22 13:35:19 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-jsieve/artifactId
 groupIdorg.apache.james/groupId
-version0.5/version
+version0.6-SNAPSHOT/version
 relativePath../relativePath
 /parent
 

Modified: james/jsieve/trunk/manager/api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/api/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/manager/api/pom.xml (original)
+++ james/jsieve/trunk/manager/api/pom.xml Wed Feb 22 13:35:19 2012
@@ -23,7 +23,7 @@
 groupIdorg.apache.james/groupId
artifactIdapache-jsieve-manager/artifactId
relativePath../relativePath
-   version0.5/version
+   version0.6-SNAPSHOT/version
/parent

artifactIdapache-jsieve-manager-api/artifactId

Modified: james/jsieve/trunk/manager/core/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/core/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/manager/core/pom.xml (original)
+++ james/jsieve/trunk/manager/core/pom.xml Wed Feb 22 13:35:19 2012
@@ -21,7 +21,7 @@
parent
 groupIdorg.apache.james/groupId
artifactIdapache-jsieve-manager/artifactId
-version0.5/version
+version0.6-SNAPSHOT/version
relativePath../relativePath
/parent
 

Modified: james/jsieve/trunk/manager/jsieve/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/jsieve/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/manager/jsieve/pom.xml (original)
+++ james/jsieve/trunk/manager/jsieve/pom.xml Wed Feb 22 13:35:19 2012
@@ -22,7 +22,7 @@
parent
 groupIdorg.apache.james/groupId
artifactIdapache-jsieve-manager/artifactId
-version0.5/version
+version0.6-SNAPSHOT/version
relativePath../relativePath
/parent
 

Modified: james/jsieve/trunk/manager/mailet/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/manager/mailet/pom.xml?rev=1292284r1=1292283r2=1292284view=diff
==
--- james/jsieve/trunk/manager/mailet/pom.xml (original)
+++ james/jsieve/trunk/manager/mailet/pom.xml Wed Feb 22 13:35:19 2012
@@ -21,7 +21,7 @@
parent
 groupIdorg.apache.james/groupId
artifactIdapache-jsieve-manager/artifactId
-version0.5/version
+version0.6-SNAPSHOT/version
relativePath../relativePath
/parent
 

Modified: james/jsieve/trunk/manager/mock/pom.xml

[jira] [Created] (MAILBOX-168) Order the hbase mailbox test to make them success

2012-02-22 Thread Eric Charles (Created) (JIRA)
Order the hbase mailbox test to make them success
-

 Key: MAILBOX-168
 URL: https://issues.apache.org/jira/browse/MAILBOX-168
 Project: James Mailbox
  Issue Type: Bug
Affects Versions: 0.4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.4


Atm, some hbase test fail 
(https://builds.apache.org/view/G-L/view/James/job/mailbox/846/)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1292362 - in /james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail: HBaseMailboxMapperTest.java HBaseMessageMapperTest.java

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 16:03:53 2012
New Revision: 1292362

URL: http://svn.apache.org/viewvc?rev=1292362view=rev
Log:
Order the hbase mailbox test to make them success (MAILBOX-168)

Modified:

james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail/HBaseMailboxMapperTest.java

james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail/HBaseMessageMapperTest.java

Modified: 
james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail/HBaseMailboxMapperTest.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail/HBaseMailboxMapperTest.java?rev=1292362r1=1292361r2=1292362view=diff
==
--- 
james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail/HBaseMailboxMapperTest.java
 (original)
+++ 
james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/mail/HBaseMailboxMapperTest.java
 Wed Feb 22 16:03:53 2012
@@ -15,6 +15,17 @@
  */
 package org.apache.james.mailbox.hbase.mail;
 
+import static org.apache.james.mailbox.hbase.HBaseNames.MAILBOXES_TABLE;
+import static org.apache.james.mailbox.hbase.HBaseNames.MESSAGES_TABLE;
+import static org.apache.james.mailbox.hbase.HBaseNames.MESSAGE_DATA_BODY;
+import static org.apache.james.mailbox.hbase.HBaseUtils.mailboxFromResult;
+import static org.apache.james.mailbox.hbase.HBaseUtils.mailboxRowKey;
+import static org.junit.Assert.assertArrayEquals;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
@@ -22,6 +33,7 @@ import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
 import java.util.UUID;
+
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.client.Get;
 import org.apache.hadoop.hbase.client.HTable;
@@ -30,17 +42,12 @@ import org.apache.hadoop.hbase.util.Byte
 import org.apache.james.mailbox.exception.MailboxException;
 import org.apache.james.mailbox.exception.MailboxNotFoundException;
 import org.apache.james.mailbox.hbase.HBaseClusterSingleton;
-import static org.apache.james.mailbox.hbase.HBaseNames.*;
-import static org.apache.james.mailbox.hbase.HBaseUtils.mailboxFromResult;
-import static org.apache.james.mailbox.hbase.HBaseUtils.mailboxRowKey;
 import org.apache.james.mailbox.hbase.io.ChunkInputStream;
 import org.apache.james.mailbox.hbase.io.ChunkOutputStream;
 import org.apache.james.mailbox.hbase.mail.model.HBaseMailbox;
 import org.apache.james.mailbox.model.MailboxPath;
 import org.apache.james.mailbox.store.mail.model.Mailbox;
-import static org.junit.Assert.*;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -75,42 +82,28 @@ public class HBaseMailboxMapperTest {
 }
 }
 
-private static void fillMailboxList() {
-mailboxList = new ArrayListHBaseMailbox();
-pathsList = new ArrayListMailboxPath();
-MailboxPath path;
-String name;
-for (int i = 0; i  NAMESPACES; i++) {
-for (int j = 0; j  USERS; j++) {
-for (int k = 0; k  MAILBOXES; k++) {
-if (j == 3) {
-name = test + SEPARATOR + subbox + k;
-} else {
-name = mailbox + k;
-}
-path = new MailboxPath(namespace + i, user + j, name);
-pathsList.add(path);
-mailboxList.add(new HBaseMailbox(path, 13));
-}
-}
-}
-LOG.info(Created test case with {} mailboxes and {} paths,
-mailboxList.size(), pathsList.size());
-}
-
-private void addMailbox(HBaseMailbox mailbox) throws MailboxException {
-mailboxList.add(mailbox);
-pathsList.add(new MailboxPath(mailbox.getNamespace(), 
mailbox.getUser(), mailbox.getName()));
-mapper = new HBaseMailboxMapper(conf);
-mapper.save(mailbox);
-LOG.info(Added new mailbox: {} paths: {}, mailboxList.size(), 
pathsList.size());
+/**
+ * Test an ordered scenario with list, delete... methods.
+ * 
+ * @throws Exception
+ */
+@Test
+public void testMailboxMapperScenario() throws Exception {
+testFindMailboxByPath();
+testFindMailboxWithPathLike();
+testList();
+testSave();
+testDelete();
+testHasChildren();
+//testDeleteAllMemberships(); // Ignore this test
+testDeleteAllMailboxes();
+testChunkStream();
 }
 
 /**
  * Test of findMailboxByPath method, of class HBaseMailboxMapper.
  */
-@Test
-public void 

svn commit: r1292364 - /james/mailbox/trunk/hbase/pom.xml

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 16:05:14 2012
New Revision: 1292364

URL: http://svn.apache.org/viewvc?rev=1292364view=rev
Log:
Remove some hbase exclusions from pom to be able to run tests from eclipse 
(MAILBOX-169)

Modified:
james/mailbox/trunk/hbase/pom.xml

Modified: james/mailbox/trunk/hbase/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/hbase/pom.xml?rev=1292364r1=1292363r2=1292364view=diff
==
--- james/mailbox/trunk/hbase/pom.xml (original)
+++ james/mailbox/trunk/hbase/pom.xml Wed Feb 22 16:05:14 2012
@@ -100,18 +100,6 @@
 groupIdorg.jruby/groupId
 artifactIdjruby-complete/artifactId
 /exclusion
-exclusion
-groupIdorg.slf4j/groupId
-artifactIdslf4j-log4j12/artifactId
-/exclusion
-exclusion
-groupIdlog4j/groupId
-artifactIdlog4j/artifactId
-/exclusion
-exclusion
-groupIdcommons-logging/groupId
-artifactIdcommons-logging/artifactId
-/exclusion
 /exclusions
 /dependency
 dependency



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



[jira] [Created] (MAILBOX-169) Remove some hbase exclusions from pom to be able to run tests from eclipse

2012-02-22 Thread Eric Charles (Created) (JIRA)
Remove some hbase exclusions from pom to be able to run tests from eclipse
--

 Key: MAILBOX-169
 URL: https://issues.apache.org/jira/browse/MAILBOX-169
 Project: James Mailbox
  Issue Type: Bug
Affects Versions: 0.4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.4


we have some classdefnotfound exception when running hbase tests from eclipse.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Resolved] (MAILBOX-168) Order the hbase mailbox test to make them success

2012-02-22 Thread Eric Charles (Resolved) (JIRA)

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

Eric Charles resolved MAILBOX-168.
--

Resolution: Fixed

Done

 Order the hbase mailbox test to make them success
 -

 Key: MAILBOX-168
 URL: https://issues.apache.org/jira/browse/MAILBOX-168
 Project: James Mailbox
  Issue Type: Bug
Affects Versions: 0.4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.4


 Atm, some hbase test fail 
 (https://builds.apache.org/view/G-L/view/James/job/mailbox/846/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Resolved] (MAILBOX-169) Remove some hbase exclusions from pom to be able to run tests from eclipse

2012-02-22 Thread Eric Charles (Resolved) (JIRA)

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

Eric Charles resolved MAILBOX-169.
--

Resolution: Fixed

Done

 Remove some hbase exclusions from pom to be able to run tests from eclipse
 --

 Key: MAILBOX-169
 URL: https://issues.apache.org/jira/browse/MAILBOX-169
 Project: James Mailbox
  Issue Type: Bug
Affects Versions: 0.4
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.4


 we have some classdefnotfound exception when running hbase tests from eclipse.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-45) [gsoc2011] Design and Implement Mailbox with NoSQL Storage

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-45:


Fix Version/s: (was: 0.4)

 [gsoc2011] Design and Implement Mailbox with NoSQL Storage
 --

 Key: MAILBOX-45
 URL: https://issues.apache.org/jira/browse/MAILBOX-45
 Project: James Mailbox
  Issue Type: New Feature
Reporter: Eric Charles
Assignee: Norman Maurer
  Labels: gsoc2011

 Context: The mailbox subproject (http://james.apache.org/mailbox/) supports 
 maildir, SQL database (via JPA) and Java Content Repository (JCR) as 
 technology for mail storage. This flexibility is achieved thanks to a API 
 design that abstracts mail storage from the mail protocols.
 Task: NoSQL storage (for example CouchDB or Cassandra) has great potential 
 for mail storage. Design and develop an suitable RESTful integration API and 
 implementations for as many NoSQL targets as possible in the time.
 Mentor: rdonkin at apache dot org
 Complexity: easy 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Closed] (MAILBOX-13) jpa mapping files

2012-02-22 Thread Eric Charles (Closed) (JIRA)

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

Eric Charles closed MAILBOX-13.
---

Resolution: Fixed
  Assignee: Eric Charles

 jpa mapping files
 -

 Key: MAILBOX-13
 URL: https://issues.apache.org/jira/browse/MAILBOX-13
 Project: James Mailbox
  Issue Type: New Feature
  Components: jpa mailbox
 Environment: JPA
Reporter: Mohammad Naghavi
Assignee: Eric Charles
 Fix For: 0.4

 Attachments: jpa_metadata.patch


 Trying to move all hard coded JPA java annotations to mapping files allowing 
 the user configure the DB Schema structure without recompiling the whole code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-3) Add AccessManager implementation for using with JCR Mailbox

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-3:
---

Fix Version/s: (was: 0.4)

 Add AccessManager implementation for using with JCR Mailbox
 ---

 Key: MAILBOX-3
 URL: https://issues.apache.org/jira/browse/MAILBOX-3
 Project: James Mailbox
  Issue Type: Task
  Components: jcr mailbox
Reporter: Norman Maurer

 It would be nice if we could write a custom AccessManager to use for 
 Mailboxes. This would help to expose the right Nodes to the users and deny to 
 others.
 See:
 http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/core/security/AccessManager.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-68) Support user flags (keywords)

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-68:


Fix Version/s: (was: 0.4)

 Support user flags (keywords)
 -

 Key: MAILBOX-68
 URL: https://issues.apache.org/jira/browse/MAILBOX-68
 Project: James Mailbox
  Issue Type: New Feature
  Components: maildir mailbox
Reporter: Norman Maurer
Assignee: Norman Maurer

 At support for user flags in maildir implementation.
 See the following link for some ideas:
 http://wiki.dovecot.org/MailboxFormat/Maildir#IMAP_keywords

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1292367 - in /james/mailbox/trunk: api/pom.xml hbase/pom.xml jcr/pom.xml jpa/pom.xml lucene/pom.xml maildir/pom.xml memory/pom.xml pom.xml spring/pom.xml store/pom.xml tool/pom.xml

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 16:11:54 2012
New Revision: 1292367

URL: http://svn.apache.org/viewvc?rev=1292367view=rev
Log:
[maven-release-plugin] prepare release apache-james-mailbox-0.4

Modified:
james/mailbox/trunk/api/pom.xml
james/mailbox/trunk/hbase/pom.xml
james/mailbox/trunk/jcr/pom.xml
james/mailbox/trunk/jpa/pom.xml
james/mailbox/trunk/lucene/pom.xml
james/mailbox/trunk/maildir/pom.xml
james/mailbox/trunk/memory/pom.xml
james/mailbox/trunk/pom.xml
james/mailbox/trunk/spring/pom.xml
james/mailbox/trunk/store/pom.xml
james/mailbox/trunk/tool/pom.xml

Modified: james/mailbox/trunk/api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/api/pom.xml?rev=1292367r1=1292366r2=1292367view=diff
==
--- james/mailbox/trunk/api/pom.xml (original)
+++ james/mailbox/trunk/api/pom.xml Wed Feb 22 16:11:54 2012
@@ -17,16 +17,13 @@
 specific language governing permissions and limitations
 under the License.
 --
-project
-xmlns=http://maven.apache.org/POM/4.0.0;
-xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
-xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
+project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4-SNAPSHOT/version
+version0.4/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/hbase/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/hbase/pom.xml?rev=1292367r1=1292366r2=1292367view=diff
==
--- james/mailbox/trunk/hbase/pom.xml (original)
+++ james/mailbox/trunk/hbase/pom.xml Wed Feb 22 16:11:54 2012
@@ -17,16 +17,13 @@
 specific language governing permissions and limitations
 under the License.
 --
-project
-xmlns=http://maven.apache.org/POM/4.0.0;
-xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
-xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
+project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4-SNAPSHOT/version
+version0.4/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/jcr/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/jcr/pom.xml?rev=1292367r1=1292366r2=1292367view=diff
==
--- james/mailbox/trunk/jcr/pom.xml (original)
+++ james/mailbox/trunk/jcr/pom.xml Wed Feb 22 16:11:54 2012
@@ -17,16 +17,13 @@
 specific language governing permissions and limitations
 under the License.
 --
-project
-xmlns=http://maven.apache.org/POM/4.0.0;
-xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
-xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
+project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4-SNAPSHOT/version
+version0.4/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/jpa/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/pom.xml?rev=1292367r1=1292366r2=1292367view=diff
==
--- james/mailbox/trunk/jpa/pom.xml (original)
+++ james/mailbox/trunk/jpa/pom.xml Wed Feb 22 16:11:54 2012
@@ -17,16 +17,13 @@
 specific language governing permissions and limitations
 under the License.
 --
-project
-xmlns=http://maven.apache.org/POM/4.0.0;
-xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
-xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
+project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 
 parent
 artifactIdapache-james-mailbox/artifactId
 

[jira] [Updated] (MAILBOX-146) StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange handling

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-146:
-

Fix Version/s: (was: 0.4)

 StoreMessageManager/StoreMailboxManager should allow to optimize MessageRange 
 handling
 --

 Key: MAILBOX-146
 URL: https://issues.apache.org/jira/browse/MAILBOX-146
 Project: James Mailbox
  Issue Type: Improvement
  Components: store
Affects Versions: 0.3
Reporter: Norman Maurer
Assignee: Norman Maurer

 At the moment we just use the passed in MessageRange and then act on it. This 
 works in most cases but sometimes its not good enough. As for example in 
 copyMessages... For the copy operation its necessary to lock the 
 targetmailbox while do the copy. This can lead to very long locking times 
 which is bad in most cases. It would be better to let the implementation to 
 dedicite how to handle it. For example it maybe better to split it in more 
 then one range and just lock the targetmailbox for smaller parts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1292369 - /james/mailbox/tags/apache-james-mailbox-0.4/

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 16:12:32 2012
New Revision: 1292369

URL: http://svn.apache.org/viewvc?rev=1292369view=rev
Log:
[maven-release-plugin]  copy for tag apache-james-mailbox-0.4

Added:
james/mailbox/tags/apache-james-mailbox-0.4/
  - copied from r1292368, james/mailbox/trunk/


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



svn commit: r1292372 - in /james/mailbox/trunk: api/pom.xml hbase/pom.xml jcr/pom.xml jpa/pom.xml lucene/pom.xml maildir/pom.xml memory/pom.xml pom.xml spring/pom.xml store/pom.xml tool/pom.xml

2012-02-22 Thread eric
Author: eric
Date: Wed Feb 22 16:12:56 2012
New Revision: 1292372

URL: http://svn.apache.org/viewvc?rev=1292372view=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
james/mailbox/trunk/api/pom.xml
james/mailbox/trunk/hbase/pom.xml
james/mailbox/trunk/jcr/pom.xml
james/mailbox/trunk/jpa/pom.xml
james/mailbox/trunk/lucene/pom.xml
james/mailbox/trunk/maildir/pom.xml
james/mailbox/trunk/memory/pom.xml
james/mailbox/trunk/pom.xml
james/mailbox/trunk/spring/pom.xml
james/mailbox/trunk/store/pom.xml
james/mailbox/trunk/tool/pom.xml

Modified: james/mailbox/trunk/api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/api/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/api/pom.xml (original)
+++ james/mailbox/trunk/api/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/hbase/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/hbase/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/hbase/pom.xml (original)
+++ james/mailbox/trunk/hbase/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/jcr/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/jcr/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/jcr/pom.xml (original)
+++ james/mailbox/trunk/jcr/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/jpa/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/jpa/pom.xml (original)
+++ james/mailbox/trunk/jpa/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/lucene/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/lucene/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/lucene/pom.xml (original)
+++ james/mailbox/trunk/lucene/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/maildir/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/maildir/pom.xml (original)
+++ james/mailbox/trunk/maildir/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/memory/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/memory/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- james/mailbox/trunk/memory/pom.xml (original)
+++ james/mailbox/trunk/memory/pom.xml Wed Feb 22 16:12:56 2012
@@ -23,7 +23,7 @@
 parent
 artifactIdapache-james-mailbox/artifactId
 groupIdorg.apache.james/groupId
-version0.4/version
+version0.5-SNAPSHOT/version
 relativePath../pom.xml/relativePath
 /parent
 

Modified: james/mailbox/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/pom.xml?rev=1292372r1=1292371r2=1292372view=diff
==
--- 

[jira] [Updated] (MAILBOX-46) Simplify Mailbox implementations wiring

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-46:


Fix Version/s: (was: 0.4)

 Simplify Mailbox implementations wiring
 ---

 Key: MAILBOX-46
 URL: https://issues.apache.org/jira/browse/MAILBOX-46
 Project: James Mailbox
  Issue Type: Improvement
  Components: api
Reporter: Eric Charles
Assignee: Norman Maurer

 From http://www.mail-archive.com/server-dev@james.apache.org/msg31051.html, 
 there is room for discussion on mailbox API.
 Stefano says:
 How do I create a maildir folder right now? I think we can't expect
 direct mailbox users if we don't provide a simpler interface for it
 (or maybe I simply haven't found it).
 Here is the code I find in a test:
 
 MaildirStore store = new MaildirStore(MAILDIR_HOME + /%domain/%user);
 MaildirMailboxSessionMapperFactory mf = new
 MaildirMailboxSessionMapperFactory(store);
 MaildirMailboxManager manager = new MaildirMailboxManager(mf, null, store);
 manager.init();
 String user = test@localhost;
 MailboxSession session = manager.createSystemSession(user, new
 SimpleLog(Test));
 manager.createMailbox(new MailboxPath(MailboxConstants.USER_NAMESPACE,
 user, Trash), session);
 -
 I find it a bit complex for an average user that is simply looking
 for a maildir library.
 At least it should be easy to reduce it a bit like this:
 ---
 MaildirMailboxManager manager = new
 MaildirMailboxManager(myfolder/%domain/%user); // internally create
 MaildirStore and MaildirMailboxSessionMapperFactory appropriately and
 maybe also init() it!
 String user = test@localhost;
 MailboxSession session = manager.createSystemSession(user); // no
 logger parameter, then use a slf4j
 manager.createMailbox(Trash, session); // this can create the
 MailboxPath using Trash as a user folder, so getting the user from
 the session and the namespace from MailboxConstants.USER_NAMESPACE.
 ---
 And maybe it should be even simpler: I try to think why I would need
 maildir and probably I don't expect to deal with sessions and users,
 but only with path and messages (but maybe I'm missing the goal of the
 mailbox library).
 If this is possible then I don't see why an user should care about spring.
 Just my 2 cents: of course you better know what's in there, so if you
 still think having spring config in mailbox then go ahead.
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-2) Replace @deprecated methods

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-2:
---

Description: @norman Is this still an issue ?

 Replace @deprecated methods
 ---

 Key: MAILBOX-2
 URL: https://issues.apache.org/jira/browse/MAILBOX-2
 Project: James Mailbox
  Issue Type: Task
  Components: jcr mailbox
Reporter: Norman Maurer
Assignee: Norman Maurer
 Fix For: 0.4


 @norman Is this still an issue ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-8) Implement database schema and data incremental migration for 3.0 release

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-8:
---

Fix Version/s: (was: 0.4)

 Implement database schema and data incremental migration for 3.0 release
 

 Key: MAILBOX-8
 URL: https://issues.apache.org/jira/browse/MAILBOX-8
 Project: James Mailbox
  Issue Type: New Feature
  Components: jpa mailbox
 Environment: all
Reporter: Eric Charles
 Attachments: jpa-migrator-2.zip, jpa-migrator-3.zip, jpa-migrator.zip


 We need a way to upgrade the database (for JPA store) whenever it is needed.
 In general, a database upgrade is needed further a JIRA that impacts the 
 database.
 This can be:
 1. On a db schema level (table, columns, fk, index,...)
 2. On data level (update some data, feed a column with relation keys,...).
 Plain SQL would be enough for the first point (not for the second one). PLSQL 
 (or similar) would be needed for the second point.
 To ease things, a java software process will developed based on the 
 existing JPA layer.
 The tool should be invoked with JIRA numbers as parameters.
 Each provided JIRA number would invoke a DB Change Command.
 As POC (Proof of Concept), we will first develop a tool that takes into 
 account.
 - https://issues.apache.org/jira/browse/IMAP-176
 - https://issues.apache.org/jira/browse/IMAP-172
 - https://issues.apache.org/jira/browse/IMAP-168
 - https://issues.apache.org/jira/browse/IMAP-165

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-12) Add a Cassandra Mailbox implementation (NoSQL)

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-12:


Fix Version/s: (was: 0.4)

 Add a Cassandra Mailbox implementation (NoSQL)
 --

 Key: MAILBOX-12
 URL: https://issues.apache.org/jira/browse/MAILBOX-12
 Project: James Mailbox
  Issue Type: New Feature
Reporter: Norman Maurer
Assignee: Norman Maurer

 It would be cool to have a Cassandra implementation for Mailboxes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Commented] (MAILBOX-11) MailboxQuery ignore namespace

2012-02-22 Thread Eric Charles (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13213737#comment-13213737
 ] 

Eric Charles commented on MAILBOX-11:
-

@norman is this still an issue?

 MailboxQuery ignore namespace
 -

 Key: MAILBOX-11
 URL: https://issues.apache.org/jira/browse/MAILBOX-11
 Project: James Mailbox
  Issue Type: Bug
 Environment: Linux, JDK 1.6
Reporter: François-Denis Gonthier
Assignee: Norman Maurer
 Fix For: 0.4


 MailboxQuery doesn't pay any attention to namespace of the mailbox it is 
 based on. For example, Mozilla Thunderbird might to mailbox search with 
 expressions like #private.%. That expression is passed directly to the 
 isExpressionMatch method of the MailboxQuery class. This has obviously 
 incorrect results.
 Arguments to the isExpressionMatch method should be parsed to separate the 
 namespace from the mailbox name or isExpressionMatch should do the parsing 
 itself. In that case the argument name should be renamed to something like 
 'searchExpression' instead of 'name' which doesn't convey the right meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (MAILBOX-103) Design and implement Distributed UID generation

2012-02-22 Thread Eric Charles (Updated) (JIRA)

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

Eric Charles updated MAILBOX-103:
-

Fix Version/s: (was: 0.4)

 Design and implement Distributed UID generation
 ---

 Key: MAILBOX-103
 URL: https://issues.apache.org/jira/browse/MAILBOX-103
 Project: James Mailbox
  Issue Type: New Feature
  Components: hbase
Affects Versions: 0.4
Reporter: Eric Charles
Assignee: Ioan Eugen Stan

 Context: IMAP4rev1 (RFC3501 requires that every message is identified by a 
 stable 32-bit Unique Identifier (UID) assigned in incremental sequence. This 
 is now achieved in James IMAP subproject (http://james.apache.org/imap) with 
 a UidProvider interface implemented in memory. This implementation does not 
 allow distributed working of the solution.
 Task: A DistributedUidProvider must be designed. The design can rely on a 
 distributed memory cache such as hazelcast , or any other solution (hadoop, 
 hbase, cassandra,...), and implemented.
 Mentor: eric at apache dot org
 Complexity: medium 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[ANNOUNCE] Welcome Jochen Gazda as Apache James Committer

2012-02-22 Thread Eric Charles

Hi All,

The Apache James PMC recently extended committer karma to Jochen Gazda 
and he has accepted.


Welcome aboard Gazda!
--
eric | http://about.echarles.net | @echarles

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



[VOTE] Release Apache James Mailbox 0.4

2012-02-22 Thread Eric Charles

Hi there,

In preparation of James server 3.0b4 release, we have to release Mailbox 
0.4.


You can see the list of changes on 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311221version=12316646


We don't have a source tarball, please review the src jar and the svn tag.

So please cast your VOTE:

[ ] +1 Please release
[ ] +0 No time to review
[ ] -1 Something is wrong

SVN tag:
https://svn.apache.org/repos/asf/james/mailbox/tags/apache-james-mailbox-0.4/

Staging repository:
https://repository.apache.org/content/repositories/orgapachejames-009/

Thx.
--
eric | http://about.echarles.net | @echarles

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



[jira] [Closed] (MAILBOX-101) Source distribution contains two copies of the sources

2012-02-22 Thread Eric Charles (Closed) (JIRA)

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

Eric Charles closed MAILBOX-101.


Resolution: Fixed

latest release contains only one copy. can be closed.

 Source distribution contains two copies of the sources
 --

 Key: MAILBOX-101
 URL: https://issues.apache.org/jira/browse/MAILBOX-101
 Project: James Mailbox
  Issue Type: Bug
Affects Versions: 0.3
Reporter: Norman Maurer
Assignee: Norman Maurer
 Fix For: 0.4




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[VOTE][2nd] Release Apache James jSieve 0.5

2012-02-22 Thread Eric Charles

Hi there,

This is the second attemp to release Apache James jSieve 0.5.

In preparation of James server 3.0b4 release, we have to release jSieve 0.5.
This release uses the latest mime4j 0.7.2. which makes it compatible 
with server.
The jsieve manager modules are now part of this release as they doen't 
depend anymore on server.


You can see the list of changes on 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10412version=12314991


So please cast your VOTE:

[ ] +1 Please release
[ ] +0 No time to review
[ ] -1 Something is wrong

SVN tag:
https://svn.apache.org/repos/asf/james/jsieve/tags/apache-jsieve-0.5/

Staging repository:
https://repository.apache.org/content/repositories/orgapachejames-006/

Source tarball:
https://repository.apache.org/content/repositories/orgapachejames-006/org/apache/james/apache-jsieve-all/0.5/apache-jsieve-all-0.5-src.tar.gz

Binary tarball:
https://repository.apache.org/content/repositories/orgapachejames-006/org/apache/james/apache-jsieve-all/0.5/apache-jsieve-all-0.5-bin.tar.gz

Thx to all jSieve developers, contributors, and also to Stefano for the 
help in this release preparation.

--
eric | http://about.echarles.net | @echarles

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



[jira] [Created] (JAMES-1381) An incomplete fix for the resource leak bugs in NNTPHandler.java

2012-02-22 Thread Guangtai Liang (Created) (JIRA)
An incomplete fix for the resource leak bugs in NNTPHandler.java


 Key: JAMES-1381
 URL: https://issues.apache.org/jira/browse/JAMES-1381
 Project: JAMES Server
  Issue Type: Bug
  Components: NNTPServer  Repository (removed)
Affects Versions: 2.3.2, 2.3.1, 2.3.0
Reporter: Guangtai Liang
Priority: Critical


The fix revision 108172 was aimed to remove resource leak bugs on the 
BufferedReader object reader (created in line 308), the InternetPrintWriter 
object writer in the method handleConnectionof the file 
/james/server/trunk/src/java/org/apache/james/nntpserver/NNTPHandler.java (now 
moved to 
/james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java)
 , but it is incomplete.

There are some problems: 
1. when reader isn't created successfully but the temp InputStreamReader 
object is created successfully (at line 308), the temp InputStreamReader object 
will be leaked. 
2. when writer isn't created successfully but the temp BufferedWriter object 
is created successfully (at line 309), the temp BufferedWriter object will be 
leaked. 
3. when the temp BufferedWriter object isn't created successfully but the temp 
OutputStreamWriter object is created successfully (at line 309), the temp 
OutputStreamWriter object will be leaked. 

The best way to close such resource objects is putting such close operations 
for all resource 
objects in the finaly block of a try-catch-finally structure and then putting 
all other code in a try block.

The problem still exists in the head revision (the temp InputStreamReader 
object created at line 383 and the outs created at line 384 can be leaked). 
The buggy code is copied as bellows:

 public void handleConnection( Socket connection ) throws IOException {
try {
this.socket = connection;
synchronized (this) {
handlerThread = Thread.currentThread();
}
remoteIP = socket.getInetAddress().getHostAddress();
remoteHost = socket.getInetAddress().getHostName();
in = new BufferedInputStream(socket.getInputStream(), 1024);
// An ASCII encoding can be used because all transmissions other
// that those in the message body command are guaranteed
// to be ASCII
 383   reader = new BufferedReader(new InputStreamReader(in, ASCII), 
512);
 384   outs = new BufferedOutputStream(socket.getOutputStream(), 1024);
 385   writer = new InternetPrintWriter(outs, true);
} catch (Exception e) {
   ..
}

try {
  ..
} catch (Exception e) {
   ..
} finally {
 436 resetHandler();
}
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (JAMES-1382) An incomplete fix for the resource leak bugs in NNTPHandler.java

2012-02-22 Thread Guangtai Liang (Created) (JIRA)
An incomplete fix for the resource leak bugs in NNTPHandler.java


 Key: JAMES-1382
 URL: https://issues.apache.org/jira/browse/JAMES-1382
 Project: JAMES Server
  Issue Type: Bug
  Components: NNTPServer  Repository (removed)
Affects Versions: 2.3.2, 2.3.1, 2.3.0
Reporter: Guangtai Liang
Priority: Critical


The fix revision 108172 was aimed to remove resource leak bugs on the 
BufferedReader object in (created in line 192), the Socket object 
this.socket, the OutputStream object outs, and the InternetPrintWriter 
object out in the method handleConnectionof the file 
/james/server/trunk/src/java/org/apache/james/nntpserver/NNTPHandler.java (now 
moved to 
/james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java)
 , but it is incomplete.

There are some problems: 
1. when in isn't created successfully but the temp InputStreamReader object 
is created successfully (at line 193), the temp InputStreamReader object will 
be leaked. 
2. when the statements at lines 189-197 throw some exception, this.socket and 
in will be leaked. 

The best way to close such resource objects is putting such close operations 
for all resource objects in the finaly block of a try-catch-finally structure 
and then putting all other code in a try block.

The problem still exists in the head revision (the temp BufferedInputStream 
object created at line 233 and the in created at line 233 can be leaked). The 
buggy code is copied as bellows:

/**
 * @see 
org.apache.avalon.cornerstone.services.connection.ConnectionHandler#handleConnection

(Socket)
 */
public void handleConnection( Socket connection )
throws IOException {

String remoteHost = ;
String remoteIP = ;

try {
this.socket = connection;
synchronized (this) {
handlerThread = Thread.currentThread();
}
 232   // in = new BufferedReader(new 
InputStreamReader(socket.getInputStream(), ASCII), 

512);
 233   in = new CRLFTerminatedReader(new 
BufferedInputStream(socket.getInputStream(), 512), 

ASCII);
 234   remoteIP = socket.getInetAddress().getHostAddress ();
 235   remoteHost = socket.getInetAddress().getHostName ();
} catch (Exception e) {
..
}

250if (getLogger().isInfoEnabled()) {
StringBuffer logBuffer =
new StringBuffer(128)
.append(Connection from )
.append(remoteHost)
.append( ()
.append(remoteIP)
.append() );
258getLogger().info(logBuffer.toString());
}

try {
   ..
} catch (Exception e) {
   ..
} finally {
resetHandler();
}
}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (JAMES-1383) An incomplete fix for the resource leak bugs in RemoteManagerHandler.java

2012-02-22 Thread Guangtai Liang (Created) (JIRA)
An incomplete fix for the resource leak bugs in RemoteManagerHandler.java
-

 Key: JAMES-1383
 URL: https://issues.apache.org/jira/browse/JAMES-1383
 Project: JAMES Server
  Issue Type: Bug
  Components: Remote Manager
Affects Versions: 2.3.2, 2.3.1, 2.3.0
Reporter: Guangtai Liang
Priority: Critical


The fix revision 107701 was aimed to remove resource leak bugs on the 
BufferedReader object in (created in line 227), the PrintWriter object out  
in the method handleConnectionof the file 
/james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
 (now moved to 
/james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java)
 , but it is incomplete.


There are some problems: 
1. when in isn't created successfully but the temp InputStreamReader object 
is created successfully (at line 227), the temp InputStreamReader object will 
be leaked. 
2. when out isn't created successfully but the temp BufferedWriter object is 
created successfully (at line 228), the temp BufferedWriter object will be 
leaked. 
3. when the temp BufferedWriter object isn't created successfully but the temp 
OutputStreamWriter object is created successfully (at line 228), the temp 
OutputStreamWriter object will be leaked. 

The best way to close such resource objects is putting such close operations 
for all resource 
objects in the finaly block of a try-catch-finally structure and then putting 
all other code in a try block.

The problem still exists in the head revision (the temp InputStreamReader 
object created at line 257 and the temp BufferedWriter object and the temp 
OutputStreamWriter object created at line 258 can be leaked). The buggy code is 
copied as bellows:

   public void handleConnection( final Socket connection )
throws IOException {

socket = connection;
String remoteIP = socket.getInetAddress().getHostAddress();
String remoteHost = socket.getInetAddress().getHostName();

synchronized (this) {
handlerThread = Thread.currentThread();
}

try {
257in = new BufferedReader(new 
InputStreamReader(socket.getInputStream(), ASCII), 

512);
258out = new PrintWriter(new BufferedWriter(new OutputStreamWriter

(socket.getOutputStream()), 512), false);
..

} catch ( final IOException e ) {
..
} finally {
resetHandler();
}
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Updated] (JAMES-1383) An incomplete fix for the resource leak bugs in RemoteManagerHandler.java

2012-02-22 Thread Guangtai Liang (Updated) (JIRA)

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

Guangtai Liang updated JAMES-1383:
--

Description: 
The fix revision 108172 was aimed to remove resource leak bugs on the 
BufferedReader object in (created in line 227), the PrintWriter object out  
in the method handleConnectionof the file 
/james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
 (now moved to 
/james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java)
 , but it is incomplete.


There are some problems: 
1. when in isn't created successfully but the temp InputStreamReader object 
is created successfully (at line 227), the temp InputStreamReader object will 
be leaked. 
2. when out isn't created successfully but the temp BufferedWriter object is 
created successfully (at line 228), the temp BufferedWriter object will be 
leaked. 
3. when the temp BufferedWriter object isn't created successfully but the temp 
OutputStreamWriter object is created successfully (at line 228), the temp 
OutputStreamWriter object will be leaked. 

The best way to close such resource objects is putting such close operations 
for all resource 
objects in the finaly block of a try-catch-finally structure and then putting 
all other code in a try block.

The problem still exists in the head revision (the temp InputStreamReader 
object created at line 257 and the temp BufferedWriter object and the temp 
OutputStreamWriter object created at line 258 can be leaked). The buggy code is 
copied as bellows:

   public void handleConnection( final Socket connection )
throws IOException {

socket = connection;
String remoteIP = socket.getInetAddress().getHostAddress();
String remoteHost = socket.getInetAddress().getHostName();

synchronized (this) {
handlerThread = Thread.currentThread();
}

try {
257in = new BufferedReader(new 
InputStreamReader(socket.getInputStream(), ASCII), 

512);
258out = new PrintWriter(new BufferedWriter(new OutputStreamWriter

(socket.getOutputStream()), 512), false);
..

} catch ( final IOException e ) {
..
} finally {
resetHandler();
}
}

  was:
The fix revision 107701 was aimed to remove resource leak bugs on the 
BufferedReader object in (created in line 227), the PrintWriter object out  
in the method handleConnectionof the file 
/james/server/trunk/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
 (now moved to 
/james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java)
 , but it is incomplete.


There are some problems: 
1. when in isn't created successfully but the temp InputStreamReader object 
is created successfully (at line 227), the temp InputStreamReader object will 
be leaked. 
2. when out isn't created successfully but the temp BufferedWriter object is 
created successfully (at line 228), the temp BufferedWriter object will be 
leaked. 
3. when the temp BufferedWriter object isn't created successfully but the temp 
OutputStreamWriter object is created successfully (at line 228), the temp 
OutputStreamWriter object will be leaked. 

The best way to close such resource objects is putting such close operations 
for all resource 
objects in the finaly block of a try-catch-finally structure and then putting 
all other code in a try block.

The problem still exists in the head revision (the temp InputStreamReader 
object created at line 257 and the temp BufferedWriter object and the temp 
OutputStreamWriter object created at line 258 can be leaked). The buggy code is 
copied as bellows:

   public void handleConnection( final Socket connection )
throws IOException {

socket = connection;
String remoteIP = socket.getInetAddress().getHostAddress();
String remoteHost = socket.getInetAddress().getHostName();

synchronized (this) {
handlerThread = Thread.currentThread();
}

try {
257in = new BufferedReader(new 
InputStreamReader(socket.getInputStream(), ASCII), 

512);
258out = new PrintWriter(new BufferedWriter(new OutputStreamWriter

(socket.getOutputStream()), 512), false);
..

} catch ( final IOException e ) {
..
} finally {
resetHandler();
}
}


 An incomplete fix for the resource leak bugs in RemoteManagerHandler.java
 -

 Key: JAMES-1383
 URL: https://issues.apache.org/jira/browse/JAMES-1383
 Project: JAMES Server
  Issue Type: Bug
  Components: Remote Manager
Affects Versions: 2.3.0, 2.3.1, 2.3.2
Reporter: Guangtai Liang

[jira] [Created] (JAMES-1384) An incomplete fix for the resource leak bugs in SMTPHandler.java

2012-02-22 Thread Guangtai Liang (Created) (JIRA)
An incomplete fix for the resource leak bugs in SMTPHandler.java


 Key: JAMES-1384
 URL: https://issues.apache.org/jira/browse/JAMES-1384
 Project: JAMES Server
  Issue Type: Bug
  Components: SMTPServer
Affects Versions: 2.3.2, 2.3.1, 2.3.0
Reporter: Guangtai Liang
Priority: Critical


The fix revision 108172 was aimed to remove resource leak bugs on the Socket 
object this.socket (created in line 275), the BufferedInputStream object in 
(line 276), the BufferedReader object inReader (line 280), the 
InternetPrintWriter object out (line 312) in the method handleConnectionof 
the file 
/james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java.java 
(now moved to 
/james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java)
 , but it is incomplete.


There are some problems: 
1. Only socket is closed explicitly, other resource objects in, inReader, 
out are not closed .
2. when inReader isn't created successfully but the temp InputStreamReader 
object is created successfully (at line 280), the temp InputStreamReader object 
will be leaked. 
3. when the statements at lines 299-307 throw exceptions, the socket, in, 
inReader will be leaked. 
4. when out isn't created successfully but the temp BufferedWriter object is 
created successfully (at line 312), the temp BufferedWriter object will be 
leaked. 
5. when the temp BufferedWriter object isn't created successfully but the temp 
OutputStreamWriter object is created successfully (at line 312), the temp 
OutputStreamWriter object will be leaked. 

The best way to close such resource objects is putting such close operations 
for all resource 
objects in the finaly block of a try-catch-finally structure and then putting 
all other code in a try block.

The problem still exists in the head revision. The buggy code is copied as 
bellows:

public void handleConnection(Socket connection) throws IOException {

try {
275this.socket = connection;
276in = new BufferedInputStream(socket.getInputStream(), 1024);
// An ASCII encoding can be used because all transmissions other
// that those in the DATA command are guaranteed
// to be ASCII
280inReader = new BufferedReader(new InputStreamReader(in, 
ASCII), 512);
remoteIP = socket.getInetAddress().getHostAddress();
remoteHost = socket.getInetAddress().getHostName();
smtpID = random.nextInt(1024) + ;
resetState();
} catch (Exception e) {
 ..
}

 299   if (getLogger().isInfoEnabled()) {
 ..
 307   getLogger().info(infoBuffer.toString());
}

try {

312out = new InternetPrintWriter(new BufferedWriter(new 
OutputStreamWriter

(socket.getOutputStream()), 1024), false);

// Initially greet the connector
// Format is:  Sat, 24 Jan 1998 13:16:09 -0500
  ..
} catch (SocketException se) {
 ..
} catch ( InterruptedIOException iioe ) {
  ..
} catch ( IOException ioe ) {
  ..
} catch (Exception e) {
  ..
} finally {
 372   resetHandler();
}
}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/2660/

--
Started by upstream project imap-trunk-m2 build number 2479
Building remotely on ubuntu2 in workspace 
https://builds.apache.org/job/james-server-trunk/ws/
Updating http://svn.apache.org/repos/asf/james/server/trunk
U mailetcontainer-api/src/main/resources/mailetcontainer.conf
At revision 1292628
no change for http://svn.apache.org/repos/asf/james/server/trunk since the 
previous build
Parsing POMs
Failed to transfer Could not find metadata 
org.apache.james:james-project:1.9-SNAPSHOT/maven-metadata.xml in 
maven2-repository.dev.java.net (http://download.java.net/maven/2/)
Failed to transfer Could not find artifact 
org.apache.james:james-project:pom:1.9-SNAPSHOT in 
maven2-repository.dev.java.net (http://download.java.net/maven/2/)
ERROR: Failed to parse POMs
hudson.util.IOException2: remote file operation failed: 
https://builds.apache.org/job/james-server-trunk/ws/trunk at 
hudson.remoting.Channel@6edda005:ubuntu2
at hudson.FilePath.act(FilePath.java:784)
at hudson.FilePath.act(FilePath.java:770)
at 
hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:914)
at 
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:658)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
at hudson.model.Run.run(Run.java:1409)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: hudson.remoting.ProxyException: 
hudson.maven.MavenModuleSetBuild$MavenExecutionException: 
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact 
org.apache.james:james-project:pom:1.9-SNAPSHOT in 
maven2-repository.dev.java.net (http://download.java.net/maven/2/) and 
'parent.relativePath' points at no local POM @ line 29, column 13

at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1274)
at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1049)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2099)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: hudson.remoting.ProxyException: 
org.apache.maven.project.ProjectBuildingException: Some problems were 
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact 
org.apache.james:james-project:pom:1.9-SNAPSHOT in 
maven2-repository.dev.java.net (http://download.java.net/maven/2/) and 
'parent.relativePath' points at no local POM @ line 29, column 13

at 
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363)
at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361)
at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331)
at 
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1224)
... 11 more


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



Jenkins build became unstable: mailbox-integration-tests #718

2012-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/mailbox-integration-tests/718/



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



Re: [ANNOUNCE] Welcome Jochen Gazda as Apache James Committer

2012-02-22 Thread Ioan Eugen Stan

Pe 22.02.2012 20:39, Eric Charles a scris:

Hi All,

The Apache James PMC recently extended committer karma to Jochen Gazda
and he has accepted.

Welcome aboard Gazda!


Congrats Gazda !
--
Ioan Eugen Stan
http://ieugen.blogspot.com

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