facebook

MyEclipse 2015 CI Issue of server configuration/deployment

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #352704 Reply

    Lewis
    Participant

    Hi there,
    Yesterday I upgraded ME from 2014 to 2015 and it seems that there have been some noticeable changes on server configurations. After I migrated the project to ME 2015 ide, it automatically generated a Servers directory under the project with some server config files inside, in addition to a “me-webapps” directory under the Tomcat installation directory, with the project deployed in “me-webapps”. In fact I don’t expect the ME to take control of server configuration, so I hope to remove the Servers config port. In addition, once the code is updated it will be simultaneously deployed under “me-webapps” directory, which is not recognized by Tomcat. It indeed brings some inconvenience since I need to copy all files in “me-webapps” to “webapps” manually every time before launch Tomcat independently. I still feel more used to the way it works previously, and try to figure out how to reduce the control of ME over the servers. At last your help will be appreciated!
    Environment:
    MyEclipse 2015 CI
    Windows 7 Sp1

    #352707 Reply

    lewisse,

    Thanks for upgrading to our latest release, MyEclipse 2015 CI.

    With MyEclipse 2015 CI, the server connectors are updated to the Web Tools server framework which now offer additional control & configurability, something that will only get better as we march toward our GA release.

    After I migrated the project to ME 2015 ide, it automatically generated a Servers directory under the project with some server config files inside, in addition to a “me-webapps” directory under the Tomcat installation directory, with the project deployed in “me-webapps”

    I’m afraid MyEclispe 2015 CI doesn’t automatically generate a Servers directory under project. Can you please attach the screenshots which could help us get a visual ? Also, please mention the exact steps you followed after importing the project into MyEclipse 2015 workspace ?

    Regarding the deploy directory ‘me-webapps’, you could change the deploy location in the Tomcat 7.0 Overview page (Double click on the Tomcat 7.x server in the servers view > Change the Deploy path under ‘Server Locations’ section).

    If you don’t want MyEclipse to take control of tomcat installation, you need to either select ‘Use Custom Location’ or ‘Use Workspace metadata’ options under ‘Server Locations’ section from the Tomcat 7.0 Overview page (Double click on Tomcat 7.x server in servers view to see the overview page). If the Server locations and the Deploy path options are disabled, then please remove the projects that are deployed under Tomcat and then perform a Clean(redeploy) on the Tomcat server.

    If you are still facing any issues, please copy paste your MyEclipse Build Id from Help > About MyEclipse Enterprise Workbench. Also, please share the exact steps you followed and the screenshots, so that we could investigate further.

    #352729 Reply

    Lewis
    Participant

    Pradeep,
    Thank you for the prompt response.
    @support-pradeep wrote:

    After I migrated the project to ME 2015 ide, it automatically generated a Servers directory under the project with some server config files inside

    I’m afraid MyEclispe 2015 CI doesn’t automatically generate a Servers directory under project.

    Sorry the “under the project” was incorrect, I was referring to the Workspace.
    @support-pradeep wrote:

    If you don’t want MyEclipse to take control of tomcat installation, you need to either select ‘Use Custom Location’ or ‘Use Workspace metadata’ options under ‘Server Locations’ section from the Tomcat 7.0 Overview page (Double click on Tomcat 7.x server in servers view to see the overview page). If the Server locations and the Deploy path options are disabled, then please remove the projects that are deployed under Tomcat and then perform a Clean(redeploy) on the Tomcat server.

    As mentioned, the server locations and the Deploy path options are disabled. I followed the steps: Remove the projects that are deployed under Tomcat and then perform a Clean(redeploy) on the Tomcat server, it does not work and the options are still disabled.

    #352741 Reply

    lewisse,

    Regarding Servers folder, please take a look at this document for more information on WTP framework which was used in MyEclipse 2015 CI.

    Regarding Server location and Deploy path, I couldn’t replicate the issue at my end. After removing all the projects that were deployed under Tomcat and then performing clean(redeploy) on the server has enabled the server locations option in the Tomcat Overview page. Alternatively, can you try the below steps and see if it works :
    > Right click on my tomcat server in “Servers” view, select “Properties…”
    > In the “General” panel, click on the “Switch Location” button
    > The “Location: [workspace metadata]” bit should have been replaced by something else.
    > Open (or close and reopen) the Tomcat Overview page and see if the server location and deploy path are enabled.

    If you are still seeing issues, Can you switch to a clean new workspace, configure the new Tomcat server and see if those options are enabled ? Can you please share your MyEclipse Build Id from Help > About MyEclipse Enterprise Workbench. Also please mention which version of Tomcat server you are working on ?

    #352779 Reply

    Lewis
    Participant

    @support-pradeep wrote:


    Regarding Server location and Deploy path, I couldn’t replicate the issue at my end. After removing all the projects that were deployed under Tomcat and then performing clean(redeploy) on the server has enabled the server locations option in the Tomcat Overview page. Alternatively, can you try the below steps and see if it works :
    > Right click on my tomcat server in “Servers” view, select “Properties…”
    > In the “General” panel, click on the “Switch Location” button
    > The “Location: [workspace metadata]” bit should have been replaced by something else.
    > Open (or close and reopen) the Tomcat Overview page and see if the server location and deploy path are enabled.

    If you are still seeing issues, Can you switch to a clean new workspace, configure the new Tomcat server and see if those options are enabled ? Can you please share your MyEclipse Build Id from Help > About MyEclipse Enterprise Workbench. Also please mention which version of Tomcat server you are working on ?

    Hi, I tried the alternative way and the options are not enabled.
    ME info:
    ME Version: 2015 CI
    Build id: 13.0.0-20141111
    Tomcat info:
    Using JRE_HOME: C:\Program Files\Java\jdk1.7.0_40
    Server version: Apache Tomcat/6.0.18
    Server built: Jul 22 2008 02:00:36
    Server number: 6.0.18.0
    OS Name: Windows 7

    #352789 Reply

    lewisse,

    I could see the Server locations and Deploy path options of Tocat 6.0.18.0 enabled in MyEclipse 2015 CI on Windows 7 at my end.

    Can you try publishing the Tomcat server (right click on Tomcat server and click Publish) after removing all the deployed projects and see if those options are enabled ?

    If you are still seeing issues, can you switch to a clean new workspace and see if the problem still exists ?

    Let us know how it works for you.

    #352810 Reply

    Lewis
    Participant

    @support-pradeep wrote:

    lewisse,

    I could see the Server locations and Deploy path options of Tocat 6.0.18.0 enabled in MyEclipse 2015 CI on Windows 7 at my end.

    Can you try publishing the Tomcat server (right click on Tomcat server and click Publish) after removing all the deployed projects and see if those options are enabled ?

    If you are still seeing issues, can you switch to a clean new workspace and see if the problem still exists ?

    Let us know how it works for you.

    Hi pradeep, I followed these steps to enable the options: right click on Tomcat server and click “Add/Remove Deployment…”, move the resource to the left, click Finish. Then click Publish, open Review and the options are enabled. But if close the tab and reopen, the options will be disable again. So do not close the tab until finish editing the server locations. Finally don’t forget to move the resource (project) back to the right panel and publish. Anyway it provides a quick fix to the problem, and there is some room for improvement in the stability. Thank you for the help!

    #352831 Reply

    lewisse,

    Glad that you got it working.

    You can take a look at our updated tutorial for more information on how to deploy and run apps.

    Regarding the disabled options after reopening the server overview page, this is a known issue and our dev team is working on this. We will keep you posted once the fix for the issue is rolled out.

    Let us know if you see any issues in MyEclipse.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: MyEclipse 2015 CI Issue of server configuration/deployment

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