How to update eclipse, though some repositories cannot be found - eclipse

For some time now, I want to use the update functionality of eclipse. But every time, some (maybe obsolete) repositories cannot be found.
Still I want the other parts to update, but this error just blocks everything.
How can I work around that problem, i.e. modify the list of checked repositories?
Proxy settings are definitely correct, because 'Install new software' works fine.
Error Message:
Some sites could not be found. See the error log for more detail.
HTTP Server 'Service Unavailable': org.apache.maven/content.xml
HttpClient connection error response code 503.
No repository found at maven.apache.org.
No repository found at subclipse.tigris.org/.
No repository found at github.com/cbeust/testng-eclipse.git.
No repository found at download.eclipse.org/mat/1.0/update-site/.
No repository found at download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/updateSite/.
HTTP Server 'Service Unavailable': org.apache.maven.plugins/content.xml
HttpClient connection error response code 503.
No repository found at github.com/cbeust/testng-eclipse.
No repository found at beust.com/eclipse.
Unable to read repository at dev2devclub.bea.com/updates/eclipse-3.3/wls-plugins/content.xml.
The server dev2devclub.bea.com failed to respond
(http:// and https:// removed due to hyperlink restriction)
From the About-dialog:
Version: Helios Service Release 2 /
Build id: 20110301-1815

In the Preferences, type update into the search box at the top. Select Available Update Sites and there you can uncheck or remove the sites you don't want any more.

Related

Can't add SVN repository in Eclipse

I'm trying to add an SVN repository to Eclipse.
I've installed Subclipse, and it seems to be working fine. But, when I try to "add a new SVN repository", I input this:
http://svn.alfresco.com/repos/alfresco-open-mirror
and I get this:
Error validating location: "org.apache.subversion.javahl.ClientException: RA layer request failed svn: unable to connect to a repository at url 'svn..'
svn: OPTIONS of 'http://svn.alfresco.com/repos/alfresco-open-mirror': could not connect to server 'alfresco.com' Keep location anyway?
I've checked it in both browsers(on computer and internal eclipse br) - both works
What is the decision?
Did you configure Subclipse to work with your proxy server? I'm asking because you specify this error in the second comment: svn: E170001: HTTP proxy authorization failed.
To make sure that proxy settings are correct, check the servers file on the CLIENT
machine. The file is located in .subversion directory in the user's home directory on Linux systems and in %APPDATA%\Subversion on Windows systems. Configurable options you are interested in are:
http-proxy-exceptions
http-proxy-host
http-proxy-port
http-proxy-username
If you don't have any proxy server but these options are still configured, then remove them. Otherwise, make sure that these settings are valid. See SVNBook | Runtime Configuration Area.

Connection timeout when getting plugin list or updating Eclipse PDT

I'm working on win 7 and trying to get Zend Eclipse to run properly for a CakePHP project. But when try to access the plugin list via the welcome page I get this error:
A problem occurred while accessing the update site.
RemoteBundleDiscoveryStrategy failed with an error
Unable to read repository at http://downloads.zend.com/studio-eclipse/updates-extra/10_0/pdt_directory.xml.
Connect timed out
I've tried severalt solutions I found on the net but nothing worked. My proxy settings are fine since I can access all sites via the internal browser of eclipse. My guess is, that there is some restriction in the Windows administration that is keeping me from getting the plugin list.
When I try to update Eclipse the update window tries half an hour to contact the software site and after that I get this error message:
Some sites could not be found. See the error log for more detail.
Communication with repository at http://downloads.zend.com/studio-eclipse/updates/10_0 failed.
Connect timed out
Finally!!
The problem was that is were actually two problems. First one was that Eclipse wasn't saving the username and password for the proxy settings. After finally finding the eclipse error log in
"{eclipse-workspace}/.metadata/.log"
(there seems to be no way to view the file in zend-eclipse itself) I found out that Eclipse was trying to save the password-file into the Administrator's user directory but had no access. (Oh what a surprise)
Putting this into the "zend-eclipse-php.ini" worked for me:
-eclipse.keyring C:\eclipse\keyring.txt
After this was done I could finally save username and password for the proxy but still no connection. When I took another look into the error log I found this error:
"!MESSAGE System property http.proxyHost is not set but should be {proxyname}
!MESSAGE System property http.proxyPort is not set but should be {proxyport}"
and 4 more for https and socks. After googling this error I came upon a fixed bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472
where it states that maybe the proxy refuses SOCKS. So I cleared the settings for SOCKS and tried again and IT WORKED! Finally!
Hope this description can anyone else with these problems.

Upgrade bugzilla on local machine (3.4.x to 4.2.x)

I've installed bugzilla Win32InstallPackages
https://wiki.mozilla.org/Bugzilla:Win32InstallPackages
its pretty easy, just download Bugzilla-Setup-3.4.8.exe file, follow steps and keep pressing Next button. It installs everything (Apache, MySql, Perl, Bugzilla) and works perfect. Just start using bugzilla through this url localhost
Now I want to upgrade this with some stable latest release which is 4.4. I am using Bazaar repository to download at my local PC from here http://bzr.mozilla.org/bugzilla/4.4/
Bazaar explorer creates trunk folder inside C:\Bugzilla\trunk and downloaded all source code inside the trunk directory.
When I've copied all the files from trunk folder and replaced with existing files at C:\Bugzilla\ then it doesn't work.
Now I am getting following error message when I am trying to open bugzilla by writing localhost/ into address bar.
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin#example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Could you please help me how to upgrade bugzilla on my local machine ?
There are upgrade instructions that can be followed. Also check your apache logs to find out what the 500 error is really about.

Subclipse and Eclipse - RA layer request failed

I'm following the instructions for installing Ardor3D as an Eclipse Project Set via Subclipse; instructions at:
http://www.ardor3d.com/wiki/svneclipsetutorial
I installed Subclipse from
http://subclipse.tigris.org/
and installed fine. If I go to Eclipse's Preferences and Team|SVN I can see that the SVN Interface Client is JavaHL, and hence installed fine.
However, when I come to checkout the code at:
http://ardorlabs.svn.cvsdude.com/Ardor3Dv1
by selecting New|Other|SVN|Check Projects from SVN I get the following error message:
RA layer request failed
svn: Unable to connect to a repository at URL 'http://ardorlabs.svn.cvsdude.com/Ardor3Dv1'
svn: OPTIONS of 'http://ardorlabs.svn.cvsdude.com/Ardor3Dv1': could not connect to server (http://ardorlabs.svn.cvsdude.com)
I know the URL is valid as I can install the above fine on my work m/c of WinXP. However, the same installation on my personal laptop of Win7 fails to connect.
I tried temporarily disabling the firewall and it still fails.
I've tried playing around with the config and server files in:
C:\Documents and Settings\Administrator\Application Data\Subversion
but to be honest not 100% sure as what to change, if anything as I'm not using proxy settings.
If there's an expert out there who's knows the solution to this problem I would greatly appreciate hearing from you.
Thanks
Graham
PS. I find the error message "RA layer request failed" confusing as the URL is valid.
I had exactly the same problem, which turned out to be caused by a proxy server. The solution to my problem was to configure subversion to work with the proxy server, however it was not obvious how to do this.
You should have a directory similar to : C:\Documents and Settings\UserName\Application Data\Subversion
In that directory there will be a file called servers.
I un-commented and edited the following entries and my subversion is now working fine with Eclipse:
http-proxy-host
http-proxy-port
http-proxy-username
http-proxy-password
Why exactly you can't configure this through Eclipse is abit of a mystery, but there you go.
Another user account could login, I got the error as described above. The difference was the Proxy setting which was missing in my account. It is stored per user in the Registry and I could easily change this in the Tortoise SVN config.
We encountered this error with our server. While we were able to successfully access the CollabNet 5 SVN admin console, navigating to the repository to browse it from the admin console would fail. We also were not able to connect from Subclipse clients.
The problem turned out we were not hitting the correct port on the server. We had reconfigured the default port from 80 to 4343 and the admin console reported the changed setting but the server was still running on 80.
For what it's worth, in order for the configuration change to stick, we had to bring the repo server down and make the change in the admin console and then restart the machine. We were then able to browse the repo from the link in the admin console.

Server sent unexpected return value (405 Method Not Allowed) in response to OPTIONS request

I have a project on Google Code, and I am using SVN.
Everything was working fine with that project in Eclipse.
But today I created new project in Google Code. And when trying to add my project from Eclipse to the Google repository which I created it gives an error.
The error in the Eclipse console is:
svn: Server sent unexpected return value (405 Method Not Allowed) in
response to OPTIONS request for 'https://code.google.com/............'
Eclipse shows this when committing:
org.apache.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/a5a68afd-6b33-2247-9d70-58e42b6f6f4b'
org.apache.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/a5a68afd-6b33-2247-9d70-58e42b6f6f4b'
Verify that the Google Code URL has the HTTPS protocol and if you are using Subclipse, change to the svnkit library.
I was able to solve this issue by doing what Xorsat said, i.e. check if the Google Code URL is using HTTPS. However, I did not have to change anything regarding the svnkit library; I'm using the default settings of Subclipse, where I installed both Subclipse and the SVNKit plugins in Eclipse.
How do I check if I'm using HTTPS?
Right click the project
Go to Properties → Subversion
Your URL and Repository Root should be using https.
If you're not using https, you must import the project from Google Code again. How?
In Eclipse 4.2 (Juno), menu File → Import...
SVN → Checkout Projects from SVN, press Next
Check Create a new repository location, press Next
In the URL field, copy-paste the URL from Google Code; make sure it's using https.
Select the trunk directory, press Next >
Unless you're sure what you're doing, keep to the default settings, press Next >
Press Finish.
You should now be able to Team → Commit... your project! Take note, it'll ask you for your username and googlecode.com password (generated in Google Code Project -> Source).
I hope this helps!
For anyone that navigates to this page. I got this error and it turned out that the username for the repository was case sensitive in Eclipse. Typing in the exact correct username solved the issue for me. Hope it helps someone else
Here is a solution: http://www.svnforum.org/threads/35661-Problems-committing-(405-Method-not-allowed)
I tried to drag and drop my file using the repository browser instead of importing the file and it worked for me. By the way I was using TortoiseSVN.
For me NONE of the previous worked and will not work ever now. The reason is that Google has deprecated Google Code and will discontinue this service.
It has marked all the projects as "Read ONLY". So you see now why no commits can be made as a repository is READ-ONLY and archived. Go to the Google Code and browse your repository/project, and it will show below message:
READ-ONLY: This project has been archived. For more information see
this post.
I faced this issue only to find that my organization's local SVN server was unreachable. May be helpful to some one.