dev@glassfish.java.net

Re: Deployment failure using JSR 88 API

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 22 Jan 2007 18:39:32 -0800

I am not familiar with the http connector, but it connects to the
same port as the GUI, AFAIK.

Lloyd

On Jan 22, 2007, at 5:46 PM, Hong Zhang wrote:

> Hi, Jeanfrancois
>
>>> Rama: is this a regression? Have you tried with the same set up
>>> with previous build of Glassfish and it worked?
>>>
>>> Jeanfrancois: any insight on the possible cause of this ssl
>>> connection IOException?
>>
>>
>> The SSL exception is from the client. Is JSR88 using Grizzly at
>> the server side?
>
> JSR88 client uses the AMX connection API
> (com.sun.appserv.management.client.AppserverConnectionSource) to
> connect to the server. This part of the code is shared among
> various deployment clients (including cli). I assume the AMX (HTTP)
> connection uses the Grizzly? Lloyd can confirm..
>
> Thanks,
>
> - Hong
>
>> Rama Pulavarthi wrote:
>>
>>>
>>>> Using glassfish b30.
>>>> My application is failing to deploy with this stacktrace. I am
>>>> thinking its failing bacause of some configuration issue ( proxy
>>>> or something).
>>>> If you have any idea why this is happening, let me know how to
>>>> fix the issue.
>>>>
>>>> java.lang.IllegalStateException: java.io.IOException: Remote
>>>> host closed connection during handshake
>>>> at
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getTargets
>>>> (SunDeploymentManager.java:215)
>>>> at
>>>> com.sun.ts.lib.deliverable.cts.deploy.StandardDeployment14.isDeploy
>>>> ed(StandardDeployment14.java:361)
>>>> at
>>>> com.sun.ts.lib.harness.SuiteSynchronizer.continueToUndeployApps
>>>> (SuiteSynchronizer.java:1201)
>>>> at com.sun.ts.lib.harness.SuiteSynchronizer.undeployApps
>>>> (SuiteSynchronizer.java:1102)
>>>> at com.sun.ts.lib.harness.SuiteSynchronizer.doDeployment
>>>> (SuiteSynchronizer.java:302)
>>>> at com.sun.ts.lib.harness.TSHarnessObserver.startingTest
>>>> (TSHarnessObserver.java:250)
>>>> at com.sun.javatest.Harness$Notifier.startingTest
>>>> (Harness.java:795)
>>>> at com.sun.javatest.TestRunner.notifyStartingTest
>>>> (TestRunner.java:185)
>>>> at com.sun.javatest.DefaultTestRunner.runTest
>>>> (DefaultTestRunner.java:144)
>>>> at com.sun.javatest.DefaultTestRunner.access$100
>>>> (DefaultTestRunner.java:24)
>>>> at com.sun.javatest.DefaultTestRunner$1.run
>>>> (DefaultTestRunner.java:47)
>>>> Caused by: java.lang.RuntimeException: java.io.IOException:
>>>> Remote host closed connection during handshake
>>>> at
>>>> com.sun.appserv.management.client.ProxyFactory.getInstance
>>>> (ProxyFactory.java:440)
>>>> at
>>>> com.sun.appserv.management.client.ProxyFactory.getInstance
>>>> (ProxyFactory.java:385)
>>>> at
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getProxyFactory
>>>> (SunDeploymentManager.java:1648)
>>>> at
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getRootProxy
>>>> (SunDeploymentManager.java:1625)
>>>> at
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getDomainConfigPr
>>>> oxy(SunDeploymentManager.java:1637)
>>>> at
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getTargets
>>>> (SunDeploymentManager.java:186)
>>>> ... 10 more
>>>> Caused by: java.io.IOException: Remote host closed connection
>>>> during handshake
>>>> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord
>>>> (SSLSocketImpl.java:742)
>>>> at
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(
>>>> SSLSocketImpl.java:1030)
>>>> at
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake
>>>> (SSLSocketImpl.java:1057)
>>>> at
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake
>>>> (SSLSocketImpl.java:1041)
>>>> at sun.net.www.protocol.https.HttpsClient.afterConnect
>>>> (HttpsClient.java:402)
>>>> at
>>>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.conne
>>>> ct(AbstractDelegateHttpsURLConnection.java:170)
>>>> at
>>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream
>>>> (HttpURLConnection.java:917)
>>>> at java.net.HttpURLConnection.getResponseCode
>>>> (HttpURLConnection.java:367)
>>>> at
>>>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode
>>>> (HttpsURLConnectionImpl.java:318)
>>>> at
>>>> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.handleEx
>>>> ception(ServletConnection.java:219)
>>>> at
>>>> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.sendReq(
>>>> ServletConnection.java:194)
>>>> at
>>>> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.send
>>>> (ServletConnection.java:152)
>>>> at
>>>> com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConducto
>>>> r.invoke(MBeanServerMessageConductor.java:60)
>>>> at
>>>> com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConne
>>>> ction.getAttribute(RemoteMBeanServerConnection.java:284)
>>>> at
>>>> com.sun.appserv.management.util.jmx.JMXUtil.getMBeanServerID
>>>> (JMXUtil.java:110)
>>>> at
>>>> com.sun.appserv.management.client.ProxyFactory.getInstance
>>>> (ProxyFactory.java:421)
>>>> ... 15 more
>>>> Caused by: java.io.EOFException: SSL peer shut down incorrectly
>>>> at com.sun.net.ssl.internal.ssl.InputRecord.read
>>>> (InputRecord.java:333)
>>>> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord
>>>> (SSLSocketImpl.java:723)
>>>> ... 30 more
>>>> Jan 22, 2007 12:18:13 PM
>>>> com.sun.appserv.management.client.ProxyFactory getInstance
>>>> SEVERE: ProxyFactory.getInstance: Failure trying to create a new
>>>> ProxyFactory: java.io.EOFException: "SSL peer shut down
>>>> incorrectly"
>>>> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord
>>>> (SSLSocketImpl.java:723)
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(
>>>> SSLSocketImpl.java:1030)
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake
>>>> (SSLSocketImpl.java:1057)
>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake
>>>> (SSLSocketImpl.java:1041)
>>>> sun.net.www.protocol.https.HttpsClient.afterConnect
>>>> (HttpsClient.java:402)
>>>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.conne
>>>> ct(AbstractDelegateHttpsURLConnection.java:170)
>>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream
>>>> (HttpURLConnection.java:917)
>>>> java.net.HttpURLConnection.getResponseCode
>>>> (HttpURLConnection.java:367)
>>>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode
>>>> (HttpsURLConnectionImpl.java:318)
>>>> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.handleEx
>>>> ception(ServletConnection.java:219)
>>>> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.sendReq(
>>>> ServletConnection.java:194)
>>>> com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.send
>>>> (ServletConnection.java:152)
>>>> com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConducto
>>>> r.invoke(MBeanServerMessageConductor.java:60)
>>>> com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConne
>>>> ction.getAttribute(RemoteMBeanServerConnection.java:284)
>>>> com.sun.appserv.management.util.jmx.JMXUtil.getMBeanServerID
>>>> (JMXUtil.java:110)
>>>> com.sun.appserv.management.client.ProxyFactory.getInstance
>>>> (ProxyFactory.java:421)
>>>> com.sun.appserv.management.client.ProxyFactory.getInstance
>>>> (ProxyFactory.java:385)
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getProxyFactory
>>>> (SunDeploymentManager.java:1648)
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getRootProxy
>>>> (SunDeploymentManager.java:1625)
>>>> com.sun.enterprise.deployapi.SunDeploymentManager.getDomainConfigPr
>>>> oxy(SunDeploymentManager.java:1637)
>>>>
>>>> thanks,
>>>> Rama Pulavarthi
>>>>
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>