[ 
https://issues.apache.org/jira/browse/STRATOS-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akila closed STRATOS-662.
-------------------------
       Resolution: Fixed
    Fix Version/s: 4.1.0

> Broken Pipe Error is raised in Stratos Manger when logging into Web UI
> ----------------------------------------------------------------------
>
>                 Key: STRATOS-662
>                 URL: https://issues.apache.org/jira/browse/STRATOS-662
>             Project: Stratos
>          Issue Type: Bug
>            Reporter: Imesh Gunaratne
>             Fix For: 4.1.0
>
>
> The following exception is raised in Stratos Manager when an user is logging 
> into web ui:
> TID: [0] [STRATOS] [2014-06-01 20:57:22,614] ERROR 
> {org.jaggeryjs.jaggery.core.manager.WebAppManager} -  
> org.mozilla.javascript.WrappedException: Wrapped 
> org.jaggeryjs.scriptengine.exceptions.ScriptException: ClientAbortException:  
> java.io.IOException: Broken pipe (/console/modules/file.js#32) 
> {org.jaggeryjs.jaggery.core.manager.WebAppManager}
> org.jaggeryjs.scriptengine.exceptions.ScriptException: 
> org.mozilla.javascript.WrappedException: Wrapped 
> org.jaggeryjs.scriptengine.exceptions.ScriptException: ClientAbortException:  
> java.io.IOException: Broken pipe (/console/modules/file.js#32)
>       at 
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:571)
>       at 
> org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
>       at 
> org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:447)
>       at 
> org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>       at 
> org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>       at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>       at 
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>       at 
> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>       at 
> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>       at 
> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>       at 
> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>       at 
> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>       at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>       at 
> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>       at 
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>       at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>       at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: org.mozilla.javascript.WrappedException: Wrapped 
> org.jaggeryjs.scriptengine.exceptions.ScriptException: ClientAbortException:  
> java.io.IOException: Broken pipe (/console/modules/file.js#32)
>       at 
> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>       at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>       at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
>       at 
> org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)
>       at 
> org.jaggeryjs.rhino.console.modules.c1._c_anonymous_1(/console/modules/file.js:32)
>       at org.jaggeryjs.rhino.console.modules.c1.call(/console/modules/file.js)
>       at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>       at 
> org.jaggeryjs.rhino.console.controllers.c0._c_anonymous_1(/console/controllers/router.jag:57)
>       at 
> org.jaggeryjs.rhino.console.controllers.c0.call(/console/controllers/router.jag)
>       at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
>       at 
> org.jaggeryjs.rhino.console.controllers.c0._c_script_0(/console/controllers/router.jag:23)
>       at 
> org.jaggeryjs.rhino.console.controllers.c0.call(/console/controllers/router.jag)
>       at 
> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
>       at 
> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
>       at 
> org.jaggeryjs.rhino.console.controllers.c0.call(/console/controllers/router.jag)
>       at 
> org.jaggeryjs.rhino.console.controllers.c0.exec(/console/controllers/router.jag)
>       at 
> org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
>       ... 35 more
> Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: 
> ClientAbortException:  java.io.IOException: Broken pipe
>       at 
> org.jaggeryjs.jaggery.core.manager.CommonManager.print(CommonManager.java:297)
>       at 
> org.jaggeryjs.jaggery.core.manager.WebAppManager.print(WebAppManager.java:171)
>       at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>       ... 50 more
> Caused by: ClientAbortException:  java.io.IOException: Broken pipe
>       at 
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388)
>       at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:462)
>       at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
>       at 
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:413)
>       at 
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:401)
>       at 
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)
>       at 
> org.jaggeryjs.jaggery.core.manager.CommonManager.print(CommonManager.java:292)
>       ... 55 more
> Caused by: java.io.IOException: Broken pipe
>       at sun.nio.ch.FileDispatcher.write0(Native Method)
>       at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
>       at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69)
>       at sun.nio.ch.IOUtil.write(IOUtil.java:26)
>       at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
>       at 
> org.apache.tomcat.util.net.SecureNioChannel.flush(SecureNioChannel.java:135)
>       at 
> org.apache.tomcat.util.net.SecureNioChannel.write(SecureNioChannel.java:488)
>       at 
> org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:94)
>       at 
> org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:174)
>       at 
> org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:163)
>       at 
> org.apache.coyote.http11.InternalNioOutputBuffer.flushBuffer(InternalNioOutputBuffer.java:242)
>       at 
> org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:213)
>       at 
> org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41)
>       at 
> org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:268)
>       at 
> org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)
>       at 
> org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192)
>       at org.apache.coyote.Response.doWrite(Response.java:505)
>       at 
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:383)
>       ... 61 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to