Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Is there any tutorial about Eclipse?

  1. #1
    Join Date
    Oct 2005
    Posts
    14

    Default Is there any tutorial about Eclipse?

    hi all
    Is there any tutorial about how to develop a Spring apps using eclipse?

    Thanks!

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

  3. #3
    Join Date
    Oct 2005
    Posts
    14

    Default

    Quote Originally Posted by katentim
    I have read this tutorial, but I don't know how to deploy a web apps to a web server as tomcat.

  4. #4
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    I don't know how to deploy a web apps to a web server as tomcat.
    You can drop the WAR file in the ${CATALINA_HOME}/webapps directory. When you start Tomcat, it will expand and deploy automatically. You can also exand the JAR manually - for example to ${CATALINA_HOME}/webapps/myWebApp. When you star Tomcat you should be able to view it at: http://localhost:8080/myWebApp.

    For more info see http://tomcat.apache.org/

  5. #5
    Join Date
    Oct 2005
    Posts
    14

    Default

    It may be difficult to debug.
    So could tomcat be nested in eclipse?

  6. #6
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

  7. #7
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    This article should help too.
    Configuring Eclipse for Remote Debugging

  8. #8
    Join Date
    Oct 2005
    Posts
    14

    Default

    This document is very helpful.
    So thanks for your lots of helps in time.

  9. #9
    Join Date
    Oct 2005
    Posts
    14

    Default

    I have another two questions.
    First, when I build a war file and copy it to CATALINA_HOME/webapps, I must restart tomcat to see the modification?

    Second, when I try to debug app in eclipse, but I get a err: Can't get connect remote server. I don't know why. I use tomcat , debug port 8000. start server using command: catalina jpda start. Is that right?

  10. #10
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    First, when I build a war file and copy it to CATALINA_HOME/webapps, I must restart tomcat to see the modification?
    It should expand it without a restart.

Similar Threads

  1. Replies: 7
    Last Post: Jun 1st, 2006, 12:27 PM
  2. Replies: 0
    Last Post: Jun 21st, 2005, 06:16 PM
  3. eclipse 3.0.2 Spring IDE Problems
    By mkimber1 in forum SpringSource Tool Suite
    Replies: 5
    Last Post: Apr 21st, 2005, 11:01 AM
  4. Eclipse 3.0 compiler settings for Spring build?
    By jbetancourt in forum Architecture
    Replies: 4
    Last Post: Oct 5th, 2004, 03:41 PM
  5. Replies: 5
    Last Post: Sep 14th, 2004, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •