You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

How to Run the Petclinic sample application without eclipse (in windows)

  1. Set your JAVA_HOME variable
    1. Make sure it is set to a 1.5 JDK (not JRE) java installation directory
    2. for example: C:\Program Files\Java\jdk1.5.0_09
  2. Create a workspace directory
    1. for example: C:\workspace
  3. Using Tortoise SVN checkout of the MIT framework repository into your WORKSPACE
    1. WORKSPACE\tools\apache-tomcat-5.5.23
    2. WORKSPACE\sample\springframework
  4. Build the petclinic war file
    1. WORKSPACE\sample\springframework\samples\petclinic\all.cmd
  5. Startup Tomcat by double clicking on
    1. WORKSPACE\tools\apache-tomcat-5.5.23\bin\startup.bat
    2. Test regular port http://localhost:8080/
    3. Test the SSL port: https://localhost:8443/
      1. Note: You should be prompted to accept the server certificate
      2. The Tomcat manager user name and password are "admin" and "admin"
  • No labels