Build failed in Jenkins: james-server-trunk » Apache James :: Server :: Core #4093

2013-10-27 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/4093/

--
Oct 27, 2013 10:14:33 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 27, 2013 10:14:33 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Oct 27, 2013 10:14:33 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: Building Apache James :: Server :: Core 3.0.0-beta5-SNAPSHOT
Oct 27, 2013 10:14:33 AM org.apache.maven.cli.event.ExecutionEventLogger 
projectStarted
INFO: 
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/maven-metadata.xml
 (1004 B at 3.2 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/apache-mailet-base-2.5.1-20131027.040606-284.pom
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/apache-mailet-base-2.5.1-20131027.040606-284.pom
 (4 KB at 36.4 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/apache-mailet-base-2.5.1-20131027.040606-284.jar
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/apache-mailet-base-2.5.1-20131027.040606-284-tests.jar
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/apache-mailet-base-2.5.1-20131027.040606-284.jar
 (31 KB at 196.0 KB/sec)
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-base/2.5.1-SNAPSHOT/apache-mailet-base-2.5.1-20131027.040606-284-tests.jar
 (26 KB at 143.5 KB/sec)
Oct 27, 2013 10:14:33 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:33 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-clean-plugin:2.5:clean (default-clean) @ james-server-core ---
[INFO] Deleting 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/ws/target
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-remote-resources-plugin:1.4:process (default) @ 
james-server-core ---
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-resources-plugin:2.6:resources (default-resources) @ 
james-server-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-compiler-plugin:3.0:compile (default-compile) @ 
james-server-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/ws/target/classes
[WARNING] 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/ws/src/main/java/org/apache/james/core/MimeMessageWrapper.java:
 Some input files use unchecked or unsafe operations.
[WARNING] 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/ws/src/main/java/org/apache/james/core/MimeMessageWrapper.java:
 Recompile with -Xlint:unchecked for details.
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
james-server-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/ws/src/test/resources
[INFO] Copying 3 resources
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:34 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ 
james-server-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to 
https://builds.apache.org/job/james-server-trunk/org.apache.james$james-server-core/ws/target/test-classes
[WARNING] 

Build failed in Jenkins: james-server-trunk #4093

2013-10-27 Thread Apache Jenkins Server
See https://builds.apache.org/job/james-server-trunk/4093/

--
[...truncated 1659 lines...]
---
Running org.apache.james.core.MimeMessageFromStreamTest
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodyTests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.67 
sec
Running org.apache.james.core.MailHeadersTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec
Running org.apache.james.core.MimeMessageTest
Message-ID: 2013125681.101382868877070.JavaMail.jenkins@juno
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodyTests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.622 
sec
Running org.apache.james.core.MimeMessageWrapperTest
Subject: foo
Content-Transfer-Encoding2: plain

bar
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodyTests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.875 
sec
Running org.apache.james.core.MimeMessageFromMimeMessageTest
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodyTests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.61 
sec
Running org.apache.james.core.MailImplTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec
Running org.apache.james.core.MimeMessageUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec
Running org.apache.james.core.MimeMessageFromSharedStreamTest
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodyTests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.595 
sec
Running org.apache.james.core.MimeMessageCopyOnWriteProxyTest
mail: /3/W m2: /3/W
mail: /3/W m2: /3/W
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodySubject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test bodyTests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.136 
sec

Results :

Tests run: 82, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
Oct 27, 2013 10:14:45 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:45 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ james-server-core 
---
Oct 27, 2013 10:14:45 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:45 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-jar-plugin:2.4:jar (jar) @ james-server-core ---
[INFO] Building jar: 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/core/target/james-server-core-3.0.0-beta5-SNAPSHOT.jar
Oct 27, 2013 10:14:47 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:47 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-jar-plugin:2.4:test-jar (test-jar) @ james-server-core ---
[INFO] Building jar: 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/core/target/james-server-core-3.0.0-beta5-SNAPSHOT-tests.jar
Oct 27, 2013 10:14:48 AM hudson.maven.ExecutedMojo init
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
Oct 27, 2013 10:14:48 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: 
Oct 27, 2013 10:14:48 AM org.apache.maven.cli.event.ExecutionEventLogger 
mojoStarted
INFO: --- maven-source-plugin:2.2.1:jar (attach-sources) @ james-server-core ---
[INFO] Building jar: 
https://builds.apache.org/job/james-server-trunk/ws/trunk/container/core/target/james-server-core-3.0.0-beta5-SNAPSHOT-sources.jar
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: 
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: Reactor Summary:
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: 
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: Apache James :: Server  SUCCESS [42.611s]
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: Apache James :: Server :: Data  :: API  SUCCESS [49.993s]
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: Apache James :: Server :: Lifecycle API ... SUCCESS [41.611s]
Oct 27, 2013 10:14:51 AM org.apache.maven.cli.event.ExecutionEventLogger 
logReactorSummary
INFO: 

Re: [GSOC2013] Bond project success - Congrats Emma!

2013-10-27 Thread Manuel Carrasco Moñino
God Job Emma !
Looking forward to merging that summer code into James.

- Manolo


On Sat, Oct 26, 2013 at 1:10 PM, Saibabu Vallurupalli 
saibabu.vallurupa...@gmail.com wrote:

 Congratulations Emma. I am sure community is badly needed such UI though
 there are other ways to do having such user interface always adds value.

 Wish you goodluck.

 Thank you,
 Sai



 On Sat, Oct 26, 2013 at 3:45 AM, Eric Charles e...@apache.org wrote:

  Hi All,
 
  The James community is happy to announce Emma did succeed her GSOC
 project
  named Bond. The project goal was to develop a basic administration
  console for James server on top of Hupa Web UI (GWT base).
 
  For more details, read the initial proposal [1], the project code
  repository and info [2] and the final code submission to google [3].
 
  Congrats Emma and Thx to Manolo for his great Mentor job!
 
  Eric
 
  [1] http://www.google-melange.com/**gsoc/proposal/review/google/**
  gsoc2013/emma/10001
 http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/emma/10001
 
  [2] https://code.google.com/a/**apache-extras.org/p/bond/
 https://code.google.com/a/apache-extras.org/p/bond/
  [3] http://www.google-melange.com/**gsoc/project/google/gsoc2013/**
  emma/16001
 http://www.google-melange.com/gsoc/project/google/gsoc2013/emma/16001
 
  --**--**-
  To unsubscribe, e-mail: server-user-unsubscribe@james.**apache.org
 server-user-unsubscr...@james.apache.org
  For additional commands, e-mail: server-user-help@james.apache.**org
 server-user-h...@james.apache.org
 
 



[jira] [Created] (JAMES-1524) Windows Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Uday Kari (JIRA)
Uday Kari created JAMES-1524:


 Summary: Windows Install: SMTP MessagingException: Unable to 
access mailbox, Caused By: java.io.IOException
 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Windows 7/Windows Server 2008, 64-bit.  JDK 1.7.  
PostGreSQL 9+ (optional)
Reporter: Uday Kari
Priority: Blocker
 Fix For: 3.0.0-beta5


I have now tested this on three different windows boxes, getting the exact same 
error with or without jpa configured to use database.  

Summary: When reaching Step 7 of Quickstart, I get Mail Queued For Delivery 
instead of Message Received.  

Within james-server.log, I see the following stacktrace: 

ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
javax.mail.MessagingException: Unable to access mailbox. 
(org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
at 
org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
at 
org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
at 
org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
at 
org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
at 
org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
at 
org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
at 
org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
at 
org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
at 
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at 
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at 
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
at 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
at 
org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at 
org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at 
org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:81)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at 
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
at 
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at 

[jira] [Updated] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Uday Kari (JIRA)

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

Uday Kari updated JAMES-1524:
-

Environment: Installing as NT service on Windows 7/Windows Server 2008, 
64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).  (was: Windows 7/Windows Server 
2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional))

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
   at 
 org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:81)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 

