facebook

Custom deployment stopped working.

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #241054 Reply

    kurobt
    Member

    I’ve been using the “Custom Location” deplpoyment option, so that the necessary files are copied to the webapp location of my Tomcat 5.5 installation. This has been working fine for a small project that has just one index.jsp, and other classes from a dependent project.

    I added another jsp file to the project, and now the deployment doesn’t work.
    The deployment dialog ends with “Successfully deployed.” message but the deployment target directory is empty. Nothing was copied anywhere. (I ran “find” in the entire webapp directory of the target Tomcat installation.)

    Another thing that happened before I encounted this problem was freeze of Eclipse. I had to kill the process. So this may be a cause of this problem.

    (1) Is there a way to “reset” the project state?
    (2) Is there a log file or something that I can take a look to find out why Project Deployments is not copying anything (and still thinks it did its work)?

    Thank you in advance.

    -Kuro
    p.s. I know MyEclipse can run Tomcat directly but another problem was preventing me from doing so. I’ll report that problem separately.

    #241060 Reply

    kurobt
    Member

    I forgot to include my system information. Here it is.
    – System Setup ——————————-
    Operating System and version: Windows XP Pro
    Eclipse version: 3.1
    Eclipse build id: I20050627-1435
    Fresh Eclipse install (y/n): No
    If not, was it upgraded to its current version using the update manager? Don’t remember
    Other installed external plugins: P4, WTP
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 4
    MyEclipse version: 4.0.3 GA
    Eclipse JDK version: 1.5.0 05
    Application Server JDK version: 1.5.0 05
    Are there any exceptions in the Eclipse log file? (Where is it?)

    – Message Body ——————————-

    By the way, does myEclipse use any of wtp components? Is it safe to remove WTP?

    #241082 Reply

    Scott Anderson
    Participant

    Other installed external plugins: P4, WTP

    The issue is likely that you also have WTP installed as there are known incompatibilities at this point.
    We recommend that you install a freshly downloaded version of Eclipse 3.1.1
    and then install MyEclipse 4.0.3 such that it points to the new Eclipse
    installation. Once that’s done you’ll be able to open your current
    workspace and continue development. After you verify that everything is OK,
    you can then delete the install that you’re no longer using.

    #241084 Reply

    kurobt
    Member

    Thanks.
    Before I read your email, I made a new MyEclipse Web project and copied the .jsp files to the new project from the old one. Then everything is working as before. I think some file was in inconsistent state.

    But I would like to do a fresh installation of the Eclipse and MyEclipose to avoid potential conflict. (In fact, I cannot craete a server that satisfies MyEclipse. When I do this, can I recycle the current workspace? Or is workspace poluted, I should make a fresh one as well? In that case, can I just copy source files to the new workspace?

    #241097 Reply

    Scott Anderson
    Participant

    But I would like to do a fresh installation of the Eclipse and MyEclipose to avoid potential conflict.

    That would be the best course of action.

    When I do this, can I recycle the current workspace? Or is workspace poluted, I should make a fresh one as well? In that case, can I just copy source files to the new workspace?

    I’d think you could recycle the current workspace if the projects you created are MyEclipse projects. MyEclipse should always work with our projects. That’s what I’d try first.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Custom deployment stopped working.

You must be logged in to post in the forum log in