MyEclipse: Validation of Web Project takes a long time ksgetting - Oct 23, 2009 - 05:57 PM Post subject: Validation of Web Project takes a long time
Since I upgraded to 7.5, whenever I change my web project's web.xml file, MyEclipse goes through this really long validation process that I have to wait at least 5 minutes for to complete before I can start the server successfully. If I don't wait for validation to complete, the resources, etc. normally deployed to Tomcat are usually missing since it appears that MyEclipse is performing some kind of redeployment as part of that validation process.
Do I need to change my preferences? Why is all this validation necessary? I know that my web project has a fair amount of jsp's, etc.
Below is my install INFO:
*** Date:
Friday, October 23, 2009 11:56:28 AM CDT
** System properties:
OS=WindowsVista
OS version=6.0.0
Java version=1.6.0_13
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\kgetting\AppData\Local\Genuitec\MyEclipse 7.5\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Users\kgetting\AppData\Local\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Users\kgetting\AppData\Local\Genuitec\MyEclipse 7.5\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-clean
-configuration
configuration
-vm
C:\Users\kgetting\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dllsupport-shalini - Oct 26, 2009 - 11:28 AM Post subject: RE: Validation of Web Project takes a long time
ksgetting,
Sorry to hear you are running into this issue.
Two things you can try out:
1) Do you have any other XML Editor plugin in your environment (XMen, XMLBuddy, SolarEclipse)? If yes disable or remove this plugin and verify that the slow validation still exits.
2) Please reverify that you have disable XML validation. Go to Window Preferences > MyEclipse > Editors > XML Editor and verify that XML validation is disabled. Then try this test case again.ksgetting - Oct 26, 2009 - 02:49 PM Post subject: RE: Validation of Web Project takes a long time
1) I don't have any plugins other that what is provided by the MyEclipse install. I assume the other XML Editor plugins you are referring to are not provided as part of your install package.
2) If I try to follow the path above for turning off XML validation for 7.5, I don't see XML validation. I have MyEclipse > Files and Editors > XML and then 8 choices (none are Validation). I see MyEclipse > Validation with an XML Validator. There are Manual, Building, and Settings options. Should I be unchecking both manual and build?support-shalini - Oct 28, 2009 - 04:42 AM Post subject: RE: Validation of Web Project takes a long time
ksgetting,
Can you switch to a new workspace and check if the issue persists?
If you still have the same issue in the new workspace also, please send us your project. You can send a mail to support@myeclipseide.com. Please add ATTN:Shalini in the subject and refer to this post. This will help us replicate the issue internally.
Thank you for your help.ksgetting - Oct 28, 2009 - 01:09 PM Post subject: RE: Validation of Web Project takes a long time
I have one other workspace that I rarely use. I switched to that one and the problem does not occur. Also if I switch back to using MyEclipse 6.6 on my original workspace, the performance issues also go away. Using 7.5 with my primary workspace has serious performance issues and workspace rebuilds seem to happen quite frequently.support-shalini - Oct 29, 2009 - 06:16 AM Post subject: RE: Validation of Web Project takes a long time
ksgetting,
This could be related to the project you are working on. Have you tested the same project in all the workspaces?
Are there any errors in the log file located at workspace dir > .metadata > .log? Can you compare the log entries in different workspaces?ksgetting - Dec 08, 2009 - 03:33 PM Post subject: RE: Validation of Web Project takes a long time
I have upgraded to 8.0. I had recently created a new workspace and added in projects needed. It helped some with validation performance, but am still seeing an issue where validation runs for 3-5 minutes after web projects web.xml file is changed. No errors in the .log file. Is there any way to turn this off?support-shalini - Dec 09, 2009 - 03:59 AM Post subject: RE: Validation of Web Project takes a long time
ksgetting,
Can you verify if Project > Build Automatically is checked?
Can you uncheck that option and verify if that works for you?ksgetting - Dec 09, 2009 - 12:28 PM Post subject: RE: Validation of Web Project takes a long time
Yes I have build automatically. But I need that option turned on for my Java and JSP code. I just want it to stop going through that long validation process after every time I change my web.xml file. The validation did not run like that in MyEclipse 6.x.support-shalini - Dec 11, 2009 - 03:53 AM Post subject: RE: Validation of Web Project takes a long time
ksgetting,
Can you share your project? You can send a mail to support@myeclipseide.com. Please add ATTN:Shalini in the subject and refer to this post. This will help us replicate the issue internally.
Also can you tell us the number of projects in your workspace?ksgetting - Dec 11, 2009 - 03:18 PM Post subject: RE: Validation of Web Project takes a long time
Well my workspace currently has 20 projects and takes up 230 MB of space. I don't think sharing my project is feasible. I work with a lot of customers and do consulting work. So I need to change the web project's web.xml file fairly frequently.support-nipun - Dec 14, 2009 - 10:22 PM Post subject: RE: Validation of Web Project takes a long time
I'll ask the dev team to look into this issue buit at the same time could you please upgrade to the latest version of MyEclipse (ME 8.0 GA) and check if that resolves the problem.ksgetting - Dec 14, 2009 - 10:32 PM Post subject: RE: Validation of Web Project takes a long time
As I mentioned on my Dec 8th posting, I already upgraded to 8.0.support-nipun - Dec 15, 2009 - 12:57 PM Post subject: RE: Validation of Web Project takes a long time
Thank you for pointing that out. I'll add a note to the PR I have filed.schinnny - Jan 05, 2010 - 11:31 PM Post subject:
This sounds like the problem with Javascript Validation. Do you have Javascript capabilites iin your web project? I had similar problems until I removed it...you right click on the web project, select 'MyEclipse', then select 'Remove javascript capabilities'. If you only see 'Add Javascript capabilites', then this won't help you, as you never had it added in the first place.schinnny - Jan 05, 2010 - 11:33 PM Post subject:
I should have mentioned that I had this problem in both 7.5 and 8.0 .... unfortunately because I really want to use the fancy new IE8 debugger, but the pause every time I hit 'save' is horrible.support-joy - Jan 11, 2010 - 10:37 AM Post subject:
schinnny,
Thank you for your pointers. Can you send us a sample project and steps to set it up and also how to reproduce? This will help us narrow down the issue and help the dev team members cut down time to reproduce this issue. I will add this to the existing PR. This is an annoying issue, a sample project from you would be a big help. Please send a sample project to support@myeclipseide.com, refer to this web-link and add ATTN:Joy to the subject. This will ensure quick tracing.ksgetting - Feb 22, 2010 - 02:31 PM Post subject:
Sorry, I never received notification of the last post. I do use Javascript. I don't see either of the two Javascript capabilities options.
I found that if I uncheck the JSP Syntax Validator for Build (Right Click on web project > Properties >MyEclipse > Validation), the problem goes away. Not sure of the side effects yet, since I do use JSPs quite a bit.support-joy - Feb 24, 2010 - 04:27 AM Post subject:
ksgetting,
Good to hear you are all set. Thank you for getting back to us on the fix.
schinnny,
Can you take a look if the above fix works for you?