Cannot start engine in Tomcat bundle (7.4.1 on MacOS)

1
0
-1

Hello:

I installed the BonitaBPMCommunity-7.4.1 on my Mac using the All-In-One installer (dpkg). I am following the instructions in /Applications/BonitaBPMCommunity-7.4.1/workspace/tomcat/HOW_TO_INSTALL_AND_RUN.txt to start the engine in the tomcat bundle (after doing a chmod to make all of the shell scripts executable). The engine started up, created all of the database tables, and then shutdown because it detected that the studio was not running. I started up the studio and tried again. The engine started up, detected that the studio was running, and then shutdown again for an unspecified reason.

I am using Java 1.8.0_112-b16, and mysql 5.5.49.

Below is a snippet from the server/logs/bonita.*.log file:

  1. There are a number of places in the docs where it talks about installing the engine. Are these the correct instructions?
  2. Any ideas why the engine immediately shutdown? Something to do with Studio?

Thanks,
Gerald

2017-01-16 09:24:51.024 -0800 INFO: org.bonitasoft.engine.EngineInitializer Node started successfully.
2017-01-16 09:24:51.025 -0800 INFO: org.bonitasoft.engine.EngineInitializer Initialization of Bonita Engine done! ( took 22007ms)
2017-01-16 09:24:51.346 -0800 INFO: org.bonitasoft.engine.profile.DefaultProfilesUpdater THREAD_ID=31 | HOSTNAME=GBs-MacBook-Pro.local | TENANT_ID=1 | Updated default profiles [ImportStatus [name=User, status=REPLACED, errors=[]], ImportStatus [name=Administrator, status=REPLACED, errors=[]]]
2017-01-16 09:24:56.676 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer
2017-01-16 09:24:56.676 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer d8888b. .d88b. d8b db d888888b d888888b .d8b. .d8888. .d88b. d88888b d888888b
2017-01-16 09:24:56.676 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88 8D .8P Y8. 888o 8888' ~~88~~' d8'8b 88' YP .8P Y8. 88' ~~88~~'
2017-01-16 09:24:56.677 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88oooY' 88 88 88V8o 88 88 88 88ooo88
8bo. 88 88 88ooo 88
2017-01-16 09:24:56.677 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88~~~b. 88 88 88 V8o88 88 88 88~~~88 Y8b. 88 88 88~~~ 88
2017-01-16 09:24:56.677 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer 88 8D
8b d8' 88 V888 .88. 88 88 88 db 8D 8b d8' 88 88
2017-01-16 09:24:56.677 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer Y8888P'
Y88P' VP V8P Y888888P YP YP YP 8888Y'Y88P' YP YP
2017-01-16 09:24:56.681 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer ====================================================================================================
2017-01-16 09:24:56.682 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer UI-DESIGNER : Community edition v.1.4.26
2017-01-16 09:24:56.682 -0800 INFO: org.bonitasoft.web.designer.SpringWebApplicationInitializer ====================================================================================================
2017-01-16 09:24:57.128 -0800 INFO: org.bonitasoft.web.designer.config.DesignerConfigConditional Conf loaded : Community edition
2017-01-16 09:24:57.290 -0800 INFO: org.bonitasoft.web.designer.config.DesignerConfigConditional Conf loaded : Community edition
2017-01-16 09:24:57.358 -0800 INFO: org.bonitasoft.web.designer.config.DesignerConfigConditional Conf loaded : Community edition
2017-01-16 09:25:01.312 -0800 INFO: org.bonitasoft.web.designer.config.WebMvcConfiguration Adding welcome page: file:/Applications/BonitaBPMCommunity-7.4.1/workspace/tomcat/server/webapps/designer/WEB-INF/classes/static/index.html
2017-01-16 09:25:02.063 -0800 WARNING: org.bonitasoft.console.server.listener.StudioWatchdogListener Bonita Studio watchdog process has started on port 6969 with a delay set to 5000 ms
2017-01-16 09:25:02.272 -0800 INFO: org.bonitasoft.engine.EngineInitializer Stopping Bonita Engine...
2017-01-16 09:25:02.272 -0800 INFO: org.bonitasoft.engine.EngineInitializer Stopping node...
2017-01-16 09:25:02.667 -0800 INFO: org.bonitasoft.engine.api.impl.transaction.SetServiceState THREAD_ID=16 | HOSTNAME=GBs-MacBook-Pro.local | TENANT_ID=1 | stop tenant-level service org.bonitasoft.engine.message.MessagesHandlingService on tenant with ID 1
2017-01-16 09:25:02.667 -0800 INFO: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=16 | HOSTNAME=GBs-MacBook-Pro.local | TENANT_ID=1 | Stopping thread that handle messages...
2017-01-16 09:25:02.668 -0800 INFO: org.bonitasoft.engine.message.MessagesHandlingService THREAD_ID=16 | HOSTNAME=GBs-MacBook-Pro.local | TENANT_ID=1 | Thread that handle messages successfully stopped.

1 answer

1
0
-1

I installed the BonitaBPMCommunity-7.4.1 on my Mac using the All-In-One installer (dpkg).

I am following the instructions in /Applications/BonitaBPMCommunity-7.4.1/workspace/tomcat/HOW_TO_INSTALL_AND_RUN.txt to start the engine in the tomcat bundle (after doing a chmod to make all of the shell scripts executable).

The engine started up, created all of the database tables, and then shutdown because it detected that the studio was not running.

I started up the studio and tried again.

The engine started up, detected that the studio was running, and then shutdown again for an unspecified reason.

Any ideas why the engine immediately shutdown? Something to do with Studio?

@Gerald,

I think the issue is you are trying to run two copies of similar things at the same time...

You talk about installing Studio and then how to run Tomcat Bundle.

You cannot run both at the same time...this is a limitation of Tomcat not Bonitasoft itself unless you consider Tomcat as part of Bonitasoft.

If it is a requirement you could try to run Studio at the same time as running WildFly Bundle. The only requirement being to change port numbers for either Studio or WildFly.

My recommendation and to make it much easier is to change WildFly by starting it similar to as found here:
http://blog.arungupta.me/multiple-instances-wildfly-different-ports-same...

regards
Seán

PS: As this reply answers your question, please mark as resolved.

Notifications