Hello Marc,

sorry for being late. Usually I try to give the least a look at least once a day. But I had other priorities over the past couple of months.

Well, given the error the first few issues comming to my head:
- executing from the wrong directory
- permission issue
- mistype error
- wrong java version

The doc says required Java13. I run Java17. Maybe the Java version you use is just too old or too new. Try a version between Java13 and Java17 - this should work fine.

I noticed the directory "/mail" - this sounds like a system directory. Does the user you run have the require permisisons? Note: As James uses ports below 1024 you either have to start as root or you have to change the config to ports over 1024 and use your firewall to redirect the ports (in any case the permissions have to be properly set).


Also: Next time please be patient: This is community project with everyone giving thier own free time. If you don't receive a reply in a timely manner this usually means that all of those who have read your message yet just can't help you (there's no point in spamming the list with "yea, read it, but can't help") or that those you can help you just hadn't the time to reply.

Hope this helps.
Otherwise please reply with:
- version of java
- outut of "ls -alFhR /mail/apache-james-3.8/"

Greetings

Matt

Am 15.08.25 um 00:17 schrieb Marc Chamberlin:
Ping!? Does anyone have an answer or a solution to this issue? I am kinda stuck and can't move on until I get James installed for a client of mine...

Thanks,  Marc...



On 8/9/25 17:33, Marc Chamberlin wrote:
Didn't get very far in trying to install and run the jpa-guice version of the Apache James server! I downloaded the software from

https://www.apache.org/dyn/closer.lua/james/server/3.8.2/james-server-jpa-guice.zip

I am following the instructions at https://james.apache.org/server/install/guice-jpa.html except for the Maven compilation steps.

When I tried to execute and run james, following the instructions exactly, it fails -

quasar:/mail/apache-james-3.8/james-server-jpa-guice #java -javaagent:james-server-jpa-guice.lib/openjpa-4.1.1.jar \
>     -Dlogback.configurationFile=conf/logback.xml \
>     -Djdk.tls.ephemeralDHKeySize=2048 \
>     -Dworking.directory=. \
>     -jar james-server-jpa-app.jar
Error opening zip file or JAR manifest missing : james-server-jpa-guice.lib/openjpa-4.1.1.jar
Error occurred during initialization of VM
agent library failed to init: instrument

I then noted that the version of openjpa, supplied in the dowloaded zip file, was openjpa-3.2.jar

quasar:/mail/apache-james-3.8/james-server-jpa-guice #ll james-server-jpa-app.lib/openjpa* -rw------- 1 james mail 4790420 May 10  2021 james-server-jpa-app.lib/openjpa-3.2.0.jar

so on a hunch I tried running james with that version -

quasar:/mail/apache-james-3.8/james-server-jpa-guice #java -javaagent:james-server-jpa-guice.lib/openjpa-3.2.0.jar \
>     -Dlogback.configurationFile=conf/logback.xml \
>     -Djdk.tls.ephemeralDHKeySize=2048 \
>     -Dworking.directory=. \
>     -jar james-server-jpa-app.jar
Error opening zip file or JAR manifest missing : james-server-jpa-guice.lib/openjpa-3.2.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument

I dunno what to try next, can some kind guru show me the way to nirvana?   Marc...




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

Reply via email to