Skip to end of metadata
Go to start of metadata

The following steps apply if you want to set up and run a Tomcat server from within Eclipse. If you are using a different version of Eclipse, the steps may be slightly different.

  1. In Eclipse, choose Window -> Open Perspective -> Other.
  2. In the Perspective dialog, select J2EE and click OK.
  3. Click the Servers tab.
  4. Choose File -> New -> Other. The New dialog is displayed.
  5. In the list of wizards, select Server -> Server and click Next.
  6. In the server type list, expand Apache and select your Tomcat server version. Then click Next.
  7. Click Browse and locate the directory where your Tomcat server is installed.
  8. Click Installed JREs.
  9. Click Add. The Add JRE dialog is displayed.
  10. In the list of JRE types, select Standard VM.
  11. Click the Directory button next to JRE home and locate the directory of the JDK where the JAI library was installed.
  12. Enter a name in the JRE name box.
  13. In the Default VM Arguments box, enter the following:
  14. Click Finish. The Add JRE dialog is closed.
  15. In the list of installed JREs, select the JRE you just created. Then click OK.
  16. Click Next.
  17. Click Add All.
  18. Click Finish. The New dialog is closed.
  19. In the Servers tab, double-click the server you just created. The server's Overview tab is displayed.
  20. Expand Timeouts, set Start to 120 and set Stop to 60.
  21. Under Server Locations, make sure Use workspace metadata is selected.
  22. Choose File -> Save.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.