Re: James Admin Web App

2010-05-14 Thread Manuel Carrasco Moñino
Is it the mavenized version available?, it seems you have not commit
the changes to the git repo and I'd like to take a look to it.

About the technology to use, if I can choose, I'd rather GWT :-)
because of many reasons but the main ones are: testability, and we are
already using it at Hupa.

Cheers
Manolo

On Wed, May 12, 2010 at 6:31 PM, David Jencks david_jen...@yahoo.com wrote:
 I know almost nothing about struts2 or jsf but unless there is a 
 significantly better experience with struts2 I would hope you would stay with 
 the standards based solution.

 david jencks

 On May 12, 2010, at 9:23 AM, Eric MacAdie wrote:

 I Maven-ized it, but now I may re-do it in Struts2 since there seems to be 
 more demand for Struts2 in the marketplace than JSF.

 Regards,
 Eric MacAdie

 On 05/07/2010 02:53 PM, Eric MacAdie wrote:
 Let me figure out a bit more about how Maven works before I get back to you.

 Regards,
 Eric MacAdie

 On 05/07/2010 01:08 PM, Manuel Carrasco Moñino wrote:
 On Fri, May 7, 2010 at 7:54 PM, Eric MacAdiee...@macadie.net  wrote:
 Would Maven be better? That way I do not have to distribute Hibernate or
 other libraries, and people would not have to edit the build file.
 Yes, maven is better.

 If I do that, I will try to take the build.xml out of the tree. I am still
 learning git. I know just enough to update files and push them to github.

 Regards,
 Eric MacAdie

 On 05/07/2010 12:06 PM, Eric MacAdie wrote:
 Sure. Give me a little bit to figure that out.

 Thanks for taking a look.

 Regards,
 Eric MacAdie

 On 05/07/2010 11:51 AM, Manuel Carrasco Mońino wrote:
 Hi,

 Eric, could you provide a working way to compile, test, and package
 the application in command line?
 Right now the build.xml depends on the Netbeans installation and I do
 not use it.

 Thanks
 Manolo

 On Thu, May 6, 2010 at 1:49 PM, Eric MacAdiee...@macadie.net    wrote:
 I started a project on GitHub that is a web project that people can use
 to
 perform some administrative tasks on a James web server.

 The URL is http://github.com/emacadie/James-Admin-Web-App

 It works with the James 2.3 schema. It does not work with James servers
 that
 store messages and user info on the filesystem. There have been some
 requests/complaints for an easier way to perform some admin tasks in
 James.
 I found a link to something on sourceforge on the James wiki, but that
 project was abandoned.

 It is still a bit rough, but right now, you can add, delete and list 
 the
 users, as well as get a count of messages in the deadletter table,
 delete
 the messages in the deadletter table and get a count of the messages 
 for
 each account in the inbox.

 I use Hibernate and MySQL. I assume it would work with other databases,
 but
 I have not tried to set up another database with my James server.

 I am starting to look into the code for James 3. Perhaps James 3 makes
 this
 obsolete. Right now the documentation is pretty sparse. Anyway, try it
 out
 and let me know what you think.

 Regards,
 Eric MacAdie

 -
 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



svn commit: r944147 - /james/mailet/standard/trunk/src/site/xdoc/index.xml

2010-05-14 Thread norman
Author: norman
Date: Fri May 14 07:39:25 2010
New Revision: 944147

URL: http://svn.apache.org/viewvc?rev=944147view=rev
Log:
Reflect mailet-standard 1.0 release

Modified:
james/mailet/standard/trunk/src/site/xdoc/index.xml

Modified: james/mailet/standard/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/james/mailet/standard/trunk/src/site/xdoc/index.xml?rev=944147r1=944146r2=944147view=diff
==
--- james/mailet/standard/trunk/src/site/xdoc/index.xml (original)
+++ james/mailet/standard/trunk/src/site/xdoc/index.xml Fri May 14 07:39:25 2010
@@ -30,7 +30,20 @@
 They are coupled only to the 
 a href='http://james.apache.org/mailet/'Mailet API/a
 and so are independent of the server.
