Similar content

Loading

Powered by Canoo FindIT.

Add Tomcat server in Eclipse

The Tomcat server provides a host in which to execute source code built in Eclipse.

Procedure

Add Tomcat server

The Tomcat server must be added to Eclipse in order to use it as a host for executing source code.

To add the Tomcat server:

  1. Start Eclipse.
  2. Right-click the Package Explorer tab and select New > Other.

  3. Expand the Server node, select Server and click Next.

  4. Expand Apache, select your Tomcat server version and click Next.

  5. Browse to Tomcat installation directory.

  6. From the JRE list, select your JDK version and click Finish.

Configure Tomcat server

Parameters for the server need to be modified in order to correctly execute Magnolia CMS source code.

To initialize the added Tomcat server:

  1. In the Servers tab, double-click Tomcat Server at localhost.

  2. In Tomcat settings, set the following:
    • Timeouts > Start to 450 seconds.

    • Check Server Options > Serve modules without publishing.

  3. Close the tab and click Yes to save the changes.

Troubleshooting

If the following error occurs, eclipse.ini file needs to be modified.