- This topic has 26 replies, 10 voices, and was last updated 18 years, 12 months ago by Greg.
-
AuthorPosts
-
Riyad KallaMemberThat might mess up MyEclipse too right?
Hrrm hard to say, I don’t know that it would cause the workspace-in-use problem BUT it could screw up open file descriptors that are no longer valid… maybe if you refreshed your projects a lot, it would not happen?
MorkParticipantI’m not sure what you mean by refresh?
Do you just mean deploying? Cleaning?
What I do is to count on the EXCELLENT (!!!!) capability of MyEclipse to update the Tomcat Webapps folder when I click save in the IDE. This is such a cool feature (most programmers almost faint when I tell them about this).
So, I don’t often re-deploy the whole project using the depolyment manager.
I did have an error in MyEclipse sayingt a file index.html was no longer found in eclipse/…./WebRoot/.
I redepolyed everything and that error went away.
— M
Riyad KallaMemberI’m not sure what you mean by refresh?
Right click > Refresh 😀
Do you just mean deploying? Cleaning?
No, nothing that drastic.
I did have an error in MyEclipse sayingt a file index.html was no longer found in eclipse/…./WebRoot/.
The more I think about it, the less I think it is the dreamweaver issue.
What JDK version do you run? (and sub version, like 1.4.2_06?), I asked a dev about this and we’ve seen flakiness and lockups in Eclipse with early 1.4.2 releases… 1.4.2_07 was just released yesterday, maybe you can try and upgrade to that.
scarolanMemberJust wanted to post a quick note on the “Workspace in Use” error.
Im using FC3 and have recently installed eclipse. I modified my /etc/profile to set up the correct library paths for java 1.5 (which I also recently installed) and eclipse 3.01 (build 200409161125), tried to fire up eclipse at which point I’d be presented with a “select workspace” dialog. No matter what I selected, I always got an error message – “Workspace in use” and ecllipse shutdown. I went back and checked my /etc/profile and I had;export JAVA_HOME=/usr/local/jdk1.5.0_01/
export PATH=$JAVA_HOME/bin/:$PATHI changed my path to pick up the JRE bin directory (export JAVA_HOME=/usr/local/jdk1.5.0_01/jre) instead on the SDK bin directory and that seemed to do the trick.
Hope this helps someone.
Riyad KallaMemberThis is very strange indeed scarolan and really appreciate you posting that, not necessarily something we would have found during trial and error!
Venkatt GuhesanMemberI’ve seen this error “Workspace in Use” show up when the following situation exists:
– I’ve had an external USB drive and I was using files on that drive as part of my project. I’ve unplugged my USB drive while the MyEclipseIDE was still running. It was not able to save the workspace when I exited MyEclipseIDE. The next time I tried going back in, it failed.Here is how I resolved the issue:
If you goto the directory where your workspace files are you should see a file under “\$WORKSPACE$\.metadata” called “.lock”. If you delete this file and bring back MyEclipseIDE… You shouldn’t see the error anymore.Venkatt
zackpMemberI had this problem too. I’m using eclipse on windows XP with php plugin. I tried all the above. Including deleting the “.lock” file. The only way I managed to fix the “Workspace in Use” error, was to delete the entire .metadata folder and recreate the workspace and rebuild project.
Zack
Scott AndersonParticipantMork,
The issue is likely that Eclipse is just taking a long time to save the workspace, but has chosen not to show you the saving dialog anymore. WHo knows why, but I’ve seen a situation where the Saving dialog completes but hte process doesn’t exit for another 45 seconds or so.
beccaMemberAn appendment to this thread – I had a similar problem on Win 2000, and just spent the last two hours trying to find the solution. Having tried all the above solutons I finally found it by fluke.
To my immense relief, there was an extra space at the end of the project that it was trying to load up, and I am pretty sure that was the problem. It’s working now, but I feel such a twit.
mkgrnwltMemberI had this “Workspace is in use” problem this morning, running Windows XP, Eclipse 3.1. The designated workspace is on a mapped drive, and that drive did not get automatically mapped on startup today, so the workspace was not there at all. When I manually mapped the drive, Eclipse came right up.
“Workspace is in use” seems an odd message for this condition.
— Mike
foriMemberHi, I am getting this same Workspace in Use error when I try to set my workspace to a folder on a mounted linux drive over a newtwork. Do you guys have any sugguestions as to what I can do to fix that>
GregMemberfori,
Are you working on linux or on windows? Do you have write access to this network share?
-
AuthorPosts