[jira] [Reopened] (JAMES-1431) Geronimo JavaMail implementation throws exception when opening content of an image attachment
[ https://issues.apache.org/jira/browse/JAMES-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Charles reopened JAMES-1431: - Some tests in james-server-core are now failing... Geronimo JavaMail implementation throws exception when opening content of an image attachment - Key: JAMES-1431 URL: https://issues.apache.org/jira/browse/JAMES-1431 Project: JAMES Server Issue Type: Bug Components: Deployment Modules, James Core Affects Versions: 3.0-beta4 Environment: Linux Fedora 14 Reporter: Idea Harness Assignee: Eric Charles Attachments: arrow_down_8x8.png, BodyPartExtractingMailet.java, btnbg_over.jpg, geronimo-javamail_1.4_mail-1.8.3.jar, up_15x15.gif When image files (Content-Type: image/gif, image/jpeg, image/jpg) are attached to emails and Apache James 3.0 Beta4 serves as an MTA I am getting these exceptions on MimeBodyPart.getContent() calls below (while processing the mail within the attached test.mailet.BodyPartExtractingMailet mailet). This is due to the fact that as of Apache James Beta4 it ships with Geronimo JavaMail implementation (geronimo-javamail_1.4_mail-1.6.jar) that is the cause of this exception (with Apache James Beta3 Oracle JavaMail implementation (mail-1.4.4.jar) handled this correctly without exceptions). Precise steps to reproduce : 1. Deploy the attached test.mailet.BodyPartExtractingMailet to run within Apache James Beta4 a. package it as a jar and put it under JAMES/lib b. add mailet match=All class=test.mailet.BodyPartExtractingMailet/ to JAMES/conf/mailetcontainer.conf c. add log4j.logger.test.mailet.BodyPartExtractingMailet=DEBUG, CONS, FILE to JAMES/conf/log4j.properties d. (re-) start James, tailing -f either JAMES/log/mailetcontainer.log or JAMES/bin/wrapper.log 2. Using your favorite email client send an email to yourself (with Apache James processing your email) containing attachments with MimeTypes image/jpeg, image/jpg and image/gif (surprisingly enough image/png is handled without an exception). You can use attached btnbg_over.jpg and up_15x15.gif. 3. Observe these exceptions in the log file spooler-1 | INFO | 11:51:14,807 08/13/2012 | mailetcontext | service() start spooler-1 | INFO | 11:51:14,866 08/13/2012 | mailetcontext | BodyPart with an image MimeType [image/gif; name=up_15x15.gif] found, BEFORE calling getContent() on it. spooler-1 | INFO | 11:51:14,940 08/13/2012 | mailetcontext | Exception is thrown during MimeBodyPart.getContent() call javax.activation.UnsupportedDataTypeException: Unknown image type image/gif; name=up_15x15.gif at org.apache.geronimo.javamail.handlers.AbstractImageHandler.getContent(AbstractImageHandler.java:57) at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:790) at javax.activation.DataHandler.getContent(DataHandler.java:537) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at test.mailet.BodyPartExtractingMailet.service(BodyPartExtractingMailet.java:51) at org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65) ... spooler-1 | INFO | 11:51:14,945 08/13/2012 | mailetcontext | BodyPart with an image MimeType [image/png; name=arrow_down_8x8.png] found, BEFORE calling getContent() on it. spooler-1 | INFO | 11:51:14,961 08/13/2012 | mailetcontext | BodyPart with an image MimeType found, AFTER calling getContent() on it. spooler-1 | INFO | 11:51:14,961 08/13/2012 | mailetcontext | BodyPart with an image MimeType [image/jpeg; name=btnbg_over.jpg] found, BEFORE calling getContent() on it. spooler-1 | INFO | 11:51:14,962 08/13/2012 | mailetcontext | Exception is thrown during MimeBodyPart.getContent() call javax.activation.UnsupportedDataTypeException: Unknown image type image/jpeg; name=btnbg_over.jpg at org.apache.geronimo.javamail.handlers.AbstractImageHandler.getContent(AbstractImageHandler.java:57) at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:790) at javax.activation.DataHandler.getContent(DataHandler.java:537) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at test.mailet.BodyPartExtractingMailet.service(BodyPartExtractingMailet.java:51) at org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65) ... spooler-1 | INFO | 11:51:14,968 08/13/2012 | mailetcontext | service() end Note #1: removing geronimo-javamail_1.4_mail-1.6.jar from the classpath fixes the problem (ie, no exceptions are thrown). However, you can't just comment the line out
[jira] [Resolved] (JAMES-1431) Geronimo JavaMail implementation throws exception when opening content of an image attachment
[ https://issues.apache.org/jira/browse/JAMES-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Charles resolved JAMES-1431. - Resolution: Fixed Reclosing, JAMES-1433 had to be reopened instead. Geronimo JavaMail implementation throws exception when opening content of an image attachment - Key: JAMES-1431 URL: https://issues.apache.org/jira/browse/JAMES-1431 Project: JAMES Server Issue Type: Bug Components: Deployment Modules, James Core Affects Versions: 3.0-beta4 Environment: Linux Fedora 14 Reporter: Idea Harness Assignee: Eric Charles Attachments: arrow_down_8x8.png, BodyPartExtractingMailet.java, btnbg_over.jpg, geronimo-javamail_1.4_mail-1.8.3.jar, up_15x15.gif When image files (Content-Type: image/gif, image/jpeg, image/jpg) are attached to emails and Apache James 3.0 Beta4 serves as an MTA I am getting these exceptions on MimeBodyPart.getContent() calls below (while processing the mail within the attached test.mailet.BodyPartExtractingMailet mailet). This is due to the fact that as of Apache James Beta4 it ships with Geronimo JavaMail implementation (geronimo-javamail_1.4_mail-1.6.jar) that is the cause of this exception (with Apache James Beta3 Oracle JavaMail implementation (mail-1.4.4.jar) handled this correctly without exceptions). Precise steps to reproduce : 1. Deploy the attached test.mailet.BodyPartExtractingMailet to run within Apache James Beta4 a. package it as a jar and put it under JAMES/lib b. add mailet match=All class=test.mailet.BodyPartExtractingMailet/ to JAMES/conf/mailetcontainer.conf c. add log4j.logger.test.mailet.BodyPartExtractingMailet=DEBUG, CONS, FILE to JAMES/conf/log4j.properties d. (re-) start James, tailing -f either JAMES/log/mailetcontainer.log or JAMES/bin/wrapper.log 2. Using your favorite email client send an email to yourself (with Apache James processing your email) containing attachments with MimeTypes image/jpeg, image/jpg and image/gif (surprisingly enough image/png is handled without an exception). You can use attached btnbg_over.jpg and up_15x15.gif. 3. Observe these exceptions in the log file spooler-1 | INFO | 11:51:14,807 08/13/2012 | mailetcontext | service() start spooler-1 | INFO | 11:51:14,866 08/13/2012 | mailetcontext | BodyPart with an image MimeType [image/gif; name=up_15x15.gif] found, BEFORE calling getContent() on it. spooler-1 | INFO | 11:51:14,940 08/13/2012 | mailetcontext | Exception is thrown during MimeBodyPart.getContent() call javax.activation.UnsupportedDataTypeException: Unknown image type image/gif; name=up_15x15.gif at org.apache.geronimo.javamail.handlers.AbstractImageHandler.getContent(AbstractImageHandler.java:57) at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:790) at javax.activation.DataHandler.getContent(DataHandler.java:537) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at test.mailet.BodyPartExtractingMailet.service(BodyPartExtractingMailet.java:51) at org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65) ... spooler-1 | INFO | 11:51:14,945 08/13/2012 | mailetcontext | BodyPart with an image MimeType [image/png; name=arrow_down_8x8.png] found, BEFORE calling getContent() on it. spooler-1 | INFO | 11:51:14,961 08/13/2012 | mailetcontext | BodyPart with an image MimeType found, AFTER calling getContent() on it. spooler-1 | INFO | 11:51:14,961 08/13/2012 | mailetcontext | BodyPart with an image MimeType [image/jpeg; name=btnbg_over.jpg] found, BEFORE calling getContent() on it. spooler-1 | INFO | 11:51:14,962 08/13/2012 | mailetcontext | Exception is thrown during MimeBodyPart.getContent() call javax.activation.UnsupportedDataTypeException: Unknown image type image/jpeg; name=btnbg_over.jpg at org.apache.geronimo.javamail.handlers.AbstractImageHandler.getContent(AbstractImageHandler.java:57) at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:790) at javax.activation.DataHandler.getContent(DataHandler.java:537) at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:637) at test.mailet.BodyPartExtractingMailet.service(BodyPartExtractingMailet.java:51) at org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65) ... spooler-1 | INFO | 11:51:14,968 08/13/2012 | mailetcontext | service() end Note #1: removing geronimo-javamail_1.4_mail-1.6.jar from the classpath fixes the problem (ie, no exceptions are thrown). However, you can't just comment the line out
[jira] [Reopened] (JAMES-1433) Upgrade to geronimo-javamail_1.4 1.8.3 and exclude oracle mail
[ https://issues.apache.org/jira/browse/JAMES-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Charles reopened JAMES-1433: - Somte tests in james-server-core are now failing... Upgrade to geronimo-javamail_1.4 1.8.3 and exclude oracle mail -- Key: JAMES-1433 URL: https://issues.apache.org/jira/browse/JAMES-1433 Project: JAMES Server Issue Type: Bug Affects Versions: 3.0-beta5 Reporter: Eric Charles Assignee: Eric Charles Priority: Minor Fix For: 3.0-beta5 See JAMES-1431 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
svn commit: r1373762 - in /james/hupa/trunk: client/src/main/java/org/apache/hupa/client/ client/src/main/java/org/apache/hupa/client/mvp/ server/src/main/java/org/apache/hupa/server/handler/ server/s
Author: manolo Date: Thu Aug 16 09:15:19 2012 New Revision: 1373762 URL: http://svn.apache.org/viewvc?rev=1373762view=rev Log: Fix XSS vulnerability in message list and view Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java james/hupa/trunk/server/src/main/java/org/apache/hupa/server/handler/GetMessageDetailsHandler.java james/hupa/trunk/server/src/main/java/org/apache/hupa/server/utils/RegexPatterns.java james/hupa/trunk/server/src/test/java/org/apache/hupa/server/utils/RegexPatternsTest.java Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java?rev=1373762r1=1373761r2=1373762view=diff == --- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java (original) +++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java Thu Aug 16 09:15:19 2012 @@ -117,5 +117,6 @@ public abstract class HupaCallbackT im */ public void callbackError(Throwable caught) { System.out.println(HupaCallBack Error: + caught); +caught.printStackTrace(); } } Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java?rev=1373762r1=1373761r2=1373762view=diff == --- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java (original) +++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java Thu Aug 16 09:15:19 2012 @@ -363,7 +363,7 @@ public class IMAPMessageListView extends dtformat = DateTimeFormat.getFormat(dd.MMM. HH:mm); } -view.setHTML(dtformat.format(rDate)); +view.setText(dtformat.format(rDate)); view.setHorizontalAlignment(HorizontalPanel.ALIGN_RIGHT); } @@ -528,7 +528,7 @@ public class IMAPMessageListView extends if (cellValue == null || cellValue.length() 1) { view.setHTML(nbsp); } else { -view.setHTML(cellValue); +view.setText(cellValue); } } @@ -791,6 +791,7 @@ public class IMAPMessageListView extends } public void setExpandLoading(boolean expanding) { +System.out.println(SSS + expanding); if (expanding) { loading.show(); } else { Modified: james/hupa/trunk/server/src/main/java/org/apache/hupa/server/handler/GetMessageDetailsHandler.java URL: http://svn.apache.org/viewvc/james/hupa/trunk/server/src/main/java/org/apache/hupa/server/handler/GetMessageDetailsHandler.java?rev=1373762r1=1373761r2=1373762view=diff == --- james/hupa/trunk/server/src/main/java/org/apache/hupa/server/handler/GetMessageDetailsHandler.java (original) +++ james/hupa/trunk/server/src/main/java/org/apache/hupa/server/handler/GetMessageDetailsHandler.java Thu Aug 16 09:15:19 2012 @@ -137,8 +137,6 @@ public class GetMessageDetailsHandler ex boolean isHTML = handleParts(message, con, sbPlain, attachmentList); -System.out.println(isHTML); - if (isHTML) { mDetails.setText(filterHtmlDocument(sbPlain.toString(), folderName, uid)); } else { Modified: james/hupa/trunk/server/src/main/java/org/apache/hupa/server/utils/RegexPatterns.java URL: http://svn.apache.org/viewvc/james/hupa/trunk/server/src/main/java/org/apache/hupa/server/utils/RegexPatterns.java?rev=1373762r1=1373761r2=1373762view=diff == --- james/hupa/trunk/server/src/main/java/org/apache/hupa/server/utils/RegexPatterns.java (original) +++ james/hupa/trunk/server/src/main/java/org/apache/hupa/server/utils/RegexPatterns.java Thu Aug 16 09:15:19 2012 @@ -60,9 +60,9 @@ public class RegexPatterns { public static final Pattern regex_unneededTags = Pattern.compile((?si)(/?(html|body)[^]*?)); public static final String repl_unneededTags = ; - -public static final String EVENT_ATTR_REGEX = (?:on[dbl]*click)|(?:onmouse[a-z]+)|(?:onkey[a-z]+); -public static final Pattern regex_badAttrs = Pattern.compile((?si)(\\w+[^]*)\\s+(+ EVENT_ATTR_REGEX + )=[\']?([^\\s]+?)[\']?([\\s])); + +public static final String EVENT_ATTR_REGEX = (?:on[a-z]+); +public static final Pattern regex_badAttrs =
svn commit: r1373766 - in /james/hupa/trunk: client/pom.xml mock/pom.xml pom.xml server/pom.xml shared/pom.xml widgets/pom.xml
Author: manolo Date: Thu Aug 16 09:31:44 2012 New Revision: 1373766 URL: http://svn.apache.org/viewvc?rev=1373766view=rev Log: [maven-release-plugin] prepare release hupa-parent-0.0.3 Modified: james/hupa/trunk/client/pom.xml james/hupa/trunk/mock/pom.xml james/hupa/trunk/pom.xml james/hupa/trunk/server/pom.xml james/hupa/trunk/shared/pom.xml james/hupa/trunk/widgets/pom.xml Modified: james/hupa/trunk/client/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/pom.xml?rev=1373766r1=1373765r2=1373766view=diff == --- james/hupa/trunk/client/pom.xml (original) +++ james/hupa/trunk/client/pom.xml Thu Aug 16 09:31:44 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3-SNAPSHOT/version +version0.0.3/version relativePath../pom.xml/relativePath /parent artifactIdhupa/artifactId Modified: james/hupa/trunk/mock/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/mock/pom.xml?rev=1373766r1=1373765r2=1373766view=diff == --- james/hupa/trunk/mock/pom.xml (original) +++ james/hupa/trunk/mock/pom.xml Thu Aug 16 09:31:44 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3-SNAPSHOT/version +version0.0.3/version relativePath../pom.xml/relativePath /parent artifactIdhupa-mock/artifactId Modified: james/hupa/trunk/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/pom.xml?rev=1373766r1=1373765r2=1373766view=diff == --- james/hupa/trunk/pom.xml (original) +++ james/hupa/trunk/pom.xml Thu Aug 16 09:31:44 2012 @@ -27,7 +27,7 @@ /parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3-SNAPSHOT/version +version0.0.3/version packagingpom/packaging nameApache James Hupa Parent/name descriptionHupa is a GWT based Webmail/description @@ -41,9 +41,9 @@ moduleclient/module /modules scm - connectionscm:svn:http://svn.apache.org/repos/asf/james/hupa/trunk/connection - developerConnectionscm:svn:https://svn.apache.org/repos/asf/james/hupa/trunk/developerConnection -urlhttp://svn.apache.org/viewvc/james/hupa/trunk//url + connectionscm:svn:http://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/connection + developerConnectionscm:svn:https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/developerConnection + urlhttp://svn.apache.org/viewvc/james/hupa/tags/hupa-parent-0.0.3/url /scm issueManagement systemJIRA/system Modified: james/hupa/trunk/server/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/server/pom.xml?rev=1373766r1=1373765r2=1373766view=diff == --- james/hupa/trunk/server/pom.xml (original) +++ james/hupa/trunk/server/pom.xml Thu Aug 16 09:31:44 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3-SNAPSHOT/version +version0.0.3/version relativePath../pom.xml/relativePath /parent artifactIdhupa-server/artifactId Modified: james/hupa/trunk/shared/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/pom.xml?rev=1373766r1=1373765r2=1373766view=diff == --- james/hupa/trunk/shared/pom.xml (original) +++ james/hupa/trunk/shared/pom.xml Thu Aug 16 09:31:44 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3-SNAPSHOT/version +version0.0.3/version relativePath../pom.xml/relativePath /parent artifactIdhupa-shared/artifactId Modified: james/hupa/trunk/widgets/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/pom.xml?rev=1373766r1=1373765r2=1373766view=diff == --- james/hupa/trunk/widgets/pom.xml (original) +++ james/hupa/trunk/widgets/pom.xml Thu Aug 16 09:31:44 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3-SNAPSHOT/version +version0.0.3/version relativePath../pom.xml/relativePath /parent artifactIdhupa-widgets/artifactId - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail:
svn commit: r1373767 - /james/hupa/tags/hupa-parent-0.0.3/
Author: manolo Date: Thu Aug 16 09:31:55 2012 New Revision: 1373767 URL: http://svn.apache.org/viewvc?rev=1373767view=rev Log: [maven-release-plugin] copy for tag hupa-parent-0.0.3 Added: james/hupa/tags/hupa-parent-0.0.3/ - copied from r1373766, james/hupa/trunk/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
svn commit: r1373768 - in /james/hupa/trunk: client/pom.xml mock/pom.xml pom.xml server/pom.xml shared/pom.xml widgets/pom.xml
Author: manolo Date: Thu Aug 16 09:32:01 2012 New Revision: 1373768 URL: http://svn.apache.org/viewvc?rev=1373768view=rev Log: [maven-release-plugin] prepare for next development iteration Modified: james/hupa/trunk/client/pom.xml james/hupa/trunk/mock/pom.xml james/hupa/trunk/pom.xml james/hupa/trunk/server/pom.xml james/hupa/trunk/shared/pom.xml james/hupa/trunk/widgets/pom.xml Modified: james/hupa/trunk/client/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/pom.xml?rev=1373768r1=1373767r2=1373768view=diff == --- james/hupa/trunk/client/pom.xml (original) +++ james/hupa/trunk/client/pom.xml Thu Aug 16 09:32:01 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3/version +version0.0.4-SNAPSHOT/version relativePath../pom.xml/relativePath /parent artifactIdhupa/artifactId Modified: james/hupa/trunk/mock/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/mock/pom.xml?rev=1373768r1=1373767r2=1373768view=diff == --- james/hupa/trunk/mock/pom.xml (original) +++ james/hupa/trunk/mock/pom.xml Thu Aug 16 09:32:01 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3/version +version0.0.4-SNAPSHOT/version relativePath../pom.xml/relativePath /parent artifactIdhupa-mock/artifactId Modified: james/hupa/trunk/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/pom.xml?rev=1373768r1=1373767r2=1373768view=diff == --- james/hupa/trunk/pom.xml (original) +++ james/hupa/trunk/pom.xml Thu Aug 16 09:32:01 2012 @@ -27,7 +27,7 @@ /parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3/version +version0.0.4-SNAPSHOT/version packagingpom/packaging nameApache James Hupa Parent/name descriptionHupa is a GWT based Webmail/description @@ -41,9 +41,9 @@ moduleclient/module /modules scm - connectionscm:svn:http://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/connection - developerConnectionscm:svn:https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/developerConnection - urlhttp://svn.apache.org/viewvc/james/hupa/tags/hupa-parent-0.0.3/url + connectionscm:svn:http://svn.apache.org/repos/asf/james/hupa/trunk/connection + developerConnectionscm:svn:https://svn.apache.org/repos/asf/james/hupa/trunk/developerConnection +urlhttp://svn.apache.org/viewvc/james/hupa/trunk//url /scm issueManagement systemJIRA/system Modified: james/hupa/trunk/server/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/server/pom.xml?rev=1373768r1=1373767r2=1373768view=diff == --- james/hupa/trunk/server/pom.xml (original) +++ james/hupa/trunk/server/pom.xml Thu Aug 16 09:32:01 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3/version +version0.0.4-SNAPSHOT/version relativePath../pom.xml/relativePath /parent artifactIdhupa-server/artifactId Modified: james/hupa/trunk/shared/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/pom.xml?rev=1373768r1=1373767r2=1373768view=diff == --- james/hupa/trunk/shared/pom.xml (original) +++ james/hupa/trunk/shared/pom.xml Thu Aug 16 09:32:01 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3/version +version0.0.4-SNAPSHOT/version relativePath../pom.xml/relativePath /parent artifactIdhupa-shared/artifactId Modified: james/hupa/trunk/widgets/pom.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/pom.xml?rev=1373768r1=1373767r2=1373768view=diff == --- james/hupa/trunk/widgets/pom.xml (original) +++ james/hupa/trunk/widgets/pom.xml Thu Aug 16 09:32:01 2012 @@ -22,7 +22,7 @@ parent groupIdorg.apache.james.hupa/groupId artifactIdhupa-parent/artifactId -version0.0.3/version +version0.0.4-SNAPSHOT/version relativePath../pom.xml/relativePath /parent artifactIdhupa-widgets/artifactId - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail:
[VOTE] Release Hupa 0.0.3
Hi all, Please cast your VOTE for Apache Hupa 0.0.3 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong SVN tag: https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/ Source tarball: https://repository.apache.org/content/repositories/orgapachejames-015/org/apache/james/hupa/hupa-parent/0.0.3/hupa-parent-0.0.3-source-release.zip Staging repository: https://repository.apache.org/content/repositories/orgapachejames-015/ Thanks - Manolo - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Hupa 0.0.3
[x] +1 Please release Bye, Norman 2012/8/16 Manuel Carrasco Moñino man...@apache.org: Hi all, Please cast your VOTE for Apache Hupa 0.0.3 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong SVN tag: https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/ Source tarball: https://repository.apache.org/content/repositories/orgapachejames-015/org/apache/james/hupa/hupa-parent/0.0.3/hupa-parent-0.0.3-source-release.zip Staging repository: https://repository.apache.org/content/repositories/orgapachejames-015/ Thanks - Manolo - 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: [VOTE] Release Hupa 0.0.3
[x] +1 Please release -- Ioan Eugen Stan / CTO / http://axemblr.com - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
svn commit: r1373774 - in /james/hupa/trunk/client/src/main/java/org/apache/hupa/client: HupaCallback.java mvp/IMAPMessageListView.java
Author: manolo Date: Thu Aug 16 10:06:12 2012 New Revision: 1373774 URL: http://svn.apache.org/viewvc?rev=1373774view=rev Log: remove println Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java?rev=1373774r1=1373773r2=1373774view=diff == --- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java (original) +++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/HupaCallback.java Thu Aug 16 10:06:12 2012 @@ -117,6 +117,5 @@ public abstract class HupaCallbackT im */ public void callbackError(Throwable caught) { System.out.println(HupaCallBack Error: + caught); -caught.printStackTrace(); } } Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java?rev=1373774r1=1373773r2=1373774view=diff == --- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java (original) +++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java Thu Aug 16 10:06:12 2012 @@ -791,7 +791,6 @@ public class IMAPMessageListView extends } public void setExpandLoading(boolean expanding) { -System.out.println(SSS + expanding); if (expanding) { loading.show(); } else { - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Jenkins build is still unstable: james-server-trunk #3132
See https://builds.apache.org/job/james-server-trunk/3132/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Hupa 0.0.3
[X] +1 Please release Eric On 08/16/2012 11:55 AM, Manuel Carrasco Moñino wrote: Hi all, Please cast your VOTE for Apache Hupa 0.0.3 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong SVN tag: https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/ Source tarball: https://repository.apache.org/content/repositories/orgapachejames-015/org/apache/james/hupa/hupa-parent/0.0.3/hupa-parent-0.0.3-source-release.zip Staging repository: https://repository.apache.org/content/repositories/orgapachejames-015/ Thanks - Manolo - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- eric | http://about.echarles.net | @echarles - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Hupa 0.0.3
[X] +1 Please release On Thu, Aug 16, 2012 at 3:53 PM, Eric Charles e...@apache.org wrote: [X] +1 Please release Eric On 08/16/2012 11:55 AM, Manuel Carrasco Mońino wrote: Hi all, Please cast your VOTE for Apache Hupa 0.0.3 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong SVN tag: https://svn.apache.org/repos/**asf/james/hupa/tags/hupa-**parent-0.0.3/https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.3/ Source tarball: https://repository.apache.org/**content/repositories/** orgapachejames-015/org/apache/**james/hupa/hupa-parent/0.0.3/** hupa-parent-0.0.3-source-**release.ziphttps://repository.apache.org/content/repositories/orgapachejames-015/org/apache/james/hupa/hupa-parent/0.0.3/hupa-parent-0.0.3-source-release.zip Staging repository: https://repository.apache.org/**content/repositories/** orgapachejames-015/https://repository.apache.org/content/repositories/orgapachejames-015/ Thanks - Manolo --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- eric | http://about.echarles.net | @echarles --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Kind Regards... Dhrubo http://www.linkedin.com/in/dhrubo
Project status and integration into James Mailbox
Hi all, I've refactored the project on the apache-extras repository, and based it on the James Mailbox Lucene implementation in order to parse the emails. Not all the capabilities of the Lucene implementation are complete, and I don't think I will finish implementing all of them till the end of GSoC, but I will definetly continue to work on the project as I find it very attractive. Right now I am using what is basically an inverted index in an HBase table. The structure of the index is as follows. - mailboxID is an java.util.UUID - the fields are now Enums, and what is stored is a byte that identifies that enum field. - each of the terms in the fields are tokenized using the lucene org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer, but some fields are not tokenized due to their nature(SENT_DATE for example) The row is composed of all the above byte arrays concatenated, so that searching can be done very fast through the HBase table, as well as lookup on the specific mailbox and field in the mail. The mailID is the qualifier in the static column family(only one column family) so that mail id's are found with relative ease. This is for the mail document in itself, the flags are stored in a single row in the table(one row for each mailbox) and can be found easily by a scan. Each of the rows now has an empty value, where in the possible future we'll be able to store data related to the term frequency in the document. What works currently are the searches based on the text, flags, headers, all criterions. These are implemented using Filters but I will be switching to Coprocessors till next Monday due to the benefit they provide of less data transfer over the network and distributed processing on each region. I created a local branch on the main james-mailbox and I am currently integrating the MailboxSearchIndexListener into the project to see a run on it. I have been working on the github repository for it provides easier code reviews from my mentor. Please take a look at the project and tell me what you think. Any input is appreciated. Mihai
Jenkins build is still unstable: james-server-trunk #3133
See https://builds.apache.org/job/james-server-trunk/3133/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Project status and integration into James Mailbox
Thx Mihai, Can you give us the github url? Do tests need an external hbase or does it run with HBaseMiniCluster? Btw, I tried to understand how to run the HBase lucene index in the Lucene tests following your README, but still don't get the idea... Any further comment? Thx, Eric On 08/16/2012 12:59 PM, Mihai Soloi wrote: Hi all, I've refactored the project on the apache-extras repository, and based it on the James Mailbox Lucene implementation in order to parse the emails. Not all the capabilities of the Lucene implementation are complete, and I don't think I will finish implementing all of them till the end of GSoC, but I will definetly continue to work on the project as I find it very attractive. Right now I am using what is basically an inverted index in an HBase table. The structure of the index is as follows. - mailboxID is an java.util.UUID - the fields are now Enums, and what is stored is a byte that identifies that enum field. - each of the terms in the fields are tokenized using the lucene org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer, but some fields are not tokenized due to their nature(SENT_DATE for example) The row is composed of all the above byte arrays concatenated, so that searching can be done very fast through the HBase table, as well as lookup on the specific mailbox and field in the mail. The mailID is the qualifier in the static column family(only one column family) so that mail id's are found with relative ease. This is for the mail document in itself, the flags are stored in a single row in the table(one row for each mailbox) and can be found easily by a scan. Each of the rows now has an empty value, where in the possible future we'll be able to store data related to the term frequency in the document. What works currently are the searches based on the text, flags, headers, all criterions. These are implemented using Filters but I will be switching to Coprocessors till next Monday due to the benefit they provide of less data transfer over the network and distributed processing on each region. I created a local branch on the main james-mailbox and I am currently integrating the MailboxSearchIndexListener into the project to see a run on it. I have been working on the github repository for it provides easier code reviews from my mentor. Please take a look at the project and tell me what you think. Any input is appreciated. Mihai -- eric | http://about.echarles.net | @echarles - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Project status and integration into James Mailbox
Hi Mihai, I found the URL: https://github.com/mihaisoloi/Hbaluin.git Seems like you are now using HBaseMiniCluster :) I tried to install, and I am falling into HBASE-5711 (ubuntu here). You can easily patch it such as I did with MAILBOX-185 (in the mailbox-hbase module). After reading again the README, I think I've got now the idea of the test with lucene. I will try it. Thx, Eric On 08/16/2012 02:17 PM, Eric Charles wrote: Thx Mihai, Can you give us the github url? Do tests need an external hbase or does it run with HBaseMiniCluster? Btw, I tried to understand how to run the HBase lucene index in the Lucene tests following your README, but still don't get the idea... Any further comment? Thx, Eric On 08/16/2012 12:59 PM, Mihai Soloi wrote: Hi all, I've refactored the project on the apache-extras repository, and based it on the James Mailbox Lucene implementation in order to parse the emails. Not all the capabilities of the Lucene implementation are complete, and I don't think I will finish implementing all of them till the end of GSoC, but I will definetly continue to work on the project as I find it very attractive. Right now I am using what is basically an inverted index in an HBase table. The structure of the index is as follows. - mailboxID is an java.util.UUID - the fields are now Enums, and what is stored is a byte that identifies that enum field. - each of the terms in the fields are tokenized using the lucene org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer, but some fields are not tokenized due to their nature(SENT_DATE for example) The row is composed of all the above byte arrays concatenated, so that searching can be done very fast through the HBase table, as well as lookup on the specific mailbox and field in the mail. The mailID is the qualifier in the static column family(only one column family) so that mail id's are found with relative ease. This is for the mail document in itself, the flags are stored in a single row in the table(one row for each mailbox) and can be found easily by a scan. Each of the rows now has an empty value, where in the possible future we'll be able to store data related to the term frequency in the document. What works currently are the searches based on the text, flags, headers, all criterions. These are implemented using Filters but I will be switching to Coprocessors till next Monday due to the benefit they provide of less data transfer over the network and distributed processing on each region. I created a local branch on the main james-mailbox and I am currently integrating the MailboxSearchIndexListener into the project to see a run on it. I have been working on the github repository for it provides easier code reviews from my mentor. Please take a look at the project and tell me what you think. Any input is appreciated. Mihai -- eric | http://about.echarles.net | @echarles - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Project status and integration into James Mailbox
Hi Eric, I abbandoned the idea of trying to integrate the directory over HBase, it was more than I could handle and it would've taken to much time and it wouldn't be implemented by the end of the summer. Of course, here is the apache-extras [1] and the fork on github [2]. I just finished the filtering using a coprocessor endpoint, the commit is done only on the github so that Eugen can review it. I will get home and see why some tests are failing. [1] http://code.google.com/a/apache-extras.org/p/mailbox-lucene-index-hbase/source/browse/ [2] https://github.com/mihaisoloi/Hbaluin.git On Thu, Aug 16, 2012 at 3:17 PM, Eric Charles e...@apache.org wrote: Thx Mihai, Can you give us the github url? Do tests need an external hbase or does it run with HBaseMiniCluster? Btw, I tried to understand how to run the HBase lucene index in the Lucene tests following your README, but still don't get the idea... Any further comment? Thx, Eric On 08/16/2012 12:59 PM, Mihai Soloi wrote: Hi all, I've refactored the project on the apache-extras repository, and based it on the James Mailbox Lucene implementation in order to parse the emails. Not all the capabilities of the Lucene implementation are complete, and I don't think I will finish implementing all of them till the end of GSoC, but I will definetly continue to work on the project as I find it very attractive. Right now I am using what is basically an inverted index in an HBase table. The structure of the index is as follows. - mailboxID is an java.util.UUID - the fields are now Enums, and what is stored is a byte that identifies that enum field. - each of the terms in the fields are tokenized using the lucene org.apache.lucene.analysis.**standard.**UAX29URLEmailTokenizer, but some fields are not tokenized due to their nature(SENT_DATE for example) The row is composed of all the above byte arrays concatenated, so that searching can be done very fast through the HBase table, as well as lookup on the specific mailbox and field in the mail. The mailID is the qualifier in the static column family(only one column family) so that mail id's are found with relative ease. This is for the mail document in itself, the flags are stored in a single row in the table(one row for each mailbox) and can be found easily by a scan. Each of the rows now has an empty value, where in the possible future we'll be able to store data related to the term frequency in the document. What works currently are the searches based on the text, flags, headers, all criterions. These are implemented using Filters but I will be switching to Coprocessors till next Monday due to the benefit they provide of less data transfer over the network and distributed processing on each region. I created a local branch on the main james-mailbox and I am currently integrating the MailboxSearchIndexListener into the project to see a run on it. I have been working on the github repository for it provides easier code reviews from my mentor. Please take a look at the project and tell me what you think. Any input is appreciated. Mihai -- eric | http://about.echarles.net | @echarles --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org
Re: Project status and integration into James Mailbox
Hi Eric, Yes I am using the HBaseTestingUtility. But the README is not updated, as I completely changed the project, I will update the README, but now you can simply run the maven tests. Thx, Mihai On Thu, Aug 16, 2012 at 5:02 PM, Eric Charles e...@apache.org wrote: Hi Mihai, I found the URL: https://github.com/mihaisoloi/**Hbaluin.githttps://github.com/mihaisoloi/Hbaluin.git Seems like you are now using HBaseMiniCluster :) I tried to install, and I am falling into HBASE-5711 (ubuntu here). You can easily patch it such as I did with MAILBOX-185 (in the mailbox-hbase module). After reading again the README, I think I've got now the idea of the test with lucene. I will try it. Thx, Eric On 08/16/2012 02:17 PM, Eric Charles wrote: Thx Mihai, Can you give us the github url? Do tests need an external hbase or does it run with HBaseMiniCluster? Btw, I tried to understand how to run the HBase lucene index in the Lucene tests following your README, but still don't get the idea... Any further comment? Thx, Eric On 08/16/2012 12:59 PM, Mihai Soloi wrote: Hi all, I've refactored the project on the apache-extras repository, and based it on the James Mailbox Lucene implementation in order to parse the emails. Not all the capabilities of the Lucene implementation are complete, and I don't think I will finish implementing all of them till the end of GSoC, but I will definetly continue to work on the project as I find it very attractive. Right now I am using what is basically an inverted index in an HBase table. The structure of the index is as follows. - mailboxID is an java.util.UUID - the fields are now Enums, and what is stored is a byte that identifies that enum field. - each of the terms in the fields are tokenized using the lucene org.apache.lucene.analysis.**standard.** UAX29URLEmailTokenizer, but some fields are not tokenized due to their nature(SENT_DATE for example) The row is composed of all the above byte arrays concatenated, so that searching can be done very fast through the HBase table, as well as lookup on the specific mailbox and field in the mail. The mailID is the qualifier in the static column family(only one column family) so that mail id's are found with relative ease. This is for the mail document in itself, the flags are stored in a single row in the table(one row for each mailbox) and can be found easily by a scan. Each of the rows now has an empty value, where in the possible future we'll be able to store data related to the term frequency in the document. What works currently are the searches based on the text, flags, headers, all criterions. These are implemented using Filters but I will be switching to Coprocessors till next Monday due to the benefit they provide of less data transfer over the network and distributed processing on each region. I created a local branch on the main james-mailbox and I am currently integrating the MailboxSearchIndexListener into the project to see a run on it. I have been working on the github repository for it provides easier code reviews from my mentor. Please take a look at the project and tell me what you think. Any input is appreciated. Mihai -- eric | http://about.echarles.net | @echarles --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org
Re: [VOTE] Release Hupa 0.0.3
[X] +1 Please release Thanks Felix - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Jenkins build is still unstable: james-server-trunk #3134
See https://builds.apache.org/job/james-server-trunk/3134/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org