Still getting Evaluation page while using ASPOSE CELLS on Iseries

Dear,

After purchasing Aspose cells for JAVA (order 230419115939) I have installed the .lic file on our Iseries IFS. The RPGLE program finds the file but the JAVA exception message is the following.

Message ID . . . . . . : RNX0301 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 02.05.23 Time sent . . . . . . : 10:46:59

Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure BEGIN_OBJE in program SPPQRYOBJ/SPPASPOSE
received Java exception “com.aspose.cells.AsposeLicenseException: The
license is invalid.” when calling method “setLicense” with signature
“(Ljava.io.InputStream;)V” in class “com.aspose.cells.License”.
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that the
Java class was not found, ensure the class for the method is in the class
path. If the exception indicates that the Java method was not found, check
the method name and signature. If the signature is not correct, change the
RPG prototype for the method, or change the Java method, so that the return
More…
Press Enter to continue.

F3=Exit F6=Print F9=Display message details F12=Cancel

@steven.vermoere,

Which version of Aspose.Cells for Java API you are using with your license? Are you using older version of Aspose.Cells for Java with newer license, please provide complete details.

Moreover, it might be possible that binary data of the license file is changed. Please evaluate your code to sort it out. Please note, the content of the license file should not be changed(binary data including any characters such as white spaces even), otherwise the verification may fail and then fail to set the license. Could you try using filepath to set the license in code (instead of building InputStream) if it works or not? This way you may know the problem lies in getting license into input stream or building InputStream on your end.

If you still could not sort out your issue, please zip and share your license for Aspose.Cells for Java. Also, share your sample code (runnable) that you are using. Please post the new license file via private message. In order to send a private message with attachment, please click on my name and find “Message” button. Now, please attach the zipped archive containing the license and send us. We will investigate the issue with your provided license and assist you accordingly.

Hello Amjad Sahi,

I’m Frank, the technical responsible at DHL Speedpack. Steven Vermoere has baught the license in my name.
To give some more info, indeed we are using an old JAR file. This because we have copied the the source code to translate the JAVA methods int RPG code.

Is there a way that we still can use this JAR version in order to not have to rewrite out whole service program?

@Frankcornelissens,

Does new version of Aspose.Cells for Java JAR work fine with the new license? Please note, new licenses are signed with sha 256 and older licenses were signed with sha1. The older versions of our component do not support sha256 signed licenses. So, you need an updated license (signed with sha1). Please contact our purchase team in the relevant section and ask them to provide updated license file to use with older product version.

@Frankcornelissens

I have sent the SHA1 version of your license file to steven.vermoere@dhl.com. Please try using that.

It worked ! Thank you so much

~WRD0002.jpg (357 Bytes)

@Frankcornelissens,

It is nice to know that your issue is sorted out with the updated license file. Feel free to write us back if you have further queries or comments.

Thank You for the great support ! Much appreciated

~WRD0002.jpg (357 Bytes)

@Frankcornelissens,

You are welcome.