Hello, > I believe that is a new name for jpa-guice, correct?
Correct, You can see this commit: https://github.com/apache/james-project/pull/487/commits/84dde0c0c4343c2149c3fd6a6664b75a1ac0d082 > There is no longer a run.sh, wrapper, etc. The classpath embedded in the jar specified by the command line tells where the libs are so you do not need to specify the JAR. We do not have so far a wrapper for Guice applications. Cheer Tung, Tran Van On Mon, Oct 4, 2021 at 1:55 AM Jerry Malcolm <techst...@malcolms.com> wrote: > I've been on the spring builds for many years. I'm starting to migrate > to the latest James technologies. But I'm going to do it in small > steps. First step is to move to Guice from spring. When I'm > comfortable with that I'll start looking into taking the plunge to > Cassandra. > > I'm building from a fairly recent git source tree. A couple of > questions... > > - In the docs I believe I want the jpa-guice build. But in the > server/apps folder there is a spring-app and a jpa-app. I believe that > is a new name for jpa-guice, correct? > > - In the read-me file, it says the command to start it up is: > > $ java -javaagent:james-server-jpa-guice.lib/openjpa-3.1.2.jar > -Dworking.directory=. -Djdk.tls.ephemeralDHKeySize=2048 > -Dlogback.configurationFile=conf/logback.xml -jar james-server-jpa-app.jar > > However, the lib file in the main directory is > james-server-jpa-app.lib. Pretty sure that is just an update that was > missed in the readme file. But this command as-is fails. Changing the > command to use the lib file name in the directory succeeds. > > - What is the correct way to launch james as a service with the guice > implementation? There is no longer a run.sh, wrapper, etc. > > thx > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > For additional commands, e-mail: server-dev-h...@james.apache.org > > -- Tung, Tran Van *Phone:* (+84) 35 757 6258 *Skype:* tung.tv202