Aspose support for Open Liberty framework? (Aspose libs don't load)

Hello,

Does Aspose have plans to support the Open Liberty (https://openliberty.io/) framework for its Java offerings?

We’re using TomEE, but are contemplating switching to Open Liberty.

@pskoskiewicz

Cause

Currently, there is no specific mention of support for the Open Liberty framework in Aspose’s Java offerings. However, Aspose products are generally designed to be compatible with various Java EE frameworks.

Solution

If you’re considering switching from TomEE to Open Liberty, you can confidently use Aspose libraries as they are built to work with standard Java environments. It is advisable to perform some testing to ensure compatibility, especially with any specific configurations or dependencies that Open Liberty might have.

Next Steps

  1. Testing: Set up a small test project using Open Liberty and integrate the Aspose library you plan to use. This will help you identify any potential issues early on.
  2. Documentation Review: Check the official Aspose documentation for any updates regarding supported frameworks or specific configurations that might be needed for Open Liberty.
  3. Community Feedback: Engage with the Aspose community or support to gather insights from other users who have successfully transitioned.

Please proceed with these steps, and feel free to reach out if you have any further questions or need assistance!

Well, we already did such pre-testing and found problems:

[7/1/25, 14:14:32:787 IST] 00000033 ontainer.service.app.deploy.extended.ManifestClassPathHelper W SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file file:/*********/usr/servers/AppServer10/apps/expanded/*******.war/WEB-INF/lib/xalan.jar or its parent.
[7/1/25, 14:14:33:320 IST] 00000033 ontainer.service.app.deploy.extended.ManifestClassPathHelper W SRVE9967W: The manifest class path mscorlib-24.7.0-20240728.193718-1.jar can not be found in jar file file:/******/servers/AppServer10/apps/expanded/*******.war/WEB-INF/lib/aspose-tasks.jar or its parent.

And it turns out that this mscorlib-24.7.0-20240728.193718-1.jar file isn’t delivered anywhere.

So if the web application relying on aspose-tasks.jar runs flawlessly on TomEE without this JAR being neither part of webapps/ nor TomEE/lib, then it means that Open Liberty class loader is less permissive than TomEE, and that when a JAR files’ MANIFEST.MF says it depends on other JARs, then Open Liberty complains.

@pskoskiewicz,

It seems Open Liberty enforces stricter classloader requirements compared to TomEE, which could lead to challenges with how Aspose Java libraries declare dependencies in their MANIFEST.MF. Typically, Aspose (Java) JARs include Class-Path entries in their MANIFEST.MF. While TomEE appears more lenient, often ignoring missing entries in MANIFEST.MF without raising issues, Open Liberty takes a more stringent approach, requiring all Class-Path entries listed to be strictly adhered to. As of now, there doesn’t appear to be any official confirmation that Aspose Java libraries are explicitly designed to support Open Liberty.

Could you kindly confirm which Aspose for Java APIs you would like to see supported on Open Liberty? Or are you specifically requesting support for Aspose.Tasks for Java on Open Liberty? Once we receive your confirmation, we will be happy to create the appropriate tickets to evaluate your requested feature.

We use the following Aspose Total Java libraries:

  • Cells
  • Diagram
  • Email
  • Font
  • Imaging
  • PDF
  • Page
  • Slides
  • Tasks
  • Words

@pskoskiewicz,

For Aspose.Cells for Java and Aspose.Slides for Java, we require thorough evaluation if the libraries could support Open Liberty framework.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes (if feasible) according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSJAVA-46427,SLIDESJAVA-39689

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

My colleagues from other teams will get back to you soon for their respective Java APIs/libraries.

@pskoskiewicz

For Aspose.PDF and Aspose.Page, we need to investigate the feasibility of the requested support.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-45159,PAGEJAVA-313

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@pskoskiewicz ,

We haven’t tested Aspose.Email for Java with Open Liberty yet, but we’ll look into it. We need a bit of time to analyze compatibility, and we’ll try to do that shortly.

We’ll keep you updated once we have more information.

@pskoskiewicz
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSJAVA-3141

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@pskoskiewicz ,

Compatibility testing of Aspose.Words for Java within the Open Liberty environment has not yet been conducted. We intend to analyze this interoperability and will allocate resources for this effort in the near future. The assessment will require a certain timeframe. You will be notified of the analysis results once available.

@pskoskiewicz

We haven’t tested Aspose.Imaging for Java with Open Liberty yet, but we’ll look into it. We need some time to analyze compatibility and will try to do that shortly.

We’ll keep you updated once we have more information.

@pskoskiewicz
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): IMAGINGJAVA-9027

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@pskoskiewicz,

We are pleased to inform you that testing of Aspose.Slides for Java on Open Framework (Ticket ID: “SLIDESJAVA-39689”) has been successfully completed. No issues were identified during the testing process, and it functions seamlessly on the platform. Based on the results, we can conclude that Aspose.Slides for Java is fully compatible with Open Liberty Framework.

This is excellent news, Amjad. Thank you for this information!

@pskoskiewicz,

You are welcome. We will also ensure to keep you informed about updates regarding other APIs as they become available.

@pskoskiewicz ,

It seems that the issue is only related to Aspose.Tasks lib.
Also, I create a demo project for using Aspose.Cells in Open Liberty, it works OK without any exception.
aspose-cells-demo.zip (7.1 KB)

Just run mvn command mvn clean package liberty:run to run the project, then access the page “http://localhost:9080/”, click the link in the page, an Excel file will be generated.