facebook

Tomcat deploy problems from Maven-based project

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

    Chris.d
    Member

    So I’m trying to work with a web project setup in the Maven directory style by someone else… and it refuses to deploy. I’ve tried several things to solve this problem, though none of the 3 error messages make any sense and nothing works:

    1. I add deployment – and choose the Server: Tomcat 5, but Finish stays greyed-out.
    2. I flip the radio button and can now Finish. (if you click Finish here, go directly to #7)
    3. If I flip it back to Exploded Archive, I get “Undefined exploded archive location” – how do I check that?
    4. I click on Edit server connectors…, and click OK without doing anything – and I get the error message “Select Application server for deployment”, except that it still says Tomcat
    5. I click the select box and again choose Tomcat 5 – the error goes away.
    6. I click Finish.
    7. Tomcat 5 is listed with a warning triangle. The message at the bottom is “Deployment is out of date due to changes in the underlying project contents. …” which of course makes no sense because I just deployed it. No actions remedy this without removing the deployment.

    Now I think it has to be specific to this project since I’ve deployed several apps before to Tomcat 4 and 5. I’ve tried manually copying in a .metadata file, hand editing other files, and making a build.xml to generate a web directory from the embedded directory structure with the same results. Alternatively, creating a brand new MyEclipse web project works perfectly.

    Any hints? Eclipse 3.1.2, MyEclipse 4.1.1 GA.

    Thanks.

    #274644 Reply

    Loyal Water
    Member

    Hi Chris,
    First, I think you should upgrade to MyEclipse 6.0 GA. You are using a pretty old version of MyEclipse. There are load of more feature that have been added that you should check out.

    If you would like to continue working with this version, I suggest you remove your deployments, clean you projects by going to Project > Clean and refresh them. Then try redeploying your project again.

    If that doesnt work, I suggest you switch to a new workspace, create a new project and try deploying that. If that works, you should import your projects from the old workspace and try deploying them again.
    https://www.genuitec.com/forums/topic/troubleshoot-how-to-create-a-clean-workspace/

    #275365 Reply

    paprins
    Member

    I assume you’re using a web project with MyEclipse “Web App Capabilities” … goto “Properties” -> “MyEclipse” -> “Web”.

    My guess is that your “Web Context Root” is empty or default. Change it to a logical context root (e.g. /myapp). Then, redeploy your webapp.

    [ we’re using Eclipse 3.3.0 and MyEclipse 6.0GA … but the symptoms you describe are similar to ours ‘]

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Tomcat deploy problems from Maven-based project

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