Tests failing with migration from glassfish to payara

26 views
Skip to first unread message

Marcus Stöckel

unread,
Aug 23, 2021, 2:27:24 AM8/23/21
to Payara Forum

Hi,
I currently try to migrate a project from glassfish to payara. With that, the test cases using EJBContainer are not running anymore.  The first error I get is that gf-client-module.jar is missing. If I provide it manually I then get the error, that gf-client.jar is missing (and so on).
I got this after I exchanged glassfish-embedded-all with paraya-embedded-all (5.2021.2) in my maven poms. I also found, that the missing files are located in payara-client jar, which I added as dependency in the pom file. This seems not to be enough. Has anybody an idea what is missing here?
Thanks in advance, Marcus

Marcus Stöckel

unread,
Aug 27, 2021, 7:25:44 AM8/27/21
to Payara Forum
As I do not need gf-client at all for my tests, I found setting the property org.glassfish.ejb.embedded.skip-client-modules to true works for me.
Reply all
Reply to author
Forward
0 new messages