[jira] Commented: (JAMES-1184) Modules consolidation

2011-01-20 Thread Eric Charles (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12984114#action_12984114 ] Eric Charles commented on JAMES-1184: - I use deep-nested maven modules for other

[jira] Updated: (JAMES-1184) Modules consolidation

2011-01-20 Thread Stefano Bagnara (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefano Bagnara updated JAMES-1184: --- Attachment: graph-server-deps-edited.gif Forgot to share another graph I made yesterday

Re: DB Access with james3

2011-01-20 Thread Eric Charles
Hi, Probably you did not instantiate spring context. As first shot, you could copy Main to YourMain https://svn.apache.org/repos/asf/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/Main.java and hack it with for example with code sample in [1]. You can also

[jira] Commented: (JAMES-1184) Modules consolidation

2011-01-20 Thread Stefano Bagnara (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12984122#action_12984122 ] Stefano Bagnara commented on JAMES-1184: @Norman about utils as library instead of

svn commit: r1061196 - /james/server/trunk/dnsservice-library/src/main/java/org/apache/james/dnsservice/library/netmatcher/NetMatcher.java

2011-01-20 Thread eric
Author: eric Date: Thu Jan 20 10:29:40 2011 New Revision: 1061196 URL: http://svn.apache.org/viewvc?rev=1061196view=rev Log: Use a SortedSet to ensure tests are successfull on all platforms (solaris,...) - we don't add many networks, so it should this should not give performance impact.

svn commit: r1061209 - in /james/server/trunk: data-library/src/main/java/org/apache/james/mailrepository/lib/ data-library/src/main/java/org/apache/james/vut/lib/ util/src/main/java/org/apache/james/

2011-01-20 Thread bago
Author: bago Date: Thu Jan 20 10:56:26 2011 New Revision: 1061209 URL: http://svn.apache.org/viewvc?rev=1061209view=rev Log: Move Lock from util to data-library. Remove XMLResources by simply moving 2 static methods to VirtualUserTableUtil (they was not XML specific anyway). Added:

svn commit: r1061211 - /james/server/trunk/util/src/main/java/org/apache/james/util/XMLResources.java

2011-01-20 Thread bago
Author: bago Date: Thu Jan 20 10:57:37 2011 New Revision: 1061211 URL: http://svn.apache.org/viewvc?rev=1061211view=rev Log: Move Lock from util to data-library. Remove XMLResources by simply moving 2 static methods to VirtualUserTableUtil (they was not XML specific anyway). Removed:

svn commit: r1061213 - in /james/server/trunk: core/pom.xml data-library/pom.xml

2011-01-20 Thread bago
Author: bago Date: Thu Jan 20 10:59:32 2011 New Revision: 1061213 URL: http://svn.apache.org/viewvc?rev=1061213view=rev Log: core and data-library no longer depends on util. Modified: james/server/trunk/core/pom.xml james/server/trunk/data-library/pom.xml Modified:

svn commit: r1061242 - in /james/server/trunk: pop3server/src/main/java/org/apache/james/pop3server/core/ pop3server/src/test/java/org/apache/james/pop3server/ protocols-library/src/main/java/org/apac

2011-01-20 Thread norman
Author: norman Date: Thu Jan 20 11:48:46 2011 New Revision: 1061242 URL: http://svn.apache.org/viewvc?rev=1061242view=rev Log: Move Pop3BeforeSMTPHelper to protocols-library as its specific to pop3/smtp Added:

svn commit: r1061244 - in /james/server/trunk/util/src: main/java/org/apache/james/util/InternetPrintWriter.java main/java/org/apache/james/util/POP3BeforeSMTPHelper.java main/java/org/apache/james/ut

2011-01-20 Thread norman
Author: norman Date: Thu Jan 20 11:50:55 2011 New Revision: 1061244 URL: http://svn.apache.org/viewvc?rev=1061244view=rev Log: Remove not used classes. This can be threaded as part of JAMES-1184 Removed: james/server/trunk/util/src/main/java/org/apache/james/util/InternetPrintWriter.java

svn commit: r1061245 - in /james/server/trunk: smtpserver/src/test/java/org/apache/james/smtpserver/Base64.java smtpserver/src/test/java/org/apache/james/smtpserver/SMTPServerTest.java util/src/main/j

2011-01-20 Thread norman
Author: norman Date: Thu Jan 20 11:54:11 2011 New Revision: 1061245 URL: http://svn.apache.org/viewvc?rev=1061245view=rev Log: move Base64 helper class to smtpserver test as it is only used for it. See JAMES-1184 Added:

svn commit: r1061246 - /james/server/trunk/util/src/main/java/org/apache/james/util/codec/

2011-01-20 Thread norman
Author: norman Date: Thu Jan 20 11:54:52 2011 New Revision: 1061246 URL: http://svn.apache.org/viewvc?rev=1061246view=rev Log: Remove empty package Removed: james/server/trunk/util/src/main/java/org/apache/james/util/codec/

Hudson build is back to stable : james-server-trunk #1010

2011-01-20 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/james-server-trunk/1010/changes - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org

Re: DB Access with james3

2011-01-20 Thread Luc Saulière
Hello Eric, That was quite the code I tested yesterday, but I got still the same exception, because the MailboxManager is not initialized (null pointer exception). I tried the @Resource annotation, I got 'null pointer' and I tried the BeanFactory way but I got a 'bean creation exception'... I

Re: DB Access with james3

2011-01-20 Thread 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 should inject the mailboxmanager in your bean. You can get your bean with

Re: DB Access with james3

2011-01-20 Thread Luc Saulière
Ok it works, I didnt know how to inject beans in my main class... It loads all the james app before sending one mail to the bdd, but it works :) In fact I hacked all the spring-bean.xml (from J3M2) without deleting any bean... I just have to select those I need. Thanks for your help, Luc

Re: DB Access with james3

2011-01-20 Thread Norman Maurer
Hi there, exactly. In fact you will prolly only need to instance the needed MailboxManager/SubscriptionManager/Authenticator implementation you want to use in your code or just wire these implementations via spring. Everything else should not be needed. Bye, Norman 2011/1/20 Luc Saulière

[jira] Commented: (JAMES-1183) Error during initial request parsing

2011-01-20 Thread Norman Maurer (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12984332#action_12984332 ] Norman Maurer commented on JAMES-1183: -- Any progress ;) ? Error during initial

[jira] Resolved: (JAMES-1067) Remove dependency on commons-oro

2011-01-20 Thread Stefano Bagnara (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefano Bagnara resolved JAMES-1067. Resolution: Fixed Fix Version/s: (was: 3.0) 3.0-M3 Remove

svn commit: r1061553 - /james/mailet/current/

2011-01-20 Thread bago
Author: bago Date: Thu Jan 20 22:36:32 2011 New Revision: 1061553 URL: http://svn.apache.org/viewvc?rev=1061553view=rev Log: remove site and project external links from current Modified: james/mailet/current/ (props changed) Propchange: james/mailet/current/

[jira] Commented: (JAMES-1183) Error during initial request parsing

2011-01-20 Thread Myron L Stewart (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12984596#action_12984596 ] Myron L Stewart commented on JAMES-1183: Looks like it will be more like this

[jira] Commented: (JAMES-1183) Error during initial request parsing

2011-01-20 Thread Norman Maurer (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12984597#action_12984597 ] Norman Maurer commented on JAMES-1183: -- No problem.. Take your time. Would be nice if