ECLIPSE 4.1.0; 4.1.1; Indigo - install/update plugins fail to connect to sites - fail to connect to SVN repo with Subclipse - eclipse

Need help figuring out why I keep 'getting the following error :
permission denied: connect
Unable to read repository at http://update1.aptana.org/rails/1.2.1.23268/content.xml.
Permission denied: connect
Basically for all of my installed plug-ins. I was trying to update or install the latest Subclipse plug-in since I can't seem to connect to my repository (even one I knew was working before - and the svn url works elsewhere like with TortoiseSVN).
svn: Cannot connect to 'svn+ssh://kosh.nku.edu': There was a problem while connecting to kosh.nku.edu:22
svn: Cannot connect to 'svn+ssh://kosh.nku.edu': There was a problem while connecting to kosh.nku.edu:22
There was a problem while connecting to kosh.nku.edu:22
Permission denied: connect
I did switch the interface to SVNkit - which solved the issue before.
I feel like the two issues are connected somehow? I did make sure to turn off the firewall and that didn't change anything.
I am on a Windows 7 laptop - just using my home internet.
Any ideas or help would be appreciated.
Lora

....."adding '-Djava.net.preferIPv4Stack=true' to the eclipse.ini under -VMARGS:
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
An alternative is to run Eclipse under a 1.6 jvm by adding
-vm
C:/Program Files/Java/jre6/bin/javaw.exe
above -VMARGS."
--this worked for me. found solution here: http://www.java.net/node/703177
I am using JDK 7

I encounter same problem and solved by:
"adding '-Djava.net.preferIPv4Stack=true' to the eclipse.ini under -VMARGS:
After modification,the ini file looks like:
...
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
...

I've had similar problem with Android SDK and Eclipse 3.7.2.
Android SDK said: "permission denied: connect".
Eclipse was failed in blue screen.
My laptop is running under Windows Vista and protected by Dr.Web Security Space.
Advises with "-Djava.net.preferIPv4Stack=true" and "Window --> Preference --> General --> Network Connection --> select Direct" did not help.
Problem was resolved by installing last version of anti-virus without firewall.

After upgrading to Windows 8, I've found many of the programs on the toolbar, etc are not set to run as administrator. Though this didn't seem to make a difference in Windows 7 (perhaps because I was running unzip from the command line in an administrator cmd window), it does now.
I had the problem described in this thread because WinRAR used to unzip the downloaded zip file was not run as administrator so the installation was not properly configured. After removing the installation of eclipse and using the Properties / Shortcut / Advanced to set Run as Administrator on the WinRAR launch icon, then running it and selecting the eclipse download zip and extracting it, I was able to access the Eclipse and Android update sites without any problem. What threw me for a loop was, I was running the Oracle Java 6 JDK 1.6.0.38 so the preferIPv4Stack didn't seem to apply.
I hope this alternative provides insight to others where the IPv4 issue doesn't help.

Related

Issue with the proxy settings when installing Eclipse

I have the same issue with Eclipse (Neon 4.6 eclipse installer by Oomph 32 bit) as in this question and as explained there I have downloaded the automatic configuration script (the script is set up through the Group Policy so I can’t change my LAN settings) that my browser is using. I used the host and port in the return statement and did as explained below
Select the "HTTP" line and click the edit button
Add the IP address and port number above to the http line:
Does anyone know what else I can try because I am still getting a network problem message?
Your help will be appreciated
Proxy Network problem message:
I have changed the active provider to Manual and retried again, then it worked.
I installed an old version and it's worked well.
this is the link for the old version:
https://www.eclipse.org/downloads/packages/release/oxygen/2
You can download a zip file of the Eclipse package you want and explode it in your filesystem where you want it,
Here is link for Eclipse package for windows:
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2021-06/R/eclipse-java-2021-06-R-win32-x86_64.zip&mirror_id=17
Or select another package here:
https://www.eclipse.org/downloads/packages/
For me, I had similar issues to this that related to my office network and their use of a security tool called Netskope which needed its root-certificate into the jvm that would be used by the Eclipse installer. I elaborated on my workaround steps in this other thread:
https://stackoverflow.com/a/69171147/1302220

JBossEAP / Wildfly error renaming temporary file

