-Original Message-
From: Mark Eggers [mailto:its_toas...@yahoo.com]
$SU - this is the su command to run
If you're running SELinux, you'll need to set this to /sbin/runuser.
This was it! SELinux is unfortunately set to disabled (as it conflicts
with HBSS, which is required), but
I'd recommend removing the export JAVA_HOME line. Doing that in an init
script does not work. Put it in a file in /etc/profile.d/java.sh instead.
Comment out the line in the init script and try it again. You're running
into an odd environment setting condition.
On Fri, Aug 3, 2012 at 5:16 PM,
Konstantin Kolinko wrote:
Note that calling startup.sh and shutdown.sh is just a wrapper for
calling catalina.sh with arguments start and stop respectively.
I'd recommend co call catalina.sh directly instead of those wrapper
scripts.
Either java fails to start (and catalina.out is opened
On 8/3/2012 12:38 PM, Shaw, Ray V CTR (US) wrote:
Konstantin Kolinko wrote:
Note that calling startup.sh and shutdown.sh is just a wrapper for
calling catalina.sh with arguments start and stop respectively.
I'd recommend co call catalina.sh directly instead of those wrapper
scripts.
Either
Stefan Mayr wrote:
Am 01.08.2012 19:10, schrieb Shaw, Ray V CTR (US):
I'm starting up Tomcat 7.0 on RHEL6 with the following init script:
#!/bin/bash
#
# chkconfig: 235 80 20
# description: Takes care of starting and stopping Tomcat.
CATALINA_HOME=/opt/tomcat7
export
I'm starting up Tomcat 7.0 on RHEL6 with the following init script:
#!/bin/bash
#
# chkconfig: 235 80 20
# description: Takes care of starting and stopping Tomcat.
CATALINA_HOME=/opt/tomcat7
export JAVA_HOME=/usr/java/jdk6-64/
case $1 in
'start')
/bin/su tomcat -c
2012/8/1 Shaw, Ray V CTR (US) ray.v.shaw@mail.mil:
I'm starting up Tomcat 7.0 on RHEL6 with the following init script:
#!/bin/bash
#
# chkconfig: 235 80 20
# description: Takes care of starting and stopping Tomcat.
CATALINA_HOME=/opt/tomcat7
export JAVA_HOME=/usr/java/jdk6-64/
case
Am 01.08.2012 19:10, schrieb Shaw, Ray V CTR (US):
I'm starting up Tomcat 7.0 on RHEL6 with the following init script:
#!/bin/bash
#
# chkconfig: 235 80 20
# description: Takes care of starting and stopping Tomcat.
CATALINA_HOME=/opt/tomcat7
export JAVA_HOME=/usr/java/jdk6-64/
case $1 in