It's not a secret anymore!*
The moose likes BEA/Weblogic and the fly likes HANDSHAKE_FAILURE Exception while accessing secured Marklogic server through Weblogic 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "HANDSHAKE_FAILURE Exception while accessing secured Marklogic server through Weblogic 7" Watch "HANDSHAKE_FAILURE Exception while accessing secured Marklogic server through Weblogic 7" New topic
Author

HANDSHAKE_FAILURE Exception while accessing secured Marklogic server through Weblogic 7

Balasubramanian Palanisamy
Greenhorn

Joined: May 17, 2010
Posts: 1
Hi,

I got stuck-up with this error. I used the following program to access a secured server discarding certificate verification. Using this I can access other servers only except Marklogic server.




The exception I got is as follows:

<May 17, 2010 3:51:47 PM IST> <Error> <HTTP> <101019> <[ServletContext(id=4002470,name=geysertest,context-path=/geysertest)] Servlet failed with IOException
javax.net.ssl.SSLHandshakeException: FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters.
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertReceived(Unknown Source)
at com.certicom.tls.record.alert.AlertHandler.handle(Unknown Source)
at com.certicom.tls.record.alert.AlertHandler.handleAlertMessages(Unknown Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:121)
at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:108)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:302)
at com.cengage.servlet.MediaServlet.doGet(MediaServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1111)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:437)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:319)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5699)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:690)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3216)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2591)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:223)


Please help ASAP. Thanks in advance.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: HANDSHAKE_FAILURE Exception while accessing secured Marklogic server through Weblogic 7