I just tried to upload an EJS jar file and it works fine.

And you just said it is not working.  I do not know what happened and I do not how to check it.

Could you upload your jar file or source  as attached file so that I can test out what might be wrong?