Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • Servlet and JSP's code will work equally well with Tomcat and Geronimo. So there are no modifications required on this part.
    • In Tomcat you may have configured security realms in server.xml, also a admin, manager roles can be added using tomcat-users.xml file. In geronimo same can be achieved by adding the following tags <security-realm-name>geronimo-admin</security-realm-name> <sec:security> </sec:security> in geronimo-web.xml(geronimo specific deployment descriptor also known as deployment plan). Users and Groups can be added to the default realm by using the Security => Console Realm menu from the Web console menu.

      Tomcat and Apache Derby

      For Tomcat to work with Apache Derby you have to download Apache Derby and configure environment variables like DERBY_INSTALL. You also need to make sure that the following jars are present in the classpath
      • lib/derby.jar
      • lib/derbytools.jar
      • lib/derbynet.jar
      • lib/derbyclient.jar