[jira] [Commented] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Conrad T. Pino (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806439#comment-13806439
 ] 

Conrad T. Pino commented on JAMES-1524:
---

I'm not James knowledgeable but your situation reminds me of past Windows 
service issues I've had.

1. Have you had the opportunity to compare the Windows account used by the 
service to the filesystem permissions?

2. If not already so, may I suggest creating a separate Windows account for 
James server? The default SYSTEM account is best reserved for Windows alone.  
Any new account requires the Login as a service account right and at most 
Change filesystem permission.

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
   at 
 org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 

[jira] [Commented] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Uday Kari (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806514#comment-13806514
 ] 

Uday Kari commented on JAMES-1524:
--

Yes, I used icacls to give full privilege to java.io.tmpdir and create separate 
LocalSystem Account.  None of that helps.  I suspect that the proprietary 
service wrapper (Tanuki) has no unpaid support for 64-bit.  

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
   at 
 org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:81)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 

[jira] [Comment Edited] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Uday Kari (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806514#comment-13806514
 ] 

Uday Kari edited comment on JAMES-1524 at 10/28/13 2:18 AM:


Yes, I used icacls to give full privilege to java.io.tmpdir and create separate 
LocalSystem Account.  None of that helps.  I suspect that the proprietary 
service wrapper (Tanuki?) has no unpaid support for 64-bit.  


