Have you tried google:
  
http://www.google.com/search?q=javax.net.ssl.SSLException%3A+Received+fatal+alert%3A+bad_record_mac&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

On 9/25/07, Reddy, Koti <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am still getting the same error even with the 3.1.2 version.
>
> Please see below
>    <body>
>       <h2>HTTP ERROR: 500</h2>
>       <pre>javax.net.ssl.SSLException: Received fatal alert:
> bad_record_mac</pre>
>       <p>RequestURI=/services/testProxy/</p>
>       <h3>Caused by:</h3>
>       <pre>java.lang.Exception: javax.net.ssl.SSLException: Received fatal
> alert: bad_record_mac
>         at
> org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProc
> essor.java:219)
>         at
> org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:7
> 1)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:356)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerColl
> ection.java:149)
>         at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:12
> 3)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
>         at org.mortbay.jetty.Server.handle(Server.java:265)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:333)
>         at
> org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:4
> 75)
> Caused by: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac
>         at
> com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
>         at
> com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1584
> )
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:866
> )
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocket
> Impl.java:1030)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:62
> 2)
>         at
> com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
>         at
> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>         at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
>         at
> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody
> (EntityEnclosingMethod.java:502)
>         at
> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.jav
> a:1973)
>         at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993
> )
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
> Director.java:397)
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
> ector.java:170)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProc
> essor.java:169)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle
> .java:489)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLif
> eCycle.java:441)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.j
> ava:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(Deliv
> eryChannelImpl.java:593)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:
> 174)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176
> )
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> Task(ThreadPoolExecutor.java:665)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:595)</pre>
>       <h3>Caused by:</h3>
>       <pre>javax.net.ssl.SSLException: Received fatal alert: bad_record_mac
>         at
> com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
>         at
> com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1584
> )
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:866
> )
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocket
> Impl.java:1030)
>         at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:62
> 2)
>         at
> com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
>         at
> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>         at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
>         at
> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody
> (EntityEnclosingMethod.java:502)
>         at
> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.jav
> a:1973)
>         at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993
> )
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
> Director.java:397)
>         at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
> ector.java:170)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>         at
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProc
> essor.java:169)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle
> .java:489)
>         at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLif
> eCycle.java:441)
>         at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.j
> ava:46)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(Deliv
> eryChannelImpl.java:593)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:
> 174)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176
> )
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> Task(ThreadPoolExecutor.java:665)
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:595)</pre>
>       <p>
>
> Thanks
>  Koti
>
> -----Original Message-----
> From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 25, 2007 11:21 AM
> To: [email protected]
> Subject: Re: http: policies SSL
>
> Not really.  Can you try with servicemix 3.1.2 ? There is a bug that has
> been fixed which may be related
> (https://issues.apache.org/activemq/browse/SM-972) ...
>
> On 9/25/07, Reddy, Koti <[EMAIL PROTECTED]> wrote:
> > Hi,
> >  We have a Http Endpoint where we are using http:policies and We have
> > another Http Endpoint where we are using SSL. These two are different
> > deployables. Our SSL httpendpoint always works if I don't deploy the
> > other service where I am using the http:policies.
> >
> > SSL Httpendpoint always fails with the error below when I try to
> > invoke it when the other service with http:policies is deployed.
> >
> > My Question is : Is there any relation between SSL and http:policies?
> >
> >
> >   <body>
> >       <h2>HTTP ERROR: 500</h2>
> >       <pre>javax.net.ssl.SSLException: Received fatal alert:
> > bad_record_mac</pre>
> >       <p>RequestURI=/services/testProxy/</p>
> >       <h3>Caused by:</h3>
> >       <pre>java.lang.Exception: javax.net.ssl.SSLException: Received
> > fatal
> > alert: bad_record_mac
> >  at
> > org.apache.servicemix.http.processors.ConsumerProcessor.process(Consum
> > erProc
> > essor.java:195)
> >  at
> > org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.
> > java:7
> > 1)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >  at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> >  at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:36
> > 7)  at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:71
> > 2)
> >  at
> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandl
> > erColl
> > ection.java:211)
> >  at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.j
> > ava:11
> > 4)
> >  at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:13
> > 9)  at org.mortbay.jetty.Server.handle(Server.java:285)
> >  at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502
> > )  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:372)
> >  at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.jav
> > a:368)
> >  at
> > org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(Sel
> > ectCha
> > nnelConnector.java:489)
> >  at
> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.
> > java:4
> > 42)
> > Caused by: javax.net.ssl.SSLException: Received fatal alert:
> > bad_record_mac  at
> > com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
> >  at
> > com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.jav
> > a:1584
> > )
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.ja
> > va:866
> > )
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSL
> > Socket
> > Impl.java:1030)
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.j
> > ava:62
> > 2)
> >  at
> > com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.jav
> > a:59)  at
> > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> >  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
> >  at
> > org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeReque
> > stBody
> > (EntityEnclosingMethod.java:502)
> >  at
> > org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBa
> > se.jav
> > a:1973)
> >  at
> > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.ja
> > va:993
> > )
> >  at
> > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Http
> > Method
> > Director.java:397)
> >  at
> > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMet
> > hodDir
> > ector.java:170)
> >  at
> > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java
> > :396)
> >  at
> > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java
> > :346)
> >  at
> > org.apache.servicemix.http.processors.ProviderProcessor.process(Provid
> > erProc
> > essor.java:157)
> >  at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLif
> > eCycle
> > .java:489)
> >  at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncB
> > aseLif
> > eCycle.java:441)
> >  at
> > org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeC
> > ycle.j
> > ava:46)
> >  at
> > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound
> > (Deliv
> > eryChannelImpl.java:593)
> >  at
> >
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:
> > 174)
> >  at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.ja
> > va:176
> > )
> >  at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java
> > :134)
> >  at
> > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> > er.run
> > Task(ThreadPoolExecutor.java:665)
> >  at
> > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> > er.run
> > (ThreadPoolExecutor.java:690)
> >  at java.lang.Thread.run(Thread.java:595)</pre>
> >       <h3>Caused by:</h3>
> >       <pre>javax.net.ssl.SSLException: Received fatal alert:
> > bad_record_mac  at
> > com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
> >  at
> > com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.jav
> > a:1584
> > )
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.ja
> > va:866
> > )
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSL
> > Socket
> > Impl.java:1030)
> >  at
> > com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.j
> > ava:62
> > 2)
> >  at
> > com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.jav
> > a:59)  at
> > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> >  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
> >  at
> > org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeReque
> > stBody
> > (EntityEnclosingMethod.java:502)
> >  at
> > org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBa
> > se.jav
> > a:1973)
> >  at
> > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.ja
> > va:993
> > )
> >  at
> > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Http
> > Method
> > Director.java:397)
> >  at
> > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMet
> > hodDir
> > ector.java:170)
> >  at
> > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java
> > :396)
> >  at
> > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java
> > :346)
> >  at
> > org.apache.servicemix.http.processors.ProviderProcessor.process(Provid
> > erProc
> > essor.java:157)
> >  at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLif
> > eCycle
> > .java:489)
> >  at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncB
> > aseLif
> > eCycle.java:441)
> >  at
> > org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeC
> > ycle.j
> > ava:46)
> >  at
> > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound
> > (Deliv
> > eryChannelImpl.java:593)
> >  at
> >
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:
> > 174)
> >  at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.ja
> > va:176
> > )
> >  at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java
> > :134)
> >  at
> > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> > er.run
> > Task(ThreadPoolExecutor.java:665)
> >  at
> > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> > er.run
> > (ThreadPoolExecutor.java:690)
> >  at java.lang.Thread.run(Thread.java:595)</pre>
> >       <p>
> >          <i>
> >             <small>
> >                <a href="http://jetty.mortbay.org/";
> > <http://jetty.mortbay.org/> >Powered by Jetty://</a>
> >             </small>
> >          </i>
> >       </p>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >    </body>
> > </html>
> >
> > Thanks
> >  Koti Reddy
> >
> >
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to