0 Replies Latest reply on Sep 10, 2013 7:16 AM by chinna raja

    Getting HandShakeException while downloading Seam EXcel

    chinna raja Newbie

      I am Using Seam Excel , In that excel , i need to display  the image ,so while downloading the Excel .its throwing exception : shown below

       

      so inorder to avoid the handshake exception ,what needs to be done : please help me out in this

       

       

      URI :

      https://qa.spheconnect.com/spheconnect/images/DEF...

       

      can u please help me in this

       

       

       

       

       

      org.jboss.seam.excel.ExcelWorkbookException: Could not load or process image

              at org.jboss.seam.excel.jxl.JXLExcelWorkbook.addImage(JXLExcelWorkbook.java:422)

              at org.jboss.seam.excel.jxl.JXLExcelWorkbook.addItem(JXLExcelWorkbook.java:511)

              at org.jboss.seam.excel.ui.UIWorksheet.encodeBegin(UIWorksheet.java:521)

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)

              at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)

              at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)

              at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)

              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)

              at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:385)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.imageio.IIOException: Can't get input stream from URL!

              at javax.imageio.ImageIO.read(ImageIO.java:1369)

              at org.jboss.seam.excel.jxl.JXLExcelWorkbook.addImage(JXLExcelWorkbook.java:418)

              ... 54 more

      Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching qa.spheconnect.com found.

              at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)

              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1649)

              at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241)

              at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)

              at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1206)

              at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:136)

              at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)

              at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)

              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)

              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)

              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)

              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)

              at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)

              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)

              at java.net.URL.openStream(URL.java:1010)

              at javax.imageio.ImageIO.read(ImageIO.java:1367)

              ... 55 more