java - Using itext/xfaworker from IBM Notes/Domino via LS2J -
i have used itext in past have created java library class using itext jars. has worked in past.
i have pdf's gets corrupted when using setformflattening(true), therefor have tried using xfaflattener, , 1 works fine.
my problem need load license file via licensekey.loadlicensefile , works fine if utilize java class java agent. if seek utilize java class form lotusscript agent, "certificate not found" error when licensekey.loadlicensefile called.
i can see there itext.cer certificate within itext-licensekey-1.0.3.jar file. guess certificate can't found when running lotusscript agent.
anyone knows how work?, maybe deep itext knowledge know how certificate beingness loaded itext licencekey code, , can figure out problem can be.
there no way read resource file in java code if java code executed ls2j.
as workaround in ls2j projects, set file content constant base64 string , read instead of resource file.
another way set code java agent , phone call agent lotusscript. way java code works expected. utilize in-memory-document "communicate" between lotusscript , java.
java itext lotus-notes lotus-domino ls2j
No comments:
Post a Comment