Hi All,

I am making url connection, some times it is working file but some time it is giving following error, as i understand, in my code has no problem.

following my error stack trace

50460 : at java.lang.Thread.run(Thread.java:595)
50459 : at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
50458 : at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
50457 : at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
50456 : at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
50455 : at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
50454 : at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
50453 : at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
50452 : at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
50451 : at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
50450 : at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
50449 : at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
50448 : at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
50447 : at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
50446 : at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
50445 : at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
50444 : at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
50443 : at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
50442 : at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
50441 : at XssFilter.doFilter(XssFilter.java:121)
50440 : at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
50439 : at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
50438 : at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
50437 : at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
50436 : at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)
50435 : at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)
50434 : at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
50433 : at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
50432 : at netbanking.inr.all.NetBankRecv.doPost(NetBankRecv.java:678)
50431 : at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
50430 : at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
50429 : at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
50428 : at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
50427 : at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
50426 : at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
50425 : at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
50424 : at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
50423 : at netbanking.inr.all.NetBankAuthQry.doPost(NetBankAuthQry.java:198)
50422 : at $Proxy59.callPerformAuthQry(Unknown Source)
50421 : at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
50420 : at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
50419 : at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
50418 : at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
50417 : at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
50416 : at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
50415 : at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
50414 : at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
50413 : at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
50412 : at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
50411 : at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
50410 : at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
50409 : at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
50408 : at java.lang.reflect.Method.invoke(Method.java:585)
50407 : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
50406 : at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
50405 : at org.jboss.ejb.Container.invoke(Container.java:960)
50404 : at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
50403 : at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
50402 : at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
50401 : at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
50400 : at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor .java:169)
50399 : at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
50398 : at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
50397 : at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
50396 : at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
50395 : at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor. java:158)
50394 : at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:2 37)
50393 : at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
50392 : at java.lang.reflect.Method.invoke(Method.java:585)
50391 : at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
50390 : at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
50389 : at com.org.tc.nbk.NetBankBean.callPerformAuthQry(NetBankBean.java:347)
50388 : at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
50387 : at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
50386 : at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
50385 : at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
50384 : at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
50383 : at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source)
50382 : at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source)
50381 : at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source)
50380 : at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source)
50379 : at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source)
50378 : at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
50377 : at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
50376 : at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
50375 : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:739)
50374 : at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
50373 : at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
50372 : at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
50371 : at java.net.SocketInputStream.read(SocketInputStream.java:129)
50370 : at java.net.SocketInputStream.socketRead0(Native Method)
50369 : java.net.SocketException: Software caused connection abort: recv failed


Pls provide the solution, how this will resolve.

Thanks in advance.