Hi Joe<div><br></div><div>There is also PHK's concept of "guru meditation" in the varnish http accelerator..</div><div><br></div><div><a href="http://www.version2.dk/blog/guru-meditation-9738">http://www.version2.dk/blog/guru-meditation-9738</a></div>
<div><br></div><div>Basically the idea is: the user cannot do anything about the error, so let it fail, but provide the transaction Id (xid) so the admin can can troubleshoot...</div><div><br></div><div>Thomas<span></span><br dir="ltr">
<br>onsdag den 29. august 2012 skrev Joe Armstrong :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As I was revising my Erlang book I came up with a new slogan (like the<br>

old "let it crash") ... I like slogans they are<br>
easy to remember - here's a new one.<br>
<br>
Fail politely, fail noisily means the user should get a polite error message<br>
and the programmer should get an informative error message when an<br>
application crashes.<br>
<br>
There should be TWO error messages not one.<br>
<br>
I want to collect examples of polite and noisy error messages for a<br>
future lecture.<br>
<br>
Today I got this error message - which I consider not just noisy but<br>
bordering upon downright rude - all<br>
I did was click on a button - I didn't want to unleash the wrath of<br>
the java monster - I was required to tell the system<br>
how many hours I had worked but the java monster spake thus, and there<br>
was fear and trembling in the land<br>
and all that read what was writ were sore afraid:<br>
<br>
---<br>
<br>
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: System<br>
received an expired SSO ticket<br>
        at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:555)<br>
        at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1099)<br>
        at com.sap.mw.jco.JCO$Client.connect(JCO.java:3644)<br>
        at com.sap.mw.jco.JCO$Pool.getClient(JCO.java:5904)<br>
        at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:7081)<br>
        at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:7030)<br>
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.getClient(AbstractJCOClientConnection.java:444)<br>
        at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModelInternal(BackendConnections.java:326)<br>
        at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:266)<br>
        at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:167)<br>
        at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:229)<br>
        at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.connectModel(FPMComponent.java:864)<br>
        at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.connectModel(FPMComponent.java:1094)<br>
        at com.sap.pcuigp.xssfpm.wd.BackendConnections.init(BackendConnections.java:155)<br>
        at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.init(InternalBackendConnections.java:225)<br>
        at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:204)<br>
        at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:105)<br>
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:161)<br>
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)<br>
        at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:258)<br>
        at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)<br>
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:590)<br>
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1457)<br>
        at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:660)<br>
        at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:349)<br>
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)<br>
        at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:62)<br>
        at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.service(DispatchHandlerForRequestManager.java:39)<br>
        at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.service(DispatchHandlerForRequestManager.java:46)<br>
        at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)<br>
        at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToAppContext(ExecutionContextDispatcher.java:68)<br>
        at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:53)<br>
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:245)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.callRequestManager(JavaApplicationProxy.java:1244)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.callEmbeddedApplication(JavaApplicationProxy.java:1122)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$StartCommand.doExecute(JavaApplicationProxy.java:1575)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$AbstractCommand.execute(JavaApplicationProxy.java:1488)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy$Runner.execute(JavaApplicationProxy.java:1028)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy.execute(JavaApplicationProxy.java:859)<br>
        at com.sap.tc.webdynpro.clientserver.embedding.JavaApplicationProxy.start1(JavaApplicationProxy.java:637)<br>
        at com.sap.tc.webdynpro.portal.pb.impl.JavaApplicationProxyAdapter.create(JavaApplicationProxyAdapter.java:166)<br>
        at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1691)<br>
        at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:411)<br>
        at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:655)<br>
        at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:227)<br>
        at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:137)<br>
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:161)<br>
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)<br>
        at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:258)<br>
        at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:206)<br>
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:590)<br>
        at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1457)<br>
        at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:660)<br>
        at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:349)<br>
        at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)<br>
        at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)<br>
        at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:89)<br>
        at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)<br>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)<br>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<br>
        at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)<br>
        at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)<br>
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)<br>
        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)<br>
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)<br>
        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)<br>
        at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)<br>
        at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)<br>
        at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)<br>
        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)<br>
        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)<br>
        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)<br>
        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)<br>
        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)<br>
        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)<br>
        at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)<br>
        at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)<br>
        at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)<br>
        at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)<br>
        at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)<br>
        at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)<br>
Caused by:<br>
RfcException:<br>
    message: System received an expired SSO ticket<br>
    Return code: RFC_SYS_EXCEPTION(3)<br>
    error group: 103<br>
    key: RFC_ERROR_LOGON_FAILURE<br>
        at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:831)<br>
        at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1092)<br>
        ... 97 more<br>
<br>
-- there was also a one liner<br>
<br>
   System received an Expired SSO ticket<br>
<br>
   (I guess this is the meaning of the longer message)<br>
<br>
-<br>
<br>
(I think the old BSD crashed with the epic words "pointers bungled,<br>
sorry" and then just immediately halted - but that was from<br>
memory - can anybody remember this)<br>
<br>
<br>
/Joe<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'erlang-questions@erlang.org')">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>