Stardust/Knowledge Base/Deployment/Tomcat

From Eclipsepedia

Jump to: navigation, search

Contents

Tomcat Deployment Options

  • RAD on Tomcat - Stardust can be deployed on Tomcat from inside Eclipse as a dynamic web project. This setup is also called the rapid application development (RAD) environment. Please see the tutorials in the documentation and this article for details

Other options include to

  • build a WAR file, e. g. using Maven or Ant
  • manually export a Stardust dynamic web project from Eclipse into a WAR file


Tomcat Configuration

Memory Settings

On a standalone server start Tomcat using:

set JAVA_OPTS=-Xms128m -Xmx512m -XX:<font style="color:black; background-color:Lime;">MaxPermSize=128m 
catalina.bat run

Remote Debugging

To enable remote debugging on Tomcat start the server using

JPDA_TRANSPORT=dt_socket
JPDA_ADDRESS=8787
set JPDA_SUSPEND=y 

catalina.bat jpda run


External Links

  • Top Ten Tomcat Configuration Tips - a bit old but still useful collection of Tomcat configuration tips including: "Configuring the Admin Web Application", "Configuring Basic Authentication" and "Restricting Access to Specific Hosts"