You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by LeRoi <le...@blueyonder.co.uk> on 2001/06/15 11:11:28 UTC
FW: newbie: Starting Tomcat
Hello,
I'm new to java and was coming to grips with it until I got to the
chapter on SERVLETS. I hope some one out there can help me and I
would like to thank you in advance.
I downloaded and installed Tomcat 3.2.2 under NT 4.0 (SP 6) without
any problems. I also have JDK 1.3 on the machine. Following one
posting on "Google" I added the line to the server.xml file:
<RequestInterceptor
className="org.apache.tomcat.request.Jdk12Interceptor" />
When trying to start Tomcat I get the following message:
E:\jakarta-tomcat-3.2.2\bin>tomcat run
Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.
Using CLASSPATH:
E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jakar
ta-tomc
at-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tomc
at-3.2.2\lib\parser.jar;
E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserve
r.jar
2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /examples )
2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-06-12 04:16:19 - ContextManager: Adding context Ctx( )
2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.util.MissingResourceException
: Can't find bundle for base name javax.servlet.http.LocalStrings,
locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown
Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.j
ava:130)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
E:\jakarta-tomcat-3.2.2\bin>
If I use "Tomcat Start" or just the "Start.bat" I get a second window that
opens and disappears rather quickly before I can see what's going on. Can
anyone help? Also, can anyone suggest any books on Tomcat?
Regards,
LeRoi
RE: FW: newbie: Starting Tomcat
Posted by LeRoi <le...@blueyonder.co.uk>.
Dim,
Thanx a mil!!! I removed Tomcat & JRE. I then installed the full JSE and
then Tomcat. I ran "tomcat run" and guess what? It worked. You don't know
how good that made me feel. But, I'm sure that I'll be asking more
questions as I forge ahead. Many thanx!
LeRoi
-----Original Message-----
From: dim [mailto:dim]On Behalf Of Dmitri Colebatch
Sent: 16 June 2001 06:23
To: tomcat-user@jakarta.apache.org
Subject: Re: FW: newbie: Starting Tomcat
You tried Jim's suggestion of removing the test.war as well as the test
directory. Maybe some background might help you: When tomcat starts
up, it looks in the directory %TOMCAT_HOME%\webapps and any directories
or war files it finds it will attempt to create a context for. THat is
what the following says:
> > > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
So if you have removed the test.war and the test directory, and then
restarted, you shouldn't see that error. Can you confirm for me that
the command
dir %TOMCAT_HOME%\webapps\test*
doesn't find any files or directories? If that doesn't find anything,
and you still get the above output from the startup, then something odd
is happening and I think the best bet would be to delete the entire
tomcat install and start from scratch.
hope this helps
cheesr
dim
Re: FW: newbie: Starting Tomcat
Posted by Dmitri Colebatch <di...@ozemail.com.au>.
You tried Jim's suggestion of removing the test.war as well as the test
directory. Maybe some background might help you: When tomcat starts
up, it looks in the directory %TOMCAT_HOME%\webapps and any directories
or war files it finds it will attempt to create a context for. THat is
what the following says:
> > > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
So if you have removed the test.war and the test directory, and then
restarted, you shouldn't see that error. Can you confirm for me that
the command
dir %TOMCAT_HOME%\webapps\test*
doesn't find any files or directories? If that doesn't find anything,
and you still get the above output from the startup, then something odd
is happening and I think the best bet would be to delete the entire
tomcat install and start from scratch.
hope this helps
cheesr
dim
RE: FW: newbie: Starting Tomcat
Posted by LeRoi <le...@blueyonder.co.uk>.
Hello all. It's me again. Unfortunately, no further than when I first
started trying to run Tomcat. I have tried every suggestion given me to no
avail. I should also note that the two log files created when I attempt to
start Tomcat [server.log and jasper.log] are both empty. And that there is
no tomcat.log. The error messages are still the same as listed below.
Feeling hopeless,
LeRoi
-----Original Message-----
From: Jim Cheesman [mailto:jchees@msl.es]
Sent: 15 June 2001 12:17
To: tomcat-user@jakarta.apache.org
Subject: RE: FW: newbie: Starting Tomcat
At 12:28 PM 15/06/01, you wrote:
>Firstly, a big thanx for the help so far. I have felt so helpless for the
>last couple of days just trying to get Tomcat working.
>
>Jean-Etienne: I have tried the suggestion of including "jnet.jar" in my
>classpath, however, it appears that I don't even have that file in my
>"Tomcat" or "Java" directories.
>
>Dimitri: I deleted the test directory and reran "tomcat run" with no
>success. I get the same error message and the test directory is recreated.
>I have located several "LocalSTrings_en.properties" files in the following
>directories:
>
>E:\jakarta-tomcat-3.2.2\src\org\apache\tomcat\ resources
>E:\jakarta-tomcat-3.2.2\\webapps\examples\WEB-INF\classes
>
>Should I move or copy this file somewhere else as well?
You could try copying the files to the webapps\test\WEB-INF\classes
directory and see if that helps - I'm guessing that the test directory is
being recreated from the test.war file you have in the webapps directory -
you could also try deleting test.war and the test directory.
(And don't worry - I'm sure most of us went through the same thing setting
tomcat up the first time: I certainly did ;)
HTH,
JimC
>Cheers,
>LeRoi
>
>-----Original Message-----
>From: Dmitri Colebatch [mailto:dim@nuix.com.au]
>Sent: 15 June 2001 10:29
>To: tomcat-user@jakarta.apache.org
>Subject: Re: FW: newbie: Starting Tomcat
>
>The problem here is with the test context, not the server itself. Have you
>possibly removed some files from the %TOMCAT_HOME%\webapps\test directory?
>If not, try removing the entire webapps\test directory and restarting.
>
>What is happening is that when the test context is being initialized a
>servlet is being loaded on startup that is looking for a resource bundle
and
>failing (for some reason). This bindle is from memory in the
>test\WEB-INF\classes directory, and by the looks of the exception should be
>a
>file named "en_US" or something (I think there is a "LocalStrings_en" file
>there???).
>
>hope this helps.
>
>cheesr
>dim
>
>On Fri, 15 Jun 2001 19:11, you wrote:
> > Hello,
> >
> > I'm new to java and was coming to grips with it until I got to the
> > chapter on SERVLETS. I hope some one out there can help me and I
> > would like to thank you in advance.
> >
> > I downloaded and installed Tomcat 3.2.2 under NT 4.0 (SP 6) without
> > any problems. I also have JDK 1.3 on the machine. Following one
> > posting on "Google" I added the line to the server.xml file:
> > <RequestInterceptor
> > className="org.apache.tomcat.request.Jdk12Interceptor" />
> >
> >
> > When trying to start Tomcat I get the following message:
> >
> > E:\jakarta-tomcat-3.2.2\bin>tomcat run
> > Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.
> >
> > Using CLASSPATH:
> >
>E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jaka
> >r ta-tomc
> >
>at-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tom
> >c at-3.2.2\lib\parser.jar;
> >
>E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserv
> >e r.jar
> >
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /examples )
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /admin )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( )
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
> > Exception in thread "main" java.lang.ExceptionInInitializerError:
> > java.util.MissingResourceException
> >
> > : Can't find bundle for base name javax.servlet.http.LocalStrings,
> >
> > locale en_US
> > at
java.util.ResourceBundle.throwMissingResourceException(Unknown
> > Source)
> > at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> > at java.util.ResourceBundle.getBundle(Unknown Source)
> > at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Unknown Source)
> > at
> >
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> > at
> > org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> > at
> >
>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
> >p Interceptor.j
> > ava:130)
> > at
> >
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
> > at
> > org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
> > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
> > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> > E:\jakarta-tomcat-3.2.2\bin>
> >
> > If I use "Tomcat Start" or just the "Start.bat" I get a second window
that
> > opens and disappears rather quickly before I can see what's going on.
Can
> > anyone help? Also, can anyone suggest any books on Tomcat?
> >
> > Regards,
> > LeRoi
--
* Jim Cheesman *
Trabajo:
jchees@msl.es - (34)(91) 724 9200 x 2360
Evil is
not all bad.
RE: FW: newbie: Starting Tomcat
Posted by Jim Cheesman <jc...@msl.es>.
At 12:28 PM 15/06/01, you wrote:
>Firstly, a big thanx for the help so far. I have felt so helpless for the
>last couple of days just trying to get Tomcat working.
>
>Jean-Etienne: I have tried the suggestion of including "jnet.jar" in my
>classpath, however, it appears that I don't even have that file in my
>"Tomcat" or "Java" directories.
>
>Dimitri: I deleted the test directory and reran "tomcat run" with no
>success. I get the same error message and the test directory is recreated.
>I have located several "LocalSTrings_en.properties" files in the following
>directories:
>
>E:\jakarta-tomcat-3.2.2\src\org\apache\tomcat\ resources
>E:\jakarta-tomcat-3.2.2\\webapps\examples\WEB-INF\classes
>
>Should I move or copy this file somewhere else as well?
You could try copying the files to the webapps\test\WEB-INF\classes
directory and see if that helps - I'm guessing that the test directory is
being recreated from the test.war file you have in the webapps directory -
you could also try deleting test.war and the test directory.
(And don't worry - I'm sure most of us went through the same thing setting
tomcat up the first time: I certainly did ;)
HTH,
JimC
>Cheers,
>LeRoi
>
>-----Original Message-----
>From: Dmitri Colebatch [mailto:dim@nuix.com.au]
>Sent: 15 June 2001 10:29
>To: tomcat-user@jakarta.apache.org
>Subject: Re: FW: newbie: Starting Tomcat
>
>The problem here is with the test context, not the server itself. Have you
>possibly removed some files from the %TOMCAT_HOME%\webapps\test directory?
>If not, try removing the entire webapps\test directory and restarting.
>
>What is happening is that when the test context is being initialized a
>servlet is being loaded on startup that is looking for a resource bundle and
>failing (for some reason). This bindle is from memory in the
>test\WEB-INF\classes directory, and by the looks of the exception should be
>a
>file named "en_US" or something (I think there is a "LocalStrings_en" file
>there???).
>
>hope this helps.
>
>cheesr
>dim
>
>On Fri, 15 Jun 2001 19:11, you wrote:
> > Hello,
> >
> > I'm new to java and was coming to grips with it until I got to the
> > chapter on SERVLETS. I hope some one out there can help me and I
> > would like to thank you in advance.
> >
> > I downloaded and installed Tomcat 3.2.2 under NT 4.0 (SP 6) without
> > any problems. I also have JDK 1.3 on the machine. Following one
> > posting on "Google" I added the line to the server.xml file:
> > <RequestInterceptor
> > className="org.apache.tomcat.request.Jdk12Interceptor" />
> >
> >
> > When trying to start Tomcat I get the following message:
> >
> > E:\jakarta-tomcat-3.2.2\bin>tomcat run
> > Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.
> >
> > Using CLASSPATH:
> >
>E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jaka
> >r ta-tomc
> >
>at-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tom
> >c at-3.2.2\lib\parser.jar;
> >
>E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserv
> >e r.jar
> >
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /examples )
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /admin )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( )
> > 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
> > Exception in thread "main" java.lang.ExceptionInInitializerError:
> > java.util.MissingResourceException
> >
> > : Can't find bundle for base name javax.servlet.http.LocalStrings,
> >
> > locale en_US
> > at java.util.ResourceBundle.throwMissingResourceException(Unknown
> > Source)
> > at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> > at java.util.ResourceBundle.getBundle(Unknown Source)
> > at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
> > at java.lang.Class.newInstance0(Native Method)
> > at java.lang.Class.newInstance(Unknown Source)
> > at
> > org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> > at
> > org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> > at
> >
>org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
> >p Interceptor.j
> > ava:130)
> > at
> > org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
> > at
> > org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
> > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
> > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> > E:\jakarta-tomcat-3.2.2\bin>
> >
> > If I use "Tomcat Start" or just the "Start.bat" I get a second window that
> > opens and disappears rather quickly before I can see what's going on. Can
> > anyone help? Also, can anyone suggest any books on Tomcat?
> >
> > Regards,
> > LeRoi
--
* Jim Cheesman *
Trabajo:
jchees@msl.es - (34)(91) 724 9200 x 2360
Evil is
not all bad.
RE: FW: newbie: Starting Tomcat
Posted by LeRoi <le...@blueyonder.co.uk>.
Firstly, a big thanx for the help so far. I have felt so helpless for the
last couple of days just trying to get Tomcat working.
Jean-Etienne: I have tried the suggestion of including "jnet.jar" in my
classpath, however, it appears that I don't even have that file in my
"Tomcat" or "Java" directories.
Dimitri: I deleted the test directory and reran "tomcat run" with no
success. I get the same error message and the test directory is recreated.
I have located several "LocalSTrings_en.properties" files in the following
directories:
E:\jakarta-tomcat-3.2.2\src\org\apache\tomcat\ resources
E:\jakarta-tomcat-3.2.2\\webapps\examples\WEB-INF\classes
Should I move or copy this file somewhere else as well?
Cheers,
LeRoi
-----Original Message-----
From: Dmitri Colebatch [mailto:dim@nuix.com.au]
Sent: 15 June 2001 10:29
To: tomcat-user@jakarta.apache.org
Subject: Re: FW: newbie: Starting Tomcat
The problem here is with the test context, not the server itself. Have you
possibly removed some files from the %TOMCAT_HOME%\webapps\test directory?
If not, try removing the entire webapps\test directory and restarting.
What is happening is that when the test context is being initialized a
servlet is being loaded on startup that is looking for a resource bundle and
failing (for some reason). This bindle is from memory in the
test\WEB-INF\classes directory, and by the looks of the exception should be
a
file named "en_US" or something (I think there is a "LocalStrings_en" file
there???).
hope this helps.
cheesr
dim
On Fri, 15 Jun 2001 19:11, you wrote:
> Hello,
>
> I'm new to java and was coming to grips with it until I got to the
> chapter on SERVLETS. I hope some one out there can help me and I
> would like to thank you in advance.
>
> I downloaded and installed Tomcat 3.2.2 under NT 4.0 (SP 6) without
> any problems. I also have JDK 1.3 on the machine. Following one
> posting on "Google" I added the line to the server.xml file:
> <RequestInterceptor
> className="org.apache.tomcat.request.Jdk12Interceptor" />
>
>
> When trying to start Tomcat I get the following message:
>
> E:\jakarta-tomcat-3.2.2\bin>tomcat run
> Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.
>
> Using CLASSPATH:
>
E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jaka
>r ta-tomc
>
at-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tom
>c at-3.2.2\lib\parser.jar;
>
E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserv
>e r.jar
>
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /examples )
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( )
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
> Exception in thread "main" java.lang.ExceptionInInitializerError:
> java.util.MissingResourceException
>
> : Can't find bundle for base name javax.servlet.http.LocalStrings,
>
> locale en_US
> at java.util.ResourceBundle.throwMissingResourceException(Unknown
> Source)
> at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> at java.util.ResourceBundle.getBundle(Unknown Source)
> at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Unknown Source)
> at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> at
> org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> at
>
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
>p Interceptor.j
> ava:130)
> at
> org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
> at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> E:\jakarta-tomcat-3.2.2\bin>
>
> If I use "Tomcat Start" or just the "Start.bat" I get a second window that
> opens and disappears rather quickly before I can see what's going on. Can
> anyone help? Also, can anyone suggest any books on Tomcat?
>
> Regards,
> LeRoi
Re: FW: newbie: Starting Tomcat
Posted by Dmitri Colebatch <di...@nuix.com.au>.
The problem here is with the test context, not the server itself. Have you
possibly removed some files from the %TOMCAT_HOME%\webapps\test directory?
If not, try removing the entire webapps\test directory and restarting.
What is happening is that when the test context is being initialized a
servlet is being loaded on startup that is looking for a resource bundle and
failing (for some reason). This bindle is from memory in the
test\WEB-INF\classes directory, and by the looks of the exception should be a
file named "en_US" or something (I think there is a "LocalStrings_en" file
there???).
hope this helps.
cheesr
dim
On Fri, 15 Jun 2001 19:11, you wrote:
> Hello,
>
> I'm new to java and was coming to grips with it until I got to the
> chapter on SERVLETS. I hope some one out there can help me and I
> would like to thank you in advance.
>
> I downloaded and installed Tomcat 3.2.2 under NT 4.0 (SP 6) without
> any problems. I also have JDK 1.3 on the machine. Following one
> posting on "Google" I added the line to the server.xml file:
> <RequestInterceptor
> className="org.apache.tomcat.request.Jdk12Interceptor" />
>
>
> When trying to start Tomcat I get the following message:
>
> E:\jakarta-tomcat-3.2.2\bin>tomcat run
> Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.
>
> Using CLASSPATH:
> E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jaka
>r ta-tomc
> at-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tom
>c at-3.2.2\lib\parser.jar;
> E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserv
>e r.jar
>
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /examples )
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( )
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
> Exception in thread "main" java.lang.ExceptionInInitializerError:
> java.util.MissingResourceException
>
> : Can't find bundle for base name javax.servlet.http.LocalStrings,
>
> locale en_US
> at java.util.ResourceBundle.throwMissingResourceException(Unknown
> Source)
> at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> at java.util.ResourceBundle.getBundle(Unknown Source)
> at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Unknown Source)
> at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> at
> org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> at
> org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartu
>p Interceptor.j
> ava:130)
> at
> org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
> at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> E:\jakarta-tomcat-3.2.2\bin>
>
> If I use "Tomcat Start" or just the "Start.bat" I get a second window that
> opens and disappears rather quickly before I can see what's going on. Can
> anyone help? Also, can anyone suggest any books on Tomcat?
>
> Regards,
> LeRoi
Re: newbie: Starting Tomcat
Posted by Luba Powell <lu...@bellatlantic.net>.
Look under logs directory for more messages.
----- Original Message -----
From: "LeRoi" <le...@blueyonder.co.uk>
To: <to...@jakarta.apache.org>
Sent: Friday, June 15, 2001 5:11 AM
Subject: FW: newbie: Starting Tomcat
> Hello,
>
> I'm new to java and was coming to grips with it until I got to the
> chapter on SERVLETS. I hope some one out there can help me and I
> would like to thank you in advance.
>
> I downloaded and installed Tomcat 3.2.2 under NT 4.0 (SP 6) without
> any problems. I also have JDK 1.3 on the machine. Following one
> posting on "Google" I added the line to the server.xml file:
> <RequestInterceptor
> className="org.apache.tomcat.request.Jdk12Interceptor" />
>
>
> When trying to start Tomcat I get the following message:
>
> E:\jakarta-tomcat-3.2.2\bin>tomcat run
> Including all jars in E:\jakarta-tomcat-3.2.2\lib in your CLASSPATH.
>
> Using CLASSPATH:
>
E:\jakarta-tomcat-3.2.2\classes;E:\jakarta-tomcat-3.2.2\lib\ant.jar;E:\jakar
> ta-tomc
>
at-3.2.2\lib\jasper.jar;E:\jakarta-tomcat-3.2.2\lib\jaxp.jar;E:\jakarta-tomc
> at-3.2.2\lib\parser.jar;
>
E:\jakarta-tomcat-3.2.2\lib\servlet.jar;E:\jakarta-tomcat-3.2.2\lib\webserve
> r.jar
>
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /examples )
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( )
> 2001-06-12 04:16:19 - ContextManager: Adding context Ctx( /test )
> Exception in thread "main" java.lang.ExceptionInInitializerError:
> java.util.MissingResourceException
> : Can't find bundle for base name javax.servlet.http.LocalStrings,
> locale en_US
> at java.util.ResourceBundle.throwMissingResourceException(Unknown
> Source)
> at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> at java.util.ResourceBundle.getBundle(Unknown Source)
> at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:144)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Unknown Source)
> at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
> at
> org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
> at
>
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
> Interceptor.j
> ava:130)
> at
> org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
> at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> E:\jakarta-tomcat-3.2.2\bin>
>
> If I use "Tomcat Start" or just the "Start.bat" I get a second window that
> opens and disappears rather quickly before I can see what's going on. Can
> anyone help? Also, can anyone suggest any books on Tomcat?
>
> Regards,
> LeRoi
>