was (Author: ukari):
Yes, I used icacls to give full privilege to java.io.tmpdir and create separate 
LocalSystem Account.  None of that helps.  I suspect that the proprietary 
service wrapper (Tanuki) has no unpaid support for 64-bit.  

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
   at 
 org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 

[jira] [Comment Edited] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Uday Kari (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806514#comment-13806514
 ] 

Uday Kari edited comment on JAMES-1524 at 10/28/13 2:21 AM:


Yes, I used icacls to give full privilege to java.io.tmpdir and create separate 
LocalSystem Account. 


was (Author: ukari):
Yes, I used icacls to give full privilege to java.io.tmpdir and create separate 
LocalSystem Account.  None of that helps.  I suspect that the proprietary 
service wrapper (Tanuki?) has no unpaid support for 64-bit.  

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
   at 
 org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 

[jira] [Commented] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Conrad T. Pino (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806576#comment-13806576
 ] 

Conrad T. Pino commented on JAMES-1524:
---

My reading of the stack trace implies the mailbox store is inaccessible and I 
have doubts the mailbox store is within the tmpdir, where that may be but this 
is pure speculation which is no substitute for hard evidence.  Two approaches 
can produce useful evidence:

1) Windows Sysinternals Process Monitor 
http://technet.microsoft.com/en-us/sysinternals/bb896645 which may be overkill 
but you can achieve very selective monitoring but all power tools have 
significant learning curves and

2) Windows object access auditing for failure events 
http://support.microsoft.com/kb/310399 and if the failing object location is in 
doubt, apply the auditing policy for the Everyone built in group to the root 
directory of every drive and double check your Security Even Log is 
sufficiently large or allows overwriting the oldest events.

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
   at 
 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
   at 
 org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
   at 
 

[jira] [Comment Edited] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Conrad T. Pino (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806576#comment-13806576
 ] 

Conrad T. Pino edited comment on JAMES-1524 at 10/28/13 5:41 AM:
-

My reading of the stack trace implies the mailbox store is inaccessible and I 
have doubts the mailbox store is within the tmpdir, where ever that may be but 
this is pure speculation which is no substitute for hard evidence.  Two 
approaches can produce useful evidence:

1) Windows Sysinternals Process Monitor 
http://technet.microsoft.com/en-us/sysinternals/bb896645 which may be overkill 
but you can achieve very selective monitoring but all power tools have 
significant learning curves and

2) Windows object access auditing for failure events 
http://support.microsoft.com/kb/310399 and if the failing object location is in 
doubt, apply the auditing policy for the Everyone built in group to the root 
directory of every drive and double check your Security Even Log is 
sufficiently large or allows overwriting the oldest events.


was (Author: conradpino):
My reading of the stack trace implies the mailbox store is inaccessible and I 
have doubts the mailbox store is within the tmpdir, where that may be but this 
is pure speculation which is no substitute for hard evidence.  Two approaches 
can produce useful evidence:

