in this Documentation http://documentation.bonitasoft.com/ubuntu-openjdk-tomcat-postgresql-0
i follow installiation …
vim /usr/share/tomcat7/lib/seten.sh
some filies mention in ${CATALINA_HOME}/bonita to /opt/bonita/bonita_home-6.4.0 ////////version what!!
after tar ~/BonitaBPMCommunity-7.2.2-deploy…depoly7-2.2
whats up
http://documentation.bonitasoft.com/ubuntu-openjdk-tomcat-postgresql-0
############################
any Clear way /or script/ …to deply bonita server
…
this commands i enter without problem So why tomcat7 can’t start
…
apt-get update
sudo aptitude install openjdk-7-jre-headless
#Database config :
apt-get install postgres
apt-get update --fix-missing
sudo -u postgres -i
createuser -P bonita;
createdb -O bonita bonita;
createdb -O bonita business_data;
exit // shell
psql -d bonita -h 127.0.0.1 -U bonita
SELECT 1;
\q
nano /etc/postgresql/9.3/main/postgresql.conf
#max_prepared_transactions=100 (line 117)
service postgresql restart
###################################################
aptitude install tomcat7
cd /usr/share/tomcat7/lib
wget http://jdbc.postgresql.org/download/postgresql-9.3-1102.jdbc4.jar
#Download and unzip the Bonita BPM deploy bundle
cd /home/bonita //here exarct
mkdir -P /opt/bonita
chown -R tomcat7:tomcat7 /opt/bonita
sudo cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/bin/setenv.sh /usr/share/tomcat7/bin/
sudo chmod +x /usr/share/tomcat7/bin/setenv.sh
nano /usr/share/tomcat7/bin/setenv.sh
#bonita.home value from ${CATALINA_HOME}/bonita to /opt/bonita/bonita_home-6.4.0
sysprop.bonita.db.vendor from h2 to postgres
btm.root from ${CATALINA_HOME} to /opt/bonita/btm
${CATALINA_HOME}/conf/bitronix-config.properties to /opt/bonita/btm/conf/bitronix-config.properties
#Add extra libraries to Tomcat
cd ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/lib
sudo cp bonita-tomcat-valve-7.0.55.jar btm-2.1.3.jar btm-tomcat55-lifecycle-2.1.3.jar jta-1.1.jar slf4j-api-1.6.1.jar slf4j-jdk14-1.6.1.jar /usr/share/tomcat7/lib/
#Configure Bonita to use PostgreSQL
sudo mkdir -p /opt/bonita/btm/conf && sudo mkdir /opt/bonita/btm/work
sudo chown -R tomcat7:tomcat7 /opt/bonita/btm
sudo cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/conf/bitronix-* /opt/bonita/btm/conf/
sudo nano /opt/bonita/btm/conf/bitronix-resources.properties
#comment (using #) h2 section, uncomment PostgreSQL example
#resource.ds2 (BDM data source) and set the value for the BDM data base
sudo cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/conf/Catalina/localhost/bonita.xml /etc/tomcat7/Catalina/localhost/
sudo nano /etc/tomcat7/Catalina/localhost/bonita.xml
#comment H2 unComment postgres example
cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/conf/logging.properties /etc/tomcat7/logging.properties
cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/conf/context.xml /etc/tomcat7/context.xml
sudo cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/conf/server.xml /etc/tomcat7/server.xml
sudo nano /etc/tomcat7/server.xml
sudo chown -R root:tomcat7 /etc/tomcat7
sudo cp ~/BonitaBPMCommunity-7.2.2-deploy/Tomcat-7.0.67/webapps/bonita.war /var/lib/tomcat7/webapps/
sudo chown tomcat7:tomcat7 /var/lib/tomcat7/webapps/bonita.war
sudo service tomcat7 start
///failed