for the past several days I've been experiencing this error, while publishing to either JBoss EAP 6.3 or Wildfly 8.2 from Eclipse.
Error renaming D:\Servers\wildfly-8.2.0.Final\standalone\tmp\tmp9064011157118650757.jar
to D:\Servers\wildfly-8.2.0.Final\standalone\deployments\BusinessService.war\WEB-INF\lib\spring-web-4.2.3.RELEASE.jar.
This may be caused by incorrect file permissions, or your server's temporary deploy
directory may be on a different filesystem than the final destination. You may adjust
these settings in the server editor.
The problem occurs when I "Add and Remove..." projects from the server, then try to publish them, so the server can start.
I've experienced this issue on two different machines (home (Wildfly) and work (JBoss EAP)).
I'm using:
Windows 7 / 10
Eclipse Mars / Luna
JBoss Tools plugin 4.3 / 4.2
JDK 1.8.0.66 / 1.8.0.65
Maven
Building with maven from Eclipse and from the command line makes no difference. The server is configured to deploy projects as compressed archives. On both machines my user has administrator rights and has full rights on the server directory.
So far I've tried:
recreating the server multiple times with different configurations
using a newly created workspace
reinstalling JBoss Tools
reinstalling Eclipse
using different JDK versions
I'm really at a loss here and I don't know how to proceed in resolving this issue. Please help.
If you are using Windows, the path could get too long and can cause this error. A simple fix is to move WildFly closer to the root.
I had the same problem and solved it like this:
First of all, stop Server (Servers->WildFly(rigth click)->Stop), than clean. So you can run server again.
I had this problem several times in my new windows 10 machine that my employer gave me. Since I did not have admin rights it was a hectic process to troubleshoot this issue. Simple fix would be moving JBOSS_HOME closer to root. However, you need to do a proper restart of your eclipse. I rather recommend a complete restart of your computer because after all you are going to change JBOSS_HOME in windows environmental variables.
This is related to permissions issue on wildfly folder. Allow full control to the wildfly folder.
https://issues.jboss.org/browse/JBIDE-18697
I have moved the wildfly home to reduce the overall path length, and also removed any non-alphanumeric characters from the folder name (like "-" and "." ) . This worked for me, everything else (removing tmp, deployment, rebooting wildfly, rebooting eclipse, rebooting computer) failed.
I also suspect that the issue was stemming from running Wildfly from a ConEmu and/or git bash shell. Running from a plain CMD shell seems more robust.
I also got stuck with the same problem. I tried the below steps and it worked:
Clear the deployments and tmp folder in standalone folder in wildfly folder.
Delete the server and again add the server
Make a build of the project and start the server after successful build.
This is a terribly annoying error that either the Eclipse team or Redhat need to fix.
The solution is to close Eclipse, right click on the icon -> Run As Administrator. This solved it for me.

CREDENTIAL_ERROR Starting GLASSFISH Internal Server

