I stored a key in a keystore and saved it to a file, so my jPOS app
could use the key. I saved the keystore into my cfg folder and my module
threw an IOException, telling me the keystore had been tampered with, or
the password was wrong. Since I hardcoded the password, I assumed the
keystore was corrupt, but why?
Eventually, I looked at the Jetty6 and Jetty7 modules, and saw that the
keystores were not saved in cfg, but in lib. I changed the location of
the keystore and my deploy descriptor to point to the lib folder instead
of the config folder, and the problem was fixed.
I wanted to place this as a warning that (binary?) files placed in the
cfg folder might be mangled while running ant.
Regards.
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage.
Please support jPOS, contact: sa...@jpos.org
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users