Re: Web Administration for James

Jean Helou <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <CANw2z=f43L5Op3ZisdVEfk3_RYAds-yDg+2=ZMDuCEb5DB3G5g@mail.gmail.com>
I had not realized that 3.6 still used the old layout sorry
Youu should be able to adapt the instructions at
https://github.com/apache/james-project/tree/3.6.x#generating-a-package-for-james
to build your assembly

Le ven. 24 déc. 2021 à 14:14, Bs Serge <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]> 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 <
> >> [email protected]>
> >> > > 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 <[email protected]>
> >> wrote:
> >> > > >
> >> > > > > Wow, it's amazing how you just spotted it.
> >> > > > >
> >> > > > > cheers
> >> > > > >
> >> > > > > On Thu, Dec 23, 2021 at 9:50 PM Jean Helou <
> [email protected]>
> >> > > 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 <[email protected]
> >
> >> > > 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 <
> [email protected]
> >> >
> >> > > > 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: [email protected]
> > For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.