Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Unfortunately, right now, starting tomcat in eclipse won't start the ssl server. I'm still working on configuring the server so it will work in eclipse, however, ssl will work if you start tomcat from the command line. The problem has something to do with relative paths. - mmoretti

Here are the steps:

  1. Make sure you've installed the Web Standard Tools (WST) and Java Standard Tools (JST) plugins
    1. TBD doc this
  2. Make sure you have a jdk 1.5 runtime configured in eclipse
    1. Window > Preferences > Java > Installed JREs
    2. Make sure it is a jdk, not a jre or tomcat can't compile jsps
    3. Make sure it is also selected as a jdk execution environment, Installed JREs > Execution Environment
  3. Show the Servers view, Window > Show View > Other > Servers
  4. Check out the preconfigured tomcat from the tools dir in svn
    1. Go to SVN Repositories > framework-dev > tools
    2. Right click apache-tomcat-xxx, check out as
    3. Check it out as a simple "Project"
    4. Edit the file conf/server.xml (this step is required for eclipse only; the ssl server would already work if you started it from the cmd line):
      1. In the ssl part, replace the "conf" part of conf/keystore and conf/truststore with the absolute path of your tomcat conf directory
    5. Once checked out, delete the project but not the contents of it (this is necessary because of some path conflict when starting tomcat)
  5. Add the Tomcat server:
    1. Right click in the Servers window and select New > Server
    2. Apache > Tomcat 5.5, Next
    3. Tomcat Installation Directory - Browse to where you checked out tomcat from svn
    4. JRE - select the 1.5 jdk
    5. Finish

...