Aspose java is deployed in a multi threaded environment and often times customers can see the following message in PDF generated & it is random:
We load the license files only once as part of a static block initialization in the PDF processor class. We are also using multiple Aspose products in the processor class.
com.aspose.words.License licWords = new com.aspose.words.License();
licWords.setLicense(new FileInputStream(jarDir + "\\Aspose.Total.Java.lic"));
com.aspose.cells.License licCells = new com.aspose.cells.License();
licCells.setLicense(new FileInputStream(jarDir + "\\Aspose.Total.Java.lic"));
com.aspose.slides.License licSlides = new com.aspose.slides.License();
licSlides.setLicense(new FileInputStream(jarDir + "\\Aspose.Total.Java.lic"));
com.aspose.pdf.License licPdf = new com.aspose.pdf.License();
licPdf.setLicense(new FileInputStream(jarDir + "\\Aspose.Total.Java.lic"));
com.aspose.tasks.License licTasks = new com.aspose.tasks.License();
licTasks.setLicense(new FileInputStream(jarDir + "\\Aspose.Total.Java.lic"));
The license file is valid and I have attached it for your reference. Please let us know how to resolve this issue.
Thanks & Regards,
Vimal