Re: [jira] Resolved: (JAMES-1151) javax.annotation package is provided by two maven dependencies

2010-12-21 Thread Eric Charles
Change is committed. Tks, Eric On 21/12/2010 09:17, Norman Maurer wrote: Maybe the best to replace it there too.. Bye, Norman 2010/12/21 Eric Charles: btw, still javax.annotation:jsr250-api in mailbox project. Tks, Eric On 20/12/2010 21:43, Norman Maurer (JIRA) wrote: [ https

Re: svn commit: r1051145 - in /james/mailbox/trunk/copier/src: main/java/org/apache/james/mailbox/copier/ test/java/org/apache/james/mailbox/copier/

2010-12-21 Thread Eric Charles
now boolean instead of Boolean. Tks, Eric On 20/12/2010 19:52, Norman Maurer wrote: Nope ;) Bye, Norman 2010/12/20 Eric Charles: I thought invoking this copyMailboxes via remote JMX would require a serializable return type. Tks, Eric On 20/12/2010 16:48, Norman Maurer wrote: Any reason

Re: svn commit: r1052367 - in /james/server/trunk: queue-activemq/src/test/java/org/apache/james/queue/activemq/ActiveMQMailQueueTest.java queue-jms/src/test/java/org/apache/james/queue/jms/JMSMailQue

2010-12-24 Thread Eric Charles
Hi, JMSMailQueueTest in queue-jms uses the AMQ Broker. Would it be possible to mock the broker (get rid of amq dependencies) in queue-jms? Tks, Eric On 23/12/2010 20:45, nor...@apache.org wrote: Author: norman Date: Thu Dec 23 19:45:09 2010 New Revision: 1052367 URL: http://svn.apache.org/vi

Re: svn commit: r1052367 - in /james/server/trunk: queue-activemq/src/test/java/org/apache/james/queue/activemq/ActiveMQMailQueueTest.java queue-jms/src/test/java/org/apache/james/queue/jms/JMSMailQue

2010-12-24 Thread Eric Charles
Bye, Norman 2010/12/24 Eric Charles: Hi, JMSMailQueueTest in queue-jms uses the AMQ Broker. Would it be possible to mock the broker (get rid of amq dependencies) in queue-jms? Tks, Eric On 23/12/2010 20:45, nor...@apache.org wrote: Author: norman Date: Thu Dec 23 19:45:09 2010 New Rev

Re: svn commit: r1052881 - in /james/server/trunk/container-spring/src/main/config/james/context: james-mailbox-jcr-context.xml james-mailbox-jpa-context.xml james-mailbox-maildir-context.xml james-ma

2010-12-26 Thread Eric Charles
Hi Norman, Any particular reason to add init() on StoreMailboxManager abstract class and not on MailboxManager interface ? Also, if we have init(), what about close() ? Tks, Eric On 26/12/2010 13:00, nor...@apache.org wrote: Author: norman Date: Sun Dec 26 12:00:30 2010 New Revision: 10528

Re: svn commit: r1052367 - in /james/server/trunk: queue-activemq/src/test/java/org/apache/james/queue/activemq/ActiveMQMailQueueTest.java queue-jms/src/test/java/org/apache/james/queue/jms/JMSMailQue

2010-12-26 Thread Eric Charles
ion, so it make sense to test against it. Bye Norman Am Freitag, 24. Dezember 2010 schrieb Eric Charles: ... or we could make it abstract and move the methods depending on amq to queue-activemq ? Tks, Eric On 24/12/2010 16:06, Norman Maurer wrote: Well it could be possible.. But I don't

Re: [VOTE] Release protocols 1.3

2010-12-27 Thread Eric Charles
[x] +1 Yes please release SMTP-IN and POP3 tested. Tks, Eric On 26/12/2010 11:58, Norman Maurer wrote: Hi there, its time again for a new protocols release. This is the first step on getting james-server 3.0-M3 released later. So please review and cast your vote: https://repository.apache.or

[Discuss] MailRepository(Store) Naming

2010-12-28 Thread Eric Charles
Hi, MailRepository is ambiguous with Mailbox. MailRepositoryStore used to list all available MailRepositories is not as self-explanatory as we would want. We can continue to used those names and bring documentation to explain them such as in http://james.apache.org/server/3/feature-persisten

Re: [VOTE] Release Mime4J 0.6.1

2010-12-28 Thread Eric Charles
[x] +1 Yes please release Tests are running fine here. Tks, Eric On 27/12/2010 22:02, Norman Maurer wrote: Hi there, as asked for on the ml I prepared to cut a bugfix release of mime4j (0.6.1) So please review and cast your vote: https://repository.apache.org/content/repositories/orgapacheja

Re: [Discuss] MailRepository(Store) Naming

2010-12-28 Thread Eric Charles
each one? Does Mailbox contains Mail objects, javamail MimeMessage, simple streams? Is MailRepository the "old one" containing Mail objects? What about renaming MailRepository to EnvelopeRepository and the store to EnvelopeRepositoryRegistry? Stefano 2010/12/28 Eric Charles: Hi, Mail

Re: [Discuss] MailRepository(Store) Naming

2010-12-28 Thread Eric Charles
orman 2010/12/28 Stefano Bagnara: What do we store in each one? Does Mailbox contains Mail objects, javamail MimeMessage, simple streams? Is MailRepository the "old one" containing Mail objects? What about renaming MailRepository to EnvelopeRepository and the store to EnvelopeReposito

Re: svn commit: r1053359 - in /james/server/trunk/container-spring/src/main: config/james/ config/james/context/ java/org/apache/james/container/spring/tool/

2010-12-28 Thread Eric Charles
Hi, This is a quick-draft to import users and mails from james 2.3. We should first discuss the conf which is for now in two separate files. (I tried to configure to have a single file, but came to issue regarding the class loading, the class attribute being handled by the ConfigurationBeanFac

Re: [Discuss] MailRepository(Store) Naming

2010-12-28 Thread Eric Charles
Hi, See comments inside, Eric On 28/12/2010 14:24, Stefano Bagnara wrote: 2010/12/28 Eric Charles: 2 different persistences (mailbox, mailrepository) for mails sounds curious, but there are for different purposes (mailbox for users' mails, mailrespository for the rest such as spam,

Re: svn commit: r1053359 - in /james/server/trunk/container-spring/src/main: config/james/ config/james/context/ java/org/apache/james/container/spring/tool/

2010-12-29 Thread Eric Charles
Hi Norman, We need: fromUsersRepository -> toUsersRepository fromMailRepository -> toMailboxManager The to* are the ones defined by existing config. no worry about that. The fromMailRepository can be passed as parameter to the method (from jmx client for example), and it will be used to select

Re: Database table names

2010-12-30 Thread Eric Charles
Hi, There are 2 opened JIRA for this: https//issues.apache.org/jira/browse/IMAP-228 Name JPA Database Tables and Columns https://issues.apache.org/jira/browse/IMAP-233 jpa mapping files The first JIRA is about adding annotations in the JAVA entities to fix the databases and column names so th

Re: svn commit: r1053359 - in /james/server/trunk/container-spring/src/main: config/james/ config/james/context/ java/org/apache/james/container/spring/tool/

2010-12-31 Thread Eric Charles
Yeah, tmp conf is not the best thing. I will give another try via params. Tks, Eric On 29/12/2010 17:17, Norman Maurer wrote: Could we not just pass all config params via jmx ? Having an "temporary" config is a bit hacky IMHO.. Bye, Norman 2010/12/29 Eric Charles: Hi Norman

Re: Database table names

2010-12-31 Thread Eric Charles
Hi, IMAP-228 and IMAP-233 will be my first dev todo on 2011 (end-of 2010 is a bit busy here). See my comments on JIRAs tks, Eric On 30/12/2010 16:08, Norman Maurer wrote: 2010/12/30 Eric Charles: Hi, There are 2 opened JIRA for this: https//issues.apache.org/jira/browse/IMAP-228 Name JPA

Re: [Discuss] MailRepository(Store) Naming

2010-12-31 Thread Eric Charles
map and see if it's not there... Anyway, we need to further think/talk about that in 2011 :) Happy new Year to All, All the best, and I also wish to James Server a happy 3.0 release. Tks, Eric On 29/12/2010 17:24, Norman Maurer wrote: Comments inside.. 2010/12/28 Eric Charles: Hi, See comm

Re: svn commit: r1052881 - in /james/server/trunk/container-spring/src/main/config/james/context: james-mailbox-jcr-context.xml james-mailbox-jpa-context.xml james-mailbox-maildir-context.xml james-ma

2010-12-31 Thread Eric Charles
Yes, makes sense. Eric On 31/12/2010 15:37, Norman Maurer wrote: Well I think an init() and destroy() method does not really belong to the interface.. Its more implementation generic.. Bye, Norman 2010/12/26 Eric Charles: Hi Norman, Any particular reason to add init() on

[Discuss] Per service logging in server

2011-01-02 Thread Eric Charles
Hi, The current logging in server relies on a per-service/bean log4j appender. This allows to have log files per service (pop, smtp,...) based on bean names defined in the spring context. commons-logging is used and depending on the presence of log4j, a Log4JLogger or a Jdk14Logger is instanc

Re: [Discuss] Per service logging in server

2011-01-02 Thread Eric Charles
t.xml" }); context.registerShutdownHook(); log.info("James server is started in " + ... + " ms"); Same question as for use case 2 : add a generic server appender ? Tks, Eric On 2/01/2011 11:13, Eric Charles wrote: Hi, The current logging in server relies on a per-service/bean log4j app

Re: [Discuss] Per service logging in server

2011-01-02 Thread Eric Charles
We've got in server log4j.properties log4j.logger.org.apache.james=INFO, CONS, FILE I guess we can create all Log with LogFactory.getLog("org.apache.james"); Must this be applied in Main, MailboxCopierImpl,.. class ? Tks, Eric On 2/01/2011 11:13, Eric Charles wrote: H

Re: svn commit: r1052881 - in /james/server/trunk/container-spring/src/main/config/james/context: james-mailbox-jcr-context.xml james-mailbox-jpa-context.xml james-mailbox-maildir-context.xml james-ma

2011-01-03 Thread Eric Charles
I was just rethinking about this... open/close may be part of the api - init/destroy part of the implementation. I guess we are talking about init, so this remains part of the impl. Tks, Eric On 31/12/2010 16:25, Eric Charles wrote: Yes, makes sense. Eric On 31/12/2010 15:37, Norman Maurer

Re: [Discuss] Per service logging in server

2011-01-03 Thread Eric Charles
/2 Eric Charles: We've got in server log4j.properties log4j.logger.org.apache.james=INFO, CONS, FILE I guess we can create all Log with LogFactory.getLog("org.apache.james"); Must this be applied in Main, MailboxCopierImpl,.. class ? Tks, Eric On 2/01/2011 11:13, Eric Cha

Re: svn commit: r1054611 - /james/project/trunk/project/src/site/xdoc/download.xml

2011-01-03 Thread Eric Charles
http://james.apache.org/download.cgi is updated for mim4j 6.4.1 and protocols 1.3 releases. (I only found source packages for protocols in http://www.apache.org/dist/james/protocols/). Tks, Eric On 3/01/2011 14:31, e...@apache.org wrote: Author: eric Date: Mon Jan 3 13:31:04 2011 New Rev

Re: svn commit: r1054611 - /james/project/trunk/project/src/site/xdoc/download.xml

2011-01-04 Thread Eric Charles
Hi, Mvn url fix should be visible within hour. Tks, Eric On 4/01/2011 09:17, Norman Maurer wrote: That's ok.. BTW the linked maven repos should be: http://repo1.maven.org/maven2/org/apache/james/ Bye, Norman Ps: I will send the announce later today.. 2011/1/4 Eric Charles:

Re: [PROPOSAL] Move RemoteDelivery logic to a "core service"

2011-01-08 Thread Eric Charles
Hi, I also like the idea to have remote/local delivery as core service implemented via JMS queues. The decision to deliver should remain in the mailet processor. The way the local/remote delivery queues will be consumed will be configured via separate mechanisms (xml files). The question is

Re: [PROPOSAL] Move RemoteDelivery logic to a "core service"

2011-01-10 Thread Eric Charles
/2011 10:07, Norman Maurer wrote: Could you explain what Problems you See here? Also the Queues would Be of the type MailQueue, so its not limited to jms. The configuration of the Services would Be Done by seperate config Files Bye Norman Am Sonntag, 9. Januar 2011 schrieb Eric Charles: Hi

Re: [PROPOSAL] Move RemoteDelivery logic to a "core service"

2011-01-10 Thread Eric Charles
delivered (it goes via additional intermediate step) (Not very relevant, mail is store/forward, not real-time) Tks, Eric On 10/01/2011 10:35, Norman Maurer wrote: Hi there, comments inside... 2011/1/10 Eric Charles: Hi Norman, I see two attention points there: - Additional operational

Re: [PROPOSAL] Move RemoteDelivery logic to a "core service"

2011-01-10 Thread Eric Charles
Hi, Tks for the information. What about the jsieve functions? We'll we reimplement it or reuse the existing mailet? Tks, Eric On 10/01/2011 10:54, Stefano Bagnara wrote: 2011/1/10 Eric Charles: So configuration and code would the same for now, simply export them to separate compo

Re: [PROPOSAL] Move RemoteDelivery logic to a "core service"

2011-01-10 Thread Eric Charles
11/1/10 Stefano Bagnara: 2011/1/10 Eric Charles: What about the jsieve functions? We'll we reimplement it or reuse the existing mailet? I have to make more clear that my previous comment was about the Remote delivery which I know well as it didn't change in the last 2 years. I don'

[Share] JPA Mailbox copy to Maildir

2011-01-10 Thread Eric Charles
Hi, I just want to share that I migrated mailboxes (1,5GB, 100.000 mails, 30 mailboxes) from jpa to maildir. It was a mandatory step for me before tackling IMAP-228 (Database Tables and Columns). Btw, If you want to copy to maildir, wait a little for MAILBOX-31 (Creating Maildir subfolder sh

Re: svn commit: r1057291 - /james/server/trunk/pom.xml

2011-01-10 Thread Eric Charles
tks eclipse ;) On 10/01/2011 18:34, nor...@apache.org wrote: Author: norman Date: Mon Jan 10 17:34:27 2011 New Revision: 1057291 URL: http://svn.apache.org/viewvc?rev=1057291&view=rev Log: Remove? from pom.xml. Seems like a mistake Modified: james/server/trunk/pom.xml Modified: james/se

[Tip] JPA dev in eclipse

2011-01-11 Thread Eric Charles
Hi, I'm currently developing in eclipse for IMAP-228 (Name JPA Database Tables and Columns). Changing the JPA annotations and running with m2eclipse (with workspace resolution enabled) gave problems here: the classes were not enhanced, altough the 'Maven Builder' is being invoked. The soluti

Re: [Tip] JPA dev in eclipse

2011-01-11 Thread Eric Charles
. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -Original Message- From: Eric Charles [mailto:e...@apache.org] Sent: January-11-11 8:41 AM To: James Developers List Subject: [Tip] JPA dev in

Re: [proposal] more modules consolidation

2011-01-11 Thread Eric Charles
(quick answer) - Yes, 43 is much... The idea behind was the osgi track (can't find the articles from pax project where they argue to have real small modules, even micro modules, rather than larger one). - Your proposal to have persistence-* is good because it will not oblige to load unneeded d

Re: [jira] Commented: (MAILBOX-14) Name JPA Database Tables and Columns

2011-01-11 Thread Eric Charles
suetabpanels:comment-tabpanel&focusedCommentId=12980165#action_ 12980165 ] Eric Charles commented on MAILBOX-14: - You can see a first shot on james-jpa-db-1-without-mailbox-fk.png (https://issues.apache.org/jira/secure/attachment/12468023/james-jpa-db-1-wi thou

Re: [proposal] more modules consolidation

2011-01-11 Thread Eric Charles
ersistence: I expect confusions for new-comers... Tks, Eric On 11/01/2011 18:05, Eric Charles wrote: (quick answer) - Yes, 43 is much... The idea behind was the osgi track (can't find the articles from pax project where they argue to have real small modules, even micro modules, rather than lar

Database schema review

2011-01-14 Thread Eric Charles
Hi Devs, You can visualize the generated database schema on https://issues.apache.org/jira/secure/attachment/12468360/james-jpa-db-2.png. Functional tests and basic tests in server are OK. It would be cool if you could review this schema. After approval, I will ask user mailing list to run t

Re: DB Access with james3

2011-01-17 Thread Eric Charles
Hi, The mails store magic occurs in LocalDelivery where the MailboxManager is injected. (more precise, LocalDelivery uses the SieveMailet initialized with the MailboxManager) sieveMailet.setUsersRepository(usersRepository); sieveMailet.setMailboxManager(mailboxManager);

Re: DB Access with james3

2011-01-18 Thread Eric Charles
lidationMode()Ljavax/persistence/ValidationMode; Thx. Mat 2011/1/17 Eric Charles mailto:e...@apache.org>> Hi, The mails store magic occurs in LocalDelivery where the MailboxManager is injected. (more precise, LocalDelivery uses the SieveMailet initialized w

Re: svn commit: r1060495 - in /james/server/trunk/container-spring: ./ src/main/config/james/ src/main/config/james/context/ src/main/java/org/apache/james/container/spring/tool/

2011-01-18 Thread Eric Charles
Oops, I forgot to remove the pom from my commit. I fix it now. tks, eric On 18/01/2011 19:11, Stefano Bagnara wrote: 2011/1/18: Author: eric Date: Tue Jan 18 18:07:31 2011 New Revision: 1060495 Hi Eric, it seems you reverted some change I did to the container-spring pom.xml with this commit a

Re: svn commit: r1060501 - /james/server/trunk/container-spring/pom.xml

2011-01-18 Thread Eric Charles
Hi Stefano, It should be ok now with this commit. tks, -eric On 18/01/2011 19:16, e...@apache.org wrote: Author: eric Date: Tue Jan 18 18:16:20 2011 New Revision: 1060501 URL: http://svn.apache.org/viewvc?rev=1060501&view=rev Log: Fix bad commit. Modified: james/server/trunk/container-sp

org.apache.mailet.Mail to InputStream

2011-01-18 Thread Eric Charles
Hi, For the 2.3 import tool, I need to convert the org.apache.mailet.Mail to InputStream (not only the MimeMessage, but the whole mail with subject, headers,...). Is there an existing utility class, or should I write one (one where to place it ?) ? Tks, Eric --

Re: org.apache.mailet.Mail to InputStream

2011-01-19 Thread Eric Charles
g you need. I think this should do the job: new MimeMessageInputStream(mail.getMessage); Bye, Norman 2011/1/19 Eric Charles: Hi, For the 2.3 import tool, I need to convert the org.apache.mailet.Mail to InputStream (not only the MimeMessage, but the whole mail with subject, headers,...). Is the

[Review] Import 2.3 users and mails to 3.0

2011-01-19 Thread Eric Charles
Hi, You can now import 2.3 users and mails into 3.0 via JMX (available in trunk). It needs an additional conf file to define the 2.3 userrepository (difficult to give all params via JMX). For users import, you have to give a default password (3.0 users will all be created with that default p

Re: DB Access with james3

2011-01-19 Thread Eric Charles
ling correctly all the appropriate tables...)? Thx for helping. Luc. 2011/1/17 Eric Charles Hi, The mails store magic occurs in LocalDelivery where the MailboxManager is injected. (more precise, LocalDelivery uses the SieveMailet initialized with the MailboxManager)

Re: DB Access with james3

2011-01-20 Thread Eric Charles
n the James3 mySQL db, as James3 does (i.e. filling correctly all the appropriate tables...)? Thx for helping. Luc. 2011/1/17 Eric Charles Hi, The mails store magic occurs in LocalDelivery where the MailboxManager is injected. (more precise, LocalDelivery us

Re: DB Access with james3

2011-01-20 Thread Eric Charles
ion exception'... I think the first method is the good one, but I'm still looking after the magic method to instantiate my MailboxManager. Thx, Luc. 2011/1/20 Eric Charles Hi, Probably you did not instantiate spring context. As first shot, you could copy Main to YourMain https://svn.apac

[Discuss] mailbox-spring (and imap-spring) ?

2011-01-21 Thread Eric Charles
Hi, The spring is for now completely defined in sever. This means that developers willing to use mailbox (or imap) as a component have no straigh-forward way to assemble mailbox classes with spring. We could create a spring module for mailbox (and imap), define there the injection, and simpl

Re: [Discuss] mailbox-spring (and imap-spring) ?

2011-01-21 Thread Eric Charles
21/01/2011 11:51, Stefano Bagnara wrote: 2011/1/21 Eric Charles: Hi, The spring is for now completely defined in sever. This means that developers willing to use mailbox (or imap) as a component have no straigh-forward way to assemble mailbox classes with spring. We could create a spring module f

[Share] maildir to jpa (new schema)

2011-01-23 Thread Eric Charles
Hi, I have just migrated from maildir to jpa (with new schema). 109.864 mails spread in 47 mailboxes were copied in 2,5 hours. org.apache.james.mailbox.copier.MailboxCopierImpl | Mailboxes copied in 8728658 ms. On disk, mails were 1,5GB (maildir) and 2,4GB (derby database). Everthing seems f

Re: [Share] maildir to jpa (new schema)

2011-01-23 Thread Eric Charles
sure, mailbox seems ready for prime-time :) -eric On 23/01/2011 15:53, Norman Maurer wrote: Hi Eric, Thanks for let us know. Seems like we should get a new release out ;) Bye, Norman Am Sonntag, 23. Januar 2011 schrieb Eric Charles: Hi, I have just migrated from maildir to jpa (with new

Re: DB Access with james3

2011-01-24 Thread Eric Charles
st have to select those I need. Thanks for your help, Luc 2011/1/20 Eric Charles Hi, Yes, direct injection does not work in main class because it is not fetched from spring context. 1. you can create a bean and move the @Resource within, define the bean in spring xml context, spring shoul

[Discuss] Virtual User Management

2011-01-25 Thread Eric Charles
Hi, I recently opened a JIRA-1126 (Disallow the creation of alias from non-existing username). Before opening other ones related to virtual user, I would like to discuss how this aspect should be managed. 1.- The management API is addMapping(String user, String domain, String mapping). I alw

More doc on methods/params for JMX clients?

2011-01-25 Thread Eric Charles
Hi, I never did that, nor googled to find more, but is there a way to have some information displayed on the JMX clients like the description of the methods' params? This would help the management of the James Server. So the question is more "Is it welcome, and how to do it?" Tks, Eric ---

Re: Concerning DSN ESMTP extension

2011-01-25 Thread Eric Charles
Hi, Trying to learn more, I read http://www.ietf.org/rfc/rfc1892.txt and have a few questions: - Could you sketch a simple use case of ESMTP-DSN (sorry to ask, I don't know anything about it). - Is DSN for MTA-to-MTA only or also for Client-to-MTA ? - Do you know if thunderbird 3 support DSN

Re: More doc on methods/params for JMX clients?

2011-01-25 Thread Eric Charles
e JMX implementation extend StandardMBean. See: http://blogs.sun.com/jmxetc/entry/javax_management_standardmbean_when_and Bye, Norman 2011/1/25 Eric Charles: Hi, I never did that, nor googled to find more, but is there a way to have some information displayed on the JMX clients like the descripti

Re: Do James developers use FindBugs?

2011-01-25 Thread Eric Charles
Hi, I personally don't use findbugs nor other simlar tool, but should definitively do it. To ease stuff (developers are lazy), it should even be in the (maven) build, or at least be generated on demand (http://mojo.codehaus.org/findbugs-maven-plugin/) I already used cobertura code coverage too

Re: [Discuss] Virtual User Management

2011-01-26 Thread Eric Charles
set or can be removed, users are there and remain. Tks, Eric On 25/01/2011 20:15, Norman Maurer wrote: Hi, comments inside.. 2011/1/25 Stefano Bagnara: 2011/1/25 Norman Maurer: 2011/1/25 Eric Charles: [...] 2.- Since we enabled the SMTP ValidRcptHandler, we need to really create the user, b

Re: [Discuss] Virtual User Management

2011-01-26 Thread Eric Charles
RecipientHanlder and have alias that don't exist as real user. Tks, Eric On 26/01/2011 10:46, Norman Maurer wrote: Comments inside.. 2011/1/26 Eric Charles: Hi, So we've got the api: "alias maps to existinguser" :) 1. Should alias always exist as user? 1.1 no => we need

Re: [Discuss] Virtual User Management

2011-01-26 Thread Eric Charles
ps to an non exist address it accept the mail via ValidRcptHandler. Bye, Norman 2011/1/26 Norman Maurer: If thats the case its a bug we should fix.. Bye, Norman 2011/1/26 Eric Charles: With current trunk, I defined a virtualuser, and ValidRecipientHandler rejected the mail because it does

Re: [Discuss] Virtual User Management

2011-01-27 Thread Eric Charles
moveMapping(String user, String domain, String mapping) throws Exception; public Map> getAllMappings() throws Exception; On 27/01/2011 08:43, Norman Maurer wrote: 2011/1/26 Stefano Bagnara: Il 26 gennaio 2011 10.00.39 UTC+1, Eric Charles ha scritto: Hi, So we've got the api: "

Re: DB Access with james3

2011-01-28 Thread Eric Charles
issue takes place in a JavaEE/Spring app, when I tried to load my reduced James spring context, the build behaviour is not the same as in stand alone and it ask me much more beans for, actually trigger a class constructor exception. Anyone has a clue about James based webapp dev? Thx, Lu

Re: [Tip] JPA dev in eclipse

2011-01-28 Thread Eric Charles
Hi Andrew, Still no luck with the -javaagent option. Which platform (os, jdk) are you running on? Are you using some additional conf? tks - eric On 11/01/2011 14:58, Eric Charles wrote: Hi Andrew, I remember to have tried months ago the -javaagent option (as documented on openjpa site

Re: Cannot Build/Debug in Eclipse

2011-01-28 Thread Eric Charles
Hi, Yes, spring-beans.xml is now james-server-context.xml. Documentation update is on its way for server M3 release. For JPA changes, you can read more on http://www.mail-archive.com/server-dev@james.apache.org/msg30747.html I do exactly like you: manual mvn on jpa project to enhance the classes

Re: mailboxmanager bean load error

2011-01-28 Thread Eric Charles
Hi, You need to define a UidProvider bean. For JPA (with trunk source code), it would be class="org.apache.james.mailbox.jpa.mail.JPACachingUidProvider"> tks - eric On 28/01/2011 20:13, Luc Saulière wrote: Hello, I'm developing an app using Spring and some James beans. When I load the Mailb

Re: IMAP does NOT work here

2011-02-01 Thread Eric Charles
Hi, Are you sending to the correct user ? Can you read the mail via pop3 ? Tks - Eric On 2/02/2011 07:28, Barry Bai wrote: Hi Norman, I have already increased the log level to DEBUG, and the log content as below: INFO 14:21:07,828 | james.imapserver | IMAP Service is running on: localhost. I

Re: Inject a living instance of MailboxManager in a standalone application...

2011-02-03 Thread Eric Charles
Hi Luc, From you previous posts, I understand that you access mailbox with a reduced spring context (around 5 beans). You say that it is very slow and does not refresh automatically. Can you give more information : in which way is it slow (insert, read, ...), what do you mean with "refresh" (

Re: IMAP does NOT work here

2011-02-03 Thread Eric Charles
just created one user in James. >>> I can read mails correctly via pop3, but imap is not working. I am >>> confusing about this. >>> >>> Thanks for your reply. >>> Barry >>> >>> 2011-02-02 >>> >>> >>> >>

Re: Getting Mail ID

2011-02-09 Thread Eric Charles
Hi Math, The mailet processing occurs in the "spooling", before the mail is persisted in the mailbox. The spooling currently relies on activemq jms queue, with kahadb persistence. Why do you need access to the database id of the mail? If you need it to access access james db from another appl

Re: IMAP Search and lucene

2011-02-16 Thread Eric Charles
Hi, Jackrabbit 2.2.0 has just been released in December 2010. It may still take time for 2.3.0. In the meantime, we can release james milestones with jackrabbit snapshots. JCR-2415 is fixed, and jackrabbit pom parent states lucene 3.0.3. (https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrab

Re: [PATCH] Link/Anchor fix

2011-02-23 Thread Eric Charles
Hi, Change on FAQ page has been uploaded and should be soon visible. Tks for the patch :) Eric On 23/02/2011 07:18, Felix Knecht wrote: On 02/22/2011 08:05 PM, Norman Maurer wrote: Hi there, we love patches :) Can you please create a jira issue and attach the patch there so it not get lost ?

Re: [jira] Created: (IMAP-261) Missing site generation for modules

2011-02-23 Thread Eric Charles
Hi, I like the idea to have report generation on all modules. But we should keep coherence across all james projects (server, mailbox, mailets,...). For example, server and mailbox don't have site for each modules. On the other hand, mailet has site for each of its modules. Repeating the skin

Re: [IMAP] Why parent pom.xml?

2011-02-24 Thread Eric Charles
Hi Felix, The idea of parent is to have some basic/common definition in it, and let the childs heritate from these (a bit like java classes). This is the way maven works, and james simply uses this feature. For example, all imap modules have a parent which is located in imap/parent. This imap/

Re: How to build the site?

2011-02-24 Thread Eric Charles
Can you try with "mvn site" ? Tks, - Eric On 24/02/2011 08:11, Felix Knecht wrote: Hi all Some more questions. Which is the right way to build a project or a test site? Can somebody point me to the documentation about this? I haven't found it :(. E.g. to deploy documentation of imap it sho

Re: How to build the site?

2011-02-24 Thread Eric Charles
Anyway, I'm getting closer to understand how it works. Thanks Felix On 02/24/2011 11:19 AM, Eric Charles wrote: Can you try with "mvn site" ? Tks, - Eric On 24/02/2011 08:11, Felix Knecht wrote: Hi all Some more questions. Which is the right way to build a project or a test site

Re: [IMAP] Why parent pom.xml?

2011-02-24 Thread Eric Charles
About the parent poms: 1.- some projects use the root/pom.xml as parent (james server project does that) 2. others create a root/parent/pom.xml specific project. I was in favor of the first, now I use the second as default, maybe tomorrow I will use the first again. I looked at your patch w

Re: [jira] Created: (IMAP-261) Missing site generation for modules

2011-02-24 Thread Eric Charles
27;t avoid repetition, no problem, I will commit as-such. Simply ensure that the generated site is ok (well formed,...). Tks lot, - Eric On 23/02/2011 20:18, Felix Knecht wrote: On 02/23/2011 05:30 PM, Eric Charles wrote: Hi, I like the idea to have report generation on all modules. But we sho

Re: Where to put the parent/pom.xml

2011-02-25 Thread Eric Charles
Hi Felix, I'm with you for 1). Btw, if you've got commit right to james trunk, I think you can commit directly your changes (in general, referring to a JIRA). We apply CTR, so we can always talk about your commits if needed. Norman, can you confirm this ? Tks, - Eric On 25/02/2011 10:34, No

Re: Reporting / Code review

2011-02-25 Thread Eric Charles
Impressive result [2] and [3]: we've got some work to have nicer report. [1] seems like jquery tabs are broken (however js is available http://people.apache.org/~felixk/james/server/trunk/js/jquery/js/jquery-ui-1.8.5.custom.min.js) :) Tks, - Eric On 25/02/2011 08:41, Felix Knecht wrote: Hi all

Re: Where to put the parent/pom.xml

2011-02-25 Thread Eric Charles
Hi Felix, I tough you had commit right to james, but that's not the case. We will for now inject your contributions our selves. Tks, - Eric On 25/02/2011 11:57, Eric Charles wrote: Hi Felix, I'm with you for 1). Btw, if you've got commit right to james trunk, I think

Re: Maven 3

2011-03-02 Thread Eric Charles
Hi, I use maven 3 on james projects and changed some property to make it more maven3-friendly. See https://issues.apache.org/jira/browse/JAMES-1041 There are still some warning messages, but it correctly compiles/packages/... and generates also the site (at least without the report generation

Re: Maven 3

2011-03-02 Thread Eric Charles
So if OK for everyone, let's go project per project with 3.0.2. Tks, - Eric On 2/03/2011 11:01, Felix Knecht wrote: On 03/02/2011 10:48 AM, Eric Charles wrote: Hi, I use maven 3 on james projects and changed some property to make it more maven3-friendly. See https://issues.apache.org

Re: Reporting / Code review

2011-03-03 Thread Eric Charles
03/2011 18:27, Felix Knecht wrote: On 02/25/2011 12:04 PM, Eric Charles wrote: Impressive result [2] and [3]: we've got some work to have nicer report. [1] seems like jquery tabs are broken (however js is available http://people.apache.org/~felixk/james/server/trunk/js/jquery/js/jquery-ui-1.8.

Re: James maven-skin

2011-03-03 Thread Eric Charles
Hi, Good to have an up-to-date site.vm. I also saw it was quite divergent from the current maven ones, but was too 'lazy' to do the job... Did you find a good way to inject jquery scripts (in template, and in page) ? About the markers for external links, I'm fine for real external links, but

Re: [DISCUSS] Documentation as own project

2011-03-04 Thread Eric Charles
Hi Felix, The "server" docs in project "project" is some left-over. It should be cleaned (migrated to server 2.x, or simply deleted). I was glad to see the reports you generated cause it really bring value, but also found the resulting menus too heavy: james project/modules has already numerou

Re: svn commit: r1076823 - in /james/project/trunk/project/src/site: resources/js/james/functions.js xdoc/contribute.xml xdoc/index.xml

2011-03-04 Thread Eric Charles
For the record, I injected the Galleria lib to test some image gallery on james site, but it is not really used. We can remove it, or leave it if we want to have one day some more animated/fancy pages :) Tks, - Eric On 3/03/2011 22:57, fel...@apache.org wrote: +$(function(){ +Galleria.loa

Re: [DISCUSS] Documentation as own project

2011-03-04 Thread Eric Charles
Hi, The 2.2 doc is no more viewable on the web site. To follow current structure, could we create a 2.2 module somewhere under https://svn.apache.org/repos/asf/james/server/ branches/2.2 or tags/2.2 and move the doc there ? We certainly should also have a look at the future CMS that we'll hav

Re: [DISCUSS] Documentation as own project

2011-03-04 Thread Eric Charles
rg/dev/cms.html#markdown We could extend this discussion to the way we are going to formalize/publish documentation in the future. This could give use some tips on how to structure the projects/modules. Tks, - Eric On 4/03/2011 15:07, Stefano Bagnara wrote: 2011/3/4 Eric Charles: Hi, The 2.2

Re: [DISCUSS] Documentation as own project

2011-03-04 Thread Eric Charles
these numbers come from google analytics? Tks, - Eric On 4/03/2011 14:39, Stefano Bagnara wrote: 2011/3/4 Eric Charles: Hi Felix, The "server" docs in project "project" is some left-over. It should be cleaned (migrated to server 2.x, or simply deleted). I was glad to see

Re: [DISCUSS] Documentation as own project

2011-03-04 Thread Eric Charles
On 4/03/2011 15:27, Felix Knecht wrote: No matter which CMS (or maven) we use for documentation, IMO it makes it easier to generate those technical maven reports when they can be generated on there own without having included any documentation. True. What about: - Leave reports and code rel

Re: [DISCUSS] Documentation as own project

2011-03-04 Thread Eric Charles
://cms.apache.org/ and a javascript bookmarklet should be used. Tks, - Eric On 4/03/2011 17:14, Stefano Bagnara wrote: 2011/3/4 Eric Charles: Hi, I forgot the archive section. We could simply keep in svn "site" project the generated html and remove the src xdocs. No, please. svn generat

Re: Maven 3 compatibility (JAMES-1041)

2011-03-05 Thread Eric Charles
Hi Felix. Great work! I will update and try the generation with the new profile on my laptop. Tks, Eric On 5/03/2011 20:14, Felix Knecht wrote: A short status update: I reviewed following projects, put them to work using maven 3, have them prerequisiting mvn-3.0.2, make choosable if to genera

Re: Maven 3 compatibility (JAMES-1041)

2011-03-07 Thread Eric Charles
know if you had issues installing local skins) ? Tks, Eric On 6/03/2011 06:33, Eric Charles wrote: Hi Felix. Great work! I will update and try the generation with the new profile on my laptop. Tks, Eric On 5/03/2011 20:14, Felix Knecht wrote: A short status update: I reviewed following projec

Re: Maven 3 compatibility (JAMES-1041)

2011-03-08 Thread Eric Charles
bout your policy using SNAPSHOTs in this place. In common it's not state of the art to use SNAPSHOTs. Regards Felix Tks, Eric On 6/03/2011 06:33, Eric Charles wrote: Hi Felix. Great work! I will update and try the generation with the new profile on my laptop. Tks, Eric On 5/03/201

Re: Maven 3 compatibility (JAMES-1041)

2011-03-08 Thread Eric Charles
Ts in this place. In common it's not state of the art to use SNAPSHOTs. Regards Felix Tks, Eric On 6/03/2011 06:33, Eric Charles wrote: Hi Felix. Great work! I will update and try the generation with the new profile on my laptop. Tks, Eric On 5/03/2011 20:14, Felix Knecht wrote: A

Re: Maven 3 compatibility (JAMES-1041)

2011-03-09 Thread Eric Charles
ry, probably a stupid question)? Regards Felix Bye, Norman 2011/3/9 Felix Knecht On 03/08/2011 10:55 AM, Eric Charles wrote: Hi Felix, -site.xml descriptor is now installed. mvn site on james-mailbox still uses 1.5 (not 1.6-SNAPSHOT). Can version 1.6-SNAPSHOT be used instead of 1.5

Re: [LOGO] Call for Logo for James

2011-03-11 Thread Eric Charles
Hi Remo, Cool! Now that you say it, Courier font is obvious :) I will publish it this weekend. Many tks, - Eric On 11/03/2011 10:55, Remo Sberna wrote: Hello Eric, in attachment my proposed logo. Font is Courier of course ;) Best regards Remo. ---

Re: [LOGO] Call for Logo for James

2011-03-14 Thread Eric Charles
Hi Remo, Web site updated with your proposal (wait 1 hour for rsynch) Could you also send a 48x48 px version ? (for avatars,...) Tks, Eric On 11/03/2011 11:18, Eric Charles wrote: Hi Remo, Cool! Now that you say it, Courier font is obvious :) I will publish it this weekend. Many tks, - Eric

<    1   2   3   4   5   6   7   8   9   10   >