another technical blog...technically

Monday, February 10, 2020

pdf2data template editor setup that works

pdf2data is a great product, but the web app install is not so well documented, moreover iText has a terrible customer service that simply doesn't reply to your email.
So if you have to start this web app you simply have this link which does not documents all the passages.
I assume you installed tomcat and following the guide you continue having errors, so:
  1. Undeploy your pdf2data web app
  2. Rename the downloaded war file in directory "c:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\" simply in "pdf2data.war"
  3. Create a TEMP folder (eg. C:\TEMP) to host pdf2data temp files
  4. Create the file web.properties in c:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pdf2data". dir.temp is not documented and requires double backslash in the path, licensekey must be the absolute path of your itext license key
  5. dir.temp = C:\\TEMP
    licensekey = C:\itextkeylicense.xml
    
    mail.to=
    mail.smtp.host=
    mail.smtp.port=
    mail.ssl.smtp.port=
    mail.ssl.enable=
    mail.smtp.starttls.enable=
    
  6.  Create a system variable PDF2DATA_PROPERTIES and set it to the path of the file from previous step (eg: "c:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pdf2data\web.properties")
  7. Restart tomcat and enjoy your pdf2data template editor
Share:

Me, myself and I

My Photo
I'm just another IT guy sharing his knowledge with all of you out there.
Wanna know more?