]
Max Rydahl Andersen commented on JBIDE-15834:
---------------------------------------------
As Andre states, I suggest opening bug against OpenShift Enterprise rather than JBoss
Tools.
They can see/track the actual error causing it.
Just because the web site can't caused the exception does not prove much besides that
when the one doing it is closer to the server - less chance of things going wrong.
JBoss Tools delete works on other servers and eventually also on openshift enterprise thus
so far it looks like openshift enterprise has some misconfiguration or different
behavior.
Server error while deleting application on Openshift Enterprise
---------------------------------------------------------------
Key: JBIDE-15834
URL:
https://issues.jboss.org/browse/JBIDE-15834
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.1.1.Beta1
Reporter: Marián Labuda
Assignee: Andre Dietisheim
Sometimes attempt to delete application in Openshift Enterprise (in Openshift Online I
didn't notice such bug) cause internal server error - HTTP error 500.
Application (after showed dialog) is not deleted in Openshift Enterprise. Second attempt
delete application succesfully.
Unfortunately, I have no idea how to reproduce it (many various attempts done). It occurs
sometimes.
Eclipse log:
{code}
com.openshift.client.OpenShiftEndpointException: Could not request
https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at
console.itos.redhat.com Port
80</address>
</body></html>
at com.openshift.internal.client.RestService.request(RestService.java:136)
at com.openshift.internal.client.RestService.request(RestService.java:109)
at com.openshift.internal.client.RestService.request(RestService.java:92)
at
com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:142)
at
com.openshift.internal.client.ApplicationResource.destroy(ApplicationResource.java:256)
at
org.jboss.tools.openshift.express.internal.ui.job.DeleteApplicationsJob.doRun(DeleteApplicationsJob.java:47)
at
org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: com.openshift.internal.client.httpclient.InternalServerErrorException:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at
console.itos.redhat.com Port
80</address>
</body></html>
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:169)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:150)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:125)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.delete(UrlConnectionHttpClient.java:113)
at com.openshift.internal.client.RestService.request(RestService.java:183)
at com.openshift.internal.client.RestService.request(RestService.java:123)
... 7 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL:
https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at
com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:146)
... 11 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: