Hello Marc Sorry, I am jus back from vacation where I enjoyed the luxury of a bit of deconnection
Regarding your issue, it is due to a mis-allignement of the JPA agent. It needs to be 3.2.0 for 3.8.x CF https://github.com/apache/james-project/blob/8d0e75ff1de1e378c853f9d5075d6ffe1ce9446a/server/apps/demo/startup.sh#L11 CF https://github.com/apache/james-project/tree/james-project-3.8.2/server/apps/jpa-app -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Aug 16, 2025 10:37 PM, from Cryptearth <cryptea...@cryptearth.de.INVALID>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 >> >> apache.org/dyn/closer.lua/james/server/3.8.2/james-server-jpa-guice.zip >> >> >> I am following the instructions at >> 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