RAD project build issue: The project was not built due to "Could not delete - eclipse

I am using RAD 7.5 on a Windows XP m/c. Whenever I try to do a clean up/build the project, I get a message saying
The project was not built due to "Could not delete 'D:\Documents and Settings\User\My Documents\project\exe\EXE\WebContent\WEB-INF\classes\BusinessRules.properties'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent
To overcome this problem, I need to stop the server, manually delete this file & then build & restart the server. Any idea why I am facing this issue?

I've experienced the issue in RAD 8.0, but not nearly as consistently as you. A second build attempt nearly always resolves the problem for me.
Although there are a number of references to this issue on the Eclipse bug tracking site, none of the bugs I've read have a definitive answer on the cause. There is some speculation that it may be due to a file handle leak. The problem appears to have begun around Eclipse version 3.6.1. I'm not sure exactly which Eclipse version RAD 7.5 is based on, but I believe it is 3.6.1 or later.
Does the issue only occur when the application is deployed and the server is running? I was wondering if you'd gotten the same results with the server shut down.
Unfortunately, the only concrete suggestions I can offer are to try refreshing the project frequently, and perhaps creating a new workspace -- its a bit of a hack, but a creating a fresh workspace has fixed a few really odd RAD issues I've encountered.
Here are a couple of the bug reports from the Eclipse bug tracking site:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309235
https://bugs.eclipse.org/bugs/show_bug.cgi?id=332607

Related

Problems importing SAP Commerce 2105 into Eclipse

I have successfully upgraded my localhost copy of SAP Commerce 2005 to 2105, and I'm now in the process of importing the 2105 platform into my Eclipse IDE. This import process runs for a long time and eventually errors out with the following error:
java.lang.OutOfMemoryError: Java heap space
I've tried increasing heap size for Eclipse multiple times, but I still end up running out of memory. I'm using the Hybris/Eclipse plugin to do this.
It appears that the smartedit module has significantly increased in size and seems to be the culprit in getting the platform to load.
I've read that it's not possible to load the 2105 platform into Eclipse with the smartedit projects included, and I've also read that upgrading the version of the Hybris/Eclipse plugin does not help either.
What is everyone else doing to solve this problem? I've tried several times loading individual projects, making sure to exclude any project with the name 'smartedit' in it, but it still runs for a long time and then exits with the out of memory error.
Without stacktrace hard to say what is going on your PC. MAYBE that issue is same to already raised on github.com on plugin repository.
https://github.com/SAP/hybris-commerce-eclipse-plugin/issues/99
I have tested that and closed. There is solution proposed to that particular case. Maybe will work out with yours

where can I report/get response on eclipse crashes caused by 14.02-14.04 upgrade?

