Installing CDT into Eclipse with P2 director gives "The target server failed to respond" - eclipse

I download the 2020-03 Eclipse Platform Runtime Binary (v4.15 from eclipse-platform-4.15-linux-gtk-x86_64.tar.gz), then invoke the p2 director to install CDT package, but I'm always getting multiple caught exceptions of http://download.eclipse.org not responding (http/https switch doesn't have effect on this).
./eclipse -application org.eclipse.equinox.p2.director -profile SDKProfile -noSplash -roaming -repository http://download.eclipse.org/releases/2020-03,http://download.eclipse.org/releases/2020-03/202003181000/,http://download.eclipse.org/eclipse/updates/4.15/,http://download.eclipse.org/releases/latest,http://download.eclipse.org/tools/cdt/releases/9.11 -installIU org.eclipse.cdt.feature.group/9.11.0.202003091030
I tried it with Oracle JRE 8 and with Oracle JDK 14, I tried it on Debian and RHEL machines, tried different network connection (3 different IPS locations), removed all other plugins I install to nail it down to the CDT plugin. I do not know why or what is causing it, and searching for this problems shows to people that ISP fixed or some similar solution. While mine is consistent for about a year. I always eventually finishes, but it will will print out multiple messages:
Installing org.eclipse.cdt.feature.group 9.11.0.202003091030.
Apr 22, 2020 1:44:29 P.M. org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://download.eclipse.org:80: The target server failed to respond
Apr 22, 2020 1:44:29 P.M. org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://download.eclipse.org:80
Apr 22, 2020 1:44:36 P.M. org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://download.eclipse.org:80: The target server failed to respond
Apr 22, 2020 1:44:36 P.M. org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {}->http://download.eclipse.org:80
Operation completed in 44091 ms.
Using the HTTPS repositories has similar output:
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://download.eclipse.org:443: The target server failed to respond
Apr 22, 2020 4:02:50 P.M. org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://download.eclipse.org:443
Operation completed in 46934 ms.
It's not critical as it eventually completes and the end result works, but I would like to understand it better what is happening, what has effect on this behaviour. When I shrink the list of repositories to these two, it will still install, but the messages will be present:
http://download.eclipse.org/releases/2020-03,http://download.eclipse.org/tools/cdt/releases/9.11
Is there maybe a resource/documentation which probably I missed and is explaining more in the detail what is happening and why?

Related

Azure pipeline Docker `all pipe instances are busy`

When running a build pipeline with maven and docker-maven-plugin sometimes(more than 50% of the time) it throws following error and pipeline fails.
Jun 18, 2019 1:57:12 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.io.FileNotFoundException) caught when processing request to {}->npipe://127.0.0.1:1: \\.\pipe\docker_engine (All pipe instances are busy)
Jun 18, 2019 1:57:12 AM org.apache.http.impl.execchain.RetryExec execute
I can see in the log that multiple retry attempts, but all fails. Is there any way that I can overcome this?
I just solved this problem:
I added the right version of docker-maven-plugin 1.4.10
dockerfile-maven-plugin

JBoss Fuse Server not starting, giving below error

