OOP-ResearchMake It Simpler by Object Oriented Programming

How to start Apache Tomcat with PolicyLoader (SecurityManager) | How to write tomcat.policy and server.xml | How to start Tomcat by /etc/rc on Linux or Solaris

How to set up Apache Tomcat with SecurityManager and Policy file. server.xml for Tomcat running with PolicyLoader. How to start up Tomcat by /etc/rc script on UNIX (Linux or Solaris) at a boot time. This article is the How To for setting up Tomcat 3.3 in a secure way. It explains about Java SecurityManager in general, and then about how Policy objects are created within Tomcat. After that, it describes the configuration (server.xml and tomcat.policy) required for enabling Tomcat PolicyLoader. If you run Tomcat on Linux or Solaris, /etc/rc script can start Tomcat automaticaly at a boot time. For such a case, this article also describes the way to start Tomcat as the user other than root.


What is Tomcat 3.3?

Tomcat 3.3 is the de facto standard of Servlet 2.2/JSP 1.1 implementation. Based on the enthusiastic efforts by the cool Apache developers, Tomcat 3.3 provides a very sophisticated modular design, which allows the Servlet container to be customized by adding and removing modules that control the processing of Servlet requests. Now, Tomcat 3.3 gets the significance performance improvements. By this state-of-art implementation of Servlet 2.2/JSP 1.1, our Servlet/JSP can offer better web-based or WAP-based services than ever.

This article is the How To for setting up Tomcat 3.3 in a secure way.

To be continued. Please stay tuned!
Caution!
All the APIs for Servlet/JSP introduced by this web site are now included in Bento framework:
  • Simpler than JSTL or Apache Struts
  • MVC framework by HTML
  • Input validation from CGI FORM
  • Easy user authentication
  • Easy localization (L10n)
To download the APIs and source code examples, please visit the web site of Bento framework.


JBuilder 2007


General Information

For Java Development

Java and all Java-based trademarks and logos are trademarks or registered of Sun Microsystems, Inc. in the United States and other countries.


ALL CONTENTS COPYRIGHT 1997-2007, OOP-Research Corporation. All rights reserved.