on the 3rd point, I was probably comparing guice version of the mailetcontainer.xml [1] with the spring version [2] and In that case it is unnecessary and I would understand
[1] https://github.com/apache/james-project/blob/3.6.x/server/container/guice/jpa-guice/sample-configuration/mailetcontainer.xml [2] https://github.com/apache/james-project/blob/3.6.x/server/app/src/main/resources/mailetcontainer.xml Best regards, On Mon, Dec 27, 2021 at 4:07 PM Bs Serge <sergeb...@gmail.com> wrote: > Hi Benoit, Thank you for your time (on Xmas), we really appreciate it. I > just have a couple of issues : > > 1. I couldn't start James because there is no bin wrapper present or CLI > jars and I tried to run "java -Dworking.directory=conf -jar > lib/james-server-jpa-common-guice-3.6.1.jar" and it gave an error saying > "no main manifest attribute, in > lib/james-server-jpa-common-guice-3.6.1.jar", so how do I go ahead and > start James? and also it would be great for the binary distributions to > have the bin wrapper folder coz it really helps interact through the > command line. probably you would > > 2. I was going through the zip files you shared, and I don't know if it > was intended or not coz the smtpserver.xml file have 3 SMTP servers enabled > by default running on ports 25 (no TLS, no auth required), 465 (socketTLS, > auth required) and 587 (startTLS, auth required respectively and the > imapserver.xml file have 2 IMAP servers enabled running on ports 143 > (startTLS) and 993 (socketTLS). > > So I'm wondering if that is recommended, to run multiple IMAP/SMTP server > instances on all those ports in that fashion and why would that be the case. > > 3. I realized the configuration files used were from the master branch, > not the 3.6.x branch, so CAN that affect the JAMES server in any way > especially the mailetcontainer.xml is very different, I don't understand > everything in that file but I would assume if somethings changed it would > have some kind of effect. > > Thank you again and Happy Holidays > > Best Regards, > > > > > > On Sat, Dec 25, 2021 at 4:10 PM Tellier Benoit <btell...@apache.org> > wrote: > >> Hello, >> >> >> https://www.apache.org/dyn/closer.lua/james/server/3.6.1/james-server-distributed-guice.zip >> >> https://www.apache.org/dyn/closer.lua/james/server/3.6.1/james-server-jpa-guice.zip >> >> Merry Xmas, finnally had the time to upload pre-compiled versions for >> 3.6.1. >> >> Tomorrow Iwill update the dowload page as well. >> >> Best regards, >> >> Benoit >> >> Le 24/12/2021 à 20:13, Bs Serge a écrit : >> > ok. I see you may be referring to the master branch of the James project >> > which has the `server/apps` directory >> > but I'm building the 3.6.1 source codes which have a `server/app` >> directory >> > and it does not contain folders representing different assemblies as you >> > can see here on Github >> > https://github.com/apache/james-project/tree/3.6.x/server/app >> > >> > this is my 3.6.1 server/app directory structure after successful build : >> > >> https://paste.0xfc.de/?e6f26d4c0790b002#5VdYUUvaJsDR2kzBTt34fMJyoLFBJGx4HtAnjWetH71q >> > >> > Kindly let me know how to achieve the guice+jpa assembly with the 3.6.1 >> > version >> > >> > Best regards, >> > >> > On Fri, Dec 24, 2021 at 2:05 PM Jean Helou <jean.he...@gmail.com> >> wrote: >> > >> >> Sorry I wasn't clear >> >> >> >> Each of the folders in server/app represents a different runnable >> >> assembly. This is to demonstrate James modularity and how to create an >> >> assembly of your own with the specific modules you are looking for. >> >> You probably want to check the jpa-app assembly. >> >> >> >> Le ven. 24 déc. 2021 à 12:47, Bs Serge <sergeb...@gmail.com> a écrit : >> >> >> >>> Great to know, >> >>> Tho it seems like my build didn't generate Guice+JPA artifacts inside >> the >> >>> server/app folder, >> >>> to build I run `mvn clean install -DskipTests` >> >>> and there is no guice jar inside server/app >> >>> >> >>> Kindly let me know how to achive the guice+jpa setup >> >>> >> >>> Cheers >> >>> >> >>> >> >>> >> >>> >> >>> On Fri, Dec 24, 2021 at 12:57 PM Jean Helou <jean.he...@gmail.com> >> wrote: >> >>> >> >>>> Hello, >> >>>> >> >>>> Runnable assemblies are in server/apps/ >> >>>> >> >>>> Server/containers only contains the core libs >> >>>> >> >>>> Cheers >> >>>> >> >>>> >> >>>> Le ven. 24 déc. 2021 à 11:17, Bs Serge <sergeb...@gmail.com> a >> écrit : >> >>>> >> >>>>> My build was successful after some time, I want the Guice JPA setup, >> >>>>> So I went in server/container/guice/jpa-guice/target/ and I found >> the >> >>>>> james-server-jpa-guice.zip file (93 MB), >> >>>>> I extracted the zip and it contains : >> >>>>> - conf (will all the configuration files) >> >>>>> - james-server-jpa-guice.lib (contains a bunch of jars) >> >>>>> >> >>>>> Though It does not contain the bin directory with the command line >> >>> tools >> >>>> to >> >>>>> run James >> >>>>> Seems like everything is in place except for the missing bin >> directory >> >>>> and >> >>>>> there is no james-cli.jar or james-server-cli.jar in the zip file >> >>>>> >> >>>>> First, Let me know if this is the zip file I should be using >> >>>>> and Second, how do I go on and start James without the CLI tools? >> >>>>> >> >>>>> Best regards, >> >>>>> >> >>>>> >> >>>>> >> >>>>> On Fri, Dec 24, 2021 at 3:21 AM Garry Hurley < >> >>> garry.hurley...@gmail.com> >> >>>>> wrote: >> >>>>> >> >>>>>> Piggybacking on Jean’s response, you may be able to do a skip-tests >> >>> on >> >>>>> the >> >>>>>> maven build, which will skip the Cassandra and Docker stuff. >> >>>>>> >> >>>>>> On Thu, Dec 23, 2021 at 4:50 PM Bs Serge <sergeb...@gmail.com> >> >>> wrote: >> >>>>>>> Wow, it's amazing how you just spotted it. >> >>>>>>> >> >>>>>>> cheers >> >>>>>>> >> >>>>>>> On Thu, Dec 23, 2021 at 9:50 PM Jean Helou <jean.he...@gmail.com> >> >>>>> wrote: >> >>>>>>>> Hello, >> >>>>>>>> >> >>>>>>>> Even if you don't intend to use cassandra if you are building >> >>> the >> >>>>> whole >> >>>>>>>> repo from source it is going to build the cassandra packages. >> >>> The >> >>>>>> actual >> >>>>>>>> error is >> >>>>>>>> >> >>>>>>>> - 21:14:07.434 [ERROR] o.t.d.DockerClientProviderStrategy - >> >>> Could >> >>>> not >> >>>>>>>> find a valid Docker environment. Please check configuration. >> >>>>> Attempted >> >>>>>>>> configurations were: >> >>>>>>>> - 21:14:07.435 [ERROR] o.t.d.DockerClientProviderStrategy - >> >>>>>>>> UnixSocketClientProviderStrategy: failed with exception >> >>>>>>>> InvalidConfigurationException (Could not find unix domain >> >>> socket). >> >>>>>>>> Root cause NoSuchFileException (/var/run/docker.sock) >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> All the tests for storage engine use testcontainers to spin up >> >>>>>> containers >> >>>>>>>> for the corresponding external tool (cassanda, postgresql, >> >>>>>> elasticsearch, >> >>>>>>>> rabbitmq, ...) many modules will fail to build if you don't have >> >>>>> docker >> >>>>>>>> available. >> >>>>>>>> >> >>>>>>>> cheers >> >>>>>>>> jean >> >>>>>>>> >> >>>>>>>> >> >>>>>>>> On Thu, Dec 23, 2021 at 8:39 PM Bs Serge <sergeb...@gmail.com> >> >>>>> wrote: >> >>>>>>>>> I figured I'm using the wrong version of Java, I switched to >> >>> Java >> >>>>> 11 >> >>>>>>>>> The next error is Cassandra related [1], and I don't want to >> >>> use >> >>>>>>>> Cassandra, >> >>>>>>>>> I want to use JPA instead >> >>>>>>>>> >> >>>>>>>>> [INFO] Apache James Cassandra backend ..................... >> >>>> FAILURE >> >>>>>>>> [01:05 >> >>>>>>>>> min] >> >>>>>>>>> >> >>>>>>>>> [1] >> >>>>>>>>> >> >>>>>>>>> >> >>> >> https://paste.0xfc.de/?df21131d3962c67c#Cfhsu8StrovVt9j2qHjZa4UXdEwx4FiFsf979Nkaixvx >> >>>>>>>>> Any comments or thoughts would be appreciated! >> >>>>>>>>> >> >>>>>>>>> Best regards, >> >>>>>>>>> >> >>>>>>>>> On Thu, Dec 23, 2021 at 8:52 PM Bs Serge <sergeb...@gmail.com >> >>>>>> wrote: >> >>>>>>>>>> Hi, >> >>>>>>>>>> >> >>>>>>>>>> I'm trying to compile the james-project 3.6.1 with maven and >> >>>> I'm >> >>>>>>>>>> experiencing this error [1] when I run `mvn clean install` >> >>>>>>>>>> >> >>>>>>>>>> "Fatal error compiling: invalid flag: --release" >> >>>>>>>>>> >> >>>>>>>>>> Apache Maven 3.8.4 >> >>>>>>>>>> Java version: 1.8.0_311 >> >>>>>>>>>> >> >>>>>>>>>> [1] >> >>>>>>>>>> >> >>> >> https://paste.0xfc.de/?a8332c3f91e8ff48#1PwvpmSCZq6L4z32BqarWCQBbhxPz35uSbnwcesd7QS >> >>>>>>>>>> Any comments or thoughts would be appreciated! >> >>>>>>>>>> >> >>>>>>>>>> Best regards, >> >>>>>>>>>> >> >> --------------------------------------------------------------------- >> >> 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 >> >>