Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

In XAP 10.1 how can a PU access an external jar

In XAP 9.x you could place a jar in the <gs_home>/lib/platform/ext of the <gs_home>/lib/optional/pu-common directories and the PU could pick up a jar on that classpath.

How in XAP 10.x can the same behaviour be replicated? I have successfully added an external jar to the GSC classpath and I can see from the logs that it gets picked up but the PU itself cannot access the jar (class not found exceptions)

If I do not want to package a jar inside the PU jar, where can I place the external jar so that the PU can access it?

asked 2015-06-05 03:45:49 -0500

jmcgreevy gravatar image

updated 2015-07-02 02:47:48 -0500

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

Whatever worked with XAP 9 should work as well with XAP 10.You can place jars both ings_home>/lib/platform/ext or /lib/optional/pu-common.It must work.-------- Original message --------From: forum@ask.gigaspaces.org

answered 2015-06-07 10:12:41 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Turn out that the file permissions for the jars added in either of those directories file need to be set. The jars need to be owned by the user that runs Gigaspaces and it must have execute access.

answered 2015-07-02 02:45:17 -0500

jmcgreevy gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-06-05 03:10:04 -0500

Seen: 378 times

Last updated: Jul 02 '15