I am getting below error in Fuse log :
`Sep 14, 2017 5:21:57 AM org.apache.karaf.main.SimpleFileLock lock
INFO: locking
Sep 14, 2017 5:21:58 AM org.apache.karaf.main.SimpleFileLock lock
INFO: locking
Sep 14, 2017 5:21:59 AM org.apache.karaf.main.SimpleFileLock lock
INFO: locking
Sep 14, 2017 5:22:00 AM org.apache.karaf.main.SimpleFileLock lock
INFO: locking
Usually this happens because there is already another Fuse instance running, with the same current directory. If you started Fuse in a way that doesn't create a console, it's not difficult to forget that you did so, and try to start it again. Fuse is designed to work this way -- it's not an error to try to start multiple instances with the same working directory: this is often done for redundancy. But it can be hard to spot if you've done it by accident. Use "jps" or something to see if another JVM is running.
There are other potential causes of this problem that can be explored, but it's worth ruling out the simple explanations first.

Regarding IE9 execution with selenium webdriver

Friends i am trying to automate in IE9 using selenium webdriver but getting following error in eclipse log . Please help.
Internet Explorer is selected
Started InternetExplorerDriver server (32-bit)
2.27.0.0
Listening on port 5032
May 23, 2014 4:48:43 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: recv failed
May 23, 2014 4:48:43 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request
Add this before creating a driver. This will avoid showing the port info.
System.setProperty("webdriver.ie.driver.silent","true");
You can safely ignore the INFO messages which is not actually an issue or error.
Details information on those INFO message are at http://jimevansmusic.blogspot.in/2012/12/seeing-info-messages-in-log-does-not.html

Eclipse - how to pass VM arguments from command line (without changing eclipse.ini)

How to pass VM arguments from command line to eclipse?
I am trying to use eclipse p2 director to install plugin into Eclipse, but it get's slow and tries to search on download.eclipse.org
There is notice on help page that says:
While doing these operations, you can disable the automatic mirror selection mechanism by setting the VM argument eclipse.p2.mirrors to false.
Searching over I got "Why Eclipse’s “Check for Updates” is horribly slow (and how to fix it)"
Add it after “eclipse”, or in eclipse.ini
-Declipse.p2.mirrors=false
However
eclipsec -Declipse.p2.mirrors=false -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0
-> uknown option
eclipsec -vmargs -Declipse.p2.mirrors=false -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0
-> starts workbench
eclipsec -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0 -vmargs -Declipse.p2.mirrors=false
-> putting in the end has no effect
Update: I could not succeed with installing, so I thought the reason was that p2 director searches on download.eclipse.org and fails. Then after Greg advice, I was sure where those arguments were to be and played with version (It only passes with exact version:
empty or 0.10.0.qualifier will not suit). So now installation finishes with success but still very slow, maybe because download.eclipse.org is still contacted. Log below
eclipsec -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0.201401270634 -vmargs -Declipse.p2.mirrors=false
using eclipse from ATD-Bundle
D:\Android\eclipse>r -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0.201401270634 -vmargs -Declipse.p2.mirrors=false
Їхт 05, 2014 7:17:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:17:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Їхт 05, 2014 7:17:39 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:17:39 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Installing org.nodeclipse.jjs.feature.feature.group 0.10.0.201401270634.
Їхт 05, 2014 7:18:10 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:18:10 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Їхт 05, 2014 7:18:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:18:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Їхт 05, 2014 7:18:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:18:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Operation completed in 78172 ms.
This issue was solved long ago, but I have overlooked to share.
What now works inside Nodeclipse CLI Installer is putting VM args in the end:
nci i markdown
Nodeclipse CLI Installer (nci , Eclipse Plugin Manager epm)
http://www.nodeclipse.org/updates/
starting eclipsec -nosplash -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU markdown.editor.feature.feature.group -tag markdown.editor.feature.feature.group -vmargs -Declipse.p2.mirrors=false

I had used Quartz in my Java web-application but when Quartz will execute after its execution, Tomcat is being off.

I wrote a code in Quartz that will update database on a daily basis exactly once a day.
I am using Eclipse in my web-application so had started the Tomcat through Eclipse.
But after updating the database from Quartz it is forcing the Tomcat to be terminated in Eclipse. So my application is not working after the Quartz portion is running (due to Tomcat termination). The messages I got in Eclipse 4 Quartz is displayed below:
Job name:Event Update1
Group name:mysql
Trigger name:cronTrigger4Event1
Firing Time:Mon Jan 24 14:30:00 IST 2011
dateFormat.format(calendar.getTime()) : 2011-01-24
Inserting values in Mysql database table!
1 row affected
Jan 24, 2011 2:30:00 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
[INFO] 24 Jan 2011 14:30:05.506 Thread-34 [org.quartz.core.QuartzScheduler]
Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.
[INFO] 24 Jan 2011 14:30:05.506 Thread-34 [org.quartz.core.QuartzScheduler]
Scheduler QuartzScheduler_$_NON_CLUSTERED paused.
[INFO] 24 Jan 2011 14:30:05.506 Thread-34 [org.quartz.core.QuartzScheduler]
Scheduler QuartzScheduler_$_NON_CLUSTERED shutdown complete.
Any help is appreciated.
i think your problem in tomcat and eclipse not in quartz itself so you have two solutions
1- get the tomcat out of eclipse and deploy you application manually, don't forget to give you application server more memory.
2- get you schedule jobs out of you application and use the Linux system cron jobs.