How to hide log message "SAAJ0303" for component tESBProviderFault?

One Star

How to hide log message "SAAJ0303" for component tESBProviderFault?

Hello,
During execution of an integration job with the component tESBProviderFault (Talend ESB 5.3.1) a log message appears on the console output:
 PhaseInterceptorChain          WARN  Application {http://www.talend.org/service/}myTransferSvc#{http://www.talend.org/service/}retrieveFiles has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:203)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)
at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1074)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1010)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:365)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:937)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:998)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Unknown Source)
Jul 02, 2013 3:54:33 PM com.sun.xml.internal.messaging.saaj.soap.ver1_1.Fault1_1Impl getFaultSubcodes
SEVERE: SAAJ0303: Operation getFaultSubcodes not supported by SOAP 1.1

A short research in the internet has produced the following results:
A similar exeception message (with »getFault« instead of »getFaultSubcodes«) was handled with issue TESB-5894. In the web article JAX-WS: Throwing generic SOAPFaults under WLS 10.3 a solution is described, where the initialization of the SOAPFactory object has to be changed to avoid the exception.

Is there a simple solution to prevent the logging of this message to the system console?

Regards,
Sebastian
Community Manager

Re: How to hide log message "SAAJ0303" for component tESBProviderFault?

Hi Sebastian
Please reopen TESB-5894 or report a new issue for this problem, the error message as showed in issue TESB-5894 is still printed on the console. Now, you can use a component called tRedirectOutput to redirect the error message to a log file, for more information, see this topic:
http://www.talendforge.org/forum/viewtopic.php?pid=108078#p108078
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: How to hide log message "SAAJ0303" for component tESBProviderFault?

Hello All,
We have the same problem with Talend 5.3.1. The component tESBProviderFault gives a fault message back to the caller when the job runs local but when this job is deployed in Talend Runtime afterwards nothing is send to the caller anymore. That is very evil to send nothing back.
How can we avoid the exception be thrown of tESBProviderFault?
Kind Regards
Hilderich
Four Stars

Re: How to hide log message "SAAJ0303" for component tESBProviderFault?

http://helicaltech.com/redirecting-talend-console-logs/
This may help to redirect talend console output to file...
Vaibhav
One Star

Re: How to hide log message "SAAJ0303" for component tESBProviderFault?

Hello sanvaibhav,
Thank you for this hint. But we don't need one more log file with the console output. We try to avoid this exception so the component tESBProviderFault works properly and returns a fault message to the Web Service Caller.
We need a way to rectify this misbehavior of tESBProviderFault.
Kind Regards
Hilderich