[jbosstools-issues] [JBoss JIRA] (JBIDE-14021) Unable to add embedded cartridges when creating application

Chunyun Chen (JIRA) jira-events at lists.jboss.org
Thu Apr 18 22:45:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768653#comment-12768653 ] 

Chunyun Chen commented on JBIDE-14021:
--------------------------------------

After creating the app, could you find the DB cart as below steps? 
1) Open OpenShift Explorer
2) Right click on the name of the application
3) Choose menu 'Details'
4) Check the 'Cartridges'
this step for me , i can not find the embedded DB carts in 'Cartridges' section after creating app.

Found some errors in the Eclipse log as below, but the app always can be created successfully in this situation:

!ENTRY org.jboss.tools.openshift.express.ui 4 0 2013-04-19 10:30:09.323
!MESSAGE Could not wait for application "cas0s0" to become reachable
!STACK 0
com.openshift.client.OpenShiftEndpointException: Could not request http://cas0s0-ddyyc.stg.rhcloud.com/health: java.net.SocketException: Connection reset
	at com.openshift.internal.client.RestService.request(RestService.java:103)
	at com.openshift.internal.client.ApplicationResource.waitForPositiveHealthResponse(ApplicationResource.java:510)
	at com.openshift.internal.client.ApplicationResource.waitForAccessible(ApplicationResource.java:487)
	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:194)
	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:99)
	at com.openshift.internal.client.RestService.request(RestService.java:139)
	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)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1664)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1662)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1660)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1243)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:177)
	... 8 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:189)
	at java.net.SocketInputStream.read(SocketInputStream.java:121)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)
	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:94)
	... 7 more

Hope these info will help you. 
                
> 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
>
> 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