facebook

Editing web.xml file results in MyEclipse hanging

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

    ksgetting
    Participant

    Whenever I first try to edit my web project’s web.xml file, my session hangs for a period of time. Sometimes it never finishes and I have to close down MyEclipse. I noticed that while this hang occurs, I see a message in the lower right corner: Spring Tooling

    I don’t use Spring. How do I disable this?

    *** Date:
    Wednesday, April 23, 2014 9:54:08 AM CDT

    *** System properties:
    OS=Windows7
    OS version=6.1.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=1.7.0_45
    Workspace=file:/C:/data/workspace/
    VM Args=-Xmx768m
    -XX:MaxPermSize=320m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -jar
    C:\Users\Owner\AppData\Local\MYECLI~2\plugins/OR8508~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20140613
    Number of users: 2

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 2014
    Build id: 12.0.0-20131202

    Blueprint: N/A

    com.genuitec.myeclipse.database – 12.0.0.me201311281640
    com.genuitec.myeclipse.enterprise.workbench – 12.0.0.me201311281640
    com.genuitec.myeclipse.jsf – 12.0.0.me201311281640
    com.genuitec.myeclipse.maven – 12.0.0.me201311281640
    com.genuitec.myeclipse.tomcat – 12.0.0.me201311281640
    com.genuitec.myeclipse.ws – 12.0.0.me201311281640
    org.eclipse.datatools.connectivity.feature – 1.11.1.me201311281640
    org.eclipse.datatools.enablement.feature – 1.11.1.me201311281640
    org.eclipse.datatools.modelbase.feature – 1.11.1.v201306041610-7707GCcNBHLDaKTEcRi
    org.eclipse.datatools.sqldevtools.feature – 1.11.1.me201311281640
    org.eclipse.emf – 2.9.1.v20130902-0605
    org.eclipse.gef – 3.9.1.201308190730
    org.eclipse.graphiti.feature – 0.10.1.v20130918-0838
    org.eclipse.jst.common.fproj.enablement.jdt – 3.4.0.me201311281640
    org.eclipse.jst.enterprise_ui.feature – 3.5.0.me201311281640
    org.eclipse.jst.server_adapters.ext.feature – 3.3.103.me201311281640
    org.eclipse.jst.server_adapters.feature – 3.2.201.me201311281640
    org.eclipse.jst.server_ui.feature – 3.4.1.me201311281640
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201311281640
    org.eclipse.m2e.feature – 1.4.0.me201311281640
    org.eclipse.sapphire.platform – 0.6.6.201310081535
    org.eclipse.wst.common.fproj – 3.4.0.me201311281640
    org.eclipse.wst.server_adapters.feature – 3.2.300.me201311281640
    org.eclipse.xsd – 2.9.1.v20130902-0605

    org.eclipse.cvs – 1.4.0.v20130911-1000
    org.eclipse.draw2d – 3.9.1.201308190730
    org.eclipse.e4.rcp – 1.2.1.v20130910-2014
    org.eclipse.egit – 3.1.0.201310021548-r
    org.eclipse.epp.mpc – 1.2.1.I20130917-2019
    org.eclipse.equinox.p2.core.feature – 1.2.1.v20130827-1605
    org.eclipse.equinox.p2.discovery.feature – 1.0.100.v20130502-0334
    org.eclipse.equinox.p2.extras.feature – 1.2.0.v20130827-1605
    org.eclipse.equinox.p2.rcp.feature – 1.2.0.v20130828-0031
    org.eclipse.equinox.p2.user.ui – 2.2.0.v20130828-0031
    org.eclipse.help – 2.0.1.v20130911-1000
    org.eclipse.jdt – 3.9.1.v20130911-1000
    org.eclipse.jgit – 3.1.0.201310021548-r
    org.eclipse.jsf.feature – 3.7.0.me201311281640
    org.eclipse.mylyn.bugzilla_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons – 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons.identity – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.notifications – 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.repositories – 1.1.1.v20130917-0100
    org.eclipse.mylyn.context_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.discovery – 3.9.1.v20130917-0100
    org.eclipse.mylyn.ide_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn.monitor – 3.9.1.v20130917-0100
    org.eclipse.mylyn.tasks.ide – 3.9.1.v20130917-0100
    org.eclipse.mylyn.team_feature – 3.9.1.v20130917-0100
    org.eclipse.mylyn_feature – 3.9.1.v20130917-0100
    org.eclipse.pde – 3.9.1.v20130911-1000
    org.eclipse.platform – 4.3.1.v20130911-1000
    org.eclipse.rcp – 4.3.1.v20130911-1000
    org.eclipse.team.svn – 1.1.3.I20140206-1700
    org.eclipse.team.svn.mylyn – 1.1.2.I20131116-1700
    org.eclipse.team.svn.nl1 – 1.1.0.I20130619-1700
    org.eclipse.team.svn.resource.ignore.rules.jdt – 1.1.0.I20130619-1700
    org.eclipse.team.svn.revision.graph – 1.1.0.I20130619-1700
    org.polarion.eclipse.team.svn.connector – 3.0.5.I20140122-1700
    org.polarion.eclipse.team.svn.connector.svnkit16 – 3.0.5.I20140122-1700
    org.sonatype.m2e.mavenarchiver.feature – 0.15.0.201207090125-signed-20130612210623

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86_64
    -showsplash
    -launcher
    C:\Users\Owner\AppData\Local\MyEclipse Professional 2014\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Users\Owner\AppData\Local\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Users\Owner\AppData\Local\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -exitdata
    116c_5c
    -install
    C:\Users\Owner\AppData\Local\MyEclipse Professional 2014
    -vm
    C:\Users\Owner\AppData\Local\MyEclipse Professional 2014\binary/com.sun.java.jdk7.win32.x86_64_1.7.0.u45/bin/javaw.exe

    #348982 Reply

    ksgetting,

    Sorry that you are seeing this issue.

    Can you please answer some more queries to help us investigate further :
    1) Can you please try increasing the -Xmx value in the myeclipse.ini file to a higher value and see if it fixes the issue? . The myeclipse.ini file can be found in the same folder as your MyEclipse executable.

    -vmargs
    -Xmx768m
    -XX:MaxPermSize=384m

    -Xmx can be increased higher than 768 as per the memory requirement for your workspace.
    2) Is the issue replicated for all the projects in a workspace ? Is the project imported or is it created in MyEclipse 2014 ? Can you please create a new web project in the workspace that exhibits the issue, try editing the web.xml file and check if you can replicate the issue ?
    3) If the issue is seen in all the projects in a workspace then can you please switch to a new workspace create a webproject in the new workspace, try editing the web.xml file and check if you can replicate the issue ?
    4) Can you please clarify whether the issue is seen for all the .xml files in the workspace or just the web.xml file ?
    5) Is the issue seen while editing the web.xml file or while opening the web.xml file ? Please attach the screenshot of the progress view that shows ‘Spring tooling’.
    6) Is the web.xml file too large ? If possible please attach the web.xml file that exhibits the issue ?
    7) Attach the .log file located at <Workspace dir>/.metadata/.log file if there are any relevant errors in it.

    #348987 Reply

    ksgetting
    Participant

    I tried doubling the Xmx value and restarted MyEclipse. No change,

    Only the web project has the issue (only 1 web project). The problem only occurs with the web project’s web.xml. The first time web.xml is opened it takes ~1 minute to open. I can then close the file and reopen it and it opens immediately. No other xml file has any delay in opening. The xml file is not large. It is the same size as the other xml files that open without issues. This delay also occurred on my previous (older) workspaces using MyEclipse 10.

    The problem occurs when you try to open the file.

    No messages show in the logs from opening the file.

    #349002 Reply

    ksgetting,

    Sorry that you are seeing this issue.

    The web.xml editor is using Sapphire and a lot of java classes needs to be loaded which is causing the delay while opening the file for the first time. We have a filed a bug report for the dev team to investigate speeding it up.

    web.xml file is opened by default in ‘MyEclipse web application deployment descriptor editor’ and if you doesn’t need the facilities provided by this editor, you can use the MyEclipse XML editor by right clicking on the web.xml file and select Open With > MyEclipse XML editor.

    To open the *.xml file in MyEclipse XML editor by default, open Window > Preferences > General > Editors > File associations > Select *.xml under File types > Select ‘MyEclipse XML editor’ under the Associated editors section and click Default > Click Ok.

    Hope this helps.

    #349005 Reply

    ksgetting
    Participant

    Thanks. I do not need a special editor for xml files and will change the default.

    #349007 Reply

    ksgetting,

    Do let us know if you find any issues or have any questions on MyEclipse.

    #350036 Reply

    support-tony
    Keymaster

    ksgetting,

    This problem has been fixed in our 2015 CI 1 release. For details of this release, please see this announcement.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Editing web.xml file results in MyEclipse hanging

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