While the AMX ProxyFactory is on the stack, the problem is occuring
inside SunDeploymentManager; something is going wrong there, but
whether it's a client side or server side problem is not entirely
clear, but the IOException suggests it's a server-side problem.
Lloyd Chambers
On Jan 22, 2007, at 3:17 PM, 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.isDeployed(
> 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.getDomainConfigProxy
> (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.connect(
> 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.handleExcep
> tion(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.MBeanServerMessageConductor.i
> nvoke(MBeanServerMessageConductor.java:60)
> at
> com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnecti
> on.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.connect(
> 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.handleExcep
> tion(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.MBeanServerMessageConductor.i
> nvoke(MBeanServerMessageConductor.java:60)
> com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnecti
> on.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.getDomainConfigProxy
> (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
>