Comflow 2.22.19 http problem
  • 04 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Comflow 2.22.19 http problem

  • Dark
    Light

Article summary

Comflow 2.22.19 http problem

Problem solved

Comflow 2.22.19 was re-released on 4th of June 2024. Please uninstall the previous 2.22.19.REL version and re-install via the studio "Install New Software..." option as usual.

The corresponding 2.22.19 path project has been updated, read reset, so please synchronize for the latest CVS version.

Introduction

With the first delivery of 2.22.19, there are problems with applications that are using http for like accessing REST-services, due to a faulty packing of a httpcore-jar in the Comflow library. This gives the effect that applications using http can't be built in the Studio workspace and when deployed references to classes are missing.

Remedy

The way to solve the problem is to change 2 artifacts in the net.comactivity.lib-project and trigger a rebuild;

  • Manifest 
  • Classpath
  • Clean all projects

Change Manifest

In the net.comactivity.lib MANIFEST.MF file, wrong version of lib/httpcore is stated. Edit the file and on the MANIFEST.MF-tab, find httpcore and change the version to 4.4.14, "lib/httpcore-4.4.14.jar,". See below how it shall look like.


Change classpath

In the net.comactivity.lib .classpath-fie the path for lib/httpcore is missing. Add it by copy the httpcore-nio-4.4.9.jar line and add it above the latter. Then change the jar identity to "lib/httpcore-4.4.14.jar". See below how it shall look like.


Clean all projects

If you have automatic build, then related projects will automatically build based on the changes. Otherwise, select from the menu Project/Clean... and clean all projects, which will rebuild everything and the relation problem with httpcore should be resolved.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.