Re: Missing git repositories

2015-07-09 Thread Eric Charles

Thx for the work Matthieu and team.

To get the repo, you should open a INFRA ticket on 
https://issues.apache.org/jira/browse/INFRA


On 2015-07-09 17:52, Matthieu Baechler wrote:

Hi,

Now that Benoit Tellier is Commiter on James, we (Antoine, Benoit and 
me) managed to merge most of our work back into apache repositories.


We are working toward using github for our developments to add 
transparency to our process and have others people join our code reviews.


We are doing the switch right now but we discovered that there's two 
repositories missing from git.apache.org : james-mpt and james-project.


It bothers us as we have to manually push our modification into 
svn.apache.org _and_ our github repositories.


Is someone able to create those repositories on git.apache.org ?

Thanks for your help.



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



Time for a Mailbox release?

2015-08-02 Thread Eric Charles

Hi there, How does the mailbox project stand?

Is it ready/stable enough to cut a release?

--
Eric Charles http://datalayer.io

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



Re: Rewrite table specification

2015-08-13 Thread Eric Charles

What is the impact on the existing rewrite implementations?

On 2015-08-05 11:10, Antoine DUPRAT wrote:

Hi all,

As explained in the issue JAMES-1594
<https://issues.apache.org/jira/browse/JAMES-1594>, we would like to
write the specification on rewrite table.
The existing implementations are not all equivalent, and so we introduce
issues related:

  * JAMES-1595 <https://issues.apache.org/jira/browse/JAMES-1595>
  * JAMES-1596 <https://issues.apache.org/jira/browse/JAMES-1596>
  * JAMES-1597 <https://issues.apache.org/jira/browse/JAMES-1597>
  * JAMES-1598 <https://issues.apache.org/jira/browse/JAMES-1598>
  * JAMES-1599 <https://issues.apache.org/jira/browse/JAMES-1599>

We are currently implementing the Cassandra backend related to this
feature,
and so we would like to improve the behaviour of it.


Before sending the pull request with full implementation of the
specification,
we would like to have some feedback from the community.

Attached to this mail, the specification written in Gherkin, full code
available at
https://github.com/aduprat/james/tree/Issue-9
commits list:

  * 3230ac2e836c28673dd22646a0da8f4af60a9c41 - Antoine Duprat Issue-9
add tests on recursive mappings
  * 742e8bbe6aa21a3925310ab7847c8750707a5487 - Antoine Duprat Issue-9
add tests on alias mappings
  * c4c52758f6b7f7ea756b52b1936c92efaf39a236 - Antoine Duprat Issue-9
add tests on wildcard address mappings
  * 2cadf4503573264752957481567a59d2a8669e39 - Antoine Duprat Issue-9
add tests on error mappings
  * a47e9e64cd15c348df7559b1f7e88aa8e4e25108 - Antoine Duprat Issue-9
add tests on address mappings
  * cd99601bf29279441976b75b3d58f80ffbd029af - Antoine Duprat Issue-9
add tests on regexp mappings
  * 1e4fb25027030b7234d914708de6b18cfdb5e6dc - Antoine Duprat Issue-9
First test on empty mapping
  * 9c98e06a95ceffd1ae4d282ca164e49cff698005 - Antoine Duprat Issue-9
Introduce Cucumber tests on rewrite tables on each backend

Thanks and regards,

--
Antoine Duprat
Développeur LGS/OBM/R&D

--

GROUPE LINAGORA
74-80 rue Roque de Fillol
92800 Puteaux

+33 (0)8 10 25 12 51
+33 (0)6 45 63 27 17
adup...@linagora.com

--

La présente transmission contient des informations confidentielles
appartenant à Linagora, exclusivement destinées au(x) destinataire(s)
identifié(s) ci-dessus. Si vous n'en faites pas partie, toute
reproduction, distribution ou divulgation de tout ou partie des
informations de cette transmission, ou toute action effectuée sur la
base de celles-ci vous sont formellement interdites.
Si vous avez reçu cette transmission par erreur, nous vous remercions de
nous en avertir et de la détruire de votre système d'information.

The present transmission contains privileged and confidential
information belonging to Linagora, exclusively intended for the
recipient(s) thereabove identified. If you are not one of these
aforementioned recipients, any reproduction, distribution, disclosure of
said information in whole or in part, as well as any action undertaken
on the basis of said information are strictly prohbited. If you received
the present transmission by mistake, please inform us and destroy it
from your messenging and information systems.




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



--
Eric Charles http://datalayer.io

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



[VOTE] Release Apache James Server 2.3.2.1

2015-08-29 Thread Eric Charles

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on
http://people.apache.org/~eric/james-2.3.2.1/

Please review and cast your VOTE:

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

Thx, Eric

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



Re: [VOTE] Release Apache James Server 2.3.2.1

2015-08-30 Thread Eric Charles

[X] +1 Please release

On 2015-08-29 09:38, Eric Charles wrote:

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on
http://people.apache.org/~eric/james-2.3.2.1/

Please review and cast your VOTE:

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

Thx, Eric

-
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: AW: [VOTE] Release Apache James Server 2.3.2.1

2015-09-03 Thread Eric Charles

Let's still wait 3 more days to collect any more votes.


On 2015-08-31 10:19, Bernd Waibel wrote:

+1 Please release

Not relevant for us, but I vote to release as it is important to implement it 
as defined in RFC.

  - Bernd

-Ursprüngliche Nachricht-
Von: Eric Charles [mailto:e...@apache.org]
Gesendet: Samstag, 29. August 2015 09:39
An: James Developers List 
Betreff: [VOTE] Release Apache James Server 2.3.2.1

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on 
http://people.apache.org/~eric/james-2.3.2.1/

Please review and cast your VOTE:

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

Thx, Eric

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


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




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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles


On 2015-08-28 20:40, Stephen Brewin wrote:

Hi Vincenzo and Ioan

While Mattiheu's proposal does mention switching to GIT and I agree that
GIT is superior to SVN and I support this, the most important part is
the restructuring of our projects.



James structure should be independent of any versioning system (git, 
svn...).


But yes, git has more features than svn, typical git project are managed 
in a single repository.



As I have explained in an earlier post the proposed change abandons the
façade that components, such as mailbox and protocols, are independent
of James server. My view is that the restructuring of our projects would
be beneficial. What are yours?

The proposed restructuring should not be confabulated with a switch to
GIT as it is achievable with SVN. A switch to GIT should be dealt with
as a separate issue.



Any migration to git is orthogonal to the restructure.
The restructure may ease the migration.


Cheers
--Steve

On 28/08/2015 09:08, Vincenzo Gianferrari Pini wrote:

Hi all,

sorry for not having been active at all in the last period.

Anyway, I agree with Ioan that using GIT is *much* more productive than
using SVN, so I cast here my +1.

Regards,
Vincenzo

Il giorno lun 24 ago 2015 alle ore 21:51 Ioan Eugen Stan <
stan.ieu...@gmail.com> ha scritto:


Hi,

Yes, the work flow is not the best with SVN. There is an option to
migrate James to git hosting and personally I think it will be a good
thing.

In order to make this a reality we have to raise a vote and raise a JIRA
issue to Apache Infra. The vote has to run for 72h.

You have my +1.

p.s. One thing to have in mind is that we need to we need to take care
of the site publishing also. But it's doable.

Regards,

--

*Ing. Vincenzo Gianferrari Pini*
Chairman & CTO - GoCloud
Sede legale: Via Larga 15, 20122 Milano (MI)
Sede op. ed amm.: Via Stefanardo da Vimercate 28, 20128 Milano (MI)
Cel. +39-3939837493
tel: +39-02-87250672 (dir.)
tel: +39-02-25514300 (cent.)
fax: +39-02-25514302

https://google.com/+VincenzoGianferrariPiniGoCloud
https://www.linkedin.com/in/vgianferrari
http://www.gocloud.eu
​http://www.mapadore.com​






-
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: Proposal about James modules merge

2015-09-03 Thread Eric Charles

On 2015-08-27 11:11, Stephen Brewin wrote:

Hi

As I recall, the intent of having separate projects for many of the
components developed under the James umbrella was to satisfy the
requirement that they should be independent of James Server. While this
remains a requirement, separate repositories are needed for each project
to allow separate release versions and schedules. It also influences our
maven module layout and how dependencies might be better managed.



I can not talk about the drivers for separate projects, but I understand 
those projects as a way to be able to use them without the full james 
server. It is also a way to force developers to think in terms of API 
contracts between those projects.



Before proceeding with a discussion of how to simplify the development
workflow, we need to decide if the original requirement still holds.
Prospective solutions will be quite different depending on this answer.

Cheers
--Steve

-
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: Proposal about James modules merge

2015-09-03 Thread Eric Charles
e, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



--
Eric Charles http://datalayer.io

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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles



On 2015-09-03 11:04, Matthieu Baechler wrote:

Hi Eric,

On 03/09/2015 10:16, Eric Charles wrote:

I like Matthieu proposal (merge without mime4...), but this will open
the door to more refactoring that would maybe go against the initial
requirement of being able to embed some mailbox without the full server.


Of course, as the mailbox API will probably change more often, it will
break potential mailbox-api direct users. It leads to two questions :
  - is there such users ?
  - do we expect alpha/beta software to be API stable ?

I really like the idea of merging things until 3.0 release happens then
decide if we split back or not.



If we merge, we should be sure this is the right thing to do before and 
after 3.0.


Why would we split again after 3.0?


Maybe we should write to guidelines we can refer when working in that
single repository, otherwise we will have endless discussions that don't
occur for now simply because code live in separate projects.


I think maven dependencies capture the intent of module responsibility
very well. What would you want the guidelines to contain ? API stability
rules ? Anything else ?




Classes, Packages, Maven submodules and repositories all serve IMHO 
segregation of responsibility and API.


For now, we have hard barrier that prevent someone to break this.

I was thinking more about a documented diagram such as the one I started 
on http://james.apache.org/server/3/dev.html to show the modules 
interactions and boundaries.


A common understanding of such a representation will ease later discussion.

API stability is another concern to be addressed once we have the 
architecture documented.


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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles



On 2015-09-01 14:29, Benoit Tellier wrote:

(snip...)


  - Finally, there is the issue that started this thread. There might be
duplication between mailbox code and james-server-data-* one. In the
Cassandra example, we developed tools for creating tables, index, custom
types... That we want to use in both the cassandra-mailbox and
james-server-data-cassandra. We don't want to duplicate it, we don't
want dependencies between both projects. The only solution with
separated projects is to introduce an other separated project
introducing these tools ( what we started to develop ). This is not a
separated case : We can have uses of messages queue in several places :
mailqueue, mailbox event system, ... .



The mailbox-* serve the "Mailbox" persistence.
The james-server-data-* serve the "Mail Repository Store" persistence.

This is (not enough) explained on 
http://james.apache.org/server/3/feature-persistence.html


One idea for later (which we discussed some time ago) would be to 
migrate the james-server-data-* used for mails to the mailbox. The 
remaining persistence used for users/rrt/domains/... still need their 
own persistence.


To allow James 2.x migration to James 3.0, we need to keep those 
james-server-data-* as such.


Later, some kind of common infrastructure (persistence, queue,...) can 
come to life and serve other modules.





Merging modules together (mailbox, james, protocols and mpt for me )
solves all these issue elegantly and makes it easier to contribute to
James.

Le 01/09/2015 11:29, Stephen Brewin a écrit :

On 01/09/2015 08:18, Matthieu Baechler wrote:

Thank you for your answer Stephen. It looks like we agree one this
proposal.

Can I take your answer for a +1 ?

+1 for restructuring

We should discuss transitioning to GIT separately

--Steve

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



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



--
Eric Charles http://datalayer.io

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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles



On 2015-09-03 15:13, Matthieu Baechler wrote:


On 03/09/2015 11:48, Eric Charles wrote:



On 2015-09-03 11:04, Matthieu Baechler wrote:

Hi Eric,

On 03/09/2015 10:16, Eric Charles wrote:

I like Matthieu proposal (merge without mime4...), but this will open
the door to more refactoring that would maybe go against the initial
requirement of being able to embed some mailbox without the full
server.


Of course, as the mailbox API will probably change more often, it will
break potential mailbox-api direct users. It leads to two questions :
  - is there such users ?
  - do we expect alpha/beta software to be API stable ?

I really like the idea of merging things until 3.0 release happens then
decide if we split back or not.



If we merge, we should be sure this is the right thing to do before and
after 3.0.

Why would we split again after 3.0?


Because maybe when you have a 3.0 release, the project goal can change
from "releasing a great mail server" to "trying to grow a contributor
community" or anything else.

Stefano first talk about this idea:

"And maybe they could be merged until we get to a more stable solution,
and then splitted again once they are stable enough."

I don't see anything wrong in using the right process for a given goal.




Thx for the clarification.


Maybe we should write to guidelines we can refer when working in that
single repository, otherwise we will have endless discussions that
don't
occur for now simply because code live in separate projects.


I think maven dependencies capture the intent of module responsibility
very well. What would you want the guidelines to contain ? API stability
rules ? Anything else ?




Classes, Packages, Maven submodules and repositories all serve IMHO
segregation of responsibility and API.

For now, we have hard barrier that prevent someone to break this.


I don't see anything we would loose once the repositories are merged.
What prevent any commiter to add spring into data-api today ? Or to
introduce a cyclic dependency ?

Maybe I don't understand what you mean by "hard barrier", do you have
some examples ?



I will be (a bit) easier to refactor in a wrong way when everything will 
be in the same repository. But it is true that it is already possible to 
take a wrong road with the current structure.



I was thinking more about a documented diagram such as the one I started
on http://james.apache.org/server/3/dev.html to show the modules
interactions and boundaries.

A common understanding of such a representation will ease later
discussion.


Actually, I don't see how the merge impact this diagram. We can
definitively improve it, if it's what you mean, but is it really related
to the merge ?



It does not and the documentation should not be a requirement to merge.

+1 on the principle of your merge proposal.

On the details, I would rename 'james' by 'server', and 'backend' with 
something else ('persistence', 'common', 'util'...?, it depends what you 
anticipate to come into)



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



Re: AW: [VOTE] Release Apache James Server 2.3.2.1

2015-09-07 Thread Eric Charles

Hi,

The VOTE for Apache James Server 2.3.2.1 passed. Here is the result:

+1 Eric (*), Steve (*), Manolo (*), Felix (*), Vincenzo (*), Bernd, Emma
+0
-1

(*) Binding vote

I will push the release to the mirrors and send the announce.

Thx to all,

Eric


On 2015-09-03 14:56, Emma Sesmero wrote:

[X] +1 Please release

Thanks for your work.

El jue., 3 sept. 2015 a las 10:05, Eric Charles ()
escribió:


Let's still wait 3 more days to collect any more votes.


On 2015-08-31 10:19, Bernd Waibel wrote:

+1 Please release

Not relevant for us, but I vote to release as it is important to

implement it as defined in RFC.


   - Bernd

-Ursprüngliche Nachricht-
Von: Eric Charles [mailto:e...@apache.org]
Gesendet: Samstag, 29. August 2015 09:39
An: James Developers List 
Betreff: [VOTE] Release Apache James Server 2.3.2.1

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on

http://people.apache.org/~eric/james-2.3.2.1/


Please review and cast your VOTE:

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

Thx, Eric

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


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




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






--
Eric Charles http://datalayer.io

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



Re: Experiments with repositories merging

2015-09-07 Thread Eric Charles


On 2015-09-07 14:53, Matthieu Baechler wrote:

Hi,

Following my proposal about James modules merge, I'm looking at how
exactly this merge can be done.

I didn't find a good way to merge things using svn tools (in theory, it
can be done with svnadmin dump / svnadmin load but these tools are not
made for remote experiments).

I managed to get the expected layout with this workflow :

1/ git svn clone james-project
2/ git subtree add --prefix=james https://github.com/apache/james.git trunk
3/ [git subtree add all modules]
4/ git svn dcommit

The big downside is that it loses the merged modules history.

If we omit the "git svn dcommit" step, the history is kept because git
history doesn't need to be linear (it keeps both histories with the "git
subtree add" being the "merge" commit).

So there's three questions :

x Do we need to keep history of merged branches in trunk ? (my opinion
is "yes, we need that")



yes


x Does anybody know how the history could be kept while keeping svn ?



As stefano said, 'svn cp' or 'svn mv' keep the history.


x If previous answer is "Nobody", could we delay this merge and launch
the "migrate to git" debate on the mailing list ?



Let's merge in svn before moving to git.
The discussion thread to move to git can already be launched.


Cheers,




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



Re: My Telecom-SudParis end of school project on SIEVE and Manage SIEVE

2015-09-25 Thread Eric Charles

Thank you also Benoit for all the great work.
Have fun at school and see you soon here.
Eric


On 2015-09-20 12:03, Benoit Tellier wrote:

Thank you very much !

I just created tickets in the JIRA :

   JAMES-1614 -> JAMES-1620
   MPT-23
   JSIEVE-99 and JSIEVE-100

If anyone have comments, just tell me.

Benoit Tellier

Le 16/09/2015 21:38, Stephen Brewin a écrit :

Thanks Benoit

It would be good to record your goals in JIRA so we can monitor their
progress.
Enabling the storage of Sieve scripts to a chosen repository is a great
way to go.

Cheers
--Steve

