facebook

Unable to deploy tomcat application

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    rrkulkarni
    Member

    Hello,
    I am working on Tomcat 5.x and MyEclipse 5.5.1 GA.
    I used to be able to hot deploy the web application to the tomcat and was able to debug the application. Now I am not seeing my project in Server Deployments screen. If I click on Add button it does not display New Deployments screen.
    Please Help!

    Thanks
    Ravi

    #271127

    Loyal Water
    Member

    You cant see any project in the Project dropdown on the Projects deployment window or just the one project ? Were you able to see the projects earlier? Try cleaning you workspace using the -clean command line argument to see if that helps.
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.html

    #271132

    rrkulkarni
    Member

    Thanks for the response.

    I have one web project and one java project in my workspace. I am able to see few entries in the drop down ( tomcat5.x. Custom, external etc ) but no project has been listed in the grid that shows project type and location. To the left of grid there is Add button which normally if clicked ask me if I want to deploy exploded version or war version. If I click Add button now it does not do anything. ( I am talking about Server Deployments screen that allows one to manage deployments.

    I tried to start the workspace with -clean option but unfortunately it did not help.

    If you have any more ideas please let me know.

    Thanks
    Ravi

    #271138

    Loyal Water
    Member

    To the left of grid there is Add button which normally if clicked ask me if I want to deploy exploded version or war version. If I click Add button now it does not do anything.

    The Add button is to the right of the grid and NOT to the left and it gets enabled only when you select a project. Are you saying that you can select a project, click the Add button and then the window where you select the server and the deployment type (exploded or packaged) does not show up ?

    This is the project deployment window. You should be able to see your projects here. The New Deployment window that shows up when you click Add should show the servers and NOT the projects.

    Attachments:
    You must be logged in to view attached files.
    #271549

    yuzili
    Member

    I experienced the same problem. When I right-click mouse on the Tomcat 5.x in the Servers window and choose the Manage Deployments item in the pop-up menu, the Server Deployments window, instead Project Deployments window, pops up. This is very confusing. Please advise how to do the project deployment in the MyEclipse 5.5.1 GA. It looks like different from that in the older version.

    #271581

    Loyal Water
    Member

    These are the steps you would have to follow to deploy your project:-

    1. Right click on Tomcat 5.X in the Server Window and select Manage Deployment. This will open up the Server Deployment window.
    2. Click Add to add new projects. This will open the Project Deployment window.
    3. Select the project that you want to deploy in the Project drop down.
    4. Hit Finish.
    5. Hit OK on the Server Deployment window and your all ready to roll.

    #271609

    yuzili
    Member

    When I click the Add button in the Server Deployment window, nothing happens. The Project Deployment window doesn’t show up.

    Then I right-click mouse on my web project, choose MyEclipse–>Add and Remove Project Deployments… in the popup menu, the Project Deployment window shows up. My web project is choosed automatically in the Project drop-down list. I click Add button, the New Deployment window shows up. I choose Tomcat 5.x in the Server drop-down list, something strange happens. If I choose Exploded Archive radio button in the Deploy Type, the button Finish is grey-out, I cannot click it. If I choose Packaged Archive radio button in the Deploy Type, the button Finish is clickable. Actually, I want Exploded Archive for development purpose.

    These 2 problems don’t exist in the version 5.5 M2. I believe they are bugs in 5.5.1 GA. Please publish the patches to fix them ASAP. Thanks.

    #271612

    yuzili
    Member

    I found out the issue finally. My web project was generated in 5.5 M2. When I imported it in my new 5.5.1 GA environment, this problem comes up.

    The temporary solution is to create a fresh new 5.5.1 GA web project, then copy files from the old 5.5 M2 web project to this new project. It can fix this problem temporarily.

    #271629

    Loyal Water
    Member

    Glad to know you got it working.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Unable to deploy tomcat application

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