Hello, my system works with BOS 5.8 runtime libraries, eh tried to configure it to work with the apache server and throws me the following Error
Bonita Error: bp_Pa_1
errors during parsing of environment:
error : couldn't interpret the dom model : org.hibernate.HibernateException: Could not find datasource
Show files to update
C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.27\bin\setenv.bat
-------------------------
@echo on
rem Sets some variables
set BONITA_HOME="-DBONITA_HOME=%CATALINA_HOME%\bonita"
set LOG_OPTS="-Djava.util.logging.config.file=%CATALINA_HOME%\external\logging\logging.properties"
set SECURITY_OPTS="-Djava.security.auth.login.config=%CATALINA_HOME%\conf\bonita\jaas-standard.cfg"
set JAVA_OPTS=%JAVA_OPTS% %LOG_OPTS% %SECURITY_OPTS% %BONITA_OPTS% %BONITA_HOME% -Dfile.encoding=UTF-8 -Xshare:auto
-Xms512m -Xmx1024m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError
--------------------------
C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.27\conf\context.xml
---------------------------remove < in Resource because the forum did not show the line
Resource name="jdbc/bonita_journal" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="IntraC3ud1D" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/bonita_journal"/>
Resource name="jdbc/bonita_history" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="IntraC3ud1D" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/bonita_history"/>'
--------------------------
catalina.properties
-----------------------
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.home}/lib/bonita/*.jar
---------------------------
C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.27\bonita\server\default\conf\bonita-journal.properties
------------------------
# MYSQL
hibernate.dialect org.hibernate.dialect.MySQL5InnoDBDialect
bonita.hibernate.interceptor org.ow2.bonita.env.interceptor.MySQLDescNullFirstInterceptor
hibernate.connection.datasource jdbc/bonita_journal
---------------------------
C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.27\bonita\server\default\conf\bonita-history.properties
------------------------
# MYSQL
hibernate.dialect org.hibernate.dialect.MySQL5InnoDBDialect
bonita.hibernate.interceptor org.ow2.bonita.env.interceptor.MySQLDescNullFirstInterceptor
hibernate.connection.datasource jdbc/bonita_history
---------------------------
thanks