Re: Help needed installing james-server-jpa-guice

Marc Chamberlin <[email protected]> Thu, 14 Aug 2025 15:17:11 -0700
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
--------------tGNPGgAELT3wpFtSdLb7BKtr
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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...
>

--------------tGNPGgAELT3wpFtSdLb7BKtr--