Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Stardust/Knowledge Base/Deployment/Tomcat
< Stardust | Knowledge Base | Deployment
Revision as of 00:05, 8 March 2012 by Unnamed Poltroon (Talk) (New page: == Tomcat Deployment Options == *RAD on Tomcat - Stardust can be deployed on Tomcat from inside Eclipse as a dynamic web proje...)
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 <font style="color:black; background-color:Lime;">JAVA_OPTS=-Xms128m</font> -Xmx512m -XX:<font style="color:black; background-color:Lime;">MaxPermSize=128m</font> <font style="color:black; background-color:Lime;">catalina</font>.bat run
Remote Debugging
To enable remote debugging on Tomcat start the server using
set <font style="color:black; background-color:Lime;">JPDA_TRANSPORT=dt_socket</font> set <font style="color:black; background-color:Lime;">JPDA_ADDRESS=</font>8787 set <font style="color:black; background-color:Lime;">JPDA_SUSPEND=y</font> <font style="color:black; background-color:Lime;">catalina</font>.bat <font style="color:black; background-color:Lime;">jpda</font> 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"