Hello,
I have encountered real difficulties to install properly OPENPPM V2.0 following given installation guide.
I would like to share the solutions I foudn with you.
If anybody has some more information, just share.
=========
First, verifiy /etc/environnement and add some mandatory variables :
Add CATALINA_HOME and CATALINA_BASE
Add JAVA_HOME
Add JAVA bin directory in PATH
—
My file content :
LANG=en_GB
CATALINA_HOME=/usr/share/tomcat6
CATALINA_BASE=/var/lib/tomcat6
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/lib/jvm/java-1.6.0-openjdk-amd64/bin
echo $CATALINA_HOME
—
To execute this file :
source /etc/environment
=========
Add a link to /bin in CATALINA_HOME (to avoid bad use of variables CATALINA_HOME and CATALINA_BASE).
Honestly, I really don’t know if it is important or not but I found this in another topic somewhere and implemented it.
=========
Correct installation guide given lines in /usr/share/tomcat6/bin/setenv.sh
(installation guide is windows oriented and not linux compliant).
JAVA_OPTS=»$JAVA_OPTS -Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config»
=========
After that, it was possible to start (sudo /etc/init.d/tomcat6 restart) tomcat6 without failure.
I hope it’ll help.