tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwa <wans...@web.de>
Subject no autostart
Date Tue, 07 Aug 2007 14:50:37 GMT
Hey people,
i have got a big!! problem...

configure
os: Gnu/Linux -> debian
tomcat: 6.0.x

I can start my tomcat only an root AFTER i am logged!
so my path and global vars are correct -> or?
i want to start in runlevel2 and so ive a softlink in
/etc/rc2.d/S99catalina -> /opt/tomcat/bin....
but after logging as an usual user -> nothing on localhast:8008

my /etc/environment
LANG="en_US.UTF-8"
export JAVA_PATH="/opt/jdk1.6.0"
export JAVA_HOME="/opt/jdk1.6.0"
export JRE_HOME="/opt/jdk1.6.0/jre"
export CATALINA_HOME="/opt/tomcat/"
export BASEDIR="/opt/tomcat/"
export 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/java"


and my /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "`id -u`" -eq 0 ]; then
 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/java"
else
   PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/java"
fi

if [ "$PS1" ]; then
   if [ "$BASH" ]; then
     PS1='\u@\h:\w\$ '
   else
     if [ "`id -u`" -eq 0 ]; then
       PS1='# '
     else
       PS1='$ '
     fi
   fi
fi

export JAVA_PATH="/opt/jdk1.6.0"
export JAVA_HOME="/opt/jdk1.6.0"
export JRE_HOME="/opt/jdk1.6.0/jre"
export CATALINA_HOME="/opt/tomcat/"
export BASEDIR="/opt/tomcat/"
export PATH

umask 022

Twice is better!!!!!!!!!!!!!!

WHAT IST MY FXXXING FAULT????

Gruss aus Germany


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message