tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LeRoi" <le...@blueyonder.co.uk>
Subject FW: newbie: Starting Tomcat
Date Fri, 15 Jun 2001 09:11:28 GMT
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


Mime
View raw message