Summary: | Resin 3.0.8 broken install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Renouf <mark> |
Component: | [OLD] Server | Assignee: | Java team <java> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark Renouf
2005-07-04 10:46:56 UTC
Also stock /etc/conf.d/resin: # $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.0.8/resin.conf,v 1.1 2004/08/08 18:21:19 stuart Exp $ # JVM Runtime # Using the default setting, it will determine your JVM from the system-vm # set using java-config. # See java-config(1) manual page for assistance in determining this value. # # You can override this value with whatever path you wish. # Example: JAVA_HOME=/opt/sun-jdk-1.4.1.01 #JAVA_HOME=`java-config -O` # (Optional) Java runtime options used when the "start", "stop", or "run" # commands are executed. # JAVA_OPTS="" # Where your Resin is installed RESIN_HOME=/opt/resin SERVER_ROOT=${RESIN_HOME} # Resin's User RESIN_USER=resin # Resin Log Locations RESIN_OUT=/var/log/resin/resin_out.log RESIN_ERR=/var/log/resin/resin_err.log # Location of the Resin JARs and classes RESIN_LIBDIR=/usr/share/resin/lib # The CLASSPATH for Resin to use, plus any others you need. CLASSPATH=$(java-config -p resin 2>/dev/null):${RESIN_LIBDIR}/lib # START/STOP settings RESIN_START="-java_home ${JAVA_HOME} -resin_home ${RESIN_HOME} -stdout ${RESIN_OUT} -stderr ${RESIN_ERR} start" RESIN_STOP="stop" And one final issue... rc script is installed with wrong permissions (750, should be 755): $ ls -ld /etc/init.d/resin -rwxr-x--- 1 root root 545 Jul 4 13:26 /etc/init.d/resin |