BonitaCommunity-2021.2-u0 Tomcat Install on Ubuntu 20.04.4 LTS

Hello everyone.
   So I have been following the install instructions at https://documentation.bonitasoft.com/bonita/2021.2/runtime/tomcat-bundle in order to get this running.  I installed all of the prerequites (OpenJDK11, Tomcat, SQL Server, etc), and when I got to the end of the instructions, I started Tomcat as instructed, and everything seemed to be running smoothly...

<image removed>

Checking the MS SQL database reveals that it created a bunch of tables, I'm not seeing any errors, and it appears to be running... but when I navigate to http://127.0.0.1:8080/bonita then I only get a 404 error.  Also, I've never used Tomcat before, but navigating to the Tomcat Web Application Manager doesn't show Bonita in the list of applications... and shouldn't it?

<image removed>

Any help would be greatly appreciated!  It *almost* works, so I'm sure I just did something silly.  Thanks in advance! :)

Frank Edgley.

nm.

Hi Frank,

can you have a look at your logs and see if there any errors? That would be the best way to find out what went wrong

Hi Frank, 

First, the new version 2022.1-u0 came out today, you should give it a try! 

From what I understand, you are following the Tomcat Bundle configuration, but you are saying you have installed a Tomcat standalone (... "I installed all of the prerequites (...Tomcat, ...)"...). 

The Bundle provided by Bonita already contains an Embedded Tomcat. Therefore, you don't need to install a separate Tomcat, it comes with the Bundle. You just need to unzip the Bundle and configure the database and follow the Tomcat Bundle configuration.    

If you want to use a separate Tomcat, then you should follow an other Documentation: https://documentation.bonitasoft.com/bonita/2021.2/runtime/custom-deployment

They are some specific actions to be done if you are not using a separate tomcat. 

I hope that helps?
If not, can you copy share copy the catalina and bonita errors from your log files, we'll probably have more information there! 

Marielle   

To haris.subasic

Ah, there we go... It's saying that it failed to create the XA control connection, which makes sense considering that I mistakenly thought that that XA Transactions were optional.  Looking at...

https://documentation.bonitasoft.com/bonita/2021.2/runtime/database-configuration#_customize_rdbms_to_make_it_work_with_bonita

...shows stuff about replacing DLLs and such, which sounds very Windows-centric... but I'm running SQL Server 2019 on the same Ubuntu box. Is there any guidance on the kind of steps necessary to enable XA Transactions for Bonita on the Linux release of SQL server?  Thanks again!

To marielle.spiteri

Oh no!  The prerequisites page lists Tomcat as a prerequisite!  It also lists Java11 and an external database (if I want one)... I know I'll need to install SQL Server again... but is Java11 part of the bundle as well... like Tomcat?  Seems I'll be rebuilding this box to get the latest version anyhow!  Thanks so much!  :)