Bonita error starting (Tomcat Manager) and accessing from web page /bonita

Hi, need some advise with Bonita Community... any help will be highly appreciatted.

Install the Community Bundle from Bonita using the How to set up for UBUNTU, TOMCAT, POSTGRESQL & JAVA, everuthing was done step by step, Tomcat tested before deployment, Postgres works fine creating users and DB.  Tomcatwas installed /opt/tomcat along with /opt/bonita.

Tomcat Manager can not start deployment even appear bonita on application list, from there start it and after some minutes show an error that can not be deployed on the path /bonita.

Try to start Bonita from Browser and get a 404 error.

Search on catalina.out log and have this findings:

23-Apr-2020 21:24:21.569 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not f$
23-Apr-2020 21:24:21.786 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
23-Apr-2020 21:24:21.800 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
23-Apr-2020 21:24:21.821 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 800 ms
23-Apr-2020 21:24:21.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
23-Apr-2020 21:24:21.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.54
23-Apr-2020 21:24:21.902 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/bonita.war]
23-Apr-2020 21:24:27.042 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a comple$
23-Apr-2020 21:24:27.082 SEVERE [localhost-startStop-1] org.bonitasoft.console.common.server.servlet.PlatformTenantListener.contextInitialized Error initializing platform configuration. Engine most likely faile$
23-Apr-2020 21:24:27.083 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log $
23-Apr-2020 21:24:27.092 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/bonita] startup failed due to previous errors
23-Apr-2020 21:24:27.104 INFO [localhost-startStop-1] org.bonitasoft.engine.EngineInitializer.unloadEngine Stopping Bonita Engine...
23-Apr-2020 21:24:27.136 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/bonita.war] has finished in [5,233] ms
23-Apr-2020 21:24:27.137 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/host-manager]
23-Apr-2020 21:24:28.296 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a comple$
23-Apr-2020 21:24:28.319 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/webapps/host-manager] has finished in [1,182] ms
23-Apr-2020 21:24:28.320 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/ROOT]
23-Apr-2020 21:24:29.196 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a comple$
23-Apr-2020 21:24:29.199 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/webapps/ROOT] has finished in [879] ms
23-Apr-2020 21:24:29.199 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/docs]
23-Apr-2020 21:24:30.212 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a comple$
23-Apr-2020 21:24:30.214 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/webapps/docs] has finished in [1,015] ms
23-Apr-2020 21:24:30.214 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/examples]
23-Apr-2020 21:24:31.177 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a comple$
23-Apr-2020 21:24:31.201 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/webapps/examples] has finished in [987] ms
23-Apr-2020 21:24:31.202 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/webapps/manager]
23-Apr-2020 21:24:32.078 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a comple$
23-Apr-2020 21:24:32.123 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/webapps/manager] has finished in [921] ms
23-Apr-2020 21:24:32.129 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
23-Apr-2020 21:24:32.148 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 10326 ms
23-Apr-2020 21:25:14.705 INFO [http-nio-8080-exec-1] org.apache.catalina.util.LifecycleBase.stop The stop() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/boni$
23-Apr-2020 21:25:15.257 INFO [http-nio-8080-exec-1] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/bonita]

 

Yes, but first want to thank your prompt response to this is highly appreciated,

Think will better to have your opinion if it is best to install it from the Tomcat Bundle and not try to adapt from the instructions for Tomcat, Postgresql and Java on Ubuntu. 

I did and verify this steps but is not working, maybe something is missing there.  Like this because my server is set with this configuration.

Please advise is the bundle forme to deinstall Tomcat or can coexist.

Regards

 

Yes you are right, but can't get the log file because ask my vendor to reset my VPS and re-install UBUNTU, by the time I read Marielle post was too late, I am very sorry for this and unable to send the logs to Marielle, i will respond to thank her.   Try the Bundle and take me some time to understand Docker but finally with your help is up now.  The idea is to evaluate Bonita vs. Axelor.   But I don't know if there is a complete demo of Bonita to evaluate, the Docker just install the Portal and need to create the apps and upload to.  Right now I will try to install the Bonita Studio on Portal and have my developers acquire knowledge over making a simple app to test it.

Best regards

EP

 

 

Hi,

You might be able to get more information from the bonita log, as per:

23-Apr-2020 21:24:27.083 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log $

Could you share the traces you see in the bonita log file when you start, you'll find the file here:  /server/logs/bonita.*.log ?

I stay tuned,

Marielle

Hi Marielle, Thanks you soo much but by the time I read your message my VPS was reinstalled and unable to get the log.  Now I have running the portal with the Docker.

Best regards

Hi,
It should not be complex to do the installation following the guide. The log file requested by marielle can really help to debug what can be wrong on the configuration.
Regarding using the bundle, I will recommend it as first test (or even Docker image) as it simplify installation. Once get used to the platform you can perform a more custom installation. https://documentation.bonitasoft.com/bonita/7.10/bonita-docker-installation

Cheers

Hi, Sounds good!

Feel free to give a look to these examples...

https://community.bonitasoft.com/project?title=&field_type_tid=3869&field_project_category_tid=All&field_certification_tid=All&sort_by=changed&sort_order=DESC