Re: Building james
Here is another imap exception this time I used Thunderbird. Generated when trying to copy a single mail. jvm 1| DEBUG 21:26:38,307 | james.imapserver | ID=1046938897 Got : 12 jvm 1| DEBUG 21:26:38,307 | james.imapserver | ID=1046938897 Got : append jvm 1| DEBUG 21:26:38,316 | james.imapserver | ID=1046938897 Got : 12 jvm 1| DEBUG 21:26:38,317 | james.imapserver | ID=1046938897 Got : append jvm 1| DEBUG 21:26:38,321 | james.imapserver | ID=1046938897 Loaded mailbox #private:rami.oja...@archon.fi:INBOX jvm 1| DEBUG 21:26:38,382 | james.imapserver | ID=472807432 No mailbox selected jvm 1| DEBUG 21:26:38,382 | james.imapserver | ID=922896504 No mailbox selected jvm 1| DEBUG 21:26:38,391 | james.imapserver | ID=1046938897 Loaded mailbox #private:rami.oja...@archon.fi:INBOX jvm 1| DEBUG 21:26:38,408 | james.imapserver | ID=1046938897 Loaded mailbox #private:rami.oja...@archon.fi:INBOX jvm 1| DEBUG 21:26:58,426 | james.imapserver | ID=1046938897 Got : 13 jvm 1| DEBUG 21:26:58,426 | james.imapserver | ID=1046938897 Got : noop jvm 1| DEBUG 21:26:58,438 | james.imapserver | ID=1046938897 Loaded mailbox #private:rami.oja...@archon.fi:INBOX jvm 1| INFO 21:26:58,439 | james.imapserver | ID=1046938897 Connection closed for 194.100.184.30 jvm 1| DEBUG 21:27:20,982 | james.imapserver | ID=1718587348 Got : 17 jvm 1| DEBUG 21:27:20,982 | james.imapserver | ID=1718587348 Got : IDLE jvm 1| DEBUG 21:27:20,988 | james.imapserver | ID=1718587348 Loaded mailbox #private:rami.oja...@archon.fi:lisenssit jvm 1| DEBUG 21:27:20,989 | james.imapserver | ID=1718587348 Error while processing imap request jvm 1| java.nio.channels.ClosedChannelException jvm 1| at org.jboss.netty.channel.socket.nio.NioWorker.setInterestOps(NioWorker.java:726) jvm 1| at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:121) jvm 1| at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:68) jvm 1| at org.jboss.netty.handler.ssl.SslHandler.handleDownstream(SslHandler.java:459) jvm 1| at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:109) jvm 1| at org.jboss.netty.handler.execution.ExecutionHandler.handleDownstream(ExecutionHandler.java:165) jvm 1| at org.jboss.netty.channel.Channels.setInterestOps(Channels.java:646) jvm 1| at org.jboss.netty.channel.AbstractChannel.setInterestOps(AbstractChannel.java:216) jvm 1| at org.jboss.netty.channel.AbstractChannel.setReadable(AbstractChannel.java:240) jvm 1| at org.apache.james.imapserver.netty.NettyImapSession.pushLineHandler(NettyImapSession.java:215) jvm 1| at org.apache.james.imap.processor.IdleProcessor.doProcess(IdleProcessor.java:92) jvm 1| at org.apache.james.imap.processor.IdleProcessor.doProcess(IdleProcessor.java:50) jvm 1| at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:100) jvm 1| at org.apache.james.imap.processor.AbstractMailboxProcessor.process(AbstractMailboxProcessor.java:89) jvm 1| at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:83) jvm 1| at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:66) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:52) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1| at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) jvm 1|
Re: Building james
Ok, now I got the prebuilt apache-james-3.0-beta4-app.tar.gz working. I already know some of the gotchas but will not focus on them now. Instead I am having a basic issue with the imap server. Namely I want to move email from my old imap server to james by dragging and dropping them using my email client. I am using Thunderbird and Opera Mail to test this. What happens is that the moving of emails to James using IMAP seems to hang and does not work. Well I got one or two moved at some point but mostly it just does not work. So I turned on debug logging level for imap and this is what the log tells me when dragging one single (fairly small) email to james imap. jvm 1| DEBUG 20:26:56,858 | james.imapserver | ID=472807432 Got : 00C1 jvm 1| DEBUG 20:26:56,858 | james.imapserver | ID=472807432 Got : APPEND jvm 1| DEBUG 20:26:56,904 | james.imapserver | ID=472807432 Got : 00C1 jvm 1| DEBUG 20:26:56,905 | james.imapserver | ID=472807432 Got : APPEND jvm 1| DEBUG 20:26:56,912 | james.imapserver | ID=472807432 Loaded mailbox #private:rami.oja...@archon.fi:lisenssit jvm 1| DEBUG 20:26:57,062 | james.imapserver | ID=472807432 Loaded mailbox #private:rami.oja...@archon.fi:lisenssit jvm 1| DEBUG 20:26:57,076 | james.imapserver | ID=472807432 Loaded mailbox #private:rami.oja...@archon.fi:INBOX jvm 1| DEBUG 20:28:57,089 | james.imapserver | ID=472807432 Got : 0C2 jvm 1| DEBUG 20:28:57,093 | james.imapserver | ID=472807432 Got : IDLE jvm 1| DEBUG 20:28:57,099 | james.imapserver | ID=472807432 Loaded mailbox #private:rami.oja...@archon.fi:INBOX jvm 1| DEBUG 20:28:57,101 | james.imapserver | ID=472807432 Error while processing imap request jvm 1| java.lang.IllegalArgumentException: estimatedLength: -1 jvm 1| at org.jboss.netty.buffer.DynamicChannelBuffer.(DynamicChannelBuffer.java:48) jvm 1| at org.jboss.netty.buffer.ChannelBuffers.dynamicBuffer(ChannelBuffers.java:221) jvm 1| at org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:214) jvm 1| at org.jboss.netty.handler.codec.frame.FrameDecoder.cumulation(FrameDecoder.java:367) jvm 1| at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:210) jvm 1| at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44) jvm 1| at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312) jvm 1| at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) jvm 1| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) jvm 1| at java.lang.Thread.run(Thread.java:701) I am currently using the default storage options which I assume involves storing all things to Derby. Correct me if I am wrong. I would really like to debug this issue. If Benoit (or someone else with knowledge) would like me to install James from git (as instructed) I can do it. But if we can try to debug this using my current setting then that's great too. Does moving (dragging) of emails from another imap server to James imap server work with others? Or is this a known issue? - Rami - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Building james
thanks, yeah, not sure why I thought I had to change folders at that point. That helped me get farther, but still problems ... [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache James Project ... SUCCESS [ 1.322 s] [INFO] Apache James :: Mailets parent and aggregator .. SUCCESS [ 6.831 s] [INFO] Apache James :: Mailet API . SUCCESS [ 3.162 s] [INFO] Apache James :: Basic Mailet Toolkit ... SUCCESS [ 1.323 s] [INFO] Apache James :: Mime4j :: Project .. SUCCESS [ 0.378 s] [INFO] Apache James :: Mime4j :: Core . SUCCESS [ 9.846 s] [INFO] Apache James :: Mime4j :: DOM .. SUCCESS [ 16.119 s] [INFO] Apache James :: jDKIM :: DomainKey Project . SUCCESS [ 0.047 s] [INFO] Apache James :: jDKIM .. SUCCESS [ 9.495 s] [INFO] Apache James :: jDKIM :: Mailets ... SUCCESS [ 1.857 s] ... [INFO] Apache James :: Mailbox :: Store Framework . SUCCESS [ 5.565 s] [INFO] Apache James :: Mailbox :: Caching . SUCCESS [ 0.626 s] [INFO] Apache James :: Mailbox :: Cassandra ... SUCCESS [ 49.625 s] [INFO] Apache James :: Mailbox :: ElasticSearch ... SUCCESS [ 34.718 s] [INFO] Apache James :: Mailbox :: In Memory ... SUCCESS [ 1.812 s] [INFO] Apache James :: Mailbox :: Tika FAILURE [ 28.265 s] [INFO] Apache James :: Mailbox :: HBase ... SKIPPED ... [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 05:39 min [INFO] Finished at: 2015-08-27T11:48:43-04:00 [INFO] Final Memory: 123M/322M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process (default) on project apache-james-mailbox-elasticsearch: Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing: [ERROR] -- [ERROR] 1) org.apache.james:apache-james-mailbox-tika:jar:0.6-SNAPSHOT [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.apache.james -DartifactId=apache-james-mailbox-tika -Dversion=0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.james -DartifactId=apache-james-mailbox-tika -Dversion=0.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.james:apache-james-mailbox-elasticsearch:jar:0.6-SNAPSHOT [ERROR] 2) org.apache.james:apache-james-mailbox-tika:jar:0.6-SNAPSHOT [ERROR] [ERROR] -- [ERROR] 1 required artifact is missing. [ERROR] [ERROR] for artifact: [ERROR] org.apache.james:apache-james-mailbox-elasticsearch:jar:0.6-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :apache-james-mailbox-elasticsearch says something is missing. Do I need to download something else separately? On 08/27/2015 11:40 AM, Matthieu Baechler wrote: Hi Mike, It looks like you build only james-project. You should run mvn in the top-level directory instead to build the whole server.
Gmail-style "All Mail" folder?
Is there any capability built into James to support a virtual "All Mail" folder like Gmail offers? Gmail reports the "All Mail" folder to IMAP client as just another folder. But Gmail rolls up the contents of all folders into this one virtual folder. I have some massive business accounts with a very large rule base for sorting and storing inbound and outbound mail into various folders. When I get a buzz on my phone that new mail has arrived, I've got to search through a ton of folders trying to find the new mail that just came in. I figure I could write a mailet to fork the routing and store a copy of each email in a common folder. But I'm not really thrilled about doubling the size of the database with a copy of every email in a common folder. Any thoughts on this? Any ideas how difficult it would be to implement something like this, assuming it's not already there and I just missed it? I might be willing to play around with adding this assuming it's not massive, and I can get a bit of guidance. Thanks. Jerry - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Building james
Hi Mike, It looks like you build only james-project. You should run mvn in the top-level directory instead to build the whole server. -- Matthieu Baechler On 27/08/2015 17:35, Mike lepore wrote: I guess there's something I didn't follow correctly. Where do the james jars and conf get installed to? I can't find them after executing the commands below. Admittedly, not a maven expert. mike@dev:$ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Apache James Project 1.8.3-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ james-project --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ james-project --- [INFO] [INFO] --- maven-jar-plugin:2.4:jar (jar) @ james-project --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT.jar [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (test-jar) @ james-project --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-tests.jar [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ james-project >>> [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ james-project <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ james-project --- [INFO] [INFO] >>> maven-source-plugin:2.2.1:test-jar (attach-sources) > generate-sources @ james-project >>> [INFO] [INFO] <<< maven-source-plugin:2.2.1:test-jar (attach-sources) < generate-sources @ james-project <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @ james-project --- [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ james-project --- [INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ james-project --- [INFO] Installing /data/projects/LIC/james/james3/20150827/james-parent/james-project/pom.xml to /home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT.pom [INFO] Installing /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-tests.jar to /home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-tests.jar [INFO] Installing /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-site.xml to /home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-site.xml [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 2.359 s [INFO] Finished at: 2015-08-27T11:27:05-04:00 [INFO] Final Memory: 17M/303M [INFO] ---- mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$ ll total 100 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ./ 8 drwxrwxr-x+ 6 mike mike 4096 Aug 27 11:19 ../ 4 -rw-rw-r--+ 1 mike mike38 Aug 27 11:20 .git 60 -rw-rw-r--+ 1 mike mike 58108 Aug 27 11:20 pom.xml 4 -rw-rw-r--+ 1 mike mike 1641 Aug 27 11:20 README.txt 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:20 src/ 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 target/ mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$ ll target/ total 68 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ./ 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ../ 12 -rw-rw-r--+ 1 mike mike 9345 Aug 27 11:27 james-project-1.8.3-SNAPSHOT.jar 8 -rw-rw-r--+ 1 mike mike 4633 Aug 27 11:27 james-project-1.8.3-SNAPSHOT-site.xml 12 -rw-rw-r--+ 1 mike mike 9345 Aug 27 11:27 james-project-1.8.3-SNAPSHOT-tests.jar 8 drwxrwxr-x+ 2 mike mike 4096 Aug 27 11:27 maven-archiver/ 8 drwxrwxr-x+ 3 mike mike 4096 Aug 27 11:27 maven-shared-archive-resources/ 4 -rw-rw-r--+ 1 mike mike 30 Aug 27 11:27 .plxarc mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$ unzip -l target/james-project-1.8.3-SNAPSHOT.jar Archive: target/james-project-1.8.3-SNAPSHOT.jar Length DateTimeName - -- - 0 2015-08-27 11:27 META-INF/ 448 2015-08-27 11:27 META-INF/MANIFEST.MF 0 2015-08-27 11:27 META-INF/maven/ 0 2015-08-27 11:27 META-INF/maven/org.apache.james/ 0 2015-08-27 11:27 META-INF/maven/org.apache.james/james-project/ 58108 2015-08-2
Re: Building james
I guess there's something I didn't follow correctly. Where do the james jars and conf get installed to? I can't find them after executing the commands below. Admittedly, not a maven expert. mike@dev:$ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Apache James Project 1.8.3-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ james-project --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ james-project --- [INFO] [INFO] --- maven-jar-plugin:2.4:jar (jar) @ james-project --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT.jar [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (test-jar) @ james-project --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-tests.jar [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ james-project >>> [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ james-project <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ james-project --- [INFO] [INFO] >>> maven-source-plugin:2.2.1:test-jar (attach-sources) > generate-sources @ james-project >>> [INFO] [INFO] <<< maven-source-plugin:2.2.1:test-jar (attach-sources) < generate-sources @ james-project <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @ james-project --- [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ james-project --- [INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ james-project --- [INFO] Installing /data/projects/LIC/james/james3/20150827/james-parent/james-project/pom.xml to /home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT.pom [INFO] Installing /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-tests.jar to /home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-tests.jar [INFO] Installing /data/projects/LIC/james/james3/20150827/james-parent/james-project/target/james-project-1.8.3-SNAPSHOT-site.xml to /home/mike/.m2/repository/org/apache/james/james-project/1.8.3-SNAPSHOT/james-project-1.8.3-SNAPSHOT-site.xml [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 2.359 s [INFO] Finished at: 2015-08-27T11:27:05-04:00 [INFO] Final Memory: 17M/303M [INFO] ---- mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$ ll total 100 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ./ 8 drwxrwxr-x+ 6 mike mike 4096 Aug 27 11:19 ../ 4 -rw-rw-r--+ 1 mike mike38 Aug 27 11:20 .git 60 -rw-rw-r--+ 1 mike mike 58108 Aug 27 11:20 pom.xml 4 -rw-rw-r--+ 1 mike mike 1641 Aug 27 11:20 README.txt 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:20 src/ 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 target/ mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$ ll target/ total 68 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ./ 8 drwxrwxr-x+ 4 mike mike 4096 Aug 27 11:27 ../ 12 -rw-rw-r--+ 1 mike mike 9345 Aug 27 11:27 james-project-1.8.3-SNAPSHOT.jar 8 -rw-rw-r--+ 1 mike mike 4633 Aug 27 11:27 james-project-1.8.3-SNAPSHOT-site.xml 12 -rw-rw-r--+ 1 mike mike 9345 Aug 27 11:27 james-project-1.8.3-SNAPSHOT-tests.jar 8 drwxrwxr-x+ 2 mike mike 4096 Aug 27 11:27 maven-archiver/ 8 drwxrwxr-x+ 3 mike mike 4096 Aug 27 11:27 maven-shared-archive-resources/ 4 -rw-rw-r--+ 1 mike mike 30 Aug 27 11:27 .plxarc mike@lic1:/share/projects/LIC/james/james3/20150827/james-parent/james-project$ unzip -l target/james-project-1.8.3-SNAPSHOT.jar Archive: target/james-project-1.8.3-SNAPSHOT.jar Length DateTimeName - -- - 0 2015-08-27 11:27 META-INF/ 448 2015-08-27 11:27 META-INF/MANIFEST.MF 0 2015-08-27 11:27 META-INF/maven/ 0 2015-08-27 11:27 META-INF/maven/org.apache.james/ 0 2015-08-27 11:27 META-INF/maven/org.apache.james/james-project/ 58108 2015-08-27 11:20 META-INF/maven/org.apache.james/james-project/pom.xml 123 2015-08-27 11:27 META-INF/maven/org.apache.james/james-project/pom.properties -
Re: Building james
Le 27/08/2015 12:29, Rami Ojares a écrit : > You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz file in the app/target directory ( if it is like beta 5 ). > You have all needed files contained in it. Unfortunately there is no app folder created by the build. Where can I find beta 5 and why is it not announced on the website? My bad, tag geta-5 does not exist yet. And app folder appeared after beta-4... > To build successfully James from trunk, you can have a look to https://github.com/linagora/james-parent Ok, maybe I will try that if all else fails. I have never used git, neither docker so that would be one more obstacle to cross. You can avoid docker in the process. just use : git clone https://github.com/linagora/james-parent git submodule init git submodule update mvn clean install ... For having a working configuration with this, you will have to modify the conf/* files... I am trying to build James only because I want to have a working installation of James 3. I was not able to do that with pre-built apache-james-3.0-beta4-app.tar.gz and that's why I ended up trying to build it. I will keep trying. But once I have James 3 finally running I would like to update the website instructions to a state that everyone can at least install and run James without problems. - rami - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Building james
> You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz file in the app/target directory ( if it is like beta 5 ). > You have all needed files contained in it. Unfortunately there is no app folder created by the build. Where can I find beta 5 and why is it not announced on the website? > To build successfully James from trunk, you can have a look to https://github.com/linagora/james-parent Ok, maybe I will try that if all else fails. I have never used git, neither docker so that would be one more obstacle to cross. I am trying to build James only because I want to have a working installation of James 3. I was not able to do that with pre-built apache-james-3.0-beta4-app.tar.gz and that's why I ended up trying to build it. I will keep trying. But once I have James 3 finally running I would like to update the website instructions to a state that everyone can at least install and run James without problems. - rami - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Building james
From the trunk, these compilation error are normal. Indeed, james is composed of several project, for instance mailbox for storing user mails, protocols, jsieve, and so on. We are working on these several project at the same time, and the versions *-SNAPSHOT available in macen central are not compatible To build successfully James from trunk, you can have a look to https://github.com/linagora/james-parent . This git repository uses git submodules to aggregate the different projects. You can build it with maven ( works for me ! ) but if you want, you can use the build using a docker image ( more reliable ). Just edit configuration to match your needs ( we are using Cassandra as a backend ). Have fun with James ! Le 26/08/2015 18:36, Rami Ojares a écrit : I also tried building from the trunk I used svn url http://svn.apache.org/repos/asf/james/current as instructed. Then I cd'd down to server folder (it was just my guess). There I ran: mvn package -DskipTests=true The build stopped at module Mailbox Adapter with errors [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[27,41] cannot find symbol symbol: class InMemoryId location: package org.apache.james.mailbox.inmemory [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[54,29] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[54,82] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[69,83] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[76,83] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[83,83] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[90,17] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[90,57] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[98,17] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[98,57] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[106,83] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[123,83] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/adapter/mailbox/MailboxManagementTest.java:[124,83] cannot find symbol symbol: class InMemoryId location: class org.apache.james.adapter.mailbox.MailboxManagementTest [ERROR] /opt/archon/servers/src-james-trunk/server/container/mailbox-adapter/src/test/java/org/apache/james/ada
Re: Building james
Hi, You might find a james-server-app-3.0.0-beta4-SNAPSHOT-app.tar.gz file in the app/target directory ( if it is like beta 5 ). You have all needed files contained in it. Benoit Le 26/08/2015 18:14, Rami Ojares a écrit : Hi, I have been trying to build James using the instructions found at https://james.apache.org/server/3/dev-build.html I checkout the source from http://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4 My build command is: mvn clean package -DskipTests=true Documentation says:"All built products are output in the container-spring/target subdirectory of the James source directory." When I look under $JAMES_SRC_ROOT/container-spring/target I find only james-server-container-spring-3.0-beta4.jar which is 50 kb. So clearly there is no distribution in there. Adding option -Pwith-assembly only gives me a warning: "The requested profile "with-assembly" could not be activated because it does not exist." Could someone help me with how to build James succesfully. - Rami Ojares - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org