Bonita is running 2 instances of Tomcat

1
0
-1

Hi,

I have a persisting problem with Bonita BPM 7.3.2. It seems that Bonita keeps on running 2 instances of Tomcat and I always got an error saying that another Tomcat instance is running, while it was actually initiated by itself. I have not changed any of the config or properties files. I can't seem to find the problem and every time this issue appears, the only thing I can do to return it back to normal is to uninstall and reinstall it. It is now very time wasting for me to do that every single day. The problem usually occurs after I shut down or restart my laptop. EDIT: The problem occurs after restarting Bonita. Here are the logs:

STUDIO LOG:

!SESSION 2018-09-21 08:42:54.295 -----------------------------------------------
eclipse.buildId=7.3.2.
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Framework arguments: --launcher.XXMaxPermSize512m -clearPersistedState
Command-line arguments: -os win32 -ws win32 -arch x86_64 --launcher.XXMaxPermSize512m -clearPersistedState

!ENTRY org.bonitasoft.studio.common 1 0 2018-09-21 08:43:49.887
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.common 1 0 2018-09-21 08:43:50.170
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.engine 1 0 2018-09-21 08:43:50.186
!MESSAGE Starting tomcat...

!ENTRY org.bonitasoft.studio.engine 1 0 2018-09-21 08:43:50.279
!MESSAGE Starting studio watchdog on 6969

!ENTRY org.bonitasoft.studio.designer 1 0 2018-09-21 08:43:50.730
!MESSAGE Starting RESTLET server on port 50180...

!ENTRY org.bonitasoft.studio.application 1 0 2018-09-21 08:44:15.089
!MESSAGE Startup duration : 00:00:59

!ENTRY org.bonitasoft.studio.common 1 0 2018-09-21 08:44:23.558
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.engine 1 0 2018-09-21 08:47:53.055
!MESSAGE Tomcat failed to start. Check the log file for more informations. (bonita.log or catalina.log)

!ENTRY org.eclipse.wst.server.core 4 0 2018-09-21 08:47:53.055
!MESSAGE Server Tomcat v7.0 Server at localhost failed to start.

!ENTRY org.bonitasoft.studio.engine 2 0 2018-09-21 08:48:00.727
!MESSAGE Tomcat server has been shutdown before first start ended.

!ENTRY org.bonitasoft.studio.common 1 0 2018-09-21 08:48:00.742
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.common 1 0 2018-09-21 08:48:00.758
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.bonitasoft.studio.engine 1 0 2018-09-21 08:48:00.773
!MESSAGE Starting tomcat...

!ENTRY org.bonitasoft.studio.common 1 0 2018-09-21 08:48:00.928
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP

!ENTRY org.eclipse.wst.server.core 4 0 2018-09-21 08:48:24.804
!MESSAGE Server Tomcat v7.0 Server at localhost failed to start.

!ENTRY org.bonitasoft.studio.engine 1 0 2018-09-21 08:48:24.820
!MESSAGE Tomcat failed to start. Check the log file for more informations. (bonita.log or catalina.log)

!ENTRY org.bonitasoft.studio.engine 2 0 2018-09-21 08:48:31.021
!MESSAGE Tomcat server has been shutdown before first start ended.

ENGINE LOG

2018-09-21 08:44:34.179 +0700 INFO: org.bonitasoft.tomcat.H2Listener Starting H2 server : [-tcp, -tcpPort, 9091, -baseDir, C:\BonitaBPMCommunity-7.3.2\workspace\default\h2_database]
2018-09-21 08:48:01.638 +0700 INFO: org.bonitasoft.tomcat.H2Listener Starting H2 server : [-tcp, -tcpPort, 9091, -baseDir, C:\BonitaBPMCommunity-7.3.2\workspace\default\h2_database]

Thank you.

1 answer

1
0
-1

Hello,

Do you think it is a bug? If it is the case, I suggest that you create a JIRA issue on the Bonita Community project available here . You will be able to share the resources and detailed steps of reproduction, this is necessary if we want to identify workaround and prioritize a resolution.

Cheers,

Comments

Submitted by jo.pris_1380889 on Wed, 09/26/2018 - 06:54

Hi,

I am unsure whether or not this is a bug. I have several coworkers working with me who have never experienced the problem. I also don't know how to reproduce the problem, as this occurred out of nowhere and it's just been occurring every time I close Bonita BPM ever since.

Submitted by pierrick.voulet on Wed, 09/26/2018 - 15:52

Do you use a Subscription or Enterprise edition? If yes, the best is to open a Support Case using the Bonitasoft Customer Portal.

Otherwise feel free to create a JIRA issue as I suggested. You said that the only way to fix this is to uninstall/install, a good start would be to provide the minimum steps to follow after you do an install to get this issue. Your environment details would be useful too (OS, version, 32/64 bit, etc.).

Notifications