facebook

Myeclipse 2016 CI1 is damned slow whne deploy a project

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #474646 Reply

    afxgroup
    Participant

    Hello,
    i’ve uodated Myeclipse 2016 CI 1 Today and i’m facing a slowness when i try to deploy a progect with a lot of files on tomcat. It seems that when i have the “Enable Live Preview” feature enabled the deoloyment process takes ages..
    I’ve also added the deployment location, the myeclipse folder and the myexlipse.exe process as exclusion to the antivirus.
    Can anyone confirm this?

    #474651 Reply

    Brian Fernandes
    Moderator

    What was your previous version of MyEclipse – were you using MyEclipse 2016 CI 0 or MyEclipse 2015?

    It seems that when i have the “Enable Live Preview” feature enabled the deployment process takes ages..

    I presume this means you know how to turn Live Preview off, and if you do turn it off, you don’t see the deployment speed issues anymore?

    What version of Tomcat are you deploying to, are you deploying to our embedded version of Tomcat? Can you roughly estimate the number of files in your project – are these a lot of (X)HTML / JS files or others?

    Thank you for taking the time to report the problem, if there is a performance issue caused by Live Preview, we’d definitely like to resolve it and your feedback would be invaluable.

    #474704 Reply

    Richard
    Participant

    I can 100% confirm this. I let my deployment run all last weekend and it did not finish. Did not think about the live preview, but turning that off it deploys in a under a minute again!

    When it was slow, it would go quickly through the class files, but as soon as it hit the html directory, it was like throwing a brake on. It would publish each file in about double the time of the previous file. So the first few went out ok, but it just kept going slower and slower.

    #474752 Reply

    afxgroup
    Participant

    Yes, i can confirm that is the “Enable Live Preview”. Try to create a simple project using an HTML theme like Metronic full of js, html, css and so on and try to deploy it on a server with that feature on. You will take almost all year to deploy it 🙂
    Then turn it off and see the difference. If you want i can provide you a project to test this problem

    #474753 Reply

    Brian Fernandes
    Moderator

    Thank you both for confirming the problem – we’re already taking a look; obviously, this is unacceptable.

    afx, I’ll let you know if we need the project, thanks.

    Apologies for the inconvenience caused; we’re working on it.

    #475054 Reply

    Dwight
    Participant

    How do I disable Live Preview?
    Deploy took 15 seconds in ME 2014, now it’s been running 15 minutes in 2016 and still going. “Cancel” in progress window doesn’t work (it’s been a few minutes since I hit the red button, still “publishing…”). Our online help has about 1800 html pages.

    #475061 Reply

    support-swapna
    Moderator

    Dwight,

    To disable Live Preview on the server, you can select the server and toggle the ‘Live Preview’ icon in the Servers toolbar and disable it.

    Alternatively you can right click on the server in the Servers view and select ‘Live Preview’ in the context menu to disable Live Preview.

    Attached is the screenshot for your reference.

    The dev team is working on this issue. We will keep you posted about the fix.

    Sorry for inconvenience caused.

    –Swapna
    MyEclipse Support

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

    support-swapna
    Moderator

    Hi,

    Our latest MyEclipse 2016 CI release, CI 2 has significant performance improvements for Live Preview.
    Please update to MyEclipse 2016 CI 2 from Help > Check for Updates and let us know how it works for you.

    –Swapna
    MyEclipse Support

    #476930 Reply

    afxgroup
    Participant

    Hi,
    that problem is fixed but i have another strange problem.
    I have a tomcat project with a jsp file into WebRoot folder and when i try to deploy the project i get a deploy error.
    If i disable the live preview the project is deployed without any problem. It isn’t a content problem because if i remove all content from the file the problems remains. The only detail i have is:

    
    Could not publish to the server.
    There were issues during deployment to server Tomcat v7.0 Server at localhost. See Error Log for details.
    Deployment failed
    Unable to open generated JSP in L/cloud/WebRoot/scraper.jsp
    Unable to open generated JSP in L/cloud/WebRoot/scraper.jsp
    Unable to open generated JSP in L/cloud/WebRoot/scraper.jsp
    
    #476988 Reply

    support-swapna
    Moderator

    afx,

    Sorry that you are seeing this issue.

    Can you please give us some more details?

    1. Is the project structure for this particular project different from the one which worked with Live Preview enabled? Please elaborate.

    2. Please prepare a sample project which exhibits the issue and share with us to help us replicate the issue at our end.

    3. Also share with us the .log file located at <workspace dir>/.metadata/.log for further investigation. Before sending the file, delete the contents and replicate the issue with deployment.

    –Swapna
    MyEclipse Support

    #476991 Reply

    Brian Fernandes
    Moderator

    Afx,

    We won’t need the sample project immediately – if you could answer #1 and #3 of Swapna’s questions, that would be good enough for now. The log file should contain a full stack trace that would explain in more detail what is going wrong with your deployment.

    Apologies for the inconvenience caused.

    #477084 Reply

    afxgroup
    Participant

    #1 no. is the same project. if i have live preview enabled that file is not published and i receive a publish error while if i disable it i have no error
    #3 Attached

    As you can see at the end of log there is the NPE

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

    support-swapna
    Moderator

    afx,

    Thank you for the log file and details. The dev team is working on it.
    We will keep you posted about the fix.

    –Swapna
    MyEclipse Support

    #489270 Reply

    support-swapna
    Moderator

    Afx,

    We have released an update to MyEclipse 2016 CI, CI 4 recently. With the latest update, to use Live Preview, you will now need to turn on CodeLive per server, and then select the files you want to use CodeLive. The first time you view you web project in a browser, you can select the files that will utilize CodeLive. This change in Live Preview optimizes performance by injecting only the necessary files.

    Here is the updated documentation for Live Preview using CodeLive : https://www.genuitec.com/products/webclipse/learning-center/using-live-preview/

    Please update to MyEclipse 2016 CI 4 and let us know how it works for you. Appreciate your feedback.

    –Swapna
    MyEclipse Support

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Myeclipse 2016 CI1 is damned slow whne deploy a project

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