On 10/3/2021 10:08 PM, btell...@apache.org wrote:
Hi Jerry,

On 04/10/2021 10:02, Tung Tran Van wrote:
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
Any error when you run the Java command?

Yes... the lib folder as specified in the readme command above is not the name of the folder in the build.  So when I run the command, it can't find the folder.

Readme:  james-server-jpa-guice.lib

Build: james-server-jpa.lib

Not a big deal.  I changed the command to match the folder name and it worked fine.  Just wanted to point out the incorrect lib folder name in the readme.

thx


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to