On 14/09/2015 20:06, Benoit Tellier wrote:

Hi every one !

My internship at Linagora ended last Friday. I will soon go back to
school at Telecom-SudParis.

I will manage myself to try to find some time to continue to work on
James.

I proposed a end of studies' project on James. It is a four month
project for two peoples ( ~200 hours of code ), me, and Erwan
Guyomarc'h. The aim is to better integrate Sieve. It has the following
goals :

### Sieve integration

 - Make LocalDelivery mailet use SIEVE repositories instead of local
files
 - Move SieveRepositories and the like to data-* projects
 - Write generic unit tests for SieveRepositories
 - Implement a Cassandra based SIEVE repository
 - Write integration tests for implemented SIEVE features

### Manage Sieve

 - Write a netty based implementation ( using today's mailet based
parser )
 - Use MPT to write integration tests for Manage Sieve protocol.

### Additional SIEVE features

 - For now it is only plan to implement RFC 5230 : Vacation Extension



If you have any comment, remarks and the like, don't hesitate !

Cheers,

Benoit



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




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



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



--
Eric Charles http://datalayer.io

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



Apache James Server 2.3.2 security vulnerability fixed

2015-09-30 Thread Eric Charles

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected: James Server 2.3.2

Description: Apache James Server 2.3.2 has security issue that can let a 
user execute arbitrary system command for servers configured with file 
based user repositories.


Mitigation: 2.3.2 users should upgrade to 2.3.2.1 to be downloaded from 
http://james.apache.org/download.cgi#Apache_James_Server


Credit: This issue was discovered by Palaczynski Jakub 
 (recorded as VU#988628 by CERT)



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



Re: Generating the site

2015-11-10 Thread Eric Charles
I have run `mvn site -Dmaven.javadoc.skip=true` from the server folder 
and site has been generated under target/site.



On 2015-10-23 16:33, Matthieu Baechler wrote:

Hi,

I tried for some hours to generate the website instructions from
README.txt in james-project.

I finally managed to generate a site, but not everything is generated.
For example, I don't have the "server" part of the site.

Is there something else to do ?

Cheers,



--
Eric Charles http://datalayer.io

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



Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-11-10 Thread Eric Charles
PUNGED 7
ADDED 7

Now assume we have a causal order.
We also have the certitude to see only one ADDED event per UID.
If we reject EXPUNGE commands if the specified uid is absent from the
SelecteMailboxImpl uid set.

We might have concurrent problems, but with this we have an eventual
consistent MESSAGE SEQUENCE NUMBERS <=> UID correspondance across
servers. Of course with this solution the difficulty is to have causal
ordering. Which means vector clocks...



It means creating the set for every selected mailbox : it looks like a
performance killer, don't you think ?



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



--
Eric Charles http://datalayer.io

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



[ANNOUNCE] (was) Re: Migrating to git

2016-02-11 Thread Eric Charles

Seems like we are on git

https://git-wip-us.apache.org/repos/asf?a=project_list&s=james&btnS=Search

with mirrors on github
https://github.com/apache/?utf8=%E2%9C%93&query=james

Any remaining action to have this operational?

I guess the site remains in svn to 
benhttp://svn.apache.org/repos/asf/james/site/trunk/


On 28/01/16 10:43, Matthieu Baechler wrote:

If you want to review Infra Issues :

https://issues.apache.org/jira/browse/INFRA-11138
https://issues.apache.org/jira/browse/INFRA-11139
https://issues.apache.org/jira/browse/INFRA-11140
https://issues.apache.org/jira/browse/INFRA-11141
https://issues.apache.org/jira/browse/INFRA-11142
https://issues.apache.org/jira/browse/INFRA-11143




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



Re: james-project git commit: Port commit from svn : "Time to go Emeritus" by felixk

2016-02-11 Thread Eric Charles

Does that mean that the SVN tree is still open for commit?

On 08/02/16 14:47, matth...@apache.org wrote:

Repository: james-project
Updated Branches:
   refs/heads/master 0a5403293 -> 7411eb07d


Port commit from svn : "Time to go Emeritus" by felixk


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/7411eb07
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/7411eb07
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/7411eb07

Branch: refs/heads/master
Commit: 7411eb07d531e6a2748bf80973697250836f9305
Parents: 0a54032
Author: Matthieu Baechler 
Authored: Mon Feb 8 14:45:51 2016 +0100
Committer: Matthieu Baechler 
Committed: Mon Feb 8 14:45:55 2016 +0100

--
  pom.xml | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/7411eb07/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 96bfa52..ffc921e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -261,8 +261,7 @@
  fel...@apache.org
  1
  
-Developer
-PMC Member
+Emeritus
  
  
  


-
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: Closing / resolving issues on JIRA

2016-03-09 Thread Eric Charles

Hi Benoit, Sorry for this, permissions were not applied...
Can you try again? You should normally be able to administer JIRA projects.


On 09/03/16 10:20, Benoit Tellier wrote:

Sorry for being insistent, but I got no responses for the past week.

In my opinion, having tasks in JIRA reflecting the current state of the
project is important, and we should be able to work on tasks that
already exists.

By the way I also found :

https://issues.apache.org/jira/browse/IMAP-167
https://issues.apache.org/jira/browse/IMAP-370

That is 13 tickets to resolve / close...

Thank you,

Benoit

Le 02/03/2016 17:11, Benoit Tellier a écrit :

Hi,

As part of my work on JSIEVE first at Télécom Sudparis, and then at
Linagora, I solved several issues.

Unfortunately, I lack rights on the JIRA to be able to close the issues
my self.

And I have troubles finding people to close it for me.

Here is the list of issues :

https://issues.apache.org/jira/browse/JSIEVE-79
https://issues.apache.org/jira/browse/JSIEVE-86
https://issues.apache.org/jira/browse/JSIEVE-96
https://issues.apache.org/jira/browse/JSIEVE-67
https://issues.apache.org/jira/browse/JSIEVE-77
https://issues.apache.org/jira/browse/JSIEVE-83
https://issues.apache.org/jira/browse/JSIEVE-73
https://issues.apache.org/jira/browse/JAMES-1192
https://issues.apache.org/jira/browse/JAMES-1482
https://issues.apache.org/jira/browse/JAMES-511
https://issues.apache.org/jira/browse/JAMES-650

I then have other questions :

  - Is that normal that, as a PMC member, I can't close / resolve other
people JIRA ?
  - If it is not, how do I get this right ?
  - If it is, how do I proceed ?

Thanks,

And best regards,

Benoit

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



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



Re: whitelisting/blacklisting ip addresses for IMAP

2012-02-10 Thread Eric Charles

Hi,

POP3 and SMTP run in the protocols framework where you can define 
handler chains via configuration (the Handlers being JAVA classes). 
IMAP4 does not allow this and you have to implement in-hard in the code.


There is an effort to implement IMAP4 in the protocols project, which 
will make it benefit from existing and new handlers (whithelisting,...) 
configurable via XML file.


I can't tell any plan for configurable IMAP handlers to be available. If 
you can't wait us to offer this, just implement a specific Processor in 
the current IMAP code.


Thx,
Eric

On 10/02/12 20:02, roy.ja...@xemaps.com wrote:

Hello James Developers,

Long time lurker and fan, my company has been dealing with email for some time 
and recently we started a project to use James IMAP to access our email.  So we 
started our own Mailbox implementation.

Recently the idea of limiting access to the IMAP service based on whitelisted 
ip addresses came up and looking at the source code for IMAP I do not see 
anything IP address related to the user.  I could modify the source however I 
did want to see if this is a feature that the James developers were thinking 
about anyway?

Regards,
Roy

-
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: whitelisting/blacklisting ip addresses for IMAP

2012-02-14 Thread Eric Charles

Done with https://issues.apache.org/jira/browse/JAMES-1371
Thx for the request,
Eric

On 13/02/12 22:41, roy.ja...@xemaps.com wrote:

Hi Eric,

Thanks for that.  Another quick question, I was hoping to implement
Spring Cacheing but its Spring 3.1, is James planning on switching to
Spring 3.1 with any new releases?

Roy

On Sat, Feb 11, 2012 at 12:44 AM, Eric Charles  wrote:

* Replies will be sent through Spamex to server-dev@james.apache.org
* For additional info click ->  http://www.spamex.com/i/?v=23469590

Hi,

POP3 and SMTP run in the protocols framework where you can define handler
chains via configuration (the Handlers being JAVA classes). IMAP4 does not
allow this and you have to implement in-hard in the code.

There is an effort to implement IMAP4 in the protocols project, which will
make it benefit from existing and new handlers (whithelisting,...)
configurable via XML file.

I can't tell any plan for configurable IMAP handlers to be available. If you
can't wait us to offer this, just implement a specific Processor in the
current IMAP code.

Thx,
Eric


On 10/02/12 20:02, roy.ja...@xemaps.com wrote:


Hello James Developers,

Long time lurker and fan, my company has been dealing with email for some
time and recently we started a project to use James IMAP to access our
email.  So we started our own Mailbox implementation.

Recently the idea of limiting access to the IMAP service based on
whitelisted ip addresses came up and looking at the source code for IMAP I
do not see anything IP address related to the user.  I could modify the
source however I did want to see if this is a feature that the James
developers were thinking about anyway?

Regards,
Roy

-
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



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

--
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: Request for information

2012-02-14 Thread Eric Charles

Hi Sai,
Welcome!

The issue trackers are:
https://issues.apache.org/jira/browse/JAMES
https://issues.apache.org/jira/browse/MAILBOX
https://issues.apache.org/jira/browse/IMAP

It depends where you would like to begin.
We have jumping folder in IMAP, ACL for jpa/jcr/... and many other fun 
stuff :)


Just tell us.
Eric


On 14/02/12 15:35, Saibabu Vallurupalli wrote:

Thanks Stan.
I will start setting up environment now. Can you point me to issue tracker?

Thanks,
Sai

On Tue, Feb 14, 2012 at 5:16 AM, Ioan Eugen Stanwrote:


Pe 14.02.2012 04:06, Saibabu Vallurupalli a scris:

  Hi Team,

Greetings.

I have been using Apache James since last one year and have done an
enhancement to Mailbox JPA to Encrypt the message and message header with
the help of Eric, Norman and team.

Moving forward I would like to do more contributions and also gain more
knowledge on Mailbox functionality. Please advise me with next steps.

Thank you very much in advance.

Thanks,
Sai



Hello Sai,

I can also help you around Mailbox. Just ask when you are in doubt or need
things clarified. I think I speak for everybody when I say we are grateful
for your contributions.

Cheers,

--
Ioan Eugen Stan
http://ieugen.blogspot.com

--**--**-
To unsubscribe, e-mail: 
server-dev-unsubscribe@james.**apache.org
For additional commands, e-mail: 
server-dev-help@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: Request for information

2012-02-15 Thread Eric Charles

Hi,
Did you succeed to run the latest snapshot?
I tried to reproduce the jumping behavior here, but can not.
Thx,
Eric

On 14/02/12 21:08, lclhst wrote:

I'd say jumping IMAP folders! :p As it's really something critical that
should get fixed before b4 is released. :o

I'll provide more.information on the bug tomorrow, but at the moment I
cannot get the latest b4 to run.
On Feb 14, 2012 8:09 PM, "Eric Charles"  wrote:


Hi Sai,
Welcome!

The issue trackers are:
https://issues.apache.org/**jira/browse/JAMES<https://issues.apache.org/jira/browse/JAMES>
https://issues.apache.org/**jira/browse/MAILBOX<https://issues.apache.org/jira/browse/MAILBOX>
https://issues.apache.org/**jira/browse/IMAP<https://issues.apache.org/jira/browse/IMAP>

It depends where you would like to begin.
We have jumping folder in IMAP, ACL for jpa/jcr/... and many other fun
stuff :)

Just tell us.
Eric


On 14/02/12 15:35, Saibabu Vallurupalli wrote:


Thanks Stan.
I will start setting up environment now. Can you point me to issue
tracker?

Thanks,
Sai

On Tue, Feb 14, 2012 at 5:16 AM, Ioan Eugen Stan**
wrote:

  Pe 14.02.2012 04:06, Saibabu Vallurupalli a scris:


  Hi Team,


Greetings.

I have been using Apache James since last one year and have done an
enhancement to Mailbox JPA to Encrypt the message and message header
with
the help of Eric, Norman and team.

Moving forward I would like to do more contributions and also gain more
knowledge on Mailbox functionality. Please advise me with next steps.

Thank you very much in advance.

Thanks,
Sai


  Hello Sai,


I can also help you around Mailbox. Just ask when you are in doubt or
need
things clarified. I think I speak for everybody when I say we are
grateful
for your contributions.

Cheers,

--
Ioan Eugen Stan
http://ieugen.blogspot.com

--**
--**-
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org<
server-dev-**unsubscr...@james.apache.org



For additional commands, e-mail: server-dev-help@james.apache.org<
server-dev-help@james.**apache.org>






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

--**--**-
To unsubscribe, e-mail: 
server-dev-unsubscribe@james.**apache.org
For additional commands, e-mail: 
server-dev-help@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



[VOTE] Release Apache James Project 1.8.1

2012-02-15 Thread Eric Charles

Hi there,

In preparation of James server 3.0b4 release, we have to push Imap, 
Mailbox (and maybe jSieve) releases.


As first step of this long run, I propose to push a new Apache James 
Project pom, the 1.8.1 version, which has the definitions needed to 
import into the new m2eclipse plugin.


So please cast your VOTE:

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

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

Thx,
Eric
--
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: [VOTE] Release Apache James Project 1.8.1

2012-02-16 Thread Eric Charles

[X] +1 Please release

Eric

On 15/02/12 20:26, Eric Charles wrote:

Hi there,

In preparation of James server 3.0b4 release, we have to push Imap,
Mailbox (and maybe jSieve) releases.

As first step of this long run, I propose to push a new Apache James
Project pom, the 1.8.1 version, which has the definitions needed to
import into the new m2eclipse plugin.

So please cast your VOTE:

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

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

Thx,
Eric


--
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: james deb packaging

2012-02-16 Thread Eric Charles

Great!
See also my comment on JAMES-1376
Thx, Eric

On 16/02/12 08:57, Ioan Eugen Stan wrote:

Hello,

I've started working on packaging James as Debian package. Basic stuff
is in james-app and you can create a *.deb package by running

$ mvn package -P make-deb

I will work in the next days to make it usable and go for Debian Java
policy compliance [1].

With respect to FHS [2] the layout will probably look like this:

- config files will go to /etc/james
- loggs will go into /var/log/james
- binary and start-up scripts will go into /usr/bin
- other files will go into /usr/share/james
- docs, readme and license will go in /usr/share/doc/james

The config files will probably need to be adapted for the new layout.
I choose james as the folder installation name and I will also use
this name as the user name under which James will run (without super
user priviledges).

Please make corrections/suggestion on what I said above.

Cheers,

[1] http://www.debian.org/doc/packaging-manuals/java-policy/
[2] http://www.pathname.com/fhs/


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



Fwd: Mandatory svnpubsub migration by Jan 2013

2012-02-16 Thread Eric Charles

fyi

 Original Message 
Subject: Mandatory svnpubsub migration by Jan 2013
Date: Wed, 8 Feb 2012 04:26:48 -0800 (PST)
From: Joe Schaefer 
Reply-To: priv...@james.apache.org, Joe Schaefer 
To: Apache Infrastructure 

[PLEASE DO NOT RESPOND TO THIS POST! DIRECT ALL FURTHER
INQUIRIES TO infrastruct...@apache.org]

FYI: infrastructure policy regarding website hosting has
changed as of November 2011: we are requiring all websites
and dist/ dirs to be svnpubsub or ASF CMS backed by the end of 2012.
If your PMC has already met this requirement congratulations,
you can ignore the remainder of this post.

As stated on http://www.apache.org/dev/project-site.html#svnpubsub
we are migrating our webserver infrastructure to 100% svnpubsub
over the course of 2012.  If your site does not currently make
use of this technology, it is time to consider a migration effort,
as rsync-based sites will be PERMANENTLY FROZEN in Jan 2013 due

to infra disabling the hourly rsync jobs.  While we recommend
migrating to the ASF CMS [0] for Anakia based or Confluence based
sites, and have provided tooling [1] to help facilitate this,
we are only mandating svnpubsub (which the CMS uses itself).

svnpubsub is a client-server system whereby a client watches an
svn working copy for relevant commit notifications from the svn
server.  It subsequently runs svn up on the working copy, bringing
in the relevant changes.  sites that use static build technologies
that commit the build results to svn are naturally compatible with
svnpubsub; simply file a JIRA ticket with INFRA to request a
migration: any commits to the resulting build tree will be

instantly picked up on the live site.


The CMS is a more elaborate system based on svnpubsub which
provides a webgui for convenient online editing.  Dozens of
sites have already successfully deployed using the CMS and
are quite happy with the results.  The system is sufficiently
flexible to accommodate a wide variety of choices regarding
templating systems and storage formats, but most sites have
standardized on the combination of Django and Markdown.  Talk
to infra if you would like to use the CMS in this or some other
fashion, we'll see what we can do.


NOTE: the policy for dist/ dirs for managing project releases is
similar.  We have setup a dedicated svn server for handling this,
please contact infra when you are ready to start using it.


HTH


[0]: http://www.apache.org/dev/cms
[1]: https://svn.apache.org/repos/infra/websites/cms/conversion-utilities/


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