Yes, I know. I got no rep on this site. But I have to ask this.
I upgraded my laptop, my main dev machine, from 14.02 LTS to 14.04 LTS and the plugins I use with eclipse (3.7) completely broke. I use WOLips (https://github.com/wocommunity/wolips) with eclipse. WOLips is for working with WebObjects applications.
I was getting two crashes. One would occur when editing a java file, when auto-suggest kicked in. I fixed this by adding "-Dorg.eclipse.swt.browser.DefaultType=mozilla" to the end of my eclipse.ini. I have no idea how I found that. It took a lot of random searching.
Now, I get an exception whenever I open a WOComponent:
Unhandled event loop exception
No more handles [Could not detect registered XULRunner to use]
Trying to define a XULRunnerPath just gives me even stranger errors.
I can file a bug with eclipse (which I did). I tried eclipse 4.2 and 4.4 and got other complicated integration issues. I can file a bug with mozilla (though I was not aware that they were involved). I can install a copy of xulrunner (outside of my copy of Firefox) and point to that (which I did). I can file a bug with ubuntu launchpad (which I did). None of these get you very much response.
So, I was going from one LTS to another LTS. 14.04 - 14.02 = 0.02. Not a huge deal, yes? Should I have expected problems? How can I file a bug with the people involved in just this upgrade and not the other twelve systems that this touches upon?
I had Apple laptops for a long time. I do not expect that amount of hand-holding. But I do wish someone would throw me a bone.
I can get work done if I go buy another hard disk, install 12.04 onto it and copy all of my data back. Is this really necessary? You know, I am willing to help integration testing of these releases. But the systems for finding the right place to put my oar in the water seem fairly impenetrable. Any suggestions? I do not mind working for a solution. If there is a solution.
Ray,
Did you try Eclipse 4.4 and use the instructions on the wiki for compiling the new WOLips? the Eclipse 4.4 is acting just fine for me (but I'm on a Mac sorry :( )

Unable to validate Weblogic domain" - Oracle Enterprise Pack

I have been facing the "Unable to validate Weblogic domain" issue from OEPE for last 2 days. I have tried
(a) downloading and installing different versions of OEPE ;
(b) Using Eclipse and Oracle Weblogic separately ; outside of OEPE etc
It used to work previously and then one day last week, my system shut down unexpectedly and since then I am not able to get Eclipse (irrespective of version) and Weblogic to work together.
I have moved on to using Jboss for the time being. But since my production environment is Weblogic and I would like to use Weblogic for development purposes as well, I am trying to get this issue resolved.
I did search the Oracle and other communities and somebody mentioned its because of difference in java version and to add
-Dsun.lang.ClassLoader.allowArraySyntax=true
in eclipse.ini. My eclipse.ini already has this statement and I still face the issue.Please help.
Iam not the person who answers this question. But the comment above is the answer for this question and it worked for me too. Below is the solution.
I finally got the resolution for this issue. Actually the full credit goes to my colleague, who resolved this bugging bug. Since it drove me crazy, decided that I would spare others from the same experience First of all, there were no errors in any of the logs. Server was starting up but Eclipse did not recognize it as such. And here is the resolution : Go to Window Tab -> Preferences -> General -> Network Connections Change the Active provider to "Direct". The default is usually Native. and that's it. Close and restart eclipse.
It happened to me as well, I even reinstalled weblogic again, after a bit of research I decided to kill the Java(TM) Platform SE Binary process via Task Manager and restarted the Server.
That's all It took to resolve the issue.

netbeans plugin update constantly freezes at 50%

I've been trying to update my netbeans plugins ever since 7.0.1, but I've never been able to get beyond half of the installation bar. It just freezes at around 50% each time. After I close the IDE, it will attempt to update but fail. I've updated to 7.1 but the issue still persists even for the initial Junit plugin installation after a fresh installation of 7.1.
I've attached a screenshot. Does anybody know what is the issue here?
I read in the Definitive Guide to NB Platform 7.1 that you have to install NetBeans (well because of the JUnit) into the folder, where it has write rights. Which is not the Progam Files in Windows 7.
So try to install it for example into C:\Programs or something like that. You can install new version (7.1.1) even without uninstalling the older one and then let the NB get your previous settings (it will ask).
You can try temporarily disabling your firewall and/or antivirus. I got the same problem, and disabling AVG Internet Security everything worked fine. Hope it helps!
I think that problem is in network. So try to change network you are on. I am using university network that has many policies and only JUnit plugin installation stucks. Went to local wireles public network and JUnit plugin was installed successfully.

Show-stopper Eclipse Helios install problems under OSX (10.6) 64bit

I thought I'd give Helios a try, so I grabbed the latest Java EE install from http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr. Note, both OSX 32bit and 64bit exhibit the same symptoms.
So from a fresh install I run Helios (it launches fine), then the problem comes when I try running an upgrade. I keep getting these two errors errors:
Artifact not found: http://download.eclipse.org/releases/helios/compositeContent.jar.
http://download.eclipse.org/releases/helios/compositeContent.jar
No repository found at http://download.eclipse.org/releases/helios.
These are my (default) update sites:
Helios http://download.eclipse.org/releases/helios Enabled
Mylyn for Eclipse Helios http://download.eclipse.org/tools/mylyn/update/helios Enabled
The Eclipse Project Updates http://download.eclipse.org/eclipse/updates/3.6 Enabled
The Eclipse Web Tools Platform (WTP) software repository http://download.eclipse.org/webtools/repository/helios Enabled
http://download.eclipse.org/tools/mylyn/update/e3.4 Disabled
http://download.eclipse.org/tools/mylyn/update/extras Disabled
Note, I'm not behind any firewalls/proxies etc, no nothing weird with network connectivity.
I've searched all over the place and there are others with the same problem, with no solution that I could find.
Has anyone else run into these issues?
UPDATE 1:
Notes:
I'm not behind a proxy.
I've tried the Java EE, but also bare bones Eclipse 3.6.1.
I've tried different mirrors (including the main site),
I've tried SpingSource's version.
I've tried exporting the update sites to XML, deleting them and reimporting them.
I even tried adding forward slashes to the ends of site names.
I've made sure I have full write permissions for the eclipse folder, and have even placed it on my desktop.
I mention all of these seemingly odd behaviours because these are suggestions I've read around the web on this problem, which many people are having.
Once last interesting point I've just tried, is to download the "http://download.eclipse.org/releases/helios/compositeContent.jar" directly in the browser. It redirects to "http://www.gtlib.gatech.edu/pub/eclipse/releases/helios/compositeContent.jar" with a 403 forbidden. :\ It seems as though system is finding a mirror, but perhaps the mirror is broken? Also note, I'm in Australia, so Georgia Tech is nowhere near me ;)
Just as I was writing this, I tried one last idea. I discovered "Pulse" by Genuitec, which is a Eclipse install manager. I gave it a shot, and it worked. The site it uses for updates is:
"[url=http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/helios] http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirr or/releases/helios[/url]"
So, I've wasted enough time on this now. I'd create a bug in Eclipse Bugzilla, but there are already entries with no solution.
UPDATE 2:
Ok, from a fresh install, if I disable:
http://download.eclipse.org/releases/helios/
and add Pulse's update site:
http://eclipse.poweredbypulse.com/downloads/aux/eclipse-mirror/releases/helios/
I don't get any errors. I really think it's to do with the automatic mirrored update site. Is this possible?
Here is a screenshot of my update sites now:
Regards,
Shane
Ok, I had the same issue on Windows XP 64bits laptop an Fresh Helios 64bits download, however your workaround works for me.
See update 2 in the question.
Shane