You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "madhu.ns@gmail.com" <ma...@gmail.com> on 2011/12/09 12:53:17 UTC
NoSuchMethodException: does not contain handler
Hi All,
We are getting the below exception when we are running load test, normal
scenario it wont appear.
Struts version we use is 1.3.
Exception details:
[12-05-11-10:08:33] 488361790 [WebContainer : 11] ERROR
com.ibm.dolphin.webengine.lifecycle.plugins.ServletManagerPlugin - servlet
exception:
javax.servlet.ServletException: Request[/newJournal] does not contain
handler parameter named 'operation'. This may be caused by whitespace in the
label text.
at
org.apache.struts.actions.DispatchAction.unspecified(DispatchAction.java:194)
at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:242)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:167)
at
com.ibm.finance.glui.web.struts.action.GLUIAction.execute(GLUIAction.java:100)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:413)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:225)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:711)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
com.ibm.dolphin.webengine.lifecycle.plugins.ServletManagerPlugin.handleRequest(ServletManagerPlugin.java:117)
at
com.ibm.dolphin.webengine.lifecycle.LifecycleManager.processLifecycleRequest(LifecycleManager.java:225)
at
com.ibm.dolphin.webengine.servlet.DRLProxyServlet.service(DRLProxyServlet.java:90)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
[12-05-11-10:05:18] 495851211 [WebContainer : 1] ERROR
com.ibm.dolphin.webengine.lifecycle.plugins.ServletManagerPlugin - servlet
exception root cause:
java.lang.NoSuchMethodException: Action[/myJournal] does not contain
specified method (check logs)
at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:258)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:167)
at
com.ibm.finance.glui.web.struts.action.GLUIAction.execute(GLUIAction.java:100)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:413)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:225)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:711)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
com.ibm.dolphin.webengine.lifecycle.plugins.ServletManagerPlugin.handleRequest(ServletManagerPlugin.java:117)
at
com.ibm.dolphin.webengine.lifecycle.LifecycleManager.processLifecycleRequest(LifecycleManager.java:225)
at cetManagerPlugin.java:117)
at
com.ibm.dolphin.webengine.lifecycle.LifecycleManager.processLifecycleRequest(LifecycleManager.java:225)
at
com.ibm.dolphin.webengine.servlet.DRLProxyServlet.service(DRLProxyServlet.java:90)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
Please can you help us to resolve this?
Thanks in advance
--
View this message in context: http://struts.1045723.n5.nabble.com/NoSuchMethodException-does-not-contain-handler-tp5061500p5061500.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: NoSuchMethodException: does not contain handler
Posted by "madhu.ns@gmail.com" <ma...@gmail.com>.
Hi Li,
We are submitting the http request through java script. Below is the code.
function submitNewJournalAction(operation) {
var url;
if(operation=="journalInformation") {
url =
'/finance/glui/dolphin.wss/newJournal?operation=loadPageData&link_id=new-journal';
}
if(operation=="accountInformation") {
url =
'/finance/glui/dolphin.wss/newJournal?operation=loadAccountInfo&link_id=new-journal';
}
if(operation=="supportDocumentation") {
url =
'/finance/glui/dolphin.wss/newJournal?operation=loadSupportingDocumentInfo&link_id=new-journal';
}
document.newJournal.action = url;
document.newJournal.submit();
}
And the server side code is an Action classes extnded by DispatchAction from
Struts framework
public ActionForward loadPageData(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse reponse) {
log.debug("in Action");
final String STRING_METHOD = "loadPageData";
NewJournalForm newJournalForm = (NewJournalForm) form;
/*
some bussines logic processing
*/
log.debug("end of Action");
return mapping.findForward(Constants.STRUTS_FORWARD_FAIL_STRING);
}
Let us know if you need anything else.
Thanks in advance.
--
View this message in context: http://struts.1045723.n5.nabble.com/NoSuchMethodException-does-not-contain-handler-tp5061500p5079345.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: NoSuchMethodException: does not contain handler
Posted by Li Ying <li...@gmail.com>.
Please show us:
(1)the http request made by client side
(2)the server side code
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org