Fwd: Re: Implement svnpubsub using "mvn site" ?

2012-02-16 Thread Eric Charles

fyi

 Original Message 
Subject: Re: Implement svnpubsub using "mvn site" ?
Date: Thu, 16 Feb 2012 09:22:27 -0800 (PST)
From: Joe Schaefer 
Reply-To: Joe Schaefer 
To: Eric Charles ,  Apache Infrastructure 




____
From: Eric Charles 
To: Apache Infrastructure 
Sent: Thursday, February 16, 2012 3:34 AM
Subject: Re: Implement svnpubsub using "mvn site" ?

Hi Joe,
All subprojects (and the main project) sites are built with mvn site (xml to 
html).

- We have a 'site' project where we put the generated html, and the we made 
'svn up' on people.apache.org.
- For whatever reason, we came to scp only the changed files/sites, so our 
'site' project in svn in no more up-to-date...
- Optionally, we use mvn site-deploy directly (it has worked a few times, but 
now seems broken due to bade credential).



Eww, let's see if we can throw most of that mess away and consolidate 
the James

site builds into a single CMS-backed website.  First we need to create a

james/site/trunk/content


directory in svn that contains all the xml files that serve as sources 
for the entire site,
including the generated javadocs.  Individual subprojects can checkout 
and make changes to
whatever subtree of that directory they are interested in, and they can 
use svn externals
to map the "javadoc" output subdirs back into their pristine source code 
trees.  Subprojects
then would only be responsible for building their local documentation 
and checking it back in
to the svn:external based subdir that originates in the 
james/site/trunk/content tree.


The rest is all handled cleanly by the CMS once someone figures out how 
to instruct maven
to build a local checkout of james/site/trunk/content to a target 
directory specified at runtime.


Whatever auxiliary config files, executables and libraries can all be 
placed alongside
the james/site/trunk/content dir somewhere.  The CMS will always start 
the site build
using james/site/trunk as the current working directory.  Those prebuilt 
javadocs in
the content/ dir should simply be treated like any javascript, css, or 
image file and

copied over unmodified.


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



Fwd: Re: Implement svnpubsub using "mvn site" ?

2012-02-16 Thread Eric Charles

fyi

 Original Message 
Subject: Re: Implement svnpubsub using "mvn site" ?
Date: Thu, 16 Feb 2012 09:48:59 -0800 (PST)
From: Joe Schaefer 
Reply-To: Joe Schaefer 
To: Joe Schaefer ,  Eric Charles 
,  Apache Infrastructure 



- Original Message -


From: Joe Schaefer 
To: Eric Charles ; Apache Infrastructure 

Cc:
Sent: Thursday, February 16, 2012 12:22 PM
Subject: Re: Implement svnpubsub using "mvn site" ?


____
 From: Eric Charles 
To: Apache Infrastructure 
Sent: Thursday, February 16, 2012 3:34 AM
Subject: Re: Implement svnpubsub using "mvn site" ?

Hi Joe,
All subprojects (and the main project) sites are built with mvn site (xml to

html).


- We have a 'site' project where we put the generated html, and the

we made 'svn up' on people.apache.org.

- For whatever reason, we came to scp only the changed files/sites, so our

'site' project in svn in no more up-to-date...

- Optionally, we use mvn site-deploy directly (it has worked a few times,

but now seems broken due to bade credential).


Eww, let's see if we can throw most of that mess away and consolidate the
James
site builds into a single CMS-backed website.  First we need to create a

james/site/trunk/content


directory in svn that contains all the xml files that serve as sources for the
entire site,
including the generated javadocs.  Individual subprojects can checkout and make
changes to
whatever subtree of that directory they are interested in, and they can use svn
externals
to map the "javadoc" output subdirs back into their pristine source
code trees.  Subprojects
then would only be responsible for building their local documentation and
checking it back in
to the svn:external based subdir that originates in the james/site/trunk/content
tree.


FWIW Benson, having maven build the javadocs to an svn-1.7 working copy 
in a way
that manages adds and deletes properly is where I really see a need for 
an asf

maven plugin.  If you do it well you can tell maven the svn url of where to
get/put those built objects instead of dealing with svn externals, and 
it will
be perfectly compatible with git-based projects with a little .gitignore 
magic.


Actually doing site builds is something I'd really suggest people take a 
good
look at the CMS for.  The basic principle is to take most of the pain of 
site
management out of the committer's coding workflow and onto the web where 
it belongs.
No reason why in this day and age a committer needs to be running mvn 
site and

mvn site-deploy on their own machines unless they really really need to.

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



[VOTE][RESULT] Release Apache James Project 1.8.1

2012-02-18 Thread Eric Charles

Hi there,

The VOTE passed:
+1 Ioan, Felix, Manuel*, Eric*, Stefano*

* Binding

I will push the artifacts to the maven central and the mirrors.

Thx for voting,
Eric

--
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: [VOTE][RESULT] Release Apache James Project 1.8.1

2012-02-19 Thread Eric Charles

Recounting with Felix as binding vote (* part of James PMC)

+1 Ioan, Felix*, Manuel*, Eric*, Stefano*

Eric


On 19/02/12 06:58, Eric Charles wrote:

Hi there,

The VOTE passed:
+1 Ioan, Felix, Manuel*, Eric*, Stefano*

* Binding

I will push the artifacts to the maven central and the mirrors.

Thx for voting,
Eric



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

2012-02-20 Thread Eric Charles

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.


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


So please cast your VOTE:

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

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

Thx,
Eric
--
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: [VOTE] Release Apache James jSieve 0.5

2012-02-20 Thread Eric Charles

[X] +1 Please release
Eric

On 20/02/12 16:13, Eric Charles wrote:

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.

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


So please cast your VOTE:

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

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

Thx,
Eric


--
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: How to build James from trunk

2012-02-21 Thread Eric Charles

Hi,

james-project:1.9-SNAPSHOT should be 1.8.1 or 1.8.2-SNAPSHOT 
(1.9-SNAPSHOT are rest that need cleanup).


All James projects have their own lifecycle, but also communicate with 
each other. For example, bidirectional dependencies, strategy for 
assemble maven module... are something we talk about.


Ideas and fixes welcome!
Thx,
Eric


On 21/02/12 15:31, Stefano Bagnara wrote:

2012/2/21 Jochen Gazda:

(1) []
But as for parent references I am asking myself what can be the reason
for distinct versions in the parent's project.version and its child's
project.parent.version? Here is an example from the current trunk:
apache-jsieve has version 0.6-SNAPSHOT in its pom, but 0.5-SNAPSHOT is
referenced in apache-jsieve-assemble's pom as its parent. Both m2e and
mvn install complain about that. When I replace 0.5-SNAPSHOT in
apache-jsieve-assemble's pom with 0.6-SNAPSHOT it works. Is it a bug?


IMO ti does not make sense and it is a bug. I guess the issue is
related to the use of "parent module in a subfolder" pattern, that is
much more difficult to deal with.


apache-james-mailbox referencing james-project 1.8.1-SNAPSHOT as its
parent is another example. Why does it not reference james-project
1.8.2-SNAPSHOT?


Maybe simply because the last time we worked on mailbox we only had
1.8.1-SNAPSHOT and the parent moved forward in the mean time.
This is not a big issue, but you can move mailvox to 1.8.1 final or to
1.8.2-SNAPSHOT if it helps.


Generally, which are there situations in which parent reference
version lower than parent trunk version make sense?


It simply happens because we don't start upgrading every project pom
when we move the parent forward but we only upgrade them when we need
a release.
Otherwise we should always try to build with the latest available
released parent (not even a snapshot).


(2) In (1) I spoke about the case when referenced version is lover
than the trunk version. Here I am asking about the opposite:
hupa-parent references james-project 1.9-SNAPSHOT as its parent but
the version of james-project in the trunk is 1.8.2-SNAPSHOT. This
cannot be OK, can it?


Well, when you work with snapshot everything can be right or wrong.
If you release 1.8 then you automatically create 1.9-SNAPSHOT.. after
a while you decide to release 1.9-SNAPSHOT as 1.8.1 and this will move
you to 1.8.2-SNAPSHOT.
As they are snapshots it is not so bad.


hupa-parent should be fixed to reference james-project 1.8.2-SNAPSHOT
as its parent, should it not?


BTW, it would be better to point to 1.8.1 because it probably doesn't
need anymore to point to a snapshot for the parent.


(3) Generally, is the following sequence always expected to work and
if it does not, is it a reason to file a bug in Jira?

rm -Rf $HOME/.m2/repository
cd james/current
svn update
mvn clean install -DskipTests


I often found problematic to run a single pass "mvn clean install" but
runinng the mvn clean package&&  mvn install for each project (in the
right order, so to not depend on only snapshot repositories) is
expected to work and if it doesn't work we should probably fix
something.

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: [VOTE] Release Apache James jSieve 0.5

2012-02-21 Thread Eric Charles

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

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=10412&version=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



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

2012-02-21 Thread Eric Charles

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.


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

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



Re: Limit Mail Box Size

2012-02-21 Thread Eric Charles

Hi Sai,

There is the MailboxQuotaFixed
  
bounces
  
It reads all them mails from inbox and sums the size, which is rather 
inefficient (see JAMES-1198).


There is also MAILBOX-64 with existing implementation in mailbox-api and 
mailbox-store, but no implementation today in any of the concrete 
mailboxes (jpa, maildir...). This will allow to do much more efficient 
and flexible (per user, per folder,...), but there is some work out-there.


Thx,
Eric

On 22/02/12 02:38, Saibabu Vallurupalli wrote:

Hi Eric,

Do you have any inputs for me on Individual user mail box size
functionality?

Thanks, Sai

On Tue, Feb 21, 2012 at 8:42 AM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com>  wrote:


Hi,

Good morning.

Is there a way we can limit the mail box size for each user?

Thanks, Sai.





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