-/p
+/p
+subsection name='Releases'
+  p
+strongApache Mailet Standard 1.0/strong
+is the current release and can be downloaded
+a href='http://james.apache.org/download.cgi'here/a.
+  /p
+p
+  strong1.0/strong
+  is the first independent release of the API.
+  Earlier versions were released as part of the
+  a href='http://james.apache.org/server/index.html' rel='tag'Apache 
James Server/a and are versioned accordingly.
+/p
+  /subsection 
 subsection name='Catalog'
 pA full category is available a 
href='mailet-report.html'here/a./p
 /subsection



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



svn commit: r944194 - in /james/imap/trunk: deployment/src/test/java/org/apache/james/imap/functional/ jcr/src/main/java/org/apache/james/imap/jcr/ jcr/src/main/java/org/apache/james/imap/jcr/mail/ jc

2010-05-14 Thread norman
Author: norman
Date: Fri May 14 10:30:02 2010
New Revision: 944194

URL: http://svn.apache.org/viewvc?rev=944194view=rev
Log:
* Add javadocs
* Some more small layout fixes for JCR to allow better scalling when you have 
more the 1 users

Modified:

james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/AbstractStressTest.java

james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/GlobalMailboxSessionJCRRepository.java

james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRImapConstants.java
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRUtils.java
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/Persistent.java

james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/mail/JCRMailboxMapper.java

james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/mail/JCRMessageMapper.java

james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/user/JCRSubscriptionMapper.java

james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/JPAUidConsumer.java

james/imap/trunk/jpa/src/main/java/org/apache/james/imap/jpa/MailboxSessionEntityManagerFactory.java

Modified: 
james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/AbstractStressTest.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/AbstractStressTest.java?rev=944194r1=944193r2=944194view=diff
==
--- 
james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/AbstractStressTest.java
 (original)
+++ 
james/imap/trunk/deployment/src/test/java/org/apache/james/imap/functional/AbstractStressTest.java
 Fri May 14 10:30:02 2010
@@ -36,7 +36,8 @@ import org.junit.Test;
 
 public abstract class AbstractStressTest {
 
-private final static int APPEND_OPERATIONS = 1000;
+private final static int APPEND_OPERATIONS = 500;
+
 
 protected abstract StoreMailboxManager? getMailboxManager();
 

Modified: 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/GlobalMailboxSessionJCRRepository.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/GlobalMailboxSessionJCRRepository.java?rev=944194r1=944193r2=944194view=diff
==
--- 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/GlobalMailboxSessionJCRRepository.java
 (original)
+++ 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/GlobalMailboxSessionJCRRepository.java
 Fri May 14 10:30:02 2010
@@ -47,6 +47,9 @@ public class GlobalMailboxSessionJCRRepo
 }
 }
 
