Why two builds?
Starting with Polarion 2606, Siemens upgraded the Polarion application server from Apache Tomcat 9 to Apache Tomcat 11. Tomcat 11 implements Jakarta EE 11, where Java web APIs moved from the legacy Java EE namespace (javax.) to the Jakarta EE namespace (jakarta.).
Extensions built for Tomcat 9 / Java EE (Polarion 2512 and older) are not compatible with Polarion 2606. Polarion checks extensions in the /extensions folder and will block startup if legacy javax.* web APIs are detected.
Because of that, the distribution package for each Nextedy App contains two builds of the same extension.
More information:
https://blogs.sw.siemens.com/polarion/polarion-2606-tomcat-11-custom-extension-update/
Choose ONE folder
Pick the single folder that matches your Polarion version and copy ONLY that extension folder. Do NOT copy both folders into extensions at the same time.
Polarion 2512 and older (Tomcat 9, Java EE / javax.) -> polarion-2512-and-older/com.nextedy.risksheet/
Polarion 2606 and newer (Tomcat 11, Jakarta EE 11 / jakarta.) -> polarion-2606-and-newer/com.nextedy.risksheet/
Note: it applies to each and every Nextedy product, com.nextedy.risksheet is just an example.
Update Procedure
- Update Polarion to 2606
- Polarion will complain on startup about incompatible extensions.
- Stop Polarion service
- Remove old version of the installed Nextedy app, e.g. com.nextedy.risksheet
- Copy the selected com.nextedy.risksheet folder to:
POLARION_HOME/polarion/extensions/ - Follow INSTALL.txt inside the copied folder
- Do not forget to delete POLARION_HOME/data/workspace/.config
- Start Polarion service