[jbosstools-issues] [JBoss JIRA] (JBIDE-14021) Unable to add embedded cartridges when creating application
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Fri Apr 19 06:39:53 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768752#comment-12768752 ]
Andre Dietisheim commented on JBIDE-14021:
------------------------------------------
Without the proxy, the chinese QE alsways reported the health-check to fail:
{code}
!ENTRY org.jboss.tools.openshift.express.ui 4 0 2013-04-19 17:34:48.958
!MESSAGE Could not wait for application "phpmysql" to become reachable
!STACK 0
com.openshift.client.OpenShiftEndpointException: Could not request http://phpmysql-dm340test1.dev.rhcloud.com/health_check.php: java.net.SocketException: Connection reset
at com.openshift.internal.client.RestService.request(RestService.java:103)
at com.openshift.internal.client.ApplicationResource.waitForPositiveHealthResponse(ApplicationResource.java:536)
at com.openshift.internal.client.ApplicationResource.waitForAccessible(ApplicationResource.java:502)
at org.jboss.tools.openshift.express.internal.ui.job.WaitForApplicationJob.doRun(WaitForApplicationJob.java:50)
at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:35)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: com.openshift.internal.client.httpclient.HttpClientException: java.net.SocketException: Connection reset
at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:208)
at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:109)
at com.openshift.internal.client.RestService.request(RestService.java:140)
at com.openshift.internal.client.RestService.request(RestService.java:97)
... 5 more
Caused by: java.net.SocketException: Connection reset
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
{code}
With the proxy, the health-check succeeded.
Trying to find out what's the issue (slow network, blocking chinese network), they then tried by increasing the timeouts for Eclipse. They added the following to eclipse.ini/jbdevstudio.ini to increase the timeouts:
{code}
-Dsun.net.client.defaultConnectTimeout=600000
-Dsun.net.client.defaultReadTimeout=600000
{code}
It didn't help unfortunately:
{quote}
(12:23:29 PM) zhangjing: adietish, still time out, still need to adjust longerer
(12:25:58 PM) zhangjing: adietish, changed to 1000000, still not work
{quote}
So we now double check with some QE outside China to see if the chinese network is blocking them.
> Unable to add embedded cartridges when creating application
> -----------------------------------------------------------
>
> Key: JBIDE-14021
> URL: https://issues.jboss.org/browse/JBIDE-14021
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.0.1.Final
> Environment: Fedora release 17 (Beefy Miracle)
> Eclipse (Version: Juno Service Release 1, Build id: 20121004-1855)
> Reporter: Chunyun Chen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Attachments: adding-embedded-cartridge-timeouts.png, creating-app-with-embedded.png, creating-app-with-embedded2.png, creating-php-timeouts.png, creating-php-timeouts.png
>
>
> JBoss Tools OpenShift plugin cannot embed add-on cartridges into the application
--
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: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list