- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- start script problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 07:37 AM
07-03-2007 07:37 AM
start script problem
Below are the contents and file settings:
root@nesaweb/homeroot #ps -ef |grep tomcat
root@nesaweb/homeroot #ps -ef |grep java
root 3458 3049 1 14:36:40 ttyp1 0:00 grep java
ll /etc/rc.config.d/tomcat
-r--r--r-- 1 bin bin 519 Jul 3 14:05 tomcat
In /etc/rc.config.d/tomcat
# Tomcat Servlet Container configuration file
# Set TOMCAT_START to 1 to have the Tomcat servlet-container started
# by the init process.
TOMCAT_START=1
# Set TOMCAT_HOME to the location of the Tomcat servlet-container.
# Default is /opt/hpws/tomcat
TOMCAT_HOME=/opt/jakarta-tomcat-5.0.28
# Set JAVA_HOME to the location of the java installation.
# It is required by Tomcat.
# Default is /opt/java1.5
# Set it to /opt/java1.4 when using the compatibility package to run Tomcat
# with JDK 1.4
JAVA_HOME=/opt/java1.4
ll /sbin/init.d/tomcat
-r-xr-xr-x 1 bin bin 2642 Jul 3 14:08 tomcat
ll ../rc2.d/K180tomcat
lrwxrwxrwx 1 root sys 19 Jun 13 11:42 ../rc2.d/K180tomcat -> /sbin/init.d/tomcat
ll ../rc3.d/S890tomcat
lrwxrwxrwx 1 root sys 19 Jun 13 11:43 S890tomcat -> /sbin/init.d/tomcat
In /sbin/init.d/tomcat
#!/sbin/sh
# set -x
#
# @(#) $Revision: 82.1 $
#
# NOTE: This script is not configurable! Any changes made to this
# script will be overwritten when you upgrade to the next
# release of HP-UX.
#
# WARNING: Changing this script in any way may lead to a system that
# is unbootable. Do not modify this script.
#
# The Tomcat script is for used for starting up the Tomcat servlet
# container by default at boot-up time.
# Configurable options are:
# JAVA_HOME
# TOMCAT_HOME
# TOMCAT_START
# These options can be supplied in /etc/rc.config.d/tomcat file.
#
# Allowed exit values:
# 0 = success; causes "OK" to show up in checklist.
# 1 = failure; causes "FAIL" to show up in checklist.
# 2 = skip; causes "N/A" to show up in the checklist.
# Use this value if execution of this script is overridden
# by the use of a control variable, or if this script is not
# appropriate to execute for some other reason.
# 3 = reboot; causes the system to be rebooted after execution.
# 4 = background; causes "BG" to show up in the checklist.
# Use this value if this script starts a process in background mode.
# Input and output:
# stdin is redirected from /dev/null
#
# stdout and stderr are redirected to the /etc/rc.log file
# during checklist mode, or to the console in raw mode.
export PATH=/usr/sbin:/usr/bin:/sbin
# Assume "excluded"
rval=2
# source the system configuration variables
if [ -f /etc/rc.config.d/tomcat ] ; then
. /etc/rc.config.d/tomcat
else
echo "ERROR: /etc/rc.config.d/tomcat defaults file MISSING"
fi
export JAVA_HOME TOMCAT_HOME
# run Tomcat with nohup
export JAVA_WRAPPER=nohup
case $1 in
'start_msg')
echo "Starting Tomcat-based Servlet Engine"
;;
'stop_msg')
echo "Stopping Tomcat-based Servlet Engine."
;;
'start')
# Check to see if Tomcat needs to be run...
if [ $TOMCAT_START -ne 1 ]; then
if [ $rval -ne 0 ]; then
rval=2
fi
else
# Execute the commands to start your subsystem
$TOMCAT_HOME/bin/startup.sh 1>/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "ERROR: Could not start Tomcat."
else
rval=0
echo "Tomcat Started."
fi
fi
;;
'stop')
# Check to see if Tomcat needs to be shutdown...
if [ $TOMCAT_START -ne 1 ]; then
if [ $rval -ne 0 ]; then
rval=2
fi
else
# Execute the commands to stop Tomcat
$TOMCAT_HOME/bin/shutdown.sh 1>/dev/null 2>&1
rval=0
fi
;;
*)
echo "usage: $0 {start|stop|start_msg|stop_msg}"
rval=1
;;
esac
exit $rval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 08:19 AM
07-03-2007 08:19 AM
Re: start script problem
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 02:20 AM
07-04-2007 02:20 AM
Re: start script problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 05:16 AM
07-04-2007 05:16 AM
Re: start script problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 06:40 AM
07-04-2007 06:40 AM
Re: start script problem
-rwxr-xr-x 1 root root 971 Jun 21 11:55 startup.sh
startup.sh has the following:
#!/bin/sh
# -----------------------------------------------------------------------------
# Start Script for the CATALINA Server
#
# $Id: startup.sh,v 1.3 2002/08/04 18:19:43 patrickl Exp $
# -----------------------------------------------------------------------------
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
EXECUTABLE=catalina.sh
DISPLAY=:0; export DISPLAY
JAVA_HOME=/opt/java1.4; export JAVA_HOME
CATALINA_HOME=/opt/jakarta-tomcat-5.0.28;export CATALINA_HOME
SHLIB_PATH=/opt/arweb/WEB-INF/lib; export SHLIB_PATH
# Check that target executable exists
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "This file is needed to run this program"
exit 1
fi
exec "$PRGDIR"/"$EXECUTABLE" start "$@"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 07:08 AM
07-04-2007 07:08 AM
Re: start script problem
root@sha1 [ /sbin/init.d ]
# cat hpws_tomcat
#!/sbin/sh
#
# @(#) $Revision: 82.1 $
#
# NOTE: This script is not configurable! Any changes made to this
# script will be overwritten when you upgrade to the next
# release of HP-UX.
#
# WARNING: Changing this script in any way may lead to a system that
# is unbootable. Do not modify this script.
#
# The Tomcat script is for used for starting up the Tomcat servlet
# container by default at boot-up time.
# Configurable options are:
# JAVA_HOME
# HPWS_TOMCAT_HOME
# HPWS_TOMCAT_START
# These options can be supplied in /etc/rc.config.d/hpws_tomcatconf file.
#
# Allowed exit values:
# 0 = success; causes "OK" to show up in checklist.
# 1 = failure; causes "FAIL" to show up in checklist.
# 2 = skip; causes "N/A" to show up in the checklist.
# Use this value if execution of this script is overridden
# by the use of a control variable, or if this script is not
# appropriate to execute for some other reason.
# 3 = reboot; causes the system to be rebooted after execution.
# 4 = background; causes "BG" to show up in the checklist.
# Use this value if this script starts a process in background mode.
# Input and output:
# stdin is redirected from /dev/null
#
# stdout and stderr are redirected to the /etc/rc.log file
# during checklist mode, or to the console in raw mode.
export PATH=/usr/sbin:/usr/bin:/sbin
# Assume "excluded"
rval=2
# source the system configuration variables
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi
export JAVA_HOME HPWS_TOMCAT_HOME
# run Tomcat with nohup
export JAVA_WRAPPER=nohup
case $1 in
'start_msg')
echo "Starting HP-UX Tomcat-based Servlet Engine"
;;
'stop_msg')
echo "Stopping HP-UX Tomcat-based Servlet Engine."
;;
'start')
# Check to see if Tomcat needs to be run...
if [ $HPWS_TOMCAT_START -ne 1 ]; then
if [ $rval -ne 0 ]; then
rval=2
fi
else
# Execute the commands to start your subsystem
$HPWS_TOMCAT_HOME/bin/startup.sh 1>/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "ERROR: Could not start Tomcat."
else
rval=0
echo "Tomcat Started."
fi
fi
;;
'stop')
# Check to see if Tomcat needs to be shutdown...
if [ $HPWS_TOMCAT_START -ne 1 ]; then
if [ $rval -ne 0 ]; then
rval=2
fi
else
# Execute the commands to stop Tomcat
$HPWS_TOMCAT_HOME/bin/shutdown.sh 1>/dev/null 2>&1
rval=0
fi
;;
*)
echo "usage: $0 {start|stop|start_msg|stop_msg}"
rval=1
;;
esac
exit $rval
# ll /sbin/*/*tom*
-r-xr-xr-x 1 bin bin 2609 Oct 7 2005 /sbin/init.d/hpws_tomcat
lrwxr-xr-x 1 bin bin 24 Apr 18 10:25 /sbin/rc2.d/K177hpws_tomcat -> /sbin/init.d/hpws_tomcat
lrwxr-xr-x 1 bin bin 24 Apr 18 10:25 /sbin/rc3.d/S823hpws_tomcat -> /sbin/init.d/hpws_tomcat
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2007 07:17 PM
07-04-2007 07:17 PM
Re: start script problem
I don't know if the excerpt of the init script you provided is complete, nor whether I have missed something.
But what boggles me is that you first have this assignment
# Assume "excluded"
rval=2
and then a little further down, without rval being reassigned, in the start) match of the case block you have this conditional
if [ $rval -ne 0 ]; then
rval=2
fi
else
# Execute the commands to start your subsystem
$TOMCAT_HOME/bin/startup.sh 1>/dev/null 2>&1
Could look like you have a premature exit here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 12:06 AM
07-05-2007 12:06 AM
Re: start script problem
I also tried using a basic script as seen below which also starts tomcat fine as root or doing an init 3 but again it does not start on bootup. I went back to using HP's tomcat init script to try and figure it out.
#!/sbin/sh
case $1 in
'start_msg')
echo "Starting Tomcat-based Servlet Engine"
;;
'stop_msg')
echo "Stopping Tomcat-based Servlet Engine"
;;
'start')
# Execute the commands to start your subsystem
if [ -f /opt/jakarta-tomcat-5.0.28/bin/startup.sh ]; then
/usr/bin/su - root -c "/opt/jakarta-tomcat-5.0.28/bin/startup.sh" 1>/dev/null 2>&1
else
echo "Tomcat Start script not found"
fi
;;
'stop')
# Execute the commands to stop Tomcat
if [ -f /opt/jakarta-tomcat-5.0.28/bin/shutdown.sh ]; then
/usr/bin/su - root -c "/opt/jakarta-tomcat-5.0.28/bin/shutdown.sh 1>/dev/null 2>&1"
else
echo "Tomcat Stop script not found"
fi
;;
*)
echo "usage: 'basename $0 {start|stop}"
;;
esac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 01:31 AM
07-05-2007 01:31 AM
Re: start script problem
if [ -f /etc/rc.config.d/tomcat ] ; then
. /etc/rc.config.d/tomcat
else
echo "ERROR: /etc/rc.config.d/tomcat defaults file MISSING"
fi
To:
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 03:33 AM
07-05-2007 03:33 AM
Re: start script problem
Tomcat still does not start on bootup as java process created by tomcat is not there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 04:12 AM
07-05-2007 04:12 AM
Re: start script problem
I recommend to send the output of the start commands not to /dev/null but to logfiles, like
...
$TOMCAT_HOME/bin/startup.sh >/tmp/tomcat.startout 2>/tmp/tomcat.starterr
...
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:48 AM
07-05-2007 05:48 AM
Re: start script problem
This is starting to sound like tomcat needs something else running prior to starting - hence it works fine after you login and start manuall....maybe make it the last thing that starts?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 08:49 AM
07-05-2007 08:49 AM
Re: start script problem
As for redirecting stnd err & out, DId that and nothing reported in the log files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 02:52 PM
07-05-2007 02:52 PM
Re: start script problem
Let us start checking logic in the script...
Cahnge
$TOMCAT_HOME/bin/startup.sh 1>/dev/null 2>&1
To
$TOMCAT_HOME/bin/nosuchfile.sh 1>/dev/null 2>&1
Does it FAIL now on startup?
If it does, then the logic is ok and the issue maybe the actual startup.sh script - if it doesn't then the logic in the /sbin/init.d script is messed up somewhere.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 06:19 PM
07-05-2007 06:19 PM
Re: start script problem
you can also try it the other way round:
Call the startscript at the shell level and look for the logfile after this.
If they contain something, your startup anchor may not be correct.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2007 02:01 AM
07-06-2007 02:01 AM
Re: start script problem
I changed the tomcat init script to point to a no-exixtant file and tomcat startup fails with the msg "can't find file".
I added
in /sbin/init.d/tomcat
set -x > /tmp/tom.log 2>&1
and in start section:
$TOMCAT_HOME/bin/startup.sh 1>/tmp/tom.out 2>/tmp/tom.err
(nothing gets reported in tom.out and tom.err has the same on bootup to cmd line start. See below)
in /opt/jakata-tomcat-5.0.28.bin/startup.sh
set -x > /tmp/tomstart.log 2>&1
exec "$PRGDIR"/"$EXECUTABLE" start "$@" 1>/tmp/tomstart1.log 2>&1
(tomstart1 has the same on bootup to cmd line start. See below)
in /opt/jakata-tomcat-5.0.28.bin/catalina.sh
set -x > /tmp/catstart.log 2>&1
and in run section
org.apache.catalina.startup.Bootstrap "$@" start 1>/tmp/catrun.log 2>&1
(nothbing logged both catrun and catstart in both cmdline and bootup start)
Running >tomcat start gives to the console
+ export PATH=/usr/sbin:/usr/bin:/sbin
+ rval=2
+ [ -f /etc/rc.config.d/tomcat ]
+ . /etc/rc.config.d/tomcat
+ TOMCAT_START=1
+ TOMCAT_HOME=/opt/jakarta-tomcat-5.0.28
+ JAVA_HOME=/opt/java1.4
+ export JAVA_HOME TOMCAT_HOME
+ export JAVA_WRAPPER=nohup
+ [ 1 -ne 1 ]
+ /opt/jakarta-tomcat-5.0.28/bin/startup.sh
+ 1> /tmp/tom.out 2> /tmp/tom.err
+ [ 0 -ne 0 ]
+ rval=0
+ echo Tomcat Started.
Tomcat Started.
+ exit 0
# tom.err logs:
+ PRG=/opt/jakarta-tomcat-5.0.28/bin/startup.sh
+ [ -h /opt/jakarta-tomcat-5.0.28/bin/startup.sh ]
+ + dirname /opt/jakarta-tomcat-5.0.28/bin/startup.sh
PRGDIR=/opt/jakarta-tomcat-5.0.28/bin
+ EXECUTABLE=catalina.sh
+ DISPLAY=:0
+ export DISPLAY
+ JAVA_HOME=/opt/java1.4
+ export JAVA_HOME
+ CATALINA_HOME=/opt/jakarta-tomcat-5.0.28
+ export CATALINA_HOME
+ SHLIB_PATH=/opt/arweb/WEB-INF/lib
+ export SHLIB_PATH
+ [ ! -x /opt/jakarta-tomcat-5.0.28/bin/catalina.sh ]
+ exec /opt/jakarta-tomcat-5.0.28/bin/catalina.sh start
+ 1> /tmp/tomstart1.log 2>& 1
# tomstart1.log logs:
+ cygwin=false
+ os400=false
+ uname
+ PRG=/opt/jakarta-tomcat-5.0.28/bin/catalina.sh
+ [ -h /opt/jakarta-tomcat-5.0.28/bin/catalina.sh ]
+ + dirname /opt/jakarta-tomcat-5.0.28/bin/catalina.sh
PRGDIR=/opt/jakarta-tomcat-5.0.28/bin
+ [ -z /opt/jakarta-tomcat-5.0.28 ]
+ [ -r /opt/jakarta-tomcat-5.0.28/bin/setenv.sh ]
+ false
+ false
+ [ -r /opt/jakarta-tomcat-5.0.28/bin/setclasspath.sh ]
+ BASEDIR=/opt/jakarta-tomcat-5.0.28
+ . /opt/jakarta-tomcat-5.0.28/bin/setclasspath.sh
+ [ -z /opt/java1.4 ]
+ false
+ [ ! -x /opt/java1.4/bin/java -o ! -x /opt/java1.4/bin/jdb -o ! -x /opt/java1.4/bin/javac ]
+ [ -z /opt/jakarta-tomcat-5.0.28 ]
+ [ ! -x /opt/jakarta-tomcat-5.0.28/bin/setclasspath.sh ]
+ JAVA_ENDORSED_DIRS=/opt/jakarta-tomcat-5.0.28/common/endorsed
+ CLASSPATH=/opt/java1.4/lib/tools.jar
+ JIKESPATH=
+ uname -s
+ [ HP-UX = Darwin ]
+ _RUNJAVA=/opt/java1.4/bin/java
+ [ false = false ]
+ _RUNJDB=/opt/java1.4/bin/jdb
+ _RUNJAVAC=/opt/java1.4/bin/javac
+ [ -n ]
+ CLASSPATH=/opt/java1.4/lib/tools.jar:/opt/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/opt/jakarta-tom
cat-5.0.28/bin/commons-logging-api.jar
+ [ -z ]
+ CATALINA_BASE=/opt/jakarta-tomcat-5.0.28
+ [ -z ]
+ CATALINA_TMPDIR=/opt/jakarta-tomcat-5.0.28/temp
+ false
+ echo Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.28
Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.28
+ echo Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.28
+ echo Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.28/temp
Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.28/temp
+ echo Using JAVA_HOME: /opt/java1.4
Using JAVA_HOME: /opt/java1.4
+ [ start = jpda ]
+ [ start = debug ]
+ [ start = run ]
+ [ start = start ]
+ shift
+ touch /opt/jakarta-tomcat-5.0.28/logs/catalina.out
+ [ = -security ]
+ [ ! -z ]
+ /opt/java1.4/bin/java -Djava.endorsed.dirs=/opt/jakarta-tomcat-5.0.28/common/endorsed -classpath /
opt/java1.4/lib/tools.jar:/opt/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/opt/jakarta-tomcat-5.0.28/bi
n/commons-logging-api.jar -Dcatalina.base=/opt/jakarta-tomcat-5.0.28 -Dcatalina.home=/opt/jakarta-to
mcat-5.0.28 -Djava.io.tmpdir=/opt/jakarta-tomcat-5.0.28/temp org.apache.catalina.startup.Bootstrap s
tart
+ 1>> /opt/jakarta-tomcat-5.0.28/logs/catalina.out 2>& 1
# Nothing recorded in catalina.log on bootup
# On cmd line startup catalina.out records:
Jul 6, 2007 9:24:59 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 6, 2007 9:25:00 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6225 ms
Jul 6, 2007 9:25:00 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 6, 2007 9:25:00 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Jul 6, 2007 9:25:01 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jul 6, 2007 9:25:01 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jul 6, 2007 9:25:01 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/jakarta-tomcat-5.0.28/
conf/Catalina/localhost/admin.xml
Jul 6, 2007 9:25:06 AM org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
Jul 6, 2007 9:25:06 AM org.apache.struts.util.PropertyMessageResources
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
# Also tomcat's localhostxxx.txt log records the following but nothing on a reboot.
2007-07-06 09:25:14 StandardContext[/balancer]org.apache.webapp.balancer.Balance
rFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.w
ebapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: htt
p://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target
param name: paramName / Target param value: paramValue / Redirect URL: http://w
ww.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect
URL: http://jakarta.apache.org]]
2007-07-06 09:25:24 StandardContext[/jsp-examples]ContextListener: contextInitia
lized()
2007-07-06 09:25:24 StandardContext[/jsp-examples]SessionListener: contextInitia
lized()
2007-07-06 09:25:25 StandardContext[/servlets-examples]ContextListener: contextI
nitialized()
2007-07-06 09:25:25 StandardContext[/servlets-examples]SessionListener: contextI
nitialized()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 07:33 AM
07-24-2007 07:33 AM
Re: start script problem
One thing you can try is to set the logging properties to ALL, in order to see all messages in the Log.