You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Parminder Singh <Pa...@postmark.net> on 2001/06/12 14:51:29 UTC

Problem Running Tomcat

Hi Everyone,
I have been tyring to run tomcat 3.2.1. 

However whenever i start my Tomcat using the tomcat.sh script then i get
the following errors
"Using classpath:
/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:/usr/local/jdk1.3/lib/tools.jar:/usr/local/mm.mysql.jdbc-1.2c/:usr/local/jdbc-ora/classes12.zip
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.util.MissingResourceException: Can't find bundle for base name
org.apache.tomcat.resources.LocalStrings, locale en_US
	at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:707)
	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679)
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
	at org.apache.tomcat.util.StringManager.<init>(StringManager.java:115)
	at
org.apache.tomcat.util.StringManager.getManager(StringManager.java:260)"

I created a new script as shown below:
"#!/bin/sh
#
# $Id: tomcat.sh,v 1.17.2.1 2000/11/17 22:05:50 glenn Exp $

# Shell script to start and stop the server

# There are other, simpler commands to startup the runner. The two
# commented commands good replacements. The first works well with
# Java Platform 1.1 based runtimes. The second works well with
# Java2 Platform based runtimes.

java -classpath
$CLASSPATH:/usr/local/tomcat/lib/runner.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/classes:/usr/local/jdk1.3/lib/tools.jar:/usr/local/jdk1.3/lib/dt.jar:/usr/local/jdk1.3/lib/classes12.zip
org.apache.tomcat.shell.Startup $*"

But this script fails to load tools.jar & hence gives an exception

Can anyone pls help me out with this. I cannot see any errors here. Please
help me.
Any help is very much appreciated.
Truly,
Parminder.