Details
-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
1.0.9
-
java version "1.6.0_18"
slf4j version "1.7.5"
logback-classic "1.0.9"
Description
I am using logback to redirect a logs to dedicated log file. Attached is the configuration.
This works fine when the traffic is low. But during load testing I see below exception.
13:50:53,594 |-ERROR in c.q.l.c.recovery.ResilientFileOutputStream@328304711 - IO failure while writing to file [/opt/ericsson/logs/ec/emergency-credit.log] java.io.IOException: ����
at java.io.IOException: ����
at at java.io.FileOutputStream.writeBytes(FileOutputStream.java)
at at java.io.FileOutputStream.write(FileOutputStream.java:282)
at at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at at ch.qos.logback.core.recovery.ResilientOutputStreamBase.flush(ResilientOutputStreamBase.java:79)
at at ch.qos.logback.core.encoder.LayoutWrappingEncoder.doEncode(LayoutWrappingEncoder.java:137)
at at ch.qos.logback.core.OutputStreamAppender.writeOut(OutputStreamAppender.java:188)
at at ch.qos.logback.core.FileAppender.writeOut(FileAppender.java:206)
at at ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:212)
at at ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:148)
at at ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103)
at at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)
at at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48)
at at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:280)
at at ch.qos.logback.classic.Logger.callAppenders(Logger.java:267)
at at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:449)
at at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:403)
at at ch.qos.logback.classic.Logger.info(Logger.java:619)
at at com.ericsson.ece.emergency.credit.controller.impl.EmergencyCreditControllerImpl.processEmergencyCredit(EmergencyCreditControllerImpl.java:42)
at at sun.reflect.GeneratedMethodAccessor849.invoke(Unknown Source)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at at java.lang.reflect.Method.invoke(Method.java:597)
at at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:36)
at at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:44)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at at com.sun.proxy.$Proxy584.processEmergencyCredit(Unknown Source)
at at com.ericsson.ece.emergency.credit.controller.impl.EmergencyCreditControllerImpl_bwvtc0_EmergencyCreditControllerImpl.processEmergencyCredit(EmergencyCreditControllerImpl_bwvtc0_EmergencyCreditControllerImpl.java:56)
at at com.ericsson.ece.emergency.credit.controller.impl.EmergencyCreditControllerImpl_bwvtc0_EmergencyCreditControllerImpl_WLSkel.invoke(Unknown Source)
at at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
at at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at at com.ericsson.ece.emergency.credit.controller.impl.EmergencyCreditControllerImpl_bwvtc0_EmergencyCreditControllerImpl_1033_WLStub.processEmergencyCredit(Unknown Source)
at at sun.reflect.GeneratedMethodAccessor1198.invoke(Unknown Source)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at at java.lang.reflect.Method.invoke(Method.java:597)
at at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
at at com.sun.proxy.$Proxy583.processEmergencyCredit(Unknown Source)
at at com.ericsson.ece.ec.ws.util.EcWsUtils.sendWSRequest(EcWsUtils.java:86)
at at com.ericsson.ece.ec.ws.ejb.impl.ECLoanCreditImpl.loanCredit(ECLoanCreditImpl.java:71)
at at sun.reflect.GeneratedMethodAccessor847.invoke(Unknown Source)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at at java.lang.reflect.Method.invoke(Method.java:597)
at at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:36)
at at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:44)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at at com.sun.proxy.$Proxy582.loanCredit(Unknown Source)
at at com.ericsson.ece.ec.ws.ejb.impl.ECLoanCreditImpl_x7vksu_WSOImpl.__WL_loanCredit_WS(ECLoanCreditImpl_x7vksu_WSOImpl.java:68)
at at sun.reflect.GeneratedMethodAccessor846.invoke(Unknown Source)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at at java.lang.reflect.Method.invoke(Method.java:597)
at at weblogic.wsee.server.ejb.WsEjb.invoke(WsEjb.java:54)
at at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke(WLSEjbInstanceResolver.java:187)
at at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)
at at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)
at at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:265)
at at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
at at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:373)
at at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:524)
at at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:255)
at at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
at at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:208)
at at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:310)
at at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:223)
at at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:124)
at at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:79)
at at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(Unknown Source)
at at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(Unknown Source)
at at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at at weblogic.servlet.internal.WebAppServletContext.securedExecute(Unknown Source)
at at weblogic.servlet.internal.WebAppServletContext.execute(Unknown Source)
at at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
at at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
The code which triggers this error is below
LOGGER.info("EC EC: Emergency Credit Requested: Origin Node Type: {}, Origin Host Name: {}, MSISDN: {} and Request Type: {}",new Object[] { originNodeType, originHostName, msisdn,requestType });
Kindly suggest