Bonita runs 2 instances of tomcat

Description

When I try to run a diagram after quitting Bonita, a dialog box with a progress bar and a description of "First run, waiting for engine to start" appears. That progress bar will never finish loading, until it got interrupted by an error message saying that Tomcat is already running, after the default timeout of 300ms. Checking the netstat will show that there is a double usage of port 8080 and 8009 by the same process ID. It will not happen unless I run Bonita, which means that Bonita is running 2 instances of Tomcat and thinks that its process got blocked by another instance of a Bonita Studio or something else.

Environment

OS: Windows 10 Pro 64-bit (10.0, Build 17134)
Processor: Intel Core i5-8250U CPU @ 1.60GHz (8 CPUs), ~1.8GHz
Memory: 8 GB RAM

External Link

None

Workaround

Uninstallation after every time I quit the software. Then I will install it again afterwards.

Activity

Show:
Pierrick Voulet
October 8, 2018, 7:23 PM

Based on the Studio logs, the Tomcat server fails to restart after 15 minutes of tries. More information should be provided in the Server logs (Help->Bonita Engine log for the Studio)

Could you also provide the SQL queries you run and let us know on what DB you run them (Engine or BDM database or both)?

Priscilla Oetomo
October 9, 2018, 10:58 AM

I've uploaded both the studio

and engine

logs, as they will differ from the one I've uploaded previously, since I would have to keep on reinstalling the studio, so the logs are deleted as well.

As for the SQL queries, are you referring to the custom queries in the BDM or something else?

I use the default H2 database when working in the studio, but deployed to a MySQL database in my company's server. The issue had started when I was still using the H2 database.

Pierrick Voulet
October 9, 2018, 6:59 PM

Sorry, more questions...

  • I do not find the errors in the new log files you provided, did you make it fail before sharing them?

  • I spotted that there is a "pbDataTable" widget error in the logs and I know that this widget is specific to the Enterprise edition. Are you using the Community or the Enterprise edition for the Studio? Did you import a BOS or used a Bonita Repository that has been developed on Enterprise edition?

Priscilla Oetomo
October 12, 2018, 1:29 AM

Sorry I didn't check the logs before uploading, but I'm sure that I got an error message saying that Tomcat was already running before uploading the logs. I've now uploaded some new logs:

and

About pbDataTable, I have no idea what that is, as it doesn't show up in my widgets list either. I did import a BOS file, but I'm not sure whether or not the person who uploaded it had previously developed it on Enterprise edition, or maybe imported something developed on Enterprise edition.

Pierrick Voulet
October 12, 2018, 7:08 PM

It might be related to after importing Enterprise specific BOS. I do not reproduce the behavior you are describing as for now but will continue trying.

Cannot Reproduce

Assignee

Pierrick Voulet

Reporter

Priscilla Oetomo

Affects versions

Reference

None

Fix versions

None