Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected capitalisation.

...

  1. I am unable to compile my JSP!
  2. I can't get servlets to work under /servlet/*!
  3. Why is the invoker evil?
  4. How to I get Tomcat's version number?
  5. Tomcat eats 100% of the CPU!
  6. How do I get a customized error page?
  7. Should I use the LE version?
  8. How do I configure Tomcat to NOT to store the sessions during shutdown?
  9. Is there a DTD for server.xml?
  10. How do I change the welcome file? ( I want to show index.jsp instead of index.html)
  11. How do I enable/disable directory listings?
  12. How do I use symbolic links with jars?
  13. How do I change the name of the file in the download Save-As dialog from a servlet? (or jsp)
  14. Is tag pooling broken? It doesn't call release!
  15. How do I disable tag pooling?
  16. Why do I get java.lang.IllegalStateException ?
  17. How do I make a scheduled event on Tomcat?
  18. What is Element "web-app" does not allow "servlet" here?
  19. How do I open a file for reading in my webapp?
  20. Can I run tomcat Tomcat with the JRE, or do I need the full JDK?
  21. Is tomcat Tomcat an EJB server? Can I use EJBs with tomcatTomcat?
  22. Can I access Tomcat's JNDI provider from outside tomcatTomcat?
  23. Who uses tomcat Tomcat in production?
  24. I'm getting java.lang.ThreadDeath exceptions when reloading my webapp.
  25. Help! Even though I run shutdown.sh (or shutdown.bat), Tomcat does not stop!
  26. How do I debug JSP errors in the Admin web application?
  27. What order do webapps start (or How can I change startup order)?
  28. What's the different between a Valve and Filter?
  29. How do I set system properties at startup?

...

javax.servlet.ServletContext.getServerInfo();

Starting with tomcat Tomcat 5.0.28 - there is now a version.sh (or version.bat) program in the bin directory. It will print the version number of tomcat Tomcat to Standard output.

Anchor
Q5
Q5
Tomcat eats 100% of the CPU!

...

Look at the Session manager component and tweak accordingly. One way is to tell tomcat Tomcat to persist sessions to a path which does not exist. (So tomcat Tomcat will not store, or be able to load the sessions)

...

Use ServletContext.getResourceAsStream()

Anchor
Q20
Q20
Can I run tomcat Tomcat with the JRE, or do I need the full JDK?

Tomcat 4 requires the full JDK. Tomcat 5.5 onwards will work with a JRE or a JDK.

Anchor
Q21
Q21
Is tomcat Tomcat an EJB server? Can I use EJBs with tomcatTomcat?

Tomcat is not an EJB server. Tomcat is not a full J2EE server. Tomcat is a Servlet container. Tomcat does support those parts of the J2EE specification that are required for Servlets, such as a subset of JNDI functionality. Furthermore, you can connect to remote J2EE servers, or run tomcat Tomcat embedded inside a full J2EE server.

...

Anchor
Q22
Q22
Can I access Tomcat's JNDI provider from outside tomcatTomcat?

Not at this time.

Anchor
Q23
Q23
Who uses tomcat Tomcat in production?

Numerous organizations across various industries all over the world. A full listing can be found at the Wiki.

...