When running selenium tests seeing this message Request method 'HEAD' not 
supported endlessly
---------------------------------------------------------------------------------------------

                 Key: MIFOS-4763
                 URL: http://mifosforge.jira.com/browse/MIFOS-4763
             Project: mifos
          Issue Type: Bug
            Reporter: Sumit Shah


Selenium client is sending a HEAD request many times and is spamming the logs 
with messages like:


2011-02-18/21:14:02.687/PST ERROR, 
org.mifos.framework.servlet.UncaughtExceptionHandler, ?, ?, ?, Uncaught 
exception while accessing '/mifos
/login.ftl'
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 
'HEAD' not supported
        at 
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter$ServletHandlerMethodResolver.resolveHandlerMethod(A
nnotationMethodHandlerAdapter.java:623)
        at 
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.
java:421)
        at 
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)

Either selenium should not send this see:

http://code.google.com/p/selenium/issues/detail?id=462

or the spring config should handle this

or org.mifos.framework.servlet.UncaughtExceptionHandler should ignore this 
particular exception in this particular case

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to