Finally got distributed cache & jna working together