1) Windows Sysinternals Process Monitor 
http://technet.microsoft.com/en-us/sysinternals/bb896645 which may be overkill 
but you can achieve very selective monitoring but all power tools have 
significant learning curves and

2) Windows object access auditing for failure events 
http://support.microsoft.com/kb/310399 and if the failing object location is in 
doubt, apply the auditing policy for the Everyone built in group to the root 
directory of every drive and double check your Security Even Log is 
sufficiently large or allows overwriting the oldest events.

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 

[jira] [Comment Edited] (JAMES-1524) Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, Caused By: java.io.IOException

2013-10-27 Thread Conrad T. Pino (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13806576#comment-13806576
 ] 

Conrad T. Pino edited comment on JAMES-1524 at 10/28/13 5:42 AM:
-

My reading of the stack trace implies the mailbox store is inaccessible and I 
have doubts the mailbox store is within the tmpdir, where ever that may be but 
this is pure speculation which is no substitute for hard evidence.  Two 
approaches can produce useful evidence:

1) Windows Sysinternals Process Monitor 
http://technet.microsoft.com/en-us/sysinternals/bb896645 which may be overkill 
but you can achieve very selective monitoring but all power tools have 
significant learning curves and

2) Windows object access auditing for failure events 
http://support.microsoft.com/kb/310399 and if the failing object location is in 
doubt, apply the auditing policy for the Everyone built in group to the root 
directory of every drive and double check your Security Event Log is 
sufficiently large or allows overwriting the oldest events.


was (Author: conradpino):
My reading of the stack trace implies the mailbox store is inaccessible and I 
have doubts the mailbox store is within the tmpdir, where ever that may be but 
this is pure speculation which is no substitute for hard evidence.  Two 
approaches can produce useful evidence:

1) Windows Sysinternals Process Monitor 
http://technet.microsoft.com/en-us/sysinternals/bb896645 which may be overkill 
but you can achieve very selective monitoring but all power tools have 
significant learning curves and

2) Windows object access auditing for failure events 
http://support.microsoft.com/kb/310399 and if the failing object location is in 
doubt, apply the auditing policy for the Everyone built in group to the root 
directory of every drive and double check your Security Even Log is 
sufficiently large or allows overwriting the oldest events.

 Windows SERVICE Install: SMTP MessagingException: Unable to access mailbox, 
 Caused By: java.io.IOException
 --

 Key: JAMES-1524
 URL: https://issues.apache.org/jira/browse/JAMES-1524
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0.0-beta5
 Environment: Installing as NT service on Windows 7/Windows Server 
 2008, 64-bit.  JDK 1.7.  PostGreSQL 9+ (optional).
Reporter: Uday Kari
Priority: Critical
 Fix For: 3.0.0-beta5


 When installing James as a Windows service, using james install, followed by 
 james start...I have now tested this on three different windows boxes, 
 getting the exact same error with or without jpa configured to use database.  
 IMPORTANT: Again, this applies only to Windows service.  The run.bat does not 
 gives this error.  So likely a the proprietary wrapper issue...
 SUMMARY: When reaching Step 7 of Quickstart, get Mail Queued For Delivery, 
 but message is NOT received when checking POP.
 DETAILS: Within james-server.log, I see the following stacktrace: 
 ERROR 22:15:47,019 | james.mailetcontext | Error while storing mail.
 javax.mail.MessagingException: Unable to access mailbox. 
 (org.apache.james.mailbox.exception.MailboxException: Unable to parse message)
   at 
 org.apache.james.transport.mailets.SieveMailet.post(SieveMailet.java:225)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMessageInbox(SieveMailboxMailet.java:387)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.sieveMessage(SieveMailboxMailet.java:358)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.storeMail(SieveMailboxMailet.java:341)
   at 
 org.apache.james.transport.mailets.SieveMailet.storeMail(SieveMailet.java:126)
   at 
 org.apache.jsieve.mailet.SieveMailboxMailet.service(SieveMailboxMailet.java:275)
   at 
 org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:94)
   at 
 org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
   at 
 org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at 
 org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
   at 
 org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
   at