i have problems when installing both bundles (deploy+tomcat, jboss, tomcat) on latest LTS ubuntu (14.04). i do need a bundle install, nothing else.
it’s too long to explain technical stuffs since i have tried for days and i have pages of logs and error messages. to make it simple : nothing works. i guess the tutorials are no longer up to date with version 6.3.7. i have to find out what’s wrong by myself.
so my question is simple : in your opinion, which bundle version is the simplest to install ? and which bundle version have a “recently tested” installation process ?
i accept to spend many days finding the specific installation process by myself, on my platform, but i don’t accept wasting my time on something that have not been proprely tested, and that could potentially never work.
I found my answers. here is my installation process. it is 100% platform specific, but it works, and it is adaptable. note that the missing step in the online tutorials are described in RUNNING.txt.
mySQL specific configuration : gvim /etc/mysql/my.cnf
max_allowed_packet = 32M
Startup : in bin/ directory
./startup.sh
Check
11.1) In logs/ directory
tail -f catalina.out
good news look like
INFOS: Server startup in 10363 ms
11.2) Load url → http://localhost:8080/bonita/
If get error message ‘Unable to get default tenant ID’, then delete all formerly created tables in bonita with phpmyadmin
11.3) Login with install user
The Bonita studio with its default engine+portal, and I realised that an independant installation of engine+portal was necessary (the database was empty at each restart).
The Tomcat bundle. The first attempt was a total mess
The Deploy bundle, with apt-get install Tomcat. My Tomcat installation and configuration was a total faillure.
The JBoss bundle. There was too many configuration files to modify, located in too many directories that have same name, but different locations… finally, it was a total mess and JBoss did not worked properly.
Finally, I went back to Tomcat bundle and I did it thanks to the experience of faillures with Deploy and JBoss.
There are a few important things I can point out :
The installation guides are not written as linear and self contained processes. The reader has to switch between at least 3 tabs in firefox : bundle installation guide, database installation guide, final steps, bonita forum, linux forums, ubuntu documentation. As client server systems never work at first install/config attempt, one always has to roll back at least once. This is precisely the moment when the scattering of information in many places (firefox tabs and RUNNING.txt) generates confusion.
The guides do not suit well to people that are not comfortable with advanced system administration and web-application concepts. I am just a C/Fortran developper, familiar with Linux. I can feel that too many informations are hidden between the lines. For instance, the guides do not always provide the full list of system log files to watch at each configuration step. This kind of situation is troublesome for someone who is not aware of Tomcat or JBoss architecture, functionnalities and paradigms. I type commands that I don’t really understand, so I need feedbacks such as error logs, ps aux, phpmyadmin, etc…
Furthermore, the scattering of information does not help web-app dummies who need a one-screen global vision, in order to understand a bit more what is being done (where am I, where do I go, how many steps).
In my initial post, I was quite upset and I needed someone to tell me, “yes, you can because I have just done it easily”.
Anyway, in my opinion, web-app dummies working in small businesses like me, do not care about the choice of a database system. I install the bundle on localhost, and later, maybe, I will put that in a VM, but I will never try to integrate Bonita into the core of my enterprise information system since its low level system management is outsourced… Only the big boss can ask things to root. In other words, there are too many useless options in bundle packages. For example, if mySQL was inside the bundle and mandatory, the H2 removal would be unnecessary and the installation would be much simpler.
Could you please be more precise about what’s going wrong? Which tutorial did you follow?
I’ve just made a quick test with this version on my ubuntu 14.04 and I didn’t encounter any issue.
wget http://download.forge.ow2.org/bonita/BonitaBPMCommunity-6.3.7-Tomcat-6.0.37.zip
unzip BonitaBPMCommunity-6.3.7-Tomcat-6.0.37.zip
BonitaBPMCommunity-6.3.7-Tomcat-6.0.37/bin/startup.sh
tail -f BonitaBPMCommunity-6.3.7-Tomcat-6.0.37/logs/bonita.2014-11-27.log
When I saw the line “INFOS: Initialization of Bonita Engine done! ( took 23020ms)”
I can open a browser and login using default install/install on http://127.0.0.1:8080/bonita
I use this version of Java :
java -version
java version “1.7.0_65”
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode
For your information a new version is already available : 6.3.8
I’ll try to improve the documentation based on your suggestions especially add sections about troubleshooting and what you should find in log files.
Documentation is split across several pages mostly because we support a combination of several components:
OS (3)
JVM (2)
Java application server (3)
RDBMS (4)
That live us with 72 possible installation scenario (more accurately 60 if we assume that OpenJDK is not use on Windows platform).
It’s why we have those documentation pages that try to cover full installation of a Bonita Platform including JVM + application server + RDBMS configuration.
Complexity of Linux + Tomcat setup come from:
Tomcat packaging on Linux (exploded in several folders)
Tomcat that require extra library (Bitronix) as it’s not a “full” Java application server
Bonita product it self: as it can be deployed in such different environment configuration requires important customization to adapt.
Parallel to documentation improvement effort I’ll also try to find out good option to script and automatize setup.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.