SOLVED - See bottom of post
Firstly, I will state that I have read all the existing posts regarding this problem and none of the suggested solutions have worked.
After upgrading eclipse to Indigo SR2 and to java 7, I was not able to start Glassfish, either embedded or separate installation.
After a week of this and because my PC was getting sluggish, I decided a full rebuild of my PC was required, so I reset the PC back to factory settings and started again.
My spec now looks like this...
Windows XP SP3 - Firewall Disabled as 3rd Party solution installed
Java 7 - jdk1.7.0_03 + jre
Eclipse Indigo SR2
hosts file...
127.0.0.1 localhost
I installed the latest Glassfish Plugin from: http://download.java.net/glassfish/eclipse/indigo
However, just as before the rebuild, when I try and start the server, I get the CREDENTIAL_ERROR.
I'm now super frustrated as I would have expected this completely clean install to just work.
I disabled the firewall, but that made no difference.
I then tried to start the embedded server manually. e.g. asadmin start-domain, and it started fine. I can stop it from Eclipse, but as soon as I try and start it again I get the CREDENTIAL_ERROR. Grrrrhhh!!!
I also spotted this entry in the eclipse .log file...
!MESSAGE GlassFish: error reading one jmx portjava.lang.NumberFormatException: For input string: "${JMX_SYSTEM_CONNECTOR_PORT}"
...which may be relevant as the final line of a verbose manual startup of the server looks like this...
[#|2012-04-09T15:33:16.625+0100|INFO|glassfish3.1.2|javax.enterprise.system.jmx.org.glassfish.admin.mbeanserver|_ThreadID=41;_Thre
adName=Thread-23;|JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://HOME:8686/jndi/rmi://HOME
:8686/jmxrmi|#]
Many thanks
Chris
SOLVED
Darn it. Just after posting this, I stumbled upon this link...
http://java.net/jira/browse/GLASSFISHPLUGINS-72
...which suggested that the Anti-Virus (not the firewall) being the culprit and lo and behold, it was. I removed port 8080 from scanning and the server fired up without a problem.
Now I need to work out if I've opened up a security hole.
UPDATE
I decided to install a separate Glassfish instance and the problem started over again. In then end I discovered that I had to disable the NOD32 HTTP Scanner entirely to allow the server to start. Re-enabling it got the CREDENTIAL_ERROR again. There didn't seem to be any configuration setting that would get around this. I'll have to fire an email off to ESET to see what they suggest.
I'm working with about the same configuration. Only my eclipse is Version: Indigo Service Release 1, and I work in an environment where it isn't allowed to disable a firewall.
In my case it helped to switch to a previous version of Java (jdk6-u30), which wasn't what I intended. So I installed the newest version of the JDK at this moment: jdk1.7.0_04, and used this as the -vm value in de eclipse.ini.
This still left some complains about a Currentversion of 1.7 when 1.6 was expected by our version of Glassfish's asadmin. Which were worked around by changing the registry back to 1.6, instead of the 1.7 version added by the installation of the jdk1.7.0_04.
After these changes I could start and stop Glassfish from within eclipse without the CREDENTIAL_ERROR.

Eclipse Indigo is unable to read repository (update sites)

First of all this question has been asked at least twice.
I tried several approaches with no effect.
Here's the problem:
When I try to download/update plugins like EclEmma, Eclipse starts to communicate with the repository and that takes about 5 minutes. After that I get an error:
"An error occured while collecting items to be installed
session context was:(...)
Unable to read repository at http: (...)
Read time out
(... for every *.jar)"
What I was trying to fix the problem was running eclipse as an admin (got vista x86 running) and changing the connection properties from native to direct and back. I also tried deleting saved repositories and adding again. No effect at all.
I have no proxy configured and don't need one.
This is getting kind of personal between me and my IDE :D
So I hope you guys can help me out.
Thanks Zoltán (köszi :D), but i found the error last night.
Resolution
After hours of debugging I figured out that AVG Anti-Virus Software blocks the request. After deactivating it for temporarily, Eclipse installed the new software.
In my case timeout was caused by definition of SOCKS proxy... we have proxy.company.com:80 and I incorrectly provided that proxy to all three (HTTP, HTTPS and SOCKS) connection schemas. Removal of proxy from SOCKS resolved the problem
Try to open the internal web browser of Eclipse (Window menu/Show view/Other...), and navigate to the 1) update site url, and 2) to any webpage.
If the latter one is not working, then Eclipse does not have connection to the internet, and you should try to open a new workspace, and try installing from there (possibly something wrong in the workspace settings).
If the second one works, but the first one does not, that suggests that the update site is not working. In this case report to the developers.
I also had this problem (my system: Win7, jdk7, Eclipse Indigo).
I installed jre6, changed my JAVA_HOME, ran eclipse with the following:
eclipse -debug -consolelog -vm 'c:\Program Files\Java\jre6\bin\java.exe'
Install the plugins/updates, then switch back to using jdk7.
Worked for me!
Temporarily disabling AVG firewall fixed the issue for me.
Eclipse then installed the Android plugin.
In my case, adding these lines to eclipse.ini solved the problem
-vmargs (this one was alreayd there)
-Djava.net.preferIPv4Stack=true

Eclipse-Marketplace Error

Once i go to Eclipse Marketplace option i get this error message:
MarketplaceDiscoveryStrategy failed with an error
Unable to read repository at http://marketplace.eclipse.org/api/p?product=org.eclipse.epp.package.java.product&os=linux&runtime.version=3.6.0.v20100505&client=org.eclipse.epp.mpc.core&java.version=1.6.0_26&product.version=1.3.2.20110218-0812& ws=gtk.
No route to host
This in my linux machine can i know why am i getting this message, i am not able to choose any new softwares from Marketplace
Please, add this line on eclipse ini, restart eclipse, open Marketplace and good installations: -Dorg.eclipse.epp.internal.mpc.core.service.DefaultCatalogService.url=https://marketplace.eclipse.org/catalogs/api/p
This problem is that link without ssl is not working.
For me that is working normal.
Try removing RelaventKnowledge software from your machine. Mine is Windows 10. I am not getting that error once i removed that software from the machine.