+/**
+ * Login in the {...@link Repository} with the global configured user and 
password
+ */
 @Override
 public Session login(MailboxSession session) throws RepositoryException {
 Session jcrSession = (Session) 
session.getAttributes().get(JCR_SESSION);

Modified: 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRImapConstants.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRImapConstants.java?rev=944194r1=944193r2=944194view=diff
==
--- 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRImapConstants.java
 (original)
+++ 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRImapConstants.java
 Fri May 14 10:30:02 2010
@@ -24,13 +24,6 @@ package org.apache.james.imap.jcr;
  */
 public interface JCRImapConstants {
 
-/**
- * Node path scaling
- */
-public final static int MAX_SCALING = -1;
-
-public final static int MIN_SCALING = 0;
-
 
/**
 * Delimiter for Nodes

Modified: 
james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRUtils.java
URL: 
http://svn.apache.org/viewvc/james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRUtils.java?rev=944194r1=944193r2=944194view=diff
==
--- james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRUtils.java 
(original)
+++ james/imap/trunk/jcr/src/main/java/org/apache/james/imap/jcr/JCRUtils.java 
Fri May 14 10:30:02 2010
@@ -55,14 +55,27 @@ public class JCRUtils implements JCRImap
 }
 session = repository.login(new SimpleCredentials(username, 
pass), workspace);
 }
-// Register the custom node types defined in the CND file
-InputStream is = Thread.currentThread().getContextClassLoader()
-  
.getResourceAsStream(org/apache/james/imap/jcr/imap.cnd);
-CndImporter.registerNodeTypes(new InputStreamReader(is), session);
+registerCnd(session);
 session.logout();
 } catch 

[jira] Resolved: (IMAP-141) Refactor the store api to provide a generic / thread safe reserveNextUid() implementation

2010-05-14 Thread Norman Maurer (JIRA)

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

Norman Maurer resolved IMAP-141.


Resolution: Won't Fix

We dedicited to use implementation specific locking for this

 Refactor the store api to provide a generic / thread safe reserveNextUid() 
 implementation
 -

 Key: IMAP-141
 URL: https://issues.apache.org/jira/browse/IMAP-141
 Project: JAMES Imap
  Issue Type: Bug
  Components: Mailbox
Reporter: Norman Maurer
 Fix For: 0.1


 At the moment the reserveNextUid() method in StoreMailbox is abstract and 
 need to get implemented by every Implementation. I think we should try to 
 provide a generic implementation which could be used by every 
 implementation. This method needs to be thread-safe and need to make sure 
 that the uid consuming is a atomic operation so that no ghost reads can 
 happen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



Re: James Admin Web App

2010-05-14 Thread Eric MacAdie
I will be committing the Mavenized version in the next few days. I did 
not use GWT since I am not that familiar with it. But migrating could be 
a community effort.


Regards,
Eric MacAdie

On 05/14/2010 01:47 AM, Manuel Carrasco Moñino wrote:

Is it the mavenized version available?, it seems you have not commit
the changes to the git repo and I'd like to take a look to it.

About the technology to use, if I can choose, I'd rather GWT :-)
because of many reasons but the main ones are: testability, and we are
already using it at Hupa.

Cheers
Manolo

On Wed, May 12, 2010 at 6:31 PM, David Jencksdavid_jen...@yahoo.com  wrote:
   

I know almost nothing about struts2 or jsf but unless there is a significantly 
better experience with struts2 I would hope you would stay with the standards 
based solution.

david jencks

On May 12, 2010, at 9:23 AM, Eric MacAdie wrote:

 

I Maven-ized it, but now I may re-do it in Struts2 since there seems to be more 
demand for Struts2 in the marketplace than JSF.

Regards,
Eric MacAdie

On 05/07/2010 02:53 PM, Eric MacAdie wrote:
   

Let me figure out a bit more about how Maven works before I get back to you.

Regards,
Eric MacAdie

On 05/07/2010 01:08 PM, Manuel Carrasco Moñino wrote:
 

On Fri, May 7, 2010 at 7:54 PM, Eric MacAdiee...@macadie.netwrote:
   

Would Maven be better? That way I do not have to distribute Hibernate or
other libraries, and people would not have to edit the build file.
 

Yes, maven is better.

   

If I do that, I will try to take the build.xml out of the tree. I am still
learning git. I know just enough to update files and push them to github.

Regards,
Eric MacAdie

On 05/07/2010 12:06 PM, Eric MacAdie wrote:
 

Sure. Give me a little bit to figure that out.

Thanks for taking a look.

Regards,
Eric MacAdie

On 05/07/2010 11:51 AM, Manuel Carrasco Mońino wrote:
   

Hi,

Eric, could you provide a working way to compile, test, and package
the application in command line?
Right now the build.xml depends on the Netbeans installation and I do
not use it.

Thanks
Manolo

On Thu, May 6, 2010 at 1:49 PM, Eric MacAdiee...@macadie.net  wrote:
 

I started a project on GitHub that is a web project that people can use
to
perform some administrative tasks on a James web server.

The URL is http://github.com/emacadie/James-Admin-Web-App

It works with the James 2.3 schema. It does not work with James servers
that
store messages and user info on the filesystem. There have been some
requests/complaints for an easier way to perform some admin tasks in
James.
I found a link to something on sourceforge on the James wiki, but that
project was abandoned.

It is still a bit rough, but right now, you can add, delete and list the
users, as well as get a count of messages in the deadletter table,
delete
the messages in the deadletter table and get a count of the messages for
each account in the inbox.

I use Hibernate and MySQL. I assume it would work with other databases,
but
I have not tried to set up another database with my James server.

I am starting to look into the code for James 3. Perhaps James 3 makes
this
obsolete. Right now the documentation is pretty sparse. Anyway, try it
out
and let me know what you think.

Regards,
Eric MacAdie


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



svn commit: r944231 - in /james/jsieve/trunk: main/src/site/xdoc/index.xml src/site/site.xml src/site/xdoc/index.xml

2010-05-14 Thread norman
Author: norman
Date: Fri May 14 12:41:34 2010
New Revision: 944231

URL: http://svn.apache.org/viewvc?rev=944231view=rev
Log:
reflect jsieve 0.4 release

Modified:
james/jsieve/trunk/main/src/site/xdoc/index.xml
james/jsieve/trunk/src/site/site.xml
james/jsieve/trunk/src/site/xdoc/index.xml

Modified: james/jsieve/trunk/main/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/main/src/site/xdoc/index.xml?rev=944231r1=944230r2=944231view=diff
==
--- james/jsieve/trunk/main/src/site/xdoc/index.xml (original)
+++ james/jsieve/trunk/main/src/site/xdoc/index.xml Fri May 14 12:41:34 2010
@@ -52,13 +52,5 @@ Action commands are mail operations to b
 
 /subsection
 /section
-section name=News
-subsection name=2008
-  h4Aug/2008 - jSieve-0.2 released/h4
-  pThe Apache JAMES team is happy to announce the availability of 
-  a href='http://james.apache.org/download.cgi#jsieve'Apache jSieve 0.2/a. 
-  This first public release is a major milestone for JSieve./p
-/subsection
-/section
 /body
 /document

Modified: james/jsieve/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/src/site/site.xml?rev=944231r1=944230r2=944231view=diff
==
--- james/jsieve/trunk/src/site/site.xml (original)
+++ james/jsieve/trunk/src/site/site.xml Fri May 14 12:41:34 2010
@@ -60,10 +60,5 @@
   item name='RFC 5173 Body Extension'
 href='http://tools.ietf.org/html/rfc5173'/
 /menu
-
-menu name='0.3 Release'
-  item name='Release Notes' href='0.3/release-notes.html'/
-  item name='Documentation' href='0.3/index.html'/
-/menu
   /body
 /project

Modified: james/jsieve/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/james/jsieve/trunk/src/site/xdoc/index.xml?rev=944231r1=944230r2=944231view=diff
==
--- james/jsieve/trunk/src/site/xdoc/index.xml (original)
+++ james/jsieve/trunk/src/site/xdoc/index.xml Fri May 14 12:41:34 2010
@@ -92,6 +92,15 @@
   /subsection
 /section
 section name=News
+ h4May/2010 - jSieve-0.4 released/h4
+p
+  The Apache JAMES team is happy to announce the availability of
+  a href='http://james.apache.org/download.cgi#Apache%20JSieve'
+Apache jSieve 0.4
+  /a
+  See a 
href='https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10412amp;styleName=Htmlamp;version=12313855'release
 notes/a 
+  for more details.
+/p
 h4Jun/2008 - jSieve-0.3 released/h4
 p
   The Apache JAMES team is happy to announce the availability of



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



svn commit: r944241 - in /james/project/trunk/project/src/site/xdoc: index.xml newsarchive.xml

2010-05-14 Thread norman
Author: norman
Date: Fri May 14 13:04:20 2010
New Revision: 944241

URL: http://svn.apache.org/viewvc?rev=944241view=rev
Log:
add jsieve and mailet standard releases

Modified:
james/project/trunk/project/src/site/xdoc/index.xml
james/project/trunk/project/src/site/xdoc/newsarchive.xml

Modified: james/project/trunk/project/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/project/src/site/xdoc/index.xml?rev=944241r1=944240r2=944241view=diff
==
--- james/project/trunk/project/src/site/xdoc/index.xml (original)
+++ james/project/trunk/project/src/site/xdoc/index.xml Fri May 14 13:04:20 2010
@@ -9,6 +9,11 @@
  div id=newsbox
 subsection name=News
   ul
+liMay/2010 - ul
+lia href=newsarchive.html#14052010_1strongApache jSieve 0.4 
/strong released/a/li
+lia href=newsarchive.html#14052010strongApache Mailet Standard 
1.0 /strong released/a/li
+/ul
+/li
 liOct/2009 - ul
 lia href=newsarchive.html#15102009strongjDKIM/strong, a Java 
DKIM implementation, joins JAMES as sub-project/a/li
 /ul

Modified: james/project/trunk/project/src/site/xdoc/newsarchive.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/project/src/site/xdoc/newsarchive.xml?rev=944241r1=944240r2=944241view=diff
==
--- james/project/trunk/project/src/site/xdoc/newsarchive.xml (original)
+++ james/project/trunk/project/src/site/xdoc/newsarchive.xml Fri May 14 
13:04:20 2010
@@ -11,6 +11,19 @@
 iframe src=http://www.apache.org/ads/bannerbar.html; 
style=border-width:0; frameborder=0 scrolling=no width=250 
height=150/iframe
   /div
 /div
+subsection name='2010'
+a name=14052010_1h4May/2010 - Apache JSieve 0.4 released/h4/a
+pThe Apache JAMES Project is pleased to announce that the forth 
release of
+a href='http://james.apache.org/jsieve'Apache JSieve/a - an 
implementation of the
+a href='http://www.ietf.org/rfc/rfc3028.txt'Sieve/a mail filtering 
language - 
+is now available for a href='download.cgi#Apache_JSieve'download/a.
+/p 
+a name=14052010h4May/2010 - Apache Mailet Standard 1.0 
released/h4/a
+pThe Apache JAMES Project is pleased to announce that the first 
independent release of
+a href='http://james.apache.org/mailet/standard/'Apache Mailet 
Standard/a - was bundled with JAMES Server 2.3 before - 
+is now available for a href='download.cgi#Apache_JSieve'download/a.
+/p 
+/subsection
 subsection name='2009'
 a name='15102009'h4Oct/2009 - jDKIM joins Apache James as 
sub-project/h4/a
 p



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



[jira] Created: (IMAP-145) Add a Cassandra Mailbox implementation (NoSQL)

2010-05-14 Thread Norman Maurer (JIRA)
Add a Cassandra Mailbox implementation (NoSQL)
--

 Key: IMAP-145
 URL: https://issues.apache.org/jira/browse/IMAP-145
 Project: JAMES Imap
  Issue Type: New Feature
Reporter: Norman Maurer


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Created: (IMAP-146) Add AccessManager implementation for using with JCR Mailbox

2010-05-14 Thread Norman Maurer (JIRA)
Add AccessManager implementation for using with JCR Mailbox
---

 Key: IMAP-146
 URL: https://issues.apache.org/jira/browse/IMAP-146
 Project: JAMES Imap
  Issue Type: Task
  Components: JCR Mailbox
Reporter: Norman Maurer


It would be nice if we could write a custom AccessManager to use for Mailboxes. 
This would help to expose the right Nodes to the users and deny to others.

See:
http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/core/security/AccessManager.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



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

2010-05-14 Thread norman
Author: norman
Date: Fri May 14 15:21:48 2010
New Revision: 944312

URL: http://svn.apache.org/viewvc?rev=944312view=rev
Log:
Add links for new jsieve release and mailets standard

Modified:
james/project/trunk/project/src/site/xdoc/download.xml

Modified: james/project/trunk/project/src/site/xdoc/download.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/project/src/site/xdoc/download.xml?rev=944312r1=944311r2=944312view=diff
==
--- james/project/trunk/project/src/site/xdoc/download.xml (original)
+++ james/project/trunk/project/src/site/xdoc/download.xml Fri May 14 15:21:48 
2010
@@ -215,43 +215,43 @@ href=http://www.apache.org/dist/james/j
 
 /section
 section name=Apache JSieve
-pApache JSieve 0.3 is the latest stable version:/p
+pApache JSieve 0.4 is the latest stable version:/p
 ul
 
 liBinary (Unix TAR): a
-href=[preferred]/james/apache-jsieve/0.3/apache-james-jsieve-0.3-bin.tar.gzapache-jsieve-0.3-bin.tar.gz/a
 [a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-bin.tar.gz.asc;PGP/a][a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-bin.tar.gz.md5;MD5/a]/li
+href=[preferred]/james/apache-jsieve/0.4/apache-james-jsieve-0.4-bin.tar.gzapache-jsieve-0.4-bin.tar.gz/a
 [a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-bin.tar.gz.asc;PGP/a][a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-bin.tar.gz.md5;MD5/a]/li
 
 liBinary (ZIP Format): a
-href=[preferred]/james/apache-jsieve/0.3/apache-james-jsieve-0.3-bin.zipapache-jsieve-0.3-bin.zip/a
 [a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-bin.zip.asc;PGP/a][a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-bin.zip.md5;MD5/a]/li
+href=[preferred]/james/apache-jsieve/0.4/apache-james-jsieve-0.4-bin.zipapache-jsieve-0.4-bin.zip/a
 [a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-bin.zip.asc;PGP/a][a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-bin.zip.md5;MD5/a]/li
 
 liSource (Unix TAR): a
-href=[preferred]/james/apache-jsieve/0.3/apache-james-jsieve-0.3-src.tar.gzapache-jsieve-0.3-src.tar.gz/a
 [a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-src.tar.gz.asc;PGP/a][a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-src.tar.gz.md5;MD5/a]/li
+href=[preferred]/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.tar.gzapache-jsieve-0.4-src.tar.gz/a
 [a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.tar.gz.asc;PGP/a][a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.tar.gz.md5;MD5/a]/li
 
 liSource (ZIP Format): a
-href=[preferred]/james/apache-jsieve/0.3/apache-james-jsieve-0.3-src.zipapache-jsieve-0.3-src.zip/a
 [a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-src.zip.asc;PGP/a][a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-james-jsieve-0.3-src.zip.md5;MD5/a]/li
+href=[preferred]/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.zipapache-jsieve-0.4-src.zip/a
 [a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.zip.asc;PGP/a][a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-james-jsieve-0.4-src.zip.md5;MD5/a]/li
 
 liabbr title='Java ARchive'JAR/abbr library only: a
-href=[preferred]/james/apache-jsieve/0.3/apache-jsieve-0.3.jarapache-jsieve-0.3.jar/a
 [a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-jsieve-0.3.jar.asc;PGP/a][a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-jsieve-0.3.jar.md5;MD5/a]/li
+href=[preferred]/james/apache-jsieve/0.4/apache-jsieve-0.4.jarapache-jsieve-0.4.jar/a
 [a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-jsieve-0.4.jar.asc;PGP/a][a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-jsieve-0.4.jar.md5;MD5/a]/li
 
 liJavadocs only (for IDEs): a
-href=[preferred]/james/apache-jsieve/0.3/apache-jsieve-0.3-javadoc.jarapache-jsieve-0.3-javadoc.jar/a
 [a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-jsieve-0.3-javadoc.jar.asc;PGP/a][a
-href=http://www.apache.org/dist/james/apache-jsieve/0.3/apache-jsieve-0.3-javadoc.jar.md5;MD5/a]/li
+href=[preferred]/james/apache-jsieve/0.4/apache-jsieve-0.4-javadoc.jarapache-jsieve-0.4-javadoc.jar/a
 [a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-jsieve-0.4-javadoc.jar.asc;PGP/a][a
+href=http://www.apache.org/dist/james/apache-jsieve/0.4/apache-jsieve-0.4-javadoc.jar.md5;MD5/a]/li
 
 liSource abbr title='Java ARchive'JAR/abbr only (for IDEs): a
-href=[preferred]/james/apache-jsieve/0.3/apache-jsieve-0.3-sources.jarapache-jsieve-0.3-sources.jar/a
 [a

svn commit: r944313 - /james/project/trunk/project/src/site/site.xml

2010-05-14 Thread norman
Author: norman
Date: Fri May 14 15:22:36 2010
New Revision: 944313

URL: http://svn.apache.org/viewvc?rev=944313view=rev
Log:

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



[jira] Resolved: (IMAP-100) Exception while call IMAPFolder.isOpen in javamail

2010-05-14 Thread Norman Maurer (JIRA)

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

Norman Maurer resolved IMAP-100.


Fix Version/s: 0.1
   Resolution: Fixed

Can't reproduce anymore. Seems like its fixed in current trunk

 Exception while call IMAPFolder.isOpen in javamail
 --

 Key: IMAP-100
 URL: https://issues.apache.org/jira/browse/IMAP-100
 Project: JAMES Imap
  Issue Type: Bug
Reporter: Norman Maurer
 Fix For: 0.1


 When trying to use HUPA to access JAMES IMAP I see this exception:
  408 FETCH (FLAGS (\Recent) INTERNALDATE 30-Nov-2009 19:16:48 + 
 RFC822.SIZE 4934 ENVELOPE (Mon, 30 Nov 2009 19:16:21 + (UTC) [jira] 
 Created: (HUPA-56) Hupa throws Exception when get used with
  an IMAP Server which not support the IDLE command ((Norman Maurer (JIRA) 
 NIL jira apache.org)) ((Norman Maurer (JIRA) NIL jira apache.org)) 
 ((James Developers List NIL server-dev james.apache.org)) ((NIL NIL 
 server-dev james.apache.org)) NIL NIL NIL 
 1223603979.1259608581218.javamail.j...@brutus) BODYSTRUCTURE (TEXT 
 PLAIN (charset utf-8) NIL NIL 7BIT 2525 51 NIL NIL NIL NIL))
 java.lang.ArrayIndexOutOfBoundsException: 256
   at com.sun.mail.iap.Response.parseString(Response.java:396)
   at com.sun.mail.iap.Response.readString(Response.java:325)
   at com.sun.mail.imap.protocol.ENVELOPE.init(ENVELOPE.java:100)
   at 
 com.sun.mail.imap.protocol.FetchResponse.parse(FetchResponse.java:132)
   at 
 com.sun.mail.imap.protocol.FetchResponse.init(FetchResponse.java:68)
   at 
 com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:137)
   at 
 com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:261)
   at com.sun.mail.iap.Protocol.command(Protocol.java:310)
   at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:357)
   at com.sun.mail.imap.protocol.IMAPProtocol.noop(IMAPProtocol.java:301)
   at 
 com.sun.mail.imap.IMAPFolder.keepConnectionAlive(IMAPFolder.java:2685)
   at com.sun.mail.imap.IMAPFolder.isOpen(IMAPFolder.java:1162)
   at 
 org.apache.hupa.server.handler.AbstractFetchMessagesHandler.executeInternal(AbstractFetchMessagesHandler.java:97)
   at 
 org.apache.hupa.server.handler.AbstractFetchMessagesHandler.executeInternal(AbstractFetchMessagesHandler.java:51)
   at 
 org.apache.hupa.server.handler.AbstractSessionHandler.execute(AbstractSessionHandler.java:60)
   at 
 net.customware.gwt.dispatch.server.DefaultDispatch.doExecute(DefaultDispatch.java:78)
   at 
 net.customware.gwt.dispatch.server.DefaultDispatch.execute(DefaultDispatch.java:68)
   at 
 net.customware.gwt.dispatch.server.service.DispatchServiceServlet.execute(DispatchServiceServlet.java:24)
   at 
 org.apache.hupa.server.servlet.HupaDispatchServlet.execute(HupaDispatchServlet.java:53)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at 
 com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
   at 
 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166)
   at 
 com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at 
 com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:231)
   at 
 com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:142)
   at 
 com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)
   at 
 com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:63)
   at 
 com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:122)
   at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:110)
   at 
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
   at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at 
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at 
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at 
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at 
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at 
 

[ANNOUNCE] Apache James jSieve 0.4 released

2010-05-14 Thread Norman Maurer
The Apache James Team is pleased to announce the release of Apache
James jSieve 0.4.

jSieve is a Java implementation of the Sieve mail filtering language
defined by RFC 3028  . jSieve is implemented as a language processor
that can be plugged into any internet mail application to add Sieve
support.

For the list of changes see:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10412styleName=Htmlversion=12313855


Cheers,
Norman Maurer

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



[ANNOUNCE] Apache James Mailet Standard released

2010-05-14 Thread Norman Maurer
The Apache James Team is pleased to announce the release of Apache
Mailet Standard 1.0

The Apache Mailet Standard include reusable Mailets and Matchers which
can get used in any Mailet Container. This Mailets and Matchers were
previous included in James Server.

If you are interested see:
http://james.apache.org/mailet

Cheers,
Norman Maurer

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



Re: [Fixed?] Re: James IMAP and Alfresco and refactoring

2010-05-14 Thread Norman Maurer
Any new one this ? I would like to cut a milestone soon, so it would
be cool to know if it work out...

Bye,
Norman

2010/5/7 Norman Maurer nor...@apache.org:
 Hi Eric,

 could you update to current trunk and see if it helps?

 We should now only use one session per thread.

 Feedback Welcome...

 Bye
 Norman

 2010/5/7, Norman Maurer norman.mau...@googlemail.com:
 Hi Robert,

 maybe I just don't get what you want todo.. How about some pseudo code ?

 I just committed some code to use only one EntityManager/JCR Session
 per request. Hopefully this will help with Alfresco.

 Bye,
 Norman

 2010/5/7 Robert Burrell Donkin robertburrelldon...@gmail.com:
 On Fri, May 7, 2010 at 5:58 AM, Norman Maurer
 norman.mau...@googlemail.com wrote:
 Hi Robert,

 to be honest I think it would make things just more complicated. I
 think we should just make sure we keep the jcr session / entitymanager
 etc open till we are done with processing the request. Nothing more...

 I don't see the advance of implement such a callback interface. Maybe
 you can outline why you prefer this way ?

 fit in better with the message style API used by the rest of the IMAP
 stack. should make transactions transparent and allow scheduling
 rather than synchronisation for some operations.

 - robert

 -
 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: [jira] Created: (IMAP-145) Add a Cassandra Mailbox implementation (NoSQL)

2010-05-14 Thread Eric Charles

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, Norman Maurer (JIRA) wrote:

Add a Cassandra Mailbox implementation (NoSQL)
--

  Key: IMAP-145
  URL: https://issues.apache.org/jira/browse/IMAP-145
  Project: JAMES Imap
   Issue Type: New Feature
 Reporter: Norman Maurer


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

   



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