You are not logged in.
Excuse me. English is not my native language.
1. I installed bonita-bpm-community-bin 6.5.1-2 from AUR
2. The installation guide of bonitasoft (http://documentation.bonitasoft.com/dat … guration-1) told me to edit for tomcat the setenv.sh:
>> Tomcat: edit setenv.sh (for Linux) or setenv.bat (for Windows) and change the value of sysprop.bonita.db.vendor on the line starting by DB_OPTS. <<
After reading the manual (http://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt), I found this passage:
>>
(3.4) Using the "setenv" script (optional, recommended)
Apart from CATALINA_HOME and CATALINA_BASE, all environment variables can be specified in the "setenv" script. The script is placed either into CATALINA_BASE/bin or into CATALINA_HOME/bin directory and is named setenv.bat (on Windows) or setenv.sh (on *nix). The file has to be readable.
By default the setenv script file is absent. If the script file is present both in CATALINA_BASE and in CATALINA_HOME, the one in CATALINA_BASE ispreferred.
For example, to configure the JRE_HOME and CATALINA_PID variables you can create the following script file:
On Windows, %CATALINA_BASE%\bin\setenv.bat:
set "JRE_HOME=%ProgramFiles%\Java\jre6"
exit /b 0
On *nix, $CATALINA_BASE/bin/setenv.sh:
JRE_HOME=/usr/java/latest
CATALINA_PID="$CATALINA_BASE/tomcat.pid"
The CATALINA_HOME and CATALINA_BASE variables cannot be configured in the setenv script, because they are used to locate that file. <<
$CATALINA_BASE refers to
>> The CATALINA_BASE environment variable specifies location of the root directory of the "active configuration" of Tomcat. It is optional. It defaults to be equal to CATALINA_HOME.
<<
and this passage
>>(2.2) Unpack the binary distribution so that it resides in its own directory (conventionally named "apache-tomcat-[version]").
For the purposes of the remainder of this document, the name "CATALINA_HOME" is used to refer to the full pathname of that directory.<<
So I try to locate $CATALINA_BASE with after #updatedb:
# locate */apache-tomcat-7* (from a hint to use wildcards from http://superuser.com/questions/613507/l … havior-why
No output. It is a chicken and egg problem.
Last edited by joyce (2015-04-25 20:38:02)
Offline
Edit Hint:
#sudo nano /usr/share/tomcat7/bin/setenv.sh
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code
Offline