Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97917 - Resin 3.0.8 broken install
Summary: Resin 3.0.8 broken install
Status: RESOLVED DUPLICATE of bug 63246
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 10:46 UTC by Mark Renouf
Modified: 2006-02-16 03:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Renouf 2005-07-04 10:46:56 UTC
$ equery list -i resin
[ Searching for package 'resin' in all categories among: ]
 * installed packages
[I--] [  ] www-servers/resin-3.0.8-r1 (0)


$ sudo /etc/init.d/resin start
 * Starting Resin ...
Can't create /var/log/resin/resin_out.log.                                [ !! ]




Reproducible: Always
Steps to Reproduce:
Comment 1 Mark Renouf 2005-07-04 10:47:53 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"
Comment 2 Mark Renouf 2005-07-04 10:49:42 UTC
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
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-02-16 03:40:14 UTC
Please use ebuild from java-experimental untill it goes to main tree.

*** This bug has been marked as a duplicate of 63246 ***