| Author |
Message |
|
|
Post subject: Validation of Web Project takes a long time
Posted: Oct 23, 2009 - 05:57 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
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
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.5
Build id: 7.5-20090609
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 7.5
Build id: 7.5-20090609
Eclipse Plug-in Development Environment
Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
Build id: M20080703-0800
Eclipse Platform
Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
Build id: M20090211-1700
Eclipse Graphical Editing Framework GEF
Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
Build id: 200809101400
Eclipse RCP
Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
Build id: M20090211-1700
Eclipse Java Development Tools
Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
Build id: M20090211-1700
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.dll |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Oct 26, 2009 - 11:28 AM
|
|
Registered Member

Joined: May 18, 2009
Posts: 1532
|
|
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. |
_________________ Shalini
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Oct 26, 2009 - 02:49 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
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? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Oct 28, 2009 - 04:42 AM
|
|
Registered Member

Joined: May 18, 2009
Posts: 1532
|
|
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. |
_________________ Shalini
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Oct 28, 2009 - 01:09 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Oct 29, 2009 - 06:16 AM
|
|
Registered Member

Joined: May 18, 2009
Posts: 1532
|
|
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? |
_________________ Shalini
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 08, 2009 - 03:33 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
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? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 09, 2009 - 03:59 AM
|
|
Registered Member

Joined: May 18, 2009
Posts: 1532
|
|
ksgetting,
Can you verify if Project > Build Automatically is checked?
Can you uncheck that option and verify if that works for you? |
_________________ Shalini
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 09, 2009 - 12:28 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 11, 2009 - 03:53 AM
|
|
Registered Member

Joined: May 18, 2009
Posts: 1532
|
|
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? |
_________________ Shalini
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 11, 2009 - 03:18 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 14, 2009 - 10:22 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
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. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 14, 2009 - 10:32 PM
|
|
Veteran Member


Joined: May 23, 2005
Posts: 65
|
|
As I mentioned on my Dec 8th posting, I already upgraded to 8.0. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Validation of Web Project takes a long time
Posted: Dec 15, 2009 - 12:57 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
Thank you for pointing that out. I'll add a note to the PR I have filed. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 05, 2010 - 11:31 PM
|
|

Joined: Feb 27, 2005
Posts: 9
|
|
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. |
|
|
| |
|
|
|
 |
|
|