[ 
https://issues.apache.org/jira/browse/GERONIMO-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623304#action_12623304
 ] 

Manu T George commented on GERONIMO-4253:
-----------------------------------------

We may also want to print a message that an axis fault has occured in case the 
logging level is WARN. 

> Server logging similar exceptions for AxisFaults and for unexpected errors
> --------------------------------------------------------------------------
>
>                 Key: GERONIMO-4253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.1.2
>         Environment: All
>            Reporter: Manu T George
>            Priority: Minor
>
> When a SOAP Fault is thrown in the server response, the server logs bring up 
> an exception:  
>                                                                          
> 08:46:22,027 ERROR Axis2WebServiceContainer Exception occurred while     
> trying to invoke service method doService()                              
> org.apache.axis2.AxisFault: An error was detected during JAXWS           
> processing                                                               
> at                                                                       
> org.apache.geronimo.axis2.ejb.EJBInterceptor.intercept(EJBInterceptor.ja 
> va:88)                                                                   
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)           
> at                                                                       
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
> a:39)                                                                    
> at                                                                       
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
> Impl.java:25)                                                            
> at java.lang.reflect.Method.invoke(Method.java:585)                      
> at                                                                       
> org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocati 
> on.invoke(ReflectionInvocationContext.java:158)                          
> at                                                                       
> org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed( 
> ReflectionInvocationContext.java:141)                                    
> at                                                                       
> org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorS 
> tack.java:73)                                                            
> at                                                                       
> org.apache.openejb.core.stateless.StatelessContainer.invokeWebService(St 
> atelessContainer.java:277)                                               
> at                                                                       
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessCo 
> ntainer.java:206)                                                        
> at                                                                       
> org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessCo 
> ntainer.java:188)                                                        
> at                                                                       
> org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessCon 
> tainer.java:165)                                                         
> at                                                                       
> org.apache.geronimo.axis2.ejb.EJBMessageReceiver.receive(EJBMessageRecei 
> ver.java:88)                                                             
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)       
> at                                                                       
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques 
> t(HTTPTransportUtils.java:275)                                           
> at                                                                       
> org.apache.geronimo.axis2.Axis2WebServiceContainer.processXMLRequest(Axi 
> s2WebServiceContainer.java:386)                                          
> at                                                                       
> org.apache.geronimo.axis2.Axis2WebServiceContainer.processPOSTRequest(Ax 
> is2WebServiceContainer.java:335)                                         
> at                                                                       
> org.apache.geronimo.axis2.Axis2WebServiceContainer.doService2(Axis2WebSe 
> rviceContainer.java:265)                                                 
> at                                                                       
> org.apache.geronimo.axis2.Axis2WebServiceContainer.doService(Axis2WebSer 
> viceContainer.java:204)                                                  
> at                                                                       
> org.apache.geronimo.axis2.Axis2WebServiceContainer.invoke(Axis2WebServic 
> eContainer.java:167)                                                     
> at                                                                       
> org.apache.geronimo.tomcat.TomcatEJBWebServiceContext$EJBWebServiceValve 
> .invoke(TomcatEJBWebServiceContext.java:180)                             
> at                                                                       
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator 
> Base.java:525)                                                           
> at                                                                       
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java 
> :128)                                                                    
> at                                                                       
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
> :102)                                                                    
> at                                                                       
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. 
> java:109)                                                                
> at                                                                       
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568 
> )                                                                        
> at                                                                       
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 
> 86)                                                                      
> at                                                                       
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 
> 4)                                                                       
> at                                                                       
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( 
> Http11Protocol.java:583)                                                 
> at                                                                       
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)  
> at java.lang.Thread.run(Thread.java:595)                                 
>                                                                          
> The exception should be logged like this only if something unexpected 
> happens. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to