[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 Charles:

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=10412&version=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



[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=12311221&version=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



[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=10412&version=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



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

2012-02-23 Thread Eric Charles

[X] +1 Please release
Eric

On 22/02/12 19:54, Eric Charles wrote:

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=10412&version=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



Re: [VOTE] Release Apache James Mailbox 0.4

2012-02-23 Thread Eric Charles

[X] +1 Please release
Eric

On 22/02/12 19:41, Eric Charles wrote:

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=12311221&version=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



Re: [VOTE] Release Apache James Mailbox 0.4

2012-02-23 Thread Eric Charles
yep Stefano, hbase depends on hadoop which needs a unix-like 
environment. cygwin on windows could do the job, but I even didn't test 
mailbox-hbase on that env.


Just like mailbox-maildir, mailbox-hbase will only be available on 
unix-like env (it runs on my mac os x).


I will wait on Monday morning to count the votes.

Thx,
Eric

On 23/02/12 14:55, Stefano Bagnara wrote:

Hi,

I downloaded the source package from:
https://repository.apache.org/content/repositories/orgapachejames-009/org/apache/james/apache-james-mailbox/0.4/apache-james-mailbox-0.4-source-release.zip

decompressed it and run a simple "mvn package" (windows 7 64bit) and I
see 6 failures in HBase Mailbox module.
-
Tests in error:
   org.apache.james.mailbox.hbase.HBaseMailboxManagerTest
   org.apache.james.mailbox.hbase.HBaseMailboxSessionMapperFactoryTest
   org.apache.james.mailbox.hbase.mail.HBaseMailboxMapperTest
   org.apache.james.mailbox.hbase.mail.HBaseMessageMapperTest
   org.apache.james.mailbox.hbase.mail.HBaseUidAndModSeqProviderTest
   org.apache.james.mailbox.hbase.user.HBaseSubscriptionMapperTest
-

It seems the tests try to execute an "ls" command (not available in my
environment).

I don't think this is blocking for the release, but I can't complete
my review for the vote until I get access my unix box (maybe the
weekend).

Stefano

2012/2/22 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=12311221&version=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



-
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: [VOTE] Release Apache James Mailbox 0.4

2012-02-23 Thread Eric Charles

Hi Gazda,
Just edit the jira and set the fix version to 0.5.
Thx,
Eric


On 23/02/12 16:29, Jochen Gazda wrote:

[ ] +0 insufficient insight

Just a single point: there is "[MAILBOX-154] - Add ACL support" in
release notes. It could cause a false impression that mailbox 0.4 is
going to support ACLs which is not the case.

-
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: Build Failure

2012-02-24 Thread Eric Charles

Hi Sai,

It was still failing two days ago, but now it's fixed.
A fresh checkout should build fine (latest automated build is fine).

Thx,
Eric

On 24/02/12 13:10, Saibabu Vallurupalli wrote:

Hi All,

Mailbox tests are failing on HBase module. Do you have the same issue?
See the errors below:


[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Mailbox .. SUCCESS [37.729s]
[INFO] Apache James Mailbox API .. SUCCESS [40.192s]
[INFO] Apache James Mailbox Store Framework .. SUCCESS [45.451s]
[INFO] Apache James Mailbox Lucene Index . SUCCESS [17.371s]
[INFO] Apache James In Memory Mailbox  SUCCESS [20.194s]
[INFO] Apache James JPA Mailbox .. SUCCESS [52.114s]
[INFO] Apache James JCR Mailbox .. SUCCESS
[1:27.999s]
[INFO] Apache James Maildir Mailbox .. SUCCESS [16.271s]
[INFO] Apache James HBase Mailbox  FAILURE
[1:30.786s]
[INFO] Apache James Mailbox Tools  SKIPPED
[INFO] Apache James Mailbox Spring ... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 6:50.667s
[INFO] Finished at: Fri Feb 24 07:06:13 EST 2012
[INFO] Final Memory: 22M/40M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.
10:test (default-test) on project apache-james-mailbox-hbase: There are
test fai
lures.
[ERROR]
[ERROR] Please refer to
F:\apache\james\mailbox\trunk\hbase\target\surefire-repo
rts for the individual test results.
[ERROR] ->  [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn  -rf :apache-james-mailbox-hbase
*

Thanks, Sai.



--
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: Request for information

2012-02-24 Thread Eric Charles

Hi Sai,

http://svn.apache.org/repos/asf/james/current/ is there to facilitate 
the job when someone wants to checkout all james project.  However, I do 
a checkout in less than 5 minutes, not so long...


If you want only a project, you have to use one of the svn:externals url 
listed on http://svn.apache.org/viewvc/james/current/ (example: 
https://svn.apache.org/repos/asf/james/mailbox/trunk for mailbox).


Thx,
Eric


On 24/02/12 14:29, Saibabu Vallurupalli wrote:

Hi Gazda,

I might have explained the issue in a different way. I am able to checkout
without any issues. Only problem is it is checking out so much of code and
I am wondering if it is really needed for present development.
http://svn.apache.org/repos/asf/james/current/ This URL is checking out so
much of code. I need only the latest development version to do some
development.

Thanks,
Sai


On Fri, Feb 24, 2012 at 8:25 AM, Jochen Gazdawrote:


Sai,

from my experience, I can say that the plain http svn access ceased to
work a couple of weeks
ago. Try the same URL with https.

Best,

gazda

On Fri, Feb 24, 2012 at 12:22 PM, Saibabu Vallurupalli
  wrote:

Hi Eric,

I am following the steps given in this page:
http://james.apache.org/server/3/dev-build.html  to setup development
environment. Started checking out the source code from
http://svn.apache.org/repos/asf/james/current/ and the checkout is

going on

since last 7 Hours. Is this still valid svn link?

Do you have any better document on setting up development environment?

Thanks,
Sai

On Wed, Feb 15, 2012 at 3:21 PM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com>  wrote:


Hi Eric,

I am still in process. I will get back to once I am ready.

Thanks, Sai.

On Wed, Feb 15, 2012 at 1:36 PM, Eric Charles  wrote:


Hi,
Did you succeed to run the latest snapshot?
I tried to reproduce the jumping behavior here, but can not.
Thx,
Eric


On 14/02/12 21:08, lclhst wrote:


I'd say jumping IMAP folders! :p As it's really something critical

that

should get fixed before b4 is released. :o

I'll provide more.information on the bug tomorrow, but at the moment I
cannot get the latest b4 to run.
On Feb 14, 2012 8:09 PM, "Eric Charles"   wrote:

  Hi Sai,

Welcome!

The issue trackers are:
https://issues.apache.org/jira/browse/JAMES<

https://issues.apache.org/**jira/browse/JAMES>

<https://**issues.apache.org/jira/browse/**JAMES<

https://issues.apache.org/jira/browse/JAMES>



https://issues.apache.org/jira/browse/MAILBOX<

https://issues.apache.org/**jira/browse/MAILBOX>

<https://**issues.apache.org/jira/browse/**MAILBOX<

https://issues.apache.org/jira/browse/MAILBOX>



https://issues.apache.org/jira/browse/IMAP<

https://issues.apache.org/**jira/browse/IMAP>

<https://**issues.apache.org/jira/browse/**IMAP<

https://issues.apache.org/jira/browse/IMAP>




It depends where you would like to begin.
We have jumping folder in IMAP, ACL for jpa/jcr/... and many other

fun

stuff :)

Just tell us.
Eric


On 14/02/12 15:35, Saibabu Vallurupalli wrote:

  Thanks Stan.

I will start setting up environment now. Can you point me to issue
tracker?

Thanks,
Sai

On Tue, Feb 14, 2012 at 5:16 AM, Ioan Eugen Stan<

stan.ieu...@gmail.com

**

wrote:

  Pe 14.02.2012 04:06, Saibabu Vallurupalli a scris:



  Hi Team,

  Greetings.


I have been using Apache James since last one year and have done

an

enhancement to Mailbox JPA to Encrypt the message and message

header

with
the help of Eric, Norman and team.

Moving forward I would like to do more contributions and also gain
more
knowledge on Mailbox functionality. Please advise me with next

steps.


Thank you very much in advance.

Thanks,
Sai


  Hello Sai,



I can also help you around Mailbox. Just ask when you are in doubt

or

need
things clarified. I think I speak for everybody when I say we are
grateful
for your contributions.

Cheers,

--
Ioan Eugen Stan
http://ieugen.blogspot.com



--**--**--**

--**-
To unsubscribe, e-mail: server-dev-unsubscribe@james.**

apache.org

<
server-dev-**unsubscribe@**james.apache.org<

unsubscr...@james.apache.org>


server-dev-unsubscr...@james.apache.org>






  For additional commands, e-mail: server-dev-help@james.apache.

***

***org<
server-dev-help@james.**apache**.org<http://apache.org><
server-dev-help@james.**apache.org<

server-dev-h...@james.apache.org>








  --

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

--**
--**-
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org<
server-dev-**unsubscr...@james.apache.org<

server-dev-unsubscr...@james.apache.org>



For additional commands, e-mail: server-dev-help@james.apache.

org<

server-dev-help@james.**apache.org








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

Re: Build Failure

2012-02-24 Thread Eric Charles

Btw, it will fail on windows.
Eric


On 24/02/12 14:53, Eric Charles wrote:

Hi Sai,

It was still failing two days ago, but now it's fixed.
A fresh checkout should build fine (latest automated build is fine).

Thx,
Eric

On 24/02/12 13:10, Saibabu Vallurupalli wrote:

Hi All,

Mailbox tests are failing on HBase module. Do you have the same issue?
See the errors below:


[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Mailbox .. SUCCESS
[37.729s]
[INFO] Apache James Mailbox API .. SUCCESS
[40.192s]
[INFO] Apache James Mailbox Store Framework .. SUCCESS
[45.451s]
[INFO] Apache James Mailbox Lucene Index . SUCCESS
[17.371s]
[INFO] Apache James In Memory Mailbox  SUCCESS
[20.194s]
[INFO] Apache James JPA Mailbox .. SUCCESS
[52.114s]
[INFO] Apache James JCR Mailbox .. SUCCESS
[1:27.999s]
[INFO] Apache James Maildir Mailbox .. SUCCESS
[16.271s]
[INFO] Apache James HBase Mailbox  FAILURE
[1:30.786s]
[INFO] Apache James Mailbox Tools  SKIPPED
[INFO] Apache James Mailbox Spring ... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 6:50.667s
[INFO] Finished at: Fri Feb 24 07:06:13 EST 2012
[INFO] Final Memory: 22M/40M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.
10:test (default-test) on project apache-james-mailbox-hbase: There are
test fai
lures.
[ERROR]
[ERROR] Please refer to
F:\apache\james\mailbox\trunk\hbase\target\surefire-repo
rts for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR] mvn -rf :apache-james-mailbox-hbase
*

Thanks, Sai.





--
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: Build Failure

2012-02-24 Thread Eric Charles

F: tells it all.
so comment hbase in top pom.xml or run under cygwin (+ssh server 
running) are the 2 options, the third being running on linux/macosx.

Thx,
Eric


On 24/02/12 15:09, Stefano Bagnara wrote:

2012/2/24 Eric Charles:

Hi Sai,

It was still failing two days ago, but now it's fixed.
A fresh checkout should build fine (latest automated build is fine).


It seems Saibabu is on Windows:

[ERROR] Please refer to
F:\apache\james\mailbox\trunk\hbase\target\surefire-repo
rts for the individual test results.


Isn't this the same issue (hbase not working on windows) I was
experiencing during the release review?

Stefano


Thx,
Eric


On 24/02/12 13:10, Saibabu Vallurupalli wrote:


Hi All,

Mailbox tests are failing on HBase module. Do you have the same issue?
See the errors below:


[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Mailbox .. SUCCESS
[37.729s]
[INFO] Apache James Mailbox API .. SUCCESS
[40.192s]
[INFO] Apache James Mailbox Store Framework .. SUCCESS
[45.451s]
[INFO] Apache James Mailbox Lucene Index . SUCCESS
[17.371s]
[INFO] Apache James In Memory Mailbox  SUCCESS
[20.194s]
[INFO] Apache James JPA Mailbox .. SUCCESS
[52.114s]
[INFO] Apache James JCR Mailbox .. SUCCESS
[1:27.999s]
[INFO] Apache James Maildir Mailbox .. SUCCESS
[16.271s]
[INFO] Apache James HBase Mailbox  FAILURE
[1:30.786s]
[INFO] Apache James Mailbox Tools  SKIPPED
[INFO] Apache James Mailbox Spring ... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 6:50.667s
[INFO] Finished at: Fri Feb 24 07:06:13 EST 2012
[INFO] Final Memory: 22M/40M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.
10:test (default-test) on project apache-james-mailbox-hbase: There are
test fai
lures.
[ERROR]
[ERROR] Please refer to
F:\apache\james\mailbox\trunk\hbase\target\surefire-repo
rts for the individual test results.
[ERROR] ->[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn-rf :apache-james-mailbox-hbase
*

Thanks, Sai.



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



--
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: Build Failure

2012-02-25 Thread Eric Charles

Hi Sai,

https://issues.apache.org/jira/browse/MAILBOX-73 is a good start.
More tests coverage is better, and it's a good start to understand the code.

Don't hesitate to ask any question.
Thx,
Eric

On 24/02/12 18:32, Saibabu Vallurupalli wrote:

Commenting hbase module worked great. I was able to build mailbox module
sucessfully :-)

Is there any minor issues where I can start getting into the the
environment before doing any major bug fixes?

Let me know.

Thanks, Sai

On Fri, Feb 24, 2012 at 11:43 AM, Eric Charles  wrote:


F: tells it all.
so comment hbase in top pom.xml or run under cygwin (+ssh server running)
are the 2 options, the third being running on linux/macosx.
Thx,
Eric



On 24/02/12 15:09, Stefano Bagnara wrote:


2012/2/24 Eric Charles:


Hi Sai,

It was still failing two days ago, but now it's fixed.
A fresh checkout should build fine (latest automated build is fine).



It seems Saibabu is on Windows:

[ERROR] Please refer to
F:\apache\james\mailbox\trunk\**hbase\target\surefire-repo
rts for the individual test results.


Isn't this the same issue (hbase not working on windows) I was
experiencing during the release review?

Stefano

  Thx,

Eric


On 24/02/12 13:10, Saibabu Vallurupalli wrote:



Hi All,

Mailbox tests are failing on HBase module. Do you have the same issue?
See the errors below:

**
[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Mailbox .. SUCCESS
[37.729s]
[INFO] Apache James Mailbox API .. SUCCESS
[40.192s]
[INFO] Apache James Mailbox Store Framework .. SUCCESS
[45.451s]
[INFO] Apache James Mailbox Lucene Index . SUCCESS
[17.371s]
[INFO] Apache James In Memory Mailbox  SUCCESS
[20.194s]
[INFO] Apache James JPA Mailbox .. SUCCESS
[52.114s]
[INFO] Apache James JCR Mailbox .. SUCCESS
[1:27.999s]
[INFO] Apache James Maildir Mailbox .. SUCCESS
[16.271s]
[INFO] Apache James HBase Mailbox  FAILURE
[1:30.786s]
[INFO] Apache James Mailbox Tools  SKIPPED
[INFO] Apache James Mailbox Spring ... SKIPPED
[INFO]
--**--**

[INFO] BUILD FAILURE
[INFO]
--**--**

[INFO] Total time: 6:50.667s
[INFO] Finished at: Fri Feb 24 07:06:13 EST 2012
[INFO] Final Memory: 22M/40M
[INFO]
--**--**

[ERROR] Failed to execute goal
org.apache.maven.plugins:**maven-surefire-plugin:2.
10:test (default-test) on project apache-james-mailbox-hbase: There are
test fai
lures.
[ERROR]
[ERROR] Please refer to
F:\apache\james\mailbox\trunk\**hbase\target\surefire-repo
rts for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/**confluence/display/MAVEN/**MojoFailureExc<http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc>
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn -rf :apache-james-mailbox-hbase
***

Thanks, Sai.



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

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



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



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

--**--**-
To unsubscribe, e-mail: 
server-dev-unsubscribe@james.**apache.org
For additional commands, e-mail: 
server-dev-help@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



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

2012-02-27 Thread Eric Charles

Hi there,

The VOTE passed:

+1 Eric*, Stefano*, Ioan, Felix*
+0 Gazda

* Binding

I will push the artifacts to the maven central and the mirrors.

Thx for voting,
Eric


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



[RESULT][VOTE] Release Apache James Mailbox 0.4

2012-02-27 Thread Eric Charles

Hi there,

The VOTE passed:

+1 Eric*, Ioan, Felix*, Stefano*
+0 Gazda

* Binding

I will push the artifacts to the maven central and the mirrors.

Thx for voting,
Eric


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

2012-02-27 Thread Eric Charles

Hi there,

We are getting closer to James server 3.0b4 release and still need to 
release IMAP 0.3.


So please cast your VOTE for Apache James IMAP 0.3 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310831&version=12316448

SVN tag:
https://svn.apache.org/repos/asf/james/imap/tags/apache-james-imap-0.3/

Source tarball:
https://repository.apache.org/content/repositories/orgapachejames-086/org/apache/james/apache-james-imap/0.3/apache-james-imap-0.3-source-release.zip

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

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



Re: [VOTE] Release Apache James IMAP 0.3

2012-02-27 Thread Eric Charles

Damned, I clicked on the release button (staging repo is over)...
I will look on how to revert and report further.
Thx,
Eric


On 27/02/12 12:57, Eric Charles wrote:

Hi there,

We are getting closer to James server 3.0b4 release and still need to
release IMAP 0.3.

So please cast your VOTE for Apache James IMAP 0.3 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310831&version=12316448


SVN tag:
https://svn.apache.org/repos/asf/james/imap/tags/apache-james-imap-0.3/

Source tarball:
https://repository.apache.org/content/repositories/orgapachejames-086/org/apache/james/apache-james-imap/0.3/apache-james-imap-0.3-source-release.zip


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

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



Re: [VOTE] Release Apache James IMAP 0.3

2012-02-28 Thread Eric Charles

+1 Please release :)

The staging repository is now
https://repository.apache.org/content/repositories/orgapachejames-089/

and the source zip is
https://repository.apache.org/content/repositories/orgapachejames-089/org/apache/james/apache-james-imap/0.3/apache-james-imap-0.3-source-release.zip

(exactly the same as the previous 
https://repository.apache.org/content/repositories/orgapachejames-086/)



On 28/02/12 09:07, Manuel Carrasco Moñino wrote:

+1 Please release

- Manolo

On Mon, Feb 27, 2012 at 11:56 PM, Stefano Bagnara  wrote:


2012/2/27 Eric Charles:

Hi there,

We are getting closer to James server 3.0b4 release and still need to
release IMAP 0.3.

So please cast your VOTE for Apache James IMAP 0.3 release:


[X] +1 Please release

Stefano

PS: I reviewed the code form the release folder:

https://repository.apache.org/content/repositories/releases/org/apache/james/

https://repository.apache.org/content/repositories/releases/org/apache/james/apache-james-imap/0.3/apache-james-imap-0.3-source-release.zip


SVN tag:
https://svn.apache.org/repos/asf/james/imap/tags/apache-james-imap-0.3/

Source tarball:


https://repository.apache.org/content/repositories/orgapachejames-086/org/apache/james/apache-james-imap/0.3/apache-james-imap-0.3-source-release.zip

-
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



[VOTE][RESULT] Release Apache James IMAP 0.3

2012-03-01 Thread Eric Charles

Hi there,

The VOTE passed:

+1 Stefano*, Manuel*, Eric*, Felix*
+0 Gazda

* Binding

I will push the artifacts to the maven central and the mirrors.

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

--
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 Server 3.0b4 artifacts

2012-03-01 Thread Eric Charles

Hi there,

We still need your reviews and votes now for James server 3.0b4 
artifacts release. Just after, we will be able to push the long awaited 
app bundle.


So please cast your VOTE for Apache James Server 3.0b4 artifacts release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240

SVN tag:
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarball:
https://repository.apache.org/content/repositories/orgapachejames-004/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip

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

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



[CANCEL][VOTE] Release Apache James Server 3.0b4 artifacts

2012-03-02 Thread Eric Charles

Cancelling. I will reroll.
Thx for your inputs :)

@stefano
Great tip to disable hbase test on windows. Thx!
Bringing back the app module in server? Maybe we could do this later, 
but for this release, I will leave it as such.


@fanuel @felix
Stefano and I don't have that test failure.
But jenkins have it, so I will disable the tests, jsieve manage code is 
there but is not used at all, and it's even not sure that it will stay 
in the server module.


Eric


On 02/03/12 10:25, Stefano Bagnara wrote:

Here on windows it builds successfully (disabling hbase tests):
it would be cool to automatically disable testing hbase module on
windows. No time to check in code, but here is a snippet I used in
other projects, maybe adding this to hbase module will simply work.
--
   
 
   noTest
   
 windows
   
   
 
   
 org.apache.maven.plugins
 maven-surefire-plugin
 
   true
 
   
 
   
 
   
-
(the same could be applied to mailbox hbase)

Also I found it is a waste of time to review james server without the
app module/binaries, so I didn't test if the code is able to run.
Please bring back the binary module.

Stefano

2012/3/2 Felix Knecht:

I do have test failures building the tagged code. Is this only a problem of
mine?

Running org.apache.james.filesystem.api.SieveFileRepositoryTestCase
Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec
<<<  FAILURE!

Results :

Failed tests:
testListScripts(org.apache.james.filesystem.api.SieveFileRepositoryTestCase):
expected:<...>  but was:<...1>

Tests run: 20, Failures: 1, Errors: 0, Skipped: 0

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Server ... SUCCESS [0.881s]
[INFO] Apache James Server Lifecycle API . SUCCESS [1.001s]
[INFO] Apache James Server Filesystem API  FAILURE [1.236s]
[INFO] Apache James Server Data API .. SKIPPED


mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /etc/alternatives/mvn
Java version: 1.7.0_02, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0_02/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.8-3.fc16.x86_64", arch: "amd64", family:
"unix"

Regards
Felix


On 03/01/2012 04:13 PM, Eric Charles wrote:


Hi there,

We still need your reviews and votes now for James server 3.0b4
artifacts release. Just after, we will be able to push the long awaited
app bundle.

So please cast your VOTE for Apache James Server 3.0b4 artifacts release:

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

Release Notes:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240


SVN tag:
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarball:

https://repository.apache.org/content/repositories/orgapachejames-004/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip


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

Thx.


-
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: [CANCEL][VOTE] Release Apache James Server 3.0b4 artifacts

2012-03-02 Thread Eric Charles

On 02/03/12 11:37, Stefano Bagnara wrote:

2012/3/2 Eric Charles:

Cancelling. I will reroll.
Thx for your inputs :)


About rerolling I find that it is much better to not reuse release
names. So b4 has "failed" the release and we move to b5, otherwise
when you test/build/vote you always have to make sure you refer to the
right artifacts and you are testing/building against the right
artifacts... with maven it happens a lot that it will use "cached"
artifacts from the repository instead of the ones generated by the
current build tree.



I'm fine with both options.

I have already begun the rollback process, so it will be 'rollback' this 
time. Let's talk about this the next time we have to cancel.



@stefano
Great tip to disable hbase test on windows. Thx!
Bringing back the app module in server? Maybe we could do this later, but
for this release, I will leave it as such.


What about at least trying to release both at the same time? At least
it will be easier to check it really runs.



I will to release:perform on the app module, assuming the 3.0b4 
artifacts are in my local repo (they will not be resolvable from any 
other repo).


Only one vote would thus be needed.


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



[VOTE] Release Apache James Server and App 3.0-beta4

2012-03-02 Thread Eric Charles

Hi there,

We are ready to vote for James server application 3.0-beta4 based on the 
latest and greatest Protocols 1.6.2, Mailbox 0.3, IMAP 0.4 and jSieve 0.5.


This vote is a conjoint vote to release server and app 3.0-beta4 projects.

So please cast your VOTE for Apache James Server 3.0b4 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240

SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-043/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip
https://repository.apache.org/content/repositories/orgapachejames-042/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip

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

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



Re: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-02 Thread Eric Charles

Hi Felix,

I'm also having such stacktraces, but build/test are successful.
(There are also other modules where exceptions are printed or silently 
dropped). But it's true that default configuration with 
hadoop-metrics2.properties would be welcome.


So, do you have failing tests ?

Thx, Eric

On 02/03/12 20:29, Felix Knecht wrote:

Still some problems/errors when building:

[INFO] Surefire report directory:
/tmp/james-server-3.0-beta4/data-hbase/target/surefire-reports

---
T E S T S
---

---
T E S T S
---
Running org.apache.james.JamesServerHBaseSuiteTest
2012-03-02 20:26:48,381 [main] WARN
org.apache.hadoop.metrics2.impl.MetricsSystemImpl - Metrics system not
started: Cannot locate configuration: tried
hadoop-metrics2-namenode.properties, hadoop-metrics2.properties
Starting DataNode 0 with dfs.data.dir:
/tmp/james-server-3.0-beta4/data-hbase/target/test-data/9ff31753-87d1-4a65-ad1e-2ce73affe112/dfs/data/data1,/tmp/james-server-3.0-beta4/data-hbase/target/test-data/9ff31753-87d1-4a65-ad1e-2ce73affe112/dfs/data/data2

2012-03-02 20:26:48,810 [main] WARN
org.apache.hadoop.metrics2.impl.MetricsSystemImpl - Metrics system not
started: Cannot locate configuration: tried
hadoop-metrics2-datanode.properties, hadoop-metrics2.properties
2012-03-02 20:26:48,810 [main] WARN
org.apache.hadoop.metrics2.util.MBeans -
Hadoop:service=DataNode,name=MetricsSystem,sub=Control
javax.management.InstanceAlreadyExistsException: MXBean already
registered with name Hadoop:service=NameNode,name=MetricsSystem,sub=Control
at com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:120)
at com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:143)
at com.sun.jmx.mbeanserver.MBeanSupport.preRegister2(MBeanSupport.java:183)


And no, it's not a Windows machine:
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /etc/alternatives/mvn
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/jdk1.6.0_29/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.8-3.fc16.x86_64", arch: "amd64", family:
"unix"

Is it only me having these problems?

Felix



On 03/02/2012 04:27 PM, Eric Charles wrote:

Hi there,

We are ready to vote for James server application 3.0-beta4 based on the
latest and greatest Protocols 1.6.2, Mailbox 0.3, IMAP 0.4 and jSieve
0.5.

This vote is a conjoint vote to release server and app 3.0-beta4
projects.

So please cast your VOTE for Apache James Server 3.0b4 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240



SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/


Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-043/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip


https://repository.apache.org/content/repositories/orgapachejames-042/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip



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

Thx.



-
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: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-02 Thread Eric Charles

On 02/03/12 22:32, Ioan Eugen Stan wrote:

Netbeans embedded maven version builds without errors. Maven2 (stable)
and Maven3 (experimental) fail with errors in the Server HBase Data
Persistence.


Hi Ioan,

Can you post the failing tests and the eventual stacktraces ? (in 
target/surefire-reports).


If have relaunched the build on jenkins server/trunk, and it 
builds/tests fine (such as the last 2 ones):

Success > Console Output  #2686  Mar 3, 2012 7:02:03 AM  
Success > Console Output  #2685  Mar 2, 2012 3:32:06 PM
Success > Console Output  #2684  Mar 2, 2012 11:46:27 AM

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



Re: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-02 Thread Eric Charles

[X] +1 Please release

Eric


On 02/03/12 16:27, Eric Charles wrote:

Hi there,

We are ready to vote for James server application 3.0-beta4 based on the
latest and greatest Protocols 1.6.2, Mailbox 0.3, IMAP 0.4 and jSieve 0.5.

This vote is a conjoint vote to release server and app 3.0-beta4 projects.

So please cast your VOTE for Apache James Server 3.0b4 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240


SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-043/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip

https://repository.apache.org/content/repositories/orgapachejames-042/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip


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

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



Re: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-05 Thread Eric Charles

Hi,
I will close the vote on Wednesday 07 March 2012 09:00 GMT.
Thx, Eric

On 02/03/12 16:27, Eric Charles wrote:

Hi there,

We are ready to vote for James server application 3.0-beta4 based on the
latest and greatest Protocols 1.6.2, Mailbox 0.3, IMAP 0.4 and jSieve 0.5.

This vote is a conjoint vote to release server and app 3.0-beta4 projects.

So please cast your VOTE for Apache James Server 3.0b4 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240


SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-043/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip

https://repository.apache.org/content/repositories/orgapachejames-042/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip


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

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



Re: Escape strings still not correct with latest beta4 PGSQL

2012-03-06 Thread Eric Charles

Thx for the feedback.
I will add this information on the 3.0b4 documentation.
Eric


On 06/03/12 14:28, lclhst wrote:

Some more threads on this problem:
https://www.google.nl/webhp?sourceid=chrome-instant&ix=seb&ie=UTF-8&ion=1#hl=nl&safe=off&output=search&sclient=psy-ab&q=%22Invalid%20escape%20string%22&pbx=1&oq=&aq=&aqi=&aql=&gs_sm=&gs_upl=&gs_l=&fp=ebc5b602cbd83cfb&ix=seb&ion=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&biw=1280&bih=939


I hackety-fixed it now by adding
standard_conforming_strings = off
to my postgresql.conf.

On Tue, Mar 6, 2012 at 2:15 PM, l0c4l h0st  wrote:


INFO  14:13:21,609 | james.imapserver | ID=1451155144 List failed
org.apache.james.mailbox.exception.MailboxException: Search of mailbox
#private:x...@yyy.nl:Trash failed
at
org.apache.james.mailbox.jpa.mail.JPAMailboxMapper.findMailboxWithPathLike(JPAMailboxMapper.java:124)
at
org.apache.james.mailbox.store.StoreMailboxManager.search(StoreMailboxManager.java:508)
at
org.apache.james.imap.processor.ListProcessor.doProcess(ListProcessor.java:166)
at
org.apache.james.imap.processor.ListProcessor.doProcess(ListProcessor.java:64)
at
org.apache.james.imap.processor.ListProcessor.doProcess(ListProcessor.java:47)
at
org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:100)
at
org.apache.james.imap.processor.AbstractMailboxProcessor.process(AbstractMailboxProcessor.java:89)
at
org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:83)
at
org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:66)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:52)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54)
at
org.apache.james.imapserver.netty.ImapChannelUpstreamHandler.messageReceived(ImapChannelUpstreamHandler.java:181)
at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:327)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:305)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:207)
at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)
at
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
at
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.con

Re: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-07 Thread Eric Charles

Hi Stefano,

Thx for testing. I tried to reproduce the behavior you describe on 2 
boxes (macosx with 3.0beta4, and ubuntu with snapshot from 2 weeks ago), 
and both give me the same correct answer:


220 ... JAMES SMTP Server Server (JAMES SMTP Server ) ready
EHLO test.com
250-cll0353.fednot.be Hello test.com [0:0:0:0:0:0:0:1%0])
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250-ENHANCEDSTATUSCODES
250 8BITMIME

Do you have any exception in the log?

I will leave the vote open for 1 more week so others can further test 
and vote.


So the vote is prolonged until Wednesday 14 March 2012 09:00 GMT.

Thx,

Eric


On 07/03/12 10:26, Stefano Bagnara wrote:

I'm not sure where the issue is, but there is something wrong in the
smtp protocol:

<  220 bago-dv6 JAMES SMTP Server Server (JAMES SMTP Server ) ready

EHLO test.com

<  451 Unable to process request

EHLO test.com

<  250-bago-dv6 Hello test.com [127.0.0.1])
<  250-PIPELINING
<  250-ENHANCEDSTATUSCODES
<  250 8BITMIME

The first time I "present myself" the command is unrecognized.

Probably this has not been recognized before because most email
clients first try to present using EHLO and on failure they move to
HELO.. so probably they are falling back to HELO and still being able
to send (not using 8bitmime and pipelining of course).

Can anyone reproduce the issue? If so we should cancel this release
(this could lead to loose incoming email).

Stefano

2012/3/2 Eric Charles:

Hi there,

We are ready to vote for James server application 3.0-beta4 based on the
latest and greatest Protocols 1.6.2, Mailbox 0.3, IMAP 0.4 and jSieve 0.5.

This vote is a conjoint vote to release server and app 3.0-beta4 projects.

So please cast your VOTE for Apache James Server 3.0b4 release:

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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240

SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/
https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-043/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip
https://repository.apache.org/content/repositories/orgapachejames-042/org/apache/james/james-server/3.0-beta4/james-server-3.0-beta4-source-release.zip

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

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



-
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: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-07 Thread Eric Charles

Maybe something to do with utf-8 encoding?
Can you try with to type 'chcp 65001' (define UTF-8 encoding) in the dos 
box, and then retry ?


Thx,
Eric


On 07/03/12 12:39, Stefano Bagnara wrote:

Moving smtpserver to DEBUG I found this (while writing EHLO test.com).
It happens at every "first line" in my windows box.
---
INFO  12:36:28,355 | james.smtpserver | Id='866732' User='' Connection
established from 127.0.0.1
DEBUG 12:36:32,304 | james.smtpserver | Id='866732' User=''
org.apache.james.protocols.api.handler.CommandDispatcher received:
??▼??

DEBUG 12:36:32,305 | james.smtpserver | Id='866732' User='' Lookup
command handler for command: ??▼??
DEBUG 12:36:32,306 | james.smtpserver | Id='866732' User='' Unable to
parse request
java.lang.NullPointerException
 at 
org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:170)
 at 
org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:147)
 at 
org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:147)
 at 
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
 at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
 at 
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)

 at 
org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:129)
 at 
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
 at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
 at 
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)

 at 
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
 at 
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExec
utor.java:312)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
--

Stefano

2012/3/7 Eric Charles:

Hi Stefano,

Thx for testing. I tried to reproduce the behavior you describe on 2 boxes
(macosx with 3.0beta4, and ubuntu with snapshot from 2 weeks ago), and both
give me the same correct answer:

220 ... JAMES SMTP Server Server (JAMES SMTP Server ) ready
EHLO test.com
250-cll0353.fednot.be Hello test.com [0:0:0:0:0:0:0:1%0])
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250-ENHANCEDSTATUSCODES
250 8BITMIME

Do you have any exception in the log?

I will leave the vote open for 1 more week so others can further test and
vote.

So the vote is prolonged until Wednesday 14 March 2012 09:00 GMT.

Thx,

Eric



On 07/03/12 10:26, Stefano Bagnara wrote:


I'm not sure where the issue is, but there is something wrong in the
smtp protocol:

<220 bago-dv6 JAMES SMTP Server Server (JAMES SMTP Server ) ready


EHLO test.com


<451 Unable to process request


EHLO test.com


<250-bago-dv6 Hello test.com [127.0.0.1])
<250-PIPELINING
<250-ENHANCEDSTATUSCODES
<250 8BITMIME

The first time I "present myself" the command is unrecognized.

Probably this has not been recognized before because most email
clients first try to present using EHLO and on failure they move to
HELO.. so probably they are falling back to HELO and still being able
to send (not using 8bitmime and pipelining of course).

Can anyone reproduce the issue? If so we should cancel this release
(this could lead to loose incoming email).

Stefano

2012/3/2 Eric Charles:


Hi there,

We are ready to vote for James server application 3.0-beta4 based on the
latest and greatest Protocols 1.6.2, Mailbox 0.3, IMAP 0.4 and jSieve
0.5.

This vote is a conjoint vote to release server and app 3.0-beta4
projects.

So please cast your VOTE for Apache James Server 3.0b4 release:

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

Release Notes:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&version=12317240

SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/

https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/

Source tarballs:

https://repository.apache.org/content/repositories/orgapachejames-043/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip

https://repository.apache.org/content/repositories/orgapachejames-042/org/apache/james/j

Re: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-07 Thread Eric Charles

On 07/03/12 13:17, Stefano Bagnara wrote:

Sorry, it was not about encoding, but a problem in the telnet client I
used to do the tests.
This is a new box and I used putty and I forgot to remove the "active
telnet protocol negotiation", so it was sending garbage to the
smtpserver during the connection.

So:
[X] +1 to release
https://repository.apache.org/content/repositories/orgapachejames-042/



Cool. Thx for the review.


I still have to better review
https://repository.apache.org/content/repositories/orgapachejames-043/
because I see there are a lot of new jars and I think LICENSE/NOTICE
is not ok. Maybe a full dependency review is needed (b3 had 33MB libs,
b4 have 52MB libs).



The difference should mainly come from hbase/hadoop which are ASL2 and 
should give no problem.

Maybe some other jars are also present, but they don't jump to my head atm.
Will you do the review (just to coordinate ourselves) ?

Thx,
Eric



Stefano

2012/3/7 Eric Charles:

Maybe something to do with utf-8 encoding?
Can you try with to type 'chcp 65001' (define UTF-8 encoding) in the dos
box, and then retry ?

Thx,
Eric



On 07/03/12 12:39, Stefano Bagnara wrote:


Moving smtpserver to DEBUG I found this (while writing EHLO test.com).
It happens at every "first line" in my windows box.
---
INFO  12:36:28,355 | james.smtpserver | Id='866732' User='' Connection
established from 127.0.0.1
DEBUG 12:36:32,304 | james.smtpserver | Id='866732' User=''
org.apache.james.protocols.api.handler.CommandDispatcher received:
??▼??

DEBUG 12:36:32,305 | james.smtpserver | Id='866732' User='' Lookup
command handler for command: ??▼??
DEBUG 12:36:32,306 | james.smtpserver | Id='866732' User='' Unable to
parse request
java.lang.NullPointerException
 at
org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:170)
 at
org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:147)
 at
org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:147)
 at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
 at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
 at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)

 at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:129)
 at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
 at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
 at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)

 at
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
 at
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExec
utor.java:312)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
 at java.lang.Thread.run(Unknown Source)
--

Stefano

2012/3/7 Eric Charles:


Hi Stefano,

Thx for testing. I tried to reproduce the behavior you describe on 2
boxes
(macosx with 3.0beta4, and ubuntu with snapshot from 2 weeks ago), and
both
give me the same correct answer:

220 ... JAMES SMTP Server Server (JAMES SMTP Server ) ready
EHLO test.com
250-cll0353.fednot.be Hello test.com [0:0:0:0:0:0:0:1%0])
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250-ENHANCEDSTATUSCODES
250 8BITMIME

Do you have any exception in the log?

I will leave the vote open for 1 more week so others can further test and
vote.

So the vote is prolonged until Wednesday 14 March 2012 09:00 GMT.

Thx,

Eric



On 07/03/12 10:26, Stefano Bagnara wrote:



I'm not sure where the issue is, but there is something wrong in the
smtp protocol:

<  220 bago-dv6 JAMES SMTP Server Server (JAMES SMTP Server ) ready



EHLO test.com



<  451 Unable to process request



EHLO test.com



<  250-bago-dv6 Hello test.com [127.0.0.1])
<  250-PIPELINING
<  250-ENHANCEDSTATUSCODES
<  250 8BITMIME

The first time I "present myself" the command is unrecognized.

Probably this has not been recognized before because most email
clients first try to present using EHLO and on failure they move to
HELO.. so probably they are falling back to HELO and still being able
to send (not using 8bitmime and pipelining of course).

Can anyone reproduce the issue? If so we should

Re: [VOTE] Release Apache James Server and App 3.0-beta4

2012-03-07 Thread Eric Charles
I just run rat on the app project, but it only audits the source/conf 
files, not the declared dependencies (the jar).


Maybe this is due to the assembly 'nature' of this maven project?

Robert?

*
Summary
---
Generated at: 2012-03-07T17:07:57+01:00
Notes: 12
Binaries: 0
Archives: 0
Standards: 58

Apache Licensed: 56
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

2 Unknown Licenses

***

Unapproved licenses:

  README.crypto
  src/main/licensing/app/notice-for-binary.txt


Thx,
Eric


On 07/03/12 15:17, Stefano Bagnara wrote:

2012/3/7 Eric Charles:

I still have to better review
https://repository.apache.org/content/repositories/orgapachejames-043/
because I see there are a lot of new jars and I think LICENSE/NOTICE
is not ok. Maybe a full dependency review is needed (b3 had 33MB libs,
b4 have 52MB libs).


The difference should mainly come from hbase/hadoop which are ASL2 and
should give no problem.
Maybe some other jars are also present, but they don't jump to my head atm.


I noticed some api jar (servlet-api), core-3.1.1.jar (eclipse
license?), serp-1.13.1.jar (BSD?) jetty (ASL, but have NOTICE stuff we
have to "republish")... and maybe more...


Will you do the review (just to coordinate ourselves) ?


Not soon.

Each jar have to be checked and either excluded or correctly
referenced in NOTICE/LICENSE. The main problem is that I don't have a
good knowledge of what have to be listed and what not. E.g: jetty has
this notice: http://svn.codehaus.org/jetty/jetty/branches/jetty-6.1/NOTICE.txt
. How should be deal with it in our binary distribution? (should we
include that NOTICE in our main notice?).

IIRC Robert created a tool to help with the creation/maintenance of
the LICENSE file (licensed under  from : list of jars) that
used for b3 release.

Stefano


Stefano

2012/3/7 Eric Charles:


Maybe something to do with utf-8 encoding?
Can you try with to type 'chcp 65001' (define UTF-8 encoding) in the dos
box, and then retry ?

Thx,
Eric



On 07/03/12 12:39, Stefano Bagnara wrote:



Moving smtpserver to DEBUG I found this (while writing EHLO test.com).
It happens at every "first line" in my windows box.
---
INFO  12:36:28,355 | james.smtpserver | Id='866732' User='' Connection
established from 127.0.0.1
DEBUG 12:36:32,304 | james.smtpserver | Id='866732' User=''
org.apache.james.protocols.api.handler.CommandDispatcher received:
??▼??

DEBUG 12:36:32,305 | james.smtpserver | Id='866732' User='' Lookup
command handler for command: ??▼??
DEBUG 12:36:32,306 | james.smtpserver | Id='866732' User='' Unable to
parse request
java.lang.NullPointerException
 at

org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:170)
 at

org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:147)
 at

org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:147)
 at

org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
 at

org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
 at

org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)

 at

org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:129)
 at

org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
 at

org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
 at

org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)

 at

org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
 at

org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExec
utor.java:312)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
 at java.lang.Thread.run(Unknown Source)
--

Stefano

2012/3/7 Eric Charles:



Hi Stefano,

Thx for testing. I tried to reproduce the behavior you describe on 2
boxes
(macosx with 3.0beta4, and ubuntu with snapshot from 2 weeks ago), and
both
give me the same correct answer:

220 ... JAMES SMTP Server Server (JAMES SMTP Server ) ready
EHLO test.com
250-cll0353.fednot.be Hello test.com [0:0:0:0:0:0:0:1%0])
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN

Re: ACL support plans

2012-03-09 Thread Eric Charles

Hi Gazda,

First of all, thx for pushing this!

(1) I would love to see the current activity in protocols-imap. I had to 
postpone my contribution on the integration (b4 release and many other 
stuff), but next week should be a good week for me to work on this. I 
propose you continue your implementations in protocols-imap (hoping you 
don't have to backport too much from apache-james-imap such as the 
tests, and hoping also we can work together on the same codebase, on my 
side more regarding the integration of the processors in the protocol 
handler chain).


(2) Your tests use mocks and no concrete processor, I think this is the 
good way to do the unit tests in this case.


Thx,
Eric

On 09/03/12 12:27, Jochen Gazda wrote:

Gentlemen,

just reposting my old questions.
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.

(1) Is there something new with protocols-imap vs. apache-james-imap?

(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



Re: ACL support plans

2012-03-09 Thread Eric Charles

(snip)

I have not started yet. I will have a look at the diffs between
protocols-imap and apache-james-imap in the next days and backport all
the necessary stuff.



Cool!


(2) Your tests use mocks and no concrete processor, I think this is the good
way to do the unit tests in this case.


Hm... You say "no concrete processor"? Did you not want to say
something else? For every test in question, the particular processor
of the respective IMAP command IS actually being tested.
Perhaps you wanted to say "no concrete storage impementation"?



Oops, yes, I meant 'no concrete mailbox'.


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



Re: problems upgrading data-hbase to HBase 0.92

2012-03-09 Thread Eric Charles

Hi Ioan,

You could simply define an additional dependency to the mailbox-hbase of 
type 'test-jar' (with scope test).


This will give you access to the HBaseClusterSingleton from data-hbase.

We talked about previously talked about a james-common project, but 
never decided anything about that. It's not obvious to argue for, 
because there would be a bit of everything in that module. The main 
drawback would be that we would have a one more step in the release process.


Thx,
Eric


On 09/03/12 16:32, Ioan Eugen Stan wrote:

Hello,

I've started upgrading James components to use hbase 0.92 and hadop
1.0.1. I've moved mailbox and mailbox-integration-testing
successfully. However, I have encountered some problems with upgrading
data-hbase module from james-server. The tests fail because of some
issues with the minicluster (region not found exception or something
like that).

Eric could you please investigate this? I think the issue is related
to the way the MiniCluster is started/stopped and would be happy to
take care of this issue by using the HBase test classes I created for
HBase mailbox and integrate them here.

Since we need to share the test infrastructure and maybe some other
stuff between James components that require HBase/ Hadoop I wish to
propose developing a common module where we could store this kind of
stuff. I think this is useful since HBase/ Hadoop tooling is not yet
as mature as other technologies such as databases.

WDYT?

Regards,



--
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: svn commit: r1299452 - /james/server/trunk/pom.xml

2012-03-11 Thread Eric Charles

Hi Ioan,

Seems like your editor is configured with tabs...
We use 4 spaces for tabs. Could you recommit your last changes with tabs 
replaced by 4 spaces ?


Thx :)
Eric


On 11/03/12 22:22, ieu...@apache.org wrote:

Author: ieugen
Date: Sun Mar 11 21:22:28 2012
New Revision: 1299452

URL: http://svn.apache.org/viewvc?rev=1299452&view=rev
Log:
JAMES-1393

- bumped junit version to 4.10
Issue #JAMES-1393 - Upgrate all test suites to junit 4.10

Modified:
 james/server/trunk/pom.xml

Modified: james/server/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1299452&r1=1299451&r2=1299452&view=diff
==
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Sun Mar 11 21:22:28 2012
@@ -91,8 +91,8 @@
  5.4.2
  2.5.0
  10.7.1.1
-0.20.205.0
-0.90.4
+1.0.1
+0.92.0
  0.3
  2.2.5
  javax.activation
@@ -751,7 +751,7 @@
  
  junit
  junit
-3.8.1
+4.10
  test
  
  



-
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: svn commit: r1299452 - /james/server/trunk/pom.xml

2012-03-12 Thread Eric Charles

Hi Ioan,

Sure, no problem.

It's about xml and java.
If you look for example at 
http://svn.apache.org/viewvc?view=revision&revision=1299509, you will 
see many diff are about space replaced with tabs.


So just list your Sunday 'svn commit', are find/replace '\t' with ''.

Thx again,

Eric

On 12/03/12 10:46, Ioan Eugen Stan wrote:

2012/3/12 Eric Charles:

Hi Ioan,

Seems like your editor is configured with tabs...
We use 4 spaces for tabs. Could you recommit your last changes with tabs
replaced by 4 spaces ?

Thx :)
Eric



Sure, I will check my formatting settings later when I get home and
re-commit then. Are the changes in the code or just xml?

Thanks,



--
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: Unable to build HUPA project

2012-03-13 Thread Eric Charles

Hi Tejaswini,

Maven complains on artifact freemarker:freemarker:jar:2.3.6 from/to central.

However, this artifcat is available on 
http://repo1.maven.org/maven2/freemarker/freemarker/2.3.6/


Can you retry (maybe a temporary network issue from you host, I also 
previously faced blacklisted networks by the maven central)?


Thx,
Eric


On 13/03/12 09:31, Ioan Eugen Stan wrote:

Hi Tejaswini,

Sorry for misspelling your name the last time, I'll try not to do that
again. It seems maven can't find the artifact  (possible network
problem?) or address resolution. It built ok on my machine.

P.S. A better understanding of how Maven works will help you in all
your projects. Everything is discussed here, but a bit hard to digest
for beginners so take your time :
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

The main idea is that Maven executes each phase sequentially. At each
phase it executes the goals associated with that phase. Goals are
normally plug-ins executions. Maven knows what goals (plugins) to
execute during which phase by reading the pom.

For example thejar  line of your pom tells
maven to run the maven-jar-plugin with it's defaults.

Bellow we have org.codehaus.mojo:gwt-maven-plugin plugin version 2.4.0
running resources goal  and telling us it failed to download resources
due to network problems.


2012/3/12 Tejaswini Kurakula:

Hi Ioan,
Thank you for quick response. This fixed the issue I was getting before
with James version. Now, I ran into a new issue without a successful build
first time.
**
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache James Hupa Parent .. SUCCESS
[4:48.344s]
[INFO] Apache James Hupa Shared .. FAILURE
[10:43.281s]
[INFO] Apache James Hupa Mock  SKIPPED
[INFO] Apache James Hupa Server .. SKIPPED
[INFO] Apache James Hupa Widgets . SKIPPED
[INFO] Apache James Hupa . SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 15:32.485s
[INFO] Finished at: Tue Mar 13 03:12:55 IST 2012
[INFO] Final Memory: 11M/34M
[INFO]

[ERROR] Failed to execute goal
org.codehaus.mojo:gwt-maven-plugin:2.4.0:resources (default) on project
hupa-shared: Execution default of goal
org.codehaus.mojo:gwt-maven-plugin:2.4.0:resources failed: Plugin
org.codehaus.mojo:gwt-maven-plugin:2.4.0 or one of its dependencies could
not be resolved: The following artifacts could not be resolved:
freemarker:freemarker:jar:2.3.6,
org.apache.maven.surefire:surefire-api:jar:2.4.3, dom4j:dom4j:jar:1.6.1,
xalan:xalan:jar:2.6.0, com.ibm.icu:icu4j:jar:2.6.1: Could not transfer
artifact freemarker:freemarker:jar:2.3.6 from/to central (
http://repo1.maven.org/maven2): No response received after 6 ->  [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :hupa-shared
**

I really appreciate any help on this.

Thanks,
Tejaswini.


On Tue, Mar 13, 2012 at 2:54 AM, Ioan Eugen Stanwrote:


Hi Tejasini,


Try changing the james-project (parent pom) version fr om 1.9-SNAPSHOT
to 1.8.1 like:


james-project
org.apache.james
1.8.1



2012/3/12 Tejaswini Kurakula:

Hi,

I followed the steps to setup my development environment as mentioned in
the wiki document: http://james.apache.org/hupa/dev/environment.html and
then tried to build the workspace. I am getting following error:


[WARNING]
[WARNING] Some problems were encountered while building the effective
settings
[WARNING] Unrecognised tag: 'repositories' (position: START_TAG seen .../
maven.apache.org/xsd/settings-1.0.0.xsd">\r\n...
@5:21)  @ C:\Documents and Settings\tejswini\.m2\settings.xml, line 5,
column 21
[WARNING]
[INFO] Scanning for projects...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for

further

details.
Downloading:


http://download.java.net/maven/2/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml

Downloading:


http://gwt-dispatch.googlecode.com/svn/maven2/org/apache/james/james-project/1.9-SNAPSHOT/maven-metadata.xml

Downloading:


http

Re: Regarding GSoc 2012

2012-03-13 Thread Eric Charles

Hi Tejaswini,

Welcome!

We just talked about Gsoc2012 (read this thread) and Manuel proposed 
something around hupa


http://markmail.org/message/5l5oqzsxf2fewdea

You will need to register on GSOC web site and trick our interest so a 
James mentor will step up to work with you :)


Something you could do is open a JIRA for this and put there the details 
of the work you would like to achieve.

https://issues.apache.org/jira/browse/HUPA (prefix the jira with [GSOC2012])

Thx,

Eric


On 12/03/12 22:42, Tejaswini Kurakula wrote:

Hello,

I am Tejaswini Kurakula, an under graduate student from india. I
aim to participate as a GSoC student for Apache JAMES this year.

I wanted to know if Apache JAMES plans to take part in GSoC 2012. I have
gone
through the initial steps of getting Apache JAMES running on my local
machine,
going through developers guide
and currently I am
having a
look at the bugs. I have also gone through the
Apache JAMES projects.I also have experience working with the JAMES
software in some of my projects like TGMC[The Great Mind Challenge] and
many others.
  Are there any expected projects that Apache JAMES plans to
develop this year? It would be great if someone could provide me with some
guidance regarding how to go ahead from here and prepare for potential
projects for this year.

Looking forward to being a part of this community.

Thanks in advance.

Regards,
Tejaswini Kurakula



--
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: svn commit: r1299452 - /james/server/trunk/pom.xml

2012-03-13 Thread Eric Charles

Hi Ioan,

You could play with svn revert or merge, but just replace and commit the 
new files.


Eric

On 12/03/12 20:44, Ioan Eugen Stan wrote:

2012/3/12 Eric Charles:

Hi Ioan,

Sure, no problem.

It's about xml and java.
If you look for example at
http://svn.apache.org/viewvc?view=revision&revision=1299509, you will see
many diff are about space replaced with tabs.

So just list your Sunday 'svn commit', are find/replace '\t' with ''.

Thx again,

Eric



I changed the formatting settings in NetBeans: expand tabs to spaces,
use 4 spaces for tab.
I made a lot of commits on sunday and I'm not that proficient in using
svn. Could you please give me more details on how to do that?
I will search the web in the mean time, but you could save me some effort.

Thanks,



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



[RESULT][VOTE] Release Apache James Server and App 3.0-beta4

2012-03-13 Thread Eric Charles

Hi there,

The VOTE passed for the server artifacts 
(https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/):


+1 Ioan, Eric*, Manolo*, Stefano*
+0 Felix*, Vincenzo*
-1

* Binding

I will push the server artifacts to the maven central and the mirrors.

We miss one binding vote for the app artifacts (same result as for 
server, minus Stefano). I opened JAMESAPP-4 and will commit a new NOTICE 
file before relaunching a vote for app.


Thx for your reviews and votes,

Eric


On 07/03/12 17:09, Eric Charles wrote:

I just run rat on the app project, but it only audits the source/conf
files, not the declared dependencies (the jar).

Maybe this is due to the assembly 'nature' of this maven project?

Robert?

*
Summary
---
Generated at: 2012-03-07T17:07:57+01:00
Notes: 12
Binaries: 0
Archives: 0
Standards: 58

Apache Licensed: 56
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

2 Unknown Licenses

***

Unapproved licenses:

README.crypto
src/main/licensing/app/notice-for-binary.txt


Thx,
Eric


On 07/03/12 15:17, Stefano Bagnara wrote:

2012/3/7 Eric Charles:

I still have to better review
https://repository.apache.org/content/repositories/orgapachejames-043/
because I see there are a lot of new jars and I think LICENSE/NOTICE
is not ok. Maybe a full dependency review is needed (b3 had 33MB libs,
b4 have 52MB libs).


The difference should mainly come from hbase/hadoop which are ASL2 and
should give no problem.
Maybe some other jars are also present, but they don't jump to my
head atm.


I noticed some api jar (servlet-api), core-3.1.1.jar (eclipse
license?), serp-1.13.1.jar (BSD?) jetty (ASL, but have NOTICE stuff we
have to "republish")... and maybe more...


Will you do the review (just to coordinate ourselves) ?


Not soon.

Each jar have to be checked and either excluded or correctly
referenced in NOTICE/LICENSE. The main problem is that I don't have a
good knowledge of what have to be listed and what not. E.g: jetty has
this notice:
http://svn.codehaus.org/jetty/jetty/branches/jetty-6.1/NOTICE.txt
. How should be deal with it in our binary distribution? (should we
include that NOTICE in our main notice?).

IIRC Robert created a tool to help with the creation/maintenance of
the LICENSE file (licensed under  from : list of jars) that
used for b3 release.

Stefano


Stefano

2012/3/7 Eric Charles:


Maybe something to do with utf-8 encoding?
Can you try with to type 'chcp 65001' (define UTF-8 encoding) in
the dos
box, and then retry ?

Thx,
Eric



On 07/03/12 12:39, Stefano Bagnara wrote:



Moving smtpserver to DEBUG I found this (while writing EHLO
test.com).
It happens at every "first line" in my windows box.
---
INFO 12:36:28,355 | james.smtpserver | Id='866732' User='' Connection
established from 127.0.0.1
DEBUG 12:36:32,304 | james.smtpserver | Id='866732' User=''
org.apache.james.protocols.api.handler.CommandDispatcher received:
??▼??

DEBUG 12:36:32,305 | james.smtpserver | Id='866732' User='' Lookup
command handler for command: ??▼??
DEBUG 12:36:32,306 | james.smtpserver | Id='866732' User='' Unable to
parse request
java.lang.NullPointerException
at

org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:170)

at

org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:147)

at

org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:147)

at

org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)

at

org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)

at

org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)


at

org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:129)

at

org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)

at

org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)

at

org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)


at

org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)

at

org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExec

utor.java:312)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
--


Re: Unable to build HUPA project

2012-03-14 Thread Eric Charles

Atm, the pom.xml of hupa-client has
-Xmx512M -Xss128M ...

which is prolly overrided by my MAVEN_OPTS=-Xmx3g -XX:MaxPermSize=2g

Could you try by setting higher values in hupa-client/pom.xml, and open 
a JIRA when you have a found a reasonable one?


Thx,
Eric


On 13/03/12 20:16, Tejaswini Kurakula wrote:

Hi,

i build the project in the debug mode using the -X package command.It gives
an error below.

**
[ERROR] Mar 14, 2012 12:40:51 AM
com.google.gwt.thirdparty.guava.common.base.FinalizableReferenceQueue
[ERROR] INFO: Failed to start reference finalizer thread. Reference cleanup
will only occur when new references are created.
[ERROR] java.lang.reflect.InvocationTargetException

[ERROR] Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
**

Thanks,
Tejaswini
On Wed, Mar 14, 2012 at 12:27 AM, Tejaswini Kurakula<
tejaswinikurak...@gmail.com>  wrote:


Hi,

i built the top level pom.xml that is the hupa-client. Now, i get an error
related the Hupa-client.Below is the error i get

***
Downloading:
http://repository.apache.org/snapshots/org/apache/hupa/hupa-widgets/0.0.2-SNAPSHOT/hupa-widgets-0.0.2-SNAPSHOT.jar

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 36.922s
[INFO] Finished at: Wed Mar 14 00:17:57 IST 2012
[INFO] Final Memory: 6M/16M
[INFO]

[ERROR] Failed to execute goal on project hupa-client: Could not resolve
dependencies for project org.apache.hupa:hupa-client:war:0.0.2-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.hupa:hupa-server:jar:0.0.2-SNAPSHOT,
org.apache.hupa:hupa-shared:jar:0.0.2-SNAPSHOT,
org.apache.hupa:hupa-widgets:jar:0.0.2-SNAPSHOT: Could not find artifact
org.apache.hupa:hupa-server:jar:0.0.2-SNAPSHOT in
maven2-repository.dev.java.net (http://download.java.net/maven/2/) ->
[Help 1]

[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

***

Thank You,
Tejaswini


On Wed, Mar 14, 2012 at 12:15 AM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com>  wrote:


Can you send us the latest error?

On Tue, Mar 13, 2012 at 2:32 PM, Tejaswini Kurakula<
tejaswinikurak...@gmail.com>  wrote:


Hi,

i checked for all the possible network problems as well the adress
resolutions that might cause the error but i dont find any significant
change after i rebuilt my project.
i also checked the repository that is getting populated as a result of

the

build.
i am unable to fix the error.can anyone please help me out with this?

Thank you,
Tejaswini


On Tue, Mar 13, 2012 at 11:53 PM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com>  wrote:


Hi Tejaswini,

Were you able to build the project successfully. If not let me know I

did

more than couple of times and can help you with this.

Thanks,
Sai


On Tue, Mar 13, 2012 at 5:33 AM, Eric Charles

wrote:



Hi Tejaswini,

Maven complains on artifact freemarker:freemarker:jar:2.3.**6

from/to

central.

However, this artifcat is available on

http://repo1.maven.org/maven2/**

freemarker/freemarker/2.3.6/<

http://repo1.maven.org/maven2/freemarker/freemarker/2.3.6/>


Can you retry (maybe a temporary network issue from you host, I also
previously faced blacklisted networks by the maven central)?

Thx,
Eric



On 13/03/12 09:31, Ioan Eugen Stan wrote:


Hi Tejaswini,

Sorry for misspelling your name the last time, I'll try not to do

that

again. It seems maven can't find the artifact  (possible network
problem?) or address resolution. It built ok on my machine.

P.S. A better understanding of how Maven works will help you in all
your projects. Everything is discussed here, but a bit hard to

digest

for beginners so take your time :
http://maven.apache.org/**guides/introduction/**
introduction-to-the-lifecycle.**html<





http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html




The main idea is that Maven executes each phase sequentially. At

each

phase it executes the goals associated with that phase. Goals are
normally plug-ins executions. Maven knows what goals (plugins) to
execute during which phase by reading the pom.

For example thejar   line of your pom tells
maven to run the maven-jar-plugin with it's defaults.

Bellow we have org.codehaus.mojo:gwt-maven-**plugin plugin version

2.4.0

running resources goal  and telling us it failed to download

resources

due to network problems.


2012/3/12 Tejaswini Kurakula
tejaswinikurak...@gmail.com>

:



Hi Ioan

Re: Unable to build HUPA project

2012-03-14 Thread Eric Charles

Can you add the -XX:MaxPermSize=512M

If it doesn't work, can you export MAVEN_OPTS=-Xmx1g 
-XX:MaxPermSize=512M for example and retry. (the extraJvmArgs should do 
the work, but who knows...)


Any answer on Ioan's question (jdk, maven versions, which os?).

If it doesn't work, I will retry here without my MAVEN_OPTS env.

Thx,
Eric


On 14/03/12 18:56, Tejaswini Kurakula wrote:

Hi eric,

thank you for the response..i increased the value of  to 1024
and above too...but i dont really find any significant change in the error
i get..

Thank You,
Tejaswini

On Wed, Mar 14, 2012 at 4:13 PM, Eric Charles  wrote:


Atm, the pom.xml of hupa-client has
-Xmx512M -Xss128M ...

which is prolly overrided by my MAVEN_OPTS=-Xmx3g -XX:MaxPermSize=2g

Could you try by setting higher values in hupa-client/pom.xml, and open a
JIRA when you have a found a reasonable one?

Thx,
Eric



On 13/03/12 20:16, Tejaswini Kurakula wrote:


Hi,

i build the project in the debug mode using the -X package command.It
gives
an error below.

**
[ERROR] Mar 14, 2012 12:40:51 AM
com.google.gwt.thirdparty.**guava.common.base.**
FinalizableReferenceQueue<**init>
[ERROR] INFO: Failed to start reference finalizer thread. Reference
cleanup
will only occur when new references are created.
[ERROR] java.lang.reflect.**InvocationTargetException

[ERROR] Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
**

Thanks,
Tejaswini
On Wed, Mar 14, 2012 at 12:27 AM, Tejaswini Kurakula<
tejaswinikurak...@gmail.com>   wrote:

  Hi,


i built the top level pom.xml that is the hupa-client. Now, i get an
error
related the Hupa-client.Below is the error i get

***
Downloading:
http://repository.apache.org/**snapshots/org/apache/hupa/**
hupa-widgets/0.0.2-SNAPSHOT/**hupa-widgets-0.0.2-SNAPSHOT.**jar<http://repository.apache.org/snapshots/org/apache/hupa/hupa-widgets/0.0.2-SNAPSHOT/hupa-widgets-0.0.2-SNAPSHOT.jar>

[INFO]
--**--**

[INFO] BUILD FAILURE
[INFO]
--**--**

[INFO] Total time: 36.922s
[INFO] Finished at: Wed Mar 14 00:17:57 IST 2012
[INFO] Final Memory: 6M/16M
[INFO]
--**--**

[ERROR] Failed to execute goal on project hupa-client: Could not resolve
dependencies for project org.apache.hupa:hupa-client:**
war:0.0.2-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.hupa:hupa-server:**jar:0.0.2-SNAPSHOT,
org.apache.hupa:hupa-shared:**jar:0.0.2-SNAPSHOT,
org.apache.hupa:hupa-widgets:**jar:0.0.2-SNAPSHOT: Could not find
artifact
org.apache.hupa:hupa-server:**jar:0.0.2-SNAPSHOT in
maven2-repository.dev.java.net 
(http://download.java.net/**maven/2/<http://download.java.net/maven/2/>)
->
[Help 1]

[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/**confluence/display/MAVEN/**
DependencyResolutionException<http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException>

***

Thank You,
Tejaswini


On Wed, Mar 14, 2012 at 12:15 AM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com**>   wrote:

  Can you send us the latest error?


On Tue, Mar 13, 2012 at 2:32 PM, Tejaswini Kurakula<
tejaswinikurak...@gmail.com>   wrote:

  Hi,


i checked for all the possible network problems as well the adress
resolutions that might cause the error but i dont find any significant
change after i rebuilt my project.
i also checked the repository that is getting populated as a result of


the


build.
i am unable to fix the error.can anyone please help me out with this?

Thank you,
Tejaswini


On Tue, Mar 13, 2012 at 11:53 PM, Saibabu Vallurupalli<
saibabu.vallurupa...@gmail.com**>   wrote:

  Hi Tejaswini,


Were you able to build the project successfully. If not let me know I


did



more than couple of times and can help you with this.


Thanks,
Sai


On Tue, Mar 13, 2012 at 5:33 AM, Eric Charles


wrote:





  Hi Tejaswini,


Maven complains on artifact freemarker:freemarker:jar:2.3.6


from/to



central.


However, this artifcat is available on


http://repo1.maven.org/maven2/<http://repo1.maven.org/maven2/**>



freemarker/freemarker/2.3.6/<



http://repo1.maven.org/maven2/**freemarker/freemarker/2.3.6/<http://repo1.maven.org/maven2/freemarker/freemarker/2.3.6/>






Can you retry (maybe a temporary network issue from you host, I also
previously faced blacklisted networks by the maven central)?

Thx,
Eric



On 13/03/12 09:31, Ioan Eugen Stan wrote:

  Hi Tejaswini,


Sorry for misspelling your name the last time, I'll try not to 

Re: Unable to build HUPA project

2012-03-15 Thread Eric Charles
tings\tejswini\.m2\repository\com\google\code\gwt-dnd\gwt-dnd\3.1.1\gwt-dnd-3.1.1.jar;C:\Documents
and
Settings\tejswini\.m2\repository\eu\maydu\gwt\gwt-vl\0.9a\gwt-vl-0.9a.jar;C:\Documents
and
Settings\tejswini\.m2\repository\gwtupload\gwtupload\0.5.8-M5\gwtupload-0.5.8-M5.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\gwt\gwt-dev\2.4.0\gwt-dev-2.4.0.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\gwt\inject\gin\1.5.0\gin-1.5.0.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\inject\guice\3.0-rc2\guice-3.0-rc2.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\inject\extensions\guice-assistedinject\3.0-rc2\guice-assistedinject-3.0-rc2.jar;C:\Documents
and Settings\tejswini\.m2\repository\javax\validation\validation-api\
1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Documents and
Settings\tejswini\.m2\repository\org\hibernate\hibernate-validator\4.2.0.Final\hibernate-validator-4.2.0.Final.jar;C:\Documents
and
Settings\tejswini\.m2\repository\org\slf4j\slf4j-api\1.6.1\slf4j-api-1.6.1.jar;C:\Documents
and
Settings\tejswini\.m2\repository\org\json\json\20090211\json-20090211.jar;C:\Documents
and
Settings\tejswini\.m2\repository\org\slf4j\slf4j-log4j12\1.6.1\slf4j-log4j12-1.6.1.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar;C:\Documents
and Settings\tejswini\.m2\repository\javax\validation\validation-api\
1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Documents and
Settings\tejswini\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Documents
and
Settings\tejswini\.m2\repository\com\google\gwt\gwt-dev\2.4.0\gwt-dev-2.4.0.jar"
com.google.gwt.dev.Compiler -gen
C:\ApacheJAMES\hupa-trunk\client\target\.generated -logLevel INFO -style
OBF -war C:\ApacheJAMES\hupa-trunk\client\target\hupa-client-0.0.2-SNAPSHOT
-localWorkers 1 -XdisableClassMetadata -XdisableCastChecking -extra
C:\ApacheJAMES\hupa-trunk\client\target\extra -compileReport
org.apache.hupa.Hupa
[ERROR] ]] failed with status 1
[ERROR] ->  [Help 1]

[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :hupa-client

*****

Thanks,
Tejaswini


On Thu, Mar 15, 2012 at 12:38 AM, Eric Charles  wrote:


Can you add the -XX:MaxPermSize=512M

If it doesn't work, can you export MAVEN_OPTS=-Xmx1g -XX:MaxPermSize=512M
for example and retry. (the extraJvmArgs should do the work, but who
knows...)

Any answer on Ioan's question (jdk, maven versions, which os?).

If it doesn't work, I will retry here without my MAVEN_OPTS env.

Thx,
Eric



On 14/03/12 18:56, Tejaswini Kurakula wrote:


Hi eric,

thank you for the response..i increased the value of   to
1024
and above too...but i dont really find any significant change in the
error
i get..

Thank You,
Tejaswini

On Wed, Mar 14, 2012 at 4:13 PM, Eric Charles   wrote:

  Atm, the pom.xml of hupa-client has

-Xmx512M -Xss128M ...

which is prolly overrided by my MAVEN_OPTS=-Xmx3g -XX:MaxPermSize=2g

Could you try by setting higher values in hupa-client/pom.xml, and open
a
JIRA when you have a found a reasonable one?

Thx,
Eric



On 13/03/12 20:16, Tejaswini Kurakula wrote:

  Hi,


i build the project in the debug mode using the -X package command.It
gives
an error below.

**
[ERROR] Mar 14, 2012 12:40:51 AM
com.google.gwt.thirdparty.guava.common.base.**
FinalizableReferenceQueue<init>

[ERROR] INFO: Failed to start reference finalizer thread. Reference
cleanup
will only occur when new references are created.
[ERROR] java.lang.reflect.InvocationTargetException


[ERROR] Caused by: java.lang.OutOfMemoryError: unable to create new
native
thread
**

Thanks,
Tejaswini
On Wed, Mar 14, 2012 at 12:27 AM, Tejaswini Kurakula<
tejaswinikurak...@gmail.com>wrote:

  Hi,



i built the top level pom.xml that is the hupa-client. Now, i get an
error
related the Hupa-client.Below is the error i get

***
Downloading:
http://repository.apache.org/snapshots/org/apache/hupa/**<http://repository.apache.org/**snapshots/org/apache/hupa/**>
hupa-widgets/0.0.2-SNAPSHOT/hupa-widgets-0.0.2-SNAPSHOT.jar<
http://repository.apache.**org/snapshots/org/apache/hupa/**
hupa-widgets/0.0.2-SNAPSHOT/**hupa-widgets-0.0.2-SNAPSHOT.**jar<http://repository.apache.org/snapshots/org/apache/hupa/hupa-widgets/0.0.2-SNAPSHOT/hupa-widgets-0.0.2-SNAPSHOT.jar>





[INF

Review before vote for app 3.0beta4

2012-03-15 Thread Eric Charles

Hi All,

Before launching the vote for the 3.0beta4 app release, it will be good 
that you review the NOTICE file or any other stuff you can think to.


I will start the vote after this weekend on Monday 19 March.

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



Re: svn commit: r1301028 - /james/app/trunk/NOTICE

2012-03-16 Thread Eric Charles

Done. Thx Stefano :)
Eric


On 15/03/12 16:31, Stefano Bagnara wrote:

IIRC you have to add this text to the notice-for-app file and not to
the main NOTICE as it applies to the generated binary artifact and not
to the source tree (main NOTICE is for the source tree/package).

Stefano

PS: thanks for taking care of this stuff!

2012/3/15:

Author: eric
Date: Thu Mar 15 15:12:16 2012
New Revision: 1301028

URL: http://svn.apache.org/viewvc?rev=1301028&view=rev
Log:
List the needed licences in NOTICE file (JAMESAPP-4)

Modified:
james/app/trunk/NOTICE

Modified: james/app/trunk/NOTICE
URL: 
http://svn.apache.org/viewvc/james/app/trunk/NOTICE?rev=1301028&r1=1301027&r2=1301028&view=diff
==
--- james/app/trunk/NOTICE (original)
+++ james/app/trunk/NOTICE Thu Mar 15 15:12:16 2012
@@ -1,10 +1,95 @@
=
-   ==  NOTICE file for use with the Apache License, Version 2.0,  ==
+   == NOTICE file for use with the Apache License, Version 2.0, ==
=

-   Apache James
+   Apache James Application
Copyright 1999-2011 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

+   This product includes JUnit under the Common Public License Version 1.0
+   See http://www.junit.org/
+
+   This product includes SLF4J software developed by QOS.ch.
+   Copyright 2004-2008 QOS.ch. All rights reserved.
+
+   This product includes activation library used by javamail,
+   jersey (core, json and server) libraries, JAXB (API and Impl),
+   JSR311 api, javax.servlet package and javax.jsp used by Jetty.
+   Copyright Oracle Corporation. It is distributed under the
+   Common Development and Distribution License.
+
+   This product includes Eclipse JDT core library distributed
+   Copyright Eclipse Foundation distributed under the Eclipse
+   Public License EPL1.
+   See http://www.apache.org/legal/resolved.html#category-b.
+
+   This product includes HSQL library
+   Copyright The HSQL Development Group distributed under the HSQL License.
+   See http://hsqldb.org/web/hsqlLicense.html.
+
+   For work developed by the HSQL Development Group:
+
+   Copyright (c) 2001-2010,
+   All rights reserved.
+
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions are 
met:
+
+   Redistributions of source code must retain the above copyright notice, 
this
+   list of conditions and the following disclaimer.
+
+   Redistributions in binary form must reproduce the above copyright 
notice,
+   this list of conditions and the following disclaimer in the 
documentation
+   and/or other materials provided with the distribution.
+
+   Neither the name of the HSQL Development Group nor the names of its
+   contributors may be used to endorse or promote products derived from 
this
+   software without specific prior written permission.
+
+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
IS"
+   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
THE
+   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
PURPOSE
+   ARE DISCLAIMED. IN NO EVENT SHALL HSQL DEVELOPMENT GROUP, HSQLDB.ORG,
+   OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
AND
+   ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 
TORT
+   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
OF THIS
+   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+   For work originally developed by the Hypersonic SQL Group:
+
+   Copyright (c) 1995-2000 by the Hypersonic SQL Group.
+   All rights reserved.
+
+   Redistribution and use in source and binary forms, with or without
+   modification, are permitted provided that the following conditions are 
met:
+
+   Redistributions of source code must retain the above copyright notice, 
this
+   list of conditions and the following disclaimer.
+
+   Redistributions in binary form must reproduce the above copyright 
notice,
+   this list of conditions and the following disclaimer in the 
documentation
+   and/or other materials provided with the distribution.
+
+   Neither the name of the Hypersonic SQL Group nor the names of its
+   contributors may be used to endorse or promote products derived from 
this
+   software without specific prior written permission.
+
+   THIS SOFTWARE I

Re: Error installing GWT plugin

2012-03-16 Thread Eric Charles

Hi,

Just retry following carefully 
http://code.google.com/eclipse/docs/install-eclipse-3.7.html (maybe a 
temp network unavailability...), and if it still doesn't work, restart 
with a clean eclipse indigo download :)


Thx, Eric

PS: I assume you are not talking about 'James Server' but on 'Hupa'?


On 15/03/12 20:25, Tejaswini Kurakula wrote:

Hi,

i have built JAMES successfully on my machine. Now in order run the
application in Eclipse 3.7(indigo) , i need to have GWT plug in (SDK's and
Google Eclipse SDK) installed in the eclipse IDE..but such an attempt gives
an error as mentioned below.

***
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
Unable to read repository at
http://dl.google.com/eclipse/plugin/3.7/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201202290255-rel-r37.jar
.
Read timed out
***
any kind of help is appreciated to solve it out.

Thank you,
Tejaswini kurakula



--
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: Regarding student applications for GSoC 2012

2012-03-16 Thread Eric Charles

Hi Tejaswini,

Upon registration on google melange, you will have to find a mentor.
If you really want to find one here at Apache James, open a JIRA 
(http://james.apache.org/server/3/feature-performance.html) and write 
down there what you think/would like to do. Our first proposal (see 
previous link I mentioned) is short, but you can always further detail it.


But let me repeat, the key point will be a mentor to step up here for you.

Thx,
Eric

On 16/03/12 08:11, Tejaswini Kurakula wrote:

Hi Ioan,

Thanks for the reply..This really helped me..According to the Google
Melange ,students can start  registering  or submitting their applications
starting from 26th March 2012 ...correct me if i am wrong..

I am well aware of the student Guidelines as per GSoc 2012..

Thank you,
Tejaswini Kurakula

On Fri, Mar 16, 2012 at 3:20 AM, Ioan Eugen Stanwrote:


2012/3/15 Tejaswini Kurakula:

Hi,

can you please send me the format for filling the student application for
GSoC  2012 and  please mention about the ideas list for JAMES this year..

Thank you,
Tejaswini kurakula



It will be available on google-melange website once student will be
able to apply.
Have you read the guidelines?

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






--
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: JAMES Installation

2012-03-16 Thread Eric Charles

Hi,

The username/password are the one of the mail account of the IMAP server 
Hupa connects to. By default, a 'demo' mode is foreseen, but the last 
time I have run Hupa, the 'demo' mode was broken here, so I had to 
configure it to use a real IMAP server.


The configuration occurs in a properties file. I don't directly find it 
on the web site, but reading the Hupa code should give you the answer :)


Thx, Eric

PS: When we read James, we usually refer to the James Mail Server. For 
Hupa, just name it 'Hupa' (not James).


On 16/03/12 09:10, Ioan Eugen Stan wrote:

Pe 16.03.2012 09:19, Tejaswini Kurakula a scris:

Hi,

I have installed JAMES(hupa) on my machine..i build JAMES successfully
and
as a result of the successful build a .(dot) war file got created.Now i
deployed the .war(apache james hupa .war) file on Apache TOMCAT
server...I am able to access the Hupa UI (login page)..i need to someone
to provide me the username and the password to proceed further.

Thank you,
Tejaswini Kurakula




Check out Creating domains and users [1]. I haven't used Hupa but I
expect you will have to add a user and a domain.

[1] http://james.apache.org/server/3/quick-start.html



--
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-03-16 Thread Eric Charles

Hi Gazda,

You have to remove in the server's project pom all references to 
apache-james-imap-* and replace them by the unique protocols-imap (same 
in app).


Doing this, you will have a few compilation failures that should be 
easily solved by changing the package imports.


You can commit for server project, but wait before committing the app 
project that the 3.0b4 release is done.


Thx,
Eric

On 16/03/12 08:42, Jochen Gazda wrote:

Eric,

I just wanted to merge the ACL code from apache-james-imap to
protocols-imap, but I am still seeing the default build&  run to use
the apache-james-imap code. Is there some simple way how I could tell
James to switch to the protocols-imap code?

Thank you,

gazda

On Fri, Mar 9, 2012 at 2:14 PM, Eric Charles  wrote:

(snip)


I have not started yet. I will have a look at the diffs between
protocols-imap and apache-james-imap in the next days and backport all
the necessary stuff.



Cool!



(2) Your tests use mocks and no concrete processor, I think this is the
good
way to do the unit tests in this case.



Hm... You say "no concrete processor"? Did you not want to say
something else? For every test in question, the particular processor
of the respective IMAP command IS actually being tested.
Perhaps you wanted to say "no concrete storage impementation"?



Oops, yes, I meant 'no concrete mailbox'.



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



-
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



[VOTE] Release Apache James App 3.0-beta4 (2nd try)

2012-03-19 Thread Eric Charles

Hi Jamers,

Please review and cast your VOTE for James server application 3.0-beta4 
release based on the latest and greatest Protocols 1.6.2, Mailbox 0.3, 
IMAP 0.4 and jSieve 0.5.


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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311920&version=12320240

SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/

Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-092/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip

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

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

--
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: [VOTE] Release Apache James App 3.0-beta4 (2nd try)

2012-03-19 Thread Eric Charles

Yes Ioan, it's Mailbox 0.4 and IMAP 0.3
Eric


On 19/03/12 16:39, Ioan Eugen Stan wrote:

Pe 19.03.2012 17:20, Eric Charles a scris:

Hi Jamers,

Please review and cast your VOTE for James server application 3.0-beta4
release based on the latest and greatest Protocols 1.6.2, Mailbox 0.3,
IMAP 0.4 and jSieve 0.5.



Hi,

Why not mailbox 0.4?

Thanks,



--
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: Question on Apache James App 3.0-beta4

2012-03-20 Thread Eric Charles

Hi Felix,

Yes, you got both of them: The idea around template, and the issue for 
pop3 and stmp :)


I (re)checked, and there is a remaining  tag from previous 
versions.


Could you retry with the template I just committed. I would like to 
collect more feedback before canceling and relaunch tests.


Thx again for your reviews and tests!

Eric


On 20/03/12 11:03, Felix Knecht wrote:

Hi all

I start a separate thread to not pollute the voting thread with other
stuff.

I just built the the app from the svn tag (works fine) and unzipped it.
Because I want to run it as common user I need to change the ports.
To do so I copy the imapserver-template.conf to imapserver.conf and put
a port higher than 1024.
The same I do with pop3server and smtpserver.

Everything starts up fine as long as I disable the pop3server and the
smptserver.

Enabling the smptserver I get Exception 1), enabling pop3server I get
Exception 2).

Should template be exactly for this? Copy the template, adapt to you
needs, keep all other entires in the template unchanged (these should be
the default ones) and the application works?

Regards
Felix

1)
jvm 1 | WrapperSimpleApp: Encountered an error running main:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'smtpserver': Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Passed in key must
select exactly one node: handlerchain
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Passed in key
must select exactly one node: handlerchain

2)
jvm 1 | WrapperSimpleApp: Encountered an error running main:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'pop3server': Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Passed in key must
select exactly one node: handlerchain
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'pop3server': Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Passed in key
must select exactly one node: handlerchain

-
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: Question on Apache James App 3.0-beta4

2012-03-20 Thread Eric Charles

Felix, svn down atm...
copy/paste of pop3-template.conf here after.








pop3server


	
	

0.0.0.0:110

200




file://conf/keystore
yoursecret
	 
org.bouncycastle.jce.provider.BouncyCastleProvider











1200



 0 



 0 





class="org.apache.james.pop3server.core.CoreCmdHandlerLoader"/>








On 20/03/12 12:16, Eric Charles wrote:

Hi Felix,

Yes, you got both of them: The idea around template, and the issue for
pop3 and stmp :)

I (re)checked, and there is a remaining  tag from previous
versions.

Could you retry with the template I just committed. I would like to
collect more feedback before canceling and relaunch tests.

Thx again for your reviews and tests!

Eric


On 20/03/12 11:03, Felix Knecht wrote:

Hi all

I start a separate thread to not pollute the voting thread with other
stuff.

I just built the the app from the svn tag (works fine) and unzipped it.
Because I want to run it as common user I need to change the ports.
To do so I copy the imapserver-template.conf to imapserver.conf and put
a port higher than 1024.
The same I do with pop3server and smtpserver.

Everything starts up fine as long as I disable the pop3server and the
smptserver.

Enabling the smptserver I get Exception 1), enabling pop3server I get
Exception 2).

Should template be exactly for this? Copy the template, adapt to you
needs, keep all other entires in the template unchanged (these should be
the default ones) and the application works?

Regards
Felix

1)
jvm 1 | WrapperSimpleApp: Encountered an error running main:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'smtpserver': Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Passed in key must
select exactly one node: handlerchain
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Passed in key
must select exactly one node: handlerchain

2)
jvm 1 | WrapperSimpleApp: Encountered an error running main:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'pop3server': Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Passed in key must
select exactly one node: handlerchain
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'pop3server': Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Passed in key
must select exactly one node: handlerchain

-
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: Question on Apache James App 3.0-beta4

2012-03-20 Thread Eric Charles

On 20/03/12 13:34, Felix Knecht wrote:

On 03/20/2012 12:26 PM, Eric Charles wrote:

Felix, svn down atm...
copy/paste of pop3-template.conf here after.


Sorry, my English is too bad to understand what you mean by "copy/paste
here after".



mine is broken, especially when I am in a hurry...


I copied the below conf and it works (if you meant this).



yes, this is what I meant.
Now the templates are also in SVN.

Don't hesitate to further test with the other templates.


BTW
When touching the template files anyway I wonder if we could remove the
spaces for integer/long values in the configuration, e.g.
 0 



I think it's something that comes long time ago from the initial committers.

I will try to fix this before calling for a new vote.


Regards
Felix


Thx, Eric










pop3server




0.0.0.0:110

200




file://conf/keystore
yoursecret
org.bouncycastle.jce.provider.BouncyCastleProvider









1200


 0 


 0 












On 20/03/12 12:16, Eric Charles wrote:

Hi Felix,

Yes, you got both of them: The idea around template, and the issue for
pop3 and stmp :)

I (re)checked, and there is a remaining  tag from previous
versions.

Could you retry with the template I just committed. I would like to
collect more feedback before canceling and relaunch tests.

Thx again for your reviews and tests!

Eric


On 20/03/12 11:03, Felix Knecht wrote:

Hi all

I start a separate thread to not pollute the voting thread with other
stuff.

I just built the the app from the svn tag (works fine) and unzipped it.
Because I want to run it as common user I need to change the ports.
To do so I copy the imapserver-template.conf to imapserver.conf and put
a port higher than 1024.
The same I do with pop3server and smtpserver.

Everything starts up fine as long as I disable the pop3server and the
smptserver.

Enabling the smptserver I get Exception 1), enabling pop3server I get
Exception 2).

Should template be exactly for this? Copy the template, adapt to you
needs, keep all other entires in the template unchanged (these
should be
the default ones) and the application works?

Regards
Felix

1)
jvm 1 | WrapperSimpleApp: Encountered an error running main:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'smtpserver': Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Passed in key must
select exactly one node: handlerchain
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'smtpserver': Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Passed in key
must select exactly one node: handlerchain

2)
jvm 1 | WrapperSimpleApp: Encountered an error running main:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'pop3server': Invocation of init method failed; nested
exception is java.lang.IllegalArgumentException: Passed in key must
select exactly one node: handlerchain
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'pop3server': Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException: Passed in key
must select exactly one node: handlerchain

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








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



--
eric | 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: mailetcontainer.xml

2012-03-20 Thread Eric Charles

Hi Sai,

You need to define the full class name such as
org.nhindirect.gateway.smtp.james.matcher.RecipAndSenderIsNotLocal
org.nhindirect.gateway.smtp.james.mailet.NHINDSecurityAndTrustMailet

Thx,
Eric


On 20/03/12 18:51, Saibabu Vallurupalli wrote:

Hi Eric,

I configured my mailet to use something like this below:





 
http://mysrver:myport/service/ServiceNamehttp://localhost:8081/config-service/ConfigurationService%3c/ConfigURL>




  
**

I am getting a ClassNotFoundException "Caused by:
java.lang.ClassNotFoundException: *
org.apache.james.transport.matchers.RecipAndSenderIsNotLocal*".

I am trying to port the existing configurations from 2.3.2 to 3.0Beta2. I
searched in code for the class RecipAndSenderIsNotLocal and couldn't find
it. Are we not supporting this functionality anymore?

Thanks, Sai



--
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: EMail attachments

2012-03-20 Thread Eric Charles

Hi Sai,
If you use JPA, the complete mail is stored as a blob in the 
JAMES_MESSAGE table (see 
http://james.apache.org/server/3/images/database/james-database-schema-derby_1000.png 
for an old version of the schema).


Are you looking to extract it when processing the mail in a mailet, or 
extract afterwards when already stored in the database? The 
implementations will be quite different depending on your need.


Thx, Eric


On 20/03/12 20:00, Saibabu Vallurupalli wrote:

Hi Team,

At present I have a requirement to extract the email attachment and put
them in a separate folder for different use.

What is the best way to do this? Does the attachments are stored in MySQL
database?

Any inputs on this will be really helpful.

Thank you,
Sai



--
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: EMail attachments

2012-03-20 Thread Eric Charles

Hi Sai,

You could do it
- with plain SQL
- use the James JPA classes and build your own queries
- completely reuse the mailbox API (you will have an InputStream to be 
given to mime4j - can be good in case of large attachments)



Eric

On 21/03/12 00:26, Saibabu Vallurupalli wrote:

Hi Ioan,

I see what you are saying, Thank you for recommendations I guess we need to
write a new code to read the BLOB content and extract attachments.

Thank you, Sai


On Tue, Mar 20, 2012 at 7:15 PM, Ioan Eugen Stanwrote:


2012/3/21 Saibabu Vallurupalli:

Hi Ioan,

My name is Sai :-)


Hi,

I noticed the mistake just after sending, sorry about that.


Also, I am aware of the code you pointed to me any ways Thank you. I

wrote

JPAEncryptedMessage.java :-)

What I am looking for is how to extract just attachment from body content
BLOB without any code modifications to James source.

Please let me know if you have any ideas?

Thanks, Sai.


Well, you can't do a job and not have your hands dirty ;). I can't
seem to think how you could do that besides a mailet or an external
tool that accesses the database and processes the messages. I would go
with a mailet, should be pretty easy to implement mime parsing there.



On Tue, Mar 20, 2012 at 6:56 PM, Ioan Eugen Stan
2012/3/20 Saibabu Vallurupalli:

Hi Eric,

We are trying to retrieve it after storing to make it more simple.

During

process might need a code change in mailets I guess.
If it is a completed email in BLOB, is there a way to extract just
attachment?

Thanks, Sai



Hello Say,

You will have to load the email and use mime4j to process it and
extract attachments. The code that maps one message to a database
table is in JPAMessage class [1]. If you look closely, you will see
the JPA annotations for headers and body like bellow. JPAMessage class
has getBodyContent and getHeaderContent methods to get an InputStream
for each value.

5   /** The value for the body field. Lazy loaded */
46  /** We use a max length to represent 1gb data. Thats prolly
overkill, but who knows */
47  @Basic(optional = false, fetch = FetchType.LAZY)
48  @Column(name = "MAIL_BYTES", length = 1048576000, nullable =

false)

49  @Lob private byte[] body;

52  /** The value for the header field. Lazy loaded */
53  /** We use a max length to represent 1gb data. Thats prolly
overkill, but who knows */
54  @Basic(optional = false, fetch = FetchType.LAZY)
55  @Column(name = "HEADER_BYTES", length = 10485760, nullable =

false)

56  @Lob private byte[] header;


[1]


http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMessage.java?view=markup



On Tue, Mar 20, 2012 at 3:23 PM, Eric Charles

wrote:



Hi Sai,
If you use JPA, the complete mail is stored as a blob in the

JAMES_MESSAGE

table (see http://james.apache.org/**server/3/images/database/**
james-database-schema-derby_**1000.png<



http://james.apache.org/server/3/images/database/james-database-schema-derby_1000.png

for

an old version of the schema).


Are you looking to extract it when processing the mail in a mailet,

or

extract afterwards when already stored in the database? The

implementations

will be quite different depending on your need.

Thx, Eric



On 20/03/12 20:00, Saibabu Vallurupalli wrote:


Hi Team,

At present I have a requirement to extract the email attachment and

put

them in a separate folder for different use.

What is the best way to do this? Does the attachments are stored in

MySQL

database?

Any inputs on this will be really helpful.

Thank you,
Sai



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





--**--**-

To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<

server-dev-unsubscr...@james.apache.org>

For additional commands, e-mail: server-dev-help@james.apache.**org<

server-dev-h...@james.apache.org>







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






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






--
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: James MySQL

2012-03-21 Thread Eric Charles

Hi Sai,

Do you see JAMES_MESSAGE table (if you use a recent version, this is the 
name that you should have).

Which other tables do you see?
Thx, Eric


On 21/03/12 19:14, Saibabu Vallurupalli wrote:

Hi,

I have configured James to use MySQL database I am not seeing MESSAGE table
though I am able to send receive messages.

Is there any configuration I am missing?

Thanks,
Sai



--
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 App 3.0-beta4 (3rd try)

2012-03-21 Thread Eric Charles

(resending, the mail didn't appear in the mailing lists)

Hi Jamers,

Please review and cast your VOTE for James server application 3.0-beta4 
release. NOTICE and template configuration files have been fixed further 
to your last reviews.


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

Release Notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311920&version=12320240

SVN tags:
https://svn.apache.org/repos/asf/james/app/tags/apache-james-3.0-beta4/

Source tarballs:
https://repository.apache.org/content/repositories/orgapachejames-097/org/apache/james/apache-james/3.0-beta4/apache-james-3.0-beta4-app.zip

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

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



  1   2   3   4   5   6   7   8   9   10   >