Hi Norman,
Many tks for your quick answer.
I had defined in my Thunderbird 3.0.3 client (on linux) the pop3 account
as the default one.
When launching thunderbird, the connection was succefully done Host
contacted, sending login information, saying after 1 second
Determining which messages
Hi Norman,
With wireshark, thunderbird/james hangs at POP3 STAT command.
I saw you patched the StatCmdHandler. It now works even without any
message in my mailbox (after update/package/deploy).
Great!
However:
- I received a few exceptions complaining about the transaction (can not
initiate
Hi,
The last two weeks, I deployed various trunk snapshots.
After james running less than 1 day, I always ran into a OutOfMemory
Exception.
I analysed the logs (for example STACK TRACE 1 in annex), and always
found Camel complaining when trying to deliver on JMS queue.
I tried to adapt the
Norman,
Done. Now, we have to wait...
I saw some created *.m64 that were removed.
But there are other ones that remains in /tmp.
I sometimes run a jmap (java memory map) to produce a heap dump and
analyse it.
At the beginning, everything seems ok, and often, when I come back, the
OOM has
Hi Norman,
The .m64 are all to unkown user but to well known domain (so for
unkn...@known.com).
They are from various size (with and without attachment).
They are well formed (I can open the downloaded file with thunderbird)
However, when I sent a mail to unkn...@known.com, I don't see it in
On 03/29/2010 09:18 PM, Eric Charles wrote:
Hi Norman,
The .m64 are all to unkown user but to well known domain (so for
unkn...@known.com).
They are from various size (with and without attachment).
They are well formed (I can open the downloaded file with thunderbird)
However, when I sent a mail
Oops, no, the files are still there (only unkn...@known.com).
Eric
On 03/29/2010 10:16 PM, Eric Charles wrote:
Hi Norman,
I just deployed your new commit with the new camel DisposeProcess.
Good news : I don't see anymore the m64 file in tmp (well I see 1
file, on the second after
are still there (only unkn...@known.com).
Eric
On 03/29/2010 10:16 PM, Eric Charles wrote:
Hi Norman,
I just deployed your new commit with the new camel DisposeProcess.
Good news : I don't see anymore the m64 file in tmp (well I see 1
file, on the second after, it is no more there, so
...@known.com).
Eric
On 03/29/2010 10:16 PM, Eric Charles wrote:
Hi Norman,
I just deployed your new commit with the new camel DisposeProcess.
Good news : I don't see anymore the m64 file in tmp (well I see 1
file, on the second after, it is no more there, so the dispose works
there (only unkn...@known.com).
Eric
On 03/29/2010 10:16 PM, Eric Charles wrote:
Hi Norman,
I just deployed your new commit with the new camel DisposeProcess.
Good news : I don't see anymore the m64 file in tmp (well I see 1
file, on the second after, it is no more there, so
Tks Stefano for the precisions.
I keep these in mind and already took last week some head dumps via
-XX:+HeapDumpOnOutOfMemoryError and jmap.
I have to further analyze the dumps and run full profiling this weekend.
For sure increasing the memory will still produce a OOM, but I have a
bit more
Hello Norman,
Done :)
Tks, Eric
PS1 : I didn't change the config, except for the JDCBDomainList I am using.
PS2 : I only checkout http://svn.apache.org/repos/asf/james/server/trunk and
not the other projects. From what I read from the poms, snapshot version of
imap-mailbox, jsieve,... are
James survived the night.
300MB (exactly the same as when it started).
No m64 file in tmp.
I will post another update this evening.
Tks,
Eric
On 04/01/2010 07:06 PM, Norman Maurer wrote:
Yeah thats right.. just checout server/trunk.
I'm looking forward to hear your feedback ;)
Bye,
Norman
nop. OutOfMemoryError is back.
I will double check my server, jdk and environment config, but other
java processes are running on the same machine without problem.
I will also have a stress scenario on my local dev PC that runs fine and
after, I will rerun it on my production server.
Dump
Hi Ashish,
Please also note that we have 2 different exceptions:
- http://people.apache.org/~norman/oom/Screenshot.png that occurs with
mina 2.0.0-RC1
-
http://people.apache.org/~norman/oom/Screenshot-Eclipse_Memory_Analyzer.png
that occurs with 2.0.0-RC2-SNAPSHOT
It happens on jdk 1.6 (and
Yes,
One instance of
org.apache.mina.core.session.DefaultIoSessionDataStructureFactory$DefaultWriteRequestQueue
contains :
- for 2.0.0-RC1 : one instance of org.apache.mina.util.CircularQueue
with an array of many
org.apache.mina.filter.codec.ProtocolCodecFilter$EncodedWriteRequest
- for
Hi Norman,
james revision 930727 (mina RC1, jdk 1.6.0_18) up-and-running since 1,5
day in prod.
jmap -dump:file=... (this morning and right now) shows
org.apache.derby.impl.services.cache.Clock with 15% of Heap, less for
the rest.
However, I had to redefine all accounts as IMAP in
One more information.
Actions taken via IMAP are net reflected on POP3 : deleting a mail via
IMAP, you will still have to download it via POP3.
I don't know if this can help, neither if the goal is to have the same
behaviour via IMAP and POP3.
Tks,
Eric
On 04/06/2010 05:41 PM, Eric Charles
Hi Norman,
Strange, POP3 is now working correctly.
Regarding expunge, It is disabled by default on thunderbird.
If I enable it, it seems to remove all mails from the folder, even if I
don't delete them.
Remembering the qmail/courrier/... server I was running a few years ago,
I had a
Hi Ashish,
You can find some information to download on
http://apache.u-mangate.com/james/oom/index.html
Tks,
Eric
On 04/08/2010 10:26 AM, Ashish wrote:
Can you provide the heapdump for this OOM?
thanks
ashish
On Thu, Apr 8, 2010 at 1:40 PM, Ashishpaliwalash...@gmail.com wrote:
On
Hi Ashish,
I am the user who has many OOM with the trunk and feed Norman with my
issues :)
1.
Indeed, you have the dump with CircularQueue from mina 2.0.0-RC1. This
is the release we normally use in james and give the issue after a
certain period of time. I mean, the server can stay working
I can confirm netty implementation is running fine after 1 week with
real prod traffic and prod users.
Tks,
Eric
On 04/19/2010 01:22 PM, Manuel Carrasco Moñino wrote:
+1, Netty being a popular OpenSource project, If it performs better,
it is enough for me.
-Manolo
On Sun, Apr 18, 2010 at
reflected on POP3 : deleting a mail via IMAP,
you will still have to download it via POP3.
I don't know if this can help, neither if the goal is to have the same
behaviour via IMAP and POP3.
Tks,
Eric
On 04/06/2010 05:41 PM, Eric Charles wrote:
Hi Norman,
james revision 930727 (mina RC1, jdk
an exception, just post it.
Tks,
Eric
On 04/13/2010 07:23 PM, Eric Charles wrote:
Hi Ashish,
James in running with netty since 2 days.
I plan to let it run until this Friday (if no problem).
Thereafter, I will go back to mina.
The logs I've got are not helpfull and show nothing, except
Hi Amit,
I found http://wiki.apache.org/james/Embedded on the wiki, but it goes
on phoenix container which is not used anymore.
I integrated james 2.3 in tomcat 2 years ago with a
ServletContextListener responsible to launch the main class of the
spring intregration (now the
Hi,
2) Just inject the UsersRepository into your app.
I suppose this will work only if you develop in the james'
ApplicationContext, meaning you have to integrate the whole james
spring-beans.xml into you application.
Or maybe you can only use the spring-beans.xml part related to
Hi Tim-Christian,
I stopped james 2 days ago for small config change (btw hot-config would
be great :)) and I received exactly the same exception (I already saw it
once or twice).
The exception was shown only when fetching mails on one specific account.
I deployed a fresh version of james
Hi All,
I just got oom with netty impl.
See http://apache.u-mangate.com/james/oom/20090424.png
(http://apache.u-mangate.com/james/oom/index.html for history).
Everything was fine with the trunk of last week that was really stable.
I redeployed 3 days ago a new trunk version after a stop/start
Hi Norman,
You can download it from
http://apache.u-mangate.com/james/oom/java_pid23898.hprof.zip
This error seems to get thrown when you write to a closed stream..
Could it be a thread-safety problem ? (on thread using the session/state
of another one ?)
I will also monitor with lsof -p
Hi Norman,
lsof -p pid | grep deleted | wc -l gives a stable number (around 20,
growing and after decreasing : cleanup of gc or os... whatever...).
No file in /tmp.
I wonder if the files I found were files left further to the few
hard-stop I made during last week.
Currently, to stop
Hi Norman,
I launch with (background process) so I can leave the terminal.
Would shutdown via remotemanager better ?
Tks,
Eric
On 04/24/2010 06:19 PM, Norman Maurer wrote:
Hi Eric,
doesn't CTRL-C work in the terminal you started james in ? And you
should not use kill-9pid because it will
mmh, as requirement to start/stop james, I would like to read java 1.?
in the doc :)
Would you agree I open a jira for this (rename shutdown to kill and
create a clean shutdown).
I could also try to contribute a patch for this.
Tks,
Eric
On 04/24/2010 06:34 PM, Norman Maurer wrote:
Hi
Hi Norman,
I will open a jira.
Do you see the implementation as a a parametrizable main method in the
http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/java/org/apache/james/container/spring/Main.java?view=markup
?
The scripts would pass start or stop parameter and
Hi Norman,
Done.
Wait and see.
The good think this time is that we knew where to look at.
Tks good logging.
Tks for your very quick fixes.
Eric
PS : No file in /tmp but when I killed the process, 2 were left. So the
/tmp files I reported came probably from the kill.
On 04/24/2010 09:35
System
Affects Versions: Trunk
Reporter: Eric Charles
Assignee: Norman Maurer
Priority: Minor
Fix For: 3.0-M1
Build should create start and stop scripts.
See http://mojo.codehaus.org/appassembler/appassembler-maven-plugin
or directory
Should I consider this as normal (I suppose so) ?
I will probably have to build on 64-bits.
Tks,
Eric
On 04/27/2010 07:28 PM, Eric Charles wrote:
I like ./james stop showing the log
INFO 19:04:42,071 |
org.apache.james.container.spring.JamesServerApplicationContext |
Closing
- running the wrapper-linux-x86-32 on 64-bits gives
/bin/./wrapper-linux-x86-32: /lib/ld-linux.so.2: bad ELF interpreter: No
such file or directory
Should I consider this as normal (I suppose so) ?
I will probably have to build on 64-bits.
Tks,
Eric
On 04/27/2010 07:28 PM, Eric Charles wrote
non-binding +1 from a trunk user.
On 04/28/2010 10:45 AM, Bernd Fondermann wrote:
Hi,
Thanks to Norman, Robert and everyone else - over the past month,
there have been tons of changes and improvements made to James.
Most of them are fantastic: modularization, IMAP, container, async io
Hi,
I just tested the JPAStressTest (for IMAP-137 JPA fails to persist
MailboxMembership Entity on heavy load) Norman committed yesterday.
I made some tests towards derby (memory and embedded) , h2 (memory and
embedded) and mysql with following configs (and adding the needed jdbc
drivers in
Hi Norman,
Similar exceptions with properties.put(openjpa.LockTimeout, 3);
I think the environment simply can not follow the load (more than one
mail sent each ms).
Bootleneck can be anywhere (connection creation, database lock,
openjpa,...).
This is why I put a sleep between each mail
Hi Norman,
Trying to simulate a more real-life test case, I developed a small
bomber class that launches parallel threads. Each thread sends mails
with attachements (with small pause between each mail sending).
I tested with embedded derby with JDBCDomainList.
Depending on the parameters
Hi Norman,
What do you mean with ...backlock in smtpserver.log ?
Tks,
Eric
On 05/02/2010 01:15 PM, Norman Maurer wrote:
Hi Eric,
for such high load you will need to adjust a few things:
1) set a higher ulimit. By default its 1024 on linux which is prolly
not enough ( I use fbsd which use
Hi Norman,
I've set ulimit -n 65535 (default was 1024), used -Xmx512m (cfr your
last commit) and connectionBacklog=900
lsof -p pid| wc -l gives around 550 (stable).
No issue after stop (test with embedded Derby).
Disk swapping and exceptions came from the 64m limit if you don't set
-Xmx
Hi,
I understand org.apache.james.impl.jamesuser.LocalJamesUsersRepository
should be used for 2.3 compatibility and
org.apache.james.impl.user.LocalUsersRepository for fresh 3 installations.
Is this the case ?
Tks,
Eric
PS1 : Comment in spring-beans.xml could mention the full classpath
Hi,
smtp/pop3/imap mail processing use different src projects:
http://svn.apache.org/viewvc/james/server/trunk/
http://svn.apache.org/viewvc/james/imap/trunk/
http://svn.apache.org/viewvc/james/jsieve/trunk/
http://svn.apache.org/viewvc/james/mailet/ (you will get more than
needed, so you may
Hi,
To run james in my ide (eclipse), I copied config files from
server/spring-deployment/src/main/config/james to a directory called
conf a level upon the root of my project.
The resource loading via the file://conf was ok.
After, I wanted to load via classpath to have smoother intergration
Hi Norman,
The patch is here after.
A quick scan of the code shows that only only UsersRepository interface
is used (JamesUsersRepository that adds alias and forward is no more
used - but as we rely now on mappings, this should give no functinality
loose).
I checked that users defined with
Hi Norman,
I made a first approach making SpringConfigurationRegistry abstract with
2 implementations (SpringFileConfigurationRegistry and
SpringClasspathConfigurationRegistry).
I first wanted to use composition, but this would have asked too much
refactoring, so I used inheritance.
The
Done,
Eric
On 05/09/2010 02:17 PM, Norman Maurer wrote:
Hi Eric,
thx for the patch. could you please create a jira issue and attach the
patch there? Be sure to check the grant asl2 box after uploading.
Thx
Norman
2010/5/9, Eric Charleseric.char...@u-mangate.com:
Hi Norman,
The patch is
Hi Norman,
I will do, but I think this is a partial solution.
Administrator will still have replace in spring-beans.xml file://conf/
with classpath:
Are we happy with that ?
Tks,
Eric
On 05/09/2010 03:33 PM, Norman Maurer wrote:
Hi Eric,
I had a quick look and it seems to make sense.
Patch uploaded in JAMES-1002.
Tks,
Eric
On 05/09/2010 05:33 PM, Norman Maurer wrote:
Hi Eric,
yeah I think 'we' are happy with that. We will even need to change
all the file://conf stuff in other configuration files too.
Bye,
Norman
2010/5/9 Eric Charleseric.char...@u-mangate.com:
Hi,
Section 2.3.1.1 of IMAP RFC (http://www.faqs.org/rfcs/rfc3501.html)
states that Unique identifiers MUST be strictly ascending in the mailbox
at all times.
This is currently enforced in
org.apache.james.imap.store.mail.model.Mailbox#consumeUid() for the JPA
store.
A JPAStressTest has
Could be of interest:
http://www.jpox.org/servlet/forum/viewthread_thread,6087 (see also page 2)
Datanucleus already supports hbase
(http://www.datanucleus.org/plugins/store.hbase.html) and is
apache-friendly (http://www.datanucleus.org/project/license.html).
Eric
On 05/14/2010 04:38 PM,
Hi Norman,
Just svn up, mvn package and tested. I've got:
Exception in thread pool-16-thread-1 openjpa-2.0.0-r422266:935683
nonfatal user error
org.apache.openjpa.persistence.InvalidStateException: Can only perform
operation while a transaction is active.
FailedObject: SELECT user FROM
maybe the second page:
http://www.jpox.org/servlet/forum/viewthread_thread,6087_offset,10
shortened url : http://j.mp/cqR0n3
Eric
On 05/15/2010 08:15 AM, Norman Maurer wrote:
Hi Eric
the first link doesn't work for me
Bye
Norman
2010/5/15, Eric Charleseric.char...@u-mangate.com:
Hi Norman,
persistence was up-to-date but spring-beans had been merged with local
changes.
It's ok now.
Tks
Eric
On 05/15/2010 08:10 AM, Norman Maurer wrote:
Hi Eric,
your persistence.xml is not up-to-date. Compare it with trunk...
Bye
Norman
2010/5/15, Eric
On 05/15/2010 09:48 AM, Eric Charles wrote:
Hi Norman,
persistence was up-to-date but spring-beans had been merged with local
changes.
It's ok now.
Tks
Eric
On 05/15/2010 08:10 AM, Norman Maurer wrote:
Hi Eric,
your persistence.xml is not up-to-date. Compare it with trunk...
Bye
Norman
Similar issues on POP3 the last weeks with JPA exceptions not logged in
james-server.log.
I have now configured openjpa.Log in persistence.xml and added the
following line in log4j.properties
log4j.logger.org.apache.openjpa=TRACE, CONS, FILE
But I still don't see much openjpa in the logs.
Hi Vanuj,
Seems like your eclipse has some confusion with openjpa1 and openjpa2.
(James uses openjpa2 since 1 week).
I also activated the TRACE log, and didn't receive your message [main]
openjpa.Runtime - Not creating a ValidatorImpl because this app is using
the JPA 1.0 Spec
Both
Hi Norman,
As discussed, it may be worth to reread the RFC requirements:
I've copy/paste the RFC paragraph here after.
Can we deduce from that that the uid must be incremented by one for each
mail arriving in a mailbox?
Tks,
Eric
2.3.1.1.Unique Identifier (UID) Message Attribute
A
Hi,
I also personally found that the 2 mentioned goals would be fine before
3.0 release:
1.- Migrate imap projects/packages to store and protocol.
2.- Uniform the current apache-... james-... namings.
And, yes, in the middle-term, it would be much cleaner.
Now, when you talk about
Hi Tim,
I you do 'mvn install' on your dependency, your project should take this
into account the 'last' dependency in place of the snapshot.
But I'm not sure of this for james because I don't work as such (should
test it).
I use m2eclipse plugin for eclipse and take a little time to
Hi,
Since a few weeks, I sometimes receive mails that are correct if I look
at the source, but that are displayed completely wrong in thunderbird.
It occurs systematically for some senders, and since a few weeks after I
migrated migrated (i didn't change anything to thunderbird config).
if I invoke the build in eclipse, it will fail. It
only works if I build the whole IMAP component, but this takes much
longer, that's why I'm asking if there's another possibility.
Thanks
Tim
Am Mittwoch, den 02.06.2010, 05:36 +0200 schrieb Eric Charles:
Hi Tim,
I you do 'mvn install
The issue is not james related (nor thunderbird). It comes from wrong
mail header set by sender (saying base64-encoding, but is not):
Content-Transfer-Encoding: base64
Sorry for the spam,
Eric
On 06/02/2010 07:28 PM, Norman Maurer wrote:
Hi,
I will deploy a fresh trunk this night just to make sure everything is
still ok (cfr last commits in protocol,..).
The last snapshot I took is 2 weeks-old and is really stable.
Tks,
Eric
On 06/07/2010 04:40 PM, Norman Maurer wrote:
Hi all,
I think all the stuff in the imap library is
Running here without any problem jpa (embedded derby) + jdbc domainlist
+ spamassassin + forwarding mailet.
When do you think to release?
Tks,
Eric
On 06/07/2010 04:51 PM, Norman Maurer wrote:
Thx mate..
I deployed fresh trunk and everything seems to work so far without problems :)
Bye,
not mean the contents but only a stream handler, not a memory
killer,
right?
Regards
Tim
Eric Charles:
Running here without any problem jpa (embedded derby) + jdbc domainlist
+
spamassassin + forwarding mailet.
When do you think to release?
Tks,
Eric
On 06/07/2010 04:51 PM, Norman
Hi everyone,
Happy to be onboard.
Hope to hear you on the ml.
Tks,
Eric
On 06/12/2010 08:14 AM, Norman Maurer wrote:
Hi all,
say welcome to our new committer Eric Charles. He was voted as new
committer the last week :)
Welcome on board...
Bye,
Norman
Hi Tim,
I implemented the standard @OneToMany (not the proprietary extension)
without intermediary table and the schema is created.
As you described, it hanged the first, but recompiling and relaunching
made it happen.
I'm working now on an issue when inserting mail (fk is not set). I think
a
Norman, Tks for your support and code review.
Eric
On 06/13/2010 06:48 PM, Norman Maurer wrote:
Very good work mate :)
Bye
Norman
2010/6/13 Eric Charles (JIRA)server-dev@james.apache.org:
[
https://issues.apache.org/jira/browse/JAMES-402?page
Hi Tim,
I'm a big fan of autoincrement pk columns per table. Each table has its
own responsiblity, and keys are generated sequentially per table.
This gives however requirements when you migrate via export/import to
fresh database. For example, with Derby, the schema is create with
GENERATED
on JPAProperty and JPAHeader, it hangs.
Still looking for.
Bye,
Eric
On 06/17/2010 08:26 AM, Eric Charles wrote:
Hi Tim,
Comments inside.
Tks,
Eric
On 06/17/2010 12:58 AM, Tim-Christian Mundt wrote:
Hey Eric,
For example, with Derby, the schema is create with
GENERATED ALWAYS columns
class folder, the
enhancement is not always as it should. Many problems during dev comes
from eclipse (or whatever) does not enhance, or take the previous
enhancement... F5 is also your friend.
On 06/17/2010 11:33 PM, Eric Charles wrote:
Hi Tim,
Sorry, message_id was indeed needed in the patch
Hi,
Apache James project uses OpenJPA 2.0.
We've got @OneToMany relations on AbstractJPAMessage [1] to JPAHeader
[2] (headers attribute) and JPAProperty [3] (properties attribute).
With current config, intermediary tables are created (MESSAGE_HEADER and
MESSAGE_PROPERTY) but we would like to
Hi Pinaki,
We use the maven downloaded jar release 422266:935683 from 22-Apr-2010,
so we don't have the patch for the MappedSuperClass.
I didn't find a recent 2.0.0-SNAPSHOT on
http://people.apache.org/maven-snapshot-repository/ nor on
https://repository.apache.org/index.html.
Will try
.
With that config, the FK is not created (nor the corresponding
message_id column in Header table). I receive no exception.
Another question was the definition of indexes: Does JPA standard
provide this ?
Tks,
Eric
On 06/24/2010 05:26 AM, Eric Charles wrote:
Hi Pinaki,
We use the maven downloaded jar
Hi,
Before releasing IMAP, I propose the following for JPA:
1. JAMES ships with openjpa but is open to other JPA providers via the
provider/ tag:
- org.apache.openjpa.persistence.PersistenceProviderImpl for openjpa
(the standard)
- org.hibernate.ejb.HibernatePersistence for hibernate
-
oops, I didn't mean so patch it but so, patches would be good for
those kind of behaviour.
Still early and missing coffee :)
Tks,
Eric
On 06/25/2010 05:29 AM, Eric Charles wrote:
Hi Tim,
Same for the domain creation.
Currently, you may have duplicates in db, and when you list domains
Hi Tim,
Same for the domain creation.
Currently, you may have duplicates in db, and when you list domains, it
hides it via a Set.
A strategy is to check if it already exists before writing it.
So patch it :)
Tks,
Eric
On 06/24/2010 10:41 PM, Tim-Christian Mundt wrote:
Hi,
in IMAP the
Hi Tim,
If we set streaming by default, we can not use derby anymore as default.
With a different provider, schema may be different.
Do you mean we should ensure with specific annotations that schema will
always be the same?
Tks,
Eric
On 06/24/2010 10:31 PM, Tim-Christian Mundt wrote:
Freitag, den 25.06.2010, 05:16 +0200 schrieb Eric Charles:
Hi Tim,
If we set streaming by default, we can not use derby anymore as default.
well, shipping derby is obviously nice for a quick James test, we should
leave that as it is. Maybe we can find a better way to configure
streaming
Hi Tim,
I think (not sure) the **/openjpa packages have been defined to place
all classes that use specific/proprietary functions of openjpa.
If that we introduce specific/proprietary annotations such as @Index a
bit everywhere, the above logic does not make much sense anymore.
For example,
Hi Tim,
So there is consensus to leave the package naming as-is and move
entities with openjpa proprietary extension to the openjpa packages.
Currently, I have no well defined patch (only many trials I made).
I will implement some @ElementJoinColumn and @Index and test it with
real traffic.
[x] +1 Please release the artifacts
Eric
(no new vote needed on my side)
On 07/09/2010 02:33 PM, Manuel Carrasco Moñino wrote:
I don't think a new vote is needed.
Cheers
-Manolo
On Fri, Jul 9, 2010 at 8:02 AM, Norman Maurernor...@apache.org wrote:
Hi all,
unfortunaly a bug with the
. Let's see, if we can provide a sql-only migration
script. After solving issue IMAP-168 the database schema will change
again, so we'll have to take care of that, too.
Best
Tim
Am Sonntag, den 11.07.2010, 14:18 +0200 schrieb Eric Charles:
Hi Tim,
So there is consensus to leave the package naming
Hi Tim,
I checked-out, compiled, deployed and tested without any problem.
Your MailDir store is working :) and generates the cur, new, tmp in my
user directory.
Last but not least, your code is really well structured and readable.
You really made great job!
Btw, we knew that James
btw, this is the first james store not portable on windows.
Did you discover any maildir ports on windows during your GSOC ?
Can we consider your impl as a Maildir++ one
(http://en.wikipedia.org/wiki/Maildir) ?
Tks,
Eric
On 08/14/2010 11:46 AM, Eric Charles wrote:
Hi Tim,
I checked-out
Hi,
I'm trying to find my way in james user mngt and came to the conclusion
that mappings are now buit-in via the org.apache.james.impl.vut. classes.
Although, there are still mailets in trunk that achieve some mapping
functions. They are still mentioned of these mailets in spoolmanager.xml
do the same..
Regards
Tim
Am Samstag, den 14.08.2010, 11:46 +0200 schrieb Eric Charles:
Hi Tim,
I checked-out, compiled, deployed and tested without any problem.
Your MailDir store is working :) and generates the cur, new, tmp in my
user directory.
Last but not least, your code is really well
On 17/08/2010 17:56, Eric Charles wrote:
Hi Norman,
I've read the http://www.rfc-editor.org/rfc/rfc3501.txt (section 2.3.1
Message Numbers) and http://www.rfc-editor.org/rfc/rfc2683.txt
(section 3.4.3. UIDs and UIDVALIDITY)
A first point is RFC talks about backend server not being able to
store
Hi Everybody
After splitting the tests from functional to their store projects
(IMAP-187), we could centralize the test infrastructure present in
different projects:
- apache-james-imap-deployment
- apache-james-imap-protocol-tester
All going to apache-james-imap-seda
Hi Norman,
I applied the last uploaded file (proposal_v3.diff):
- patch works, which is good :)
- I don't see any change on MessageMapper. Probably the modif to return
only uid was already committed (IMAP-203,...) ?
- You migrated methods from StoreMessageManager to
AbstractMessageMapper.
OK
So AbstractStoreMessageManager doesn't implement MessageMapper (and it
was in your javadoc :)
... and implements Mailbox (the org.apache.james.imap.mailbox.Mailbox,
not the org.apache.james.imap.store.mail.model.Mailbox...)
The org.apache.james.imap.mailbox.Mailbox has much too do with
Hi Norman,
The following hierarchy is obvious and gives services such as create,
login, logout, search on *mailboxes*:
MailboxManager (interface)
/|\
|
DelegatingMailboxManagerimpl (abstract)
/|\
|
StoreMailboxManager (abstract)
API
However, I've got a number of waiting JIRAs, and if you don't see
anything from me soon, let's not wait to implement this refactoring in
the inheritance way.
We can also come on this later on if appropriate.
Regards
Tim
Am Freitag, den 20.08.2010, 14:17 +0200 schrieb Eric Charles
Hi,
So Tim, you was also ok with optin 2 and finally Norman reverted to
option 1 ? (not sure to be in line :) ?)
I've looked at revision 987821:
- SubscriptionManager is not used anymore in MailboxManager hirerachy
(StoreMailboxManager,...)
- The 3 delegate methods present in
.- composition/stragety was the initial situation (before the pach)
2.- inheritance was the intermediate commit
3.- chain or responsibility (in the processor) is the current commit.
I like the 3rd one.
Tks,
Eric
On 22/08/2010 08:53, Eric Charles wrote:
Hi,
So Tim, you was also ok with optin 2
See comments after.
Eric
On 22/08/2010 10:12, Norman Maurer wrote:
Which means, not only merge the SubscriptionManager into the
MailboxManager like you did, but also the SubscriptionMapper into the
MailboxMapper. That would make the separation between .user and .mail
superfluous.
Does that
one more inline :)
On 22/08/2010 13:58, Norman Maurer wrote:
Not 100%.. Subscriptions links users to Mailboxes. The users are just
Strings and nothing more. So its not coupled to james server in any
way.
Yeah, these are soft links.
A Subscription store could be different from the Mailbox
1 - 100 of 2192 matches
Mail list logo