Closed GoogleCodeExporter closed 9 years ago
Please note that the certificate is bundled correctly and even I change the
location of the resources directory inside the web context it throws the same
exception.
Original comment by hirant...@gmail.com
on 13 Jul 2012 at 7:19
Since the library uses java.io.File (and not URL) when trying to load your
keystore, I would expect the result you described.
I would suggest getting yourself an InputStream to your keystore first, then
invoke JavaPNS with the InputStream instead of the path. If you provide a
stream, it will obviously avoid any possibility of having file location issues..
Original comment by sype...@gmail.com
on 13 Jul 2012 at 7:31
Closing issue because poster's code made false assumptions regarding
java.io.File behaviour in the context of a WAR bundle (unrelated to JavaPNS).
Solution provided.
Original comment by sype...@gmail.com
on 17 Jul 2012 at 6:37
Original issue reported on code.google.com by
hirant...@gmail.com
on 13 Jul 2012 at 7:12