This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes NoSuchMethodException: does not contain handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NoSuchMethodException: does not contain handler" Watch "NoSuchMethodException: does not contain handler" New topic
Author

NoSuchMethodException: does not contain handler

Madhu Palakshappa
Greenhorn

Joined: Jun 26, 2008
Posts: 3
Hi Team,

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
Madhu Palakshappa
Greenhorn

Joined: Jun 26, 2008
Posts: 3
Hi All,

Any update on above issue..? same error is repeating for all load test of our application.

Thanks in advance.
Madhu Palakshappa
Greenhorn

Joined: Jun 26, 2008
Posts: 3
Hi Team,

Any soulution for above issue ?

Thanks
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hi Madhu, couple of years ago when I did load test to a struts application such weird errors were thrown i do not remember properly why it happened but it could be from client side as well, (since this happened from my local machine (1.5GB) and later when i tried it from (sort of) high end machine(4GB RAM) it didn't happen). May be you need to cross verify-
What is the client configuration (the system where the load test tool is executing)? Is it good enough to inject say 300 concurrent requests at a time?
What are the actual requests getting injected to app server? find this out from the load test tool log, if it is actually requesting the correct URL's?
When is this failing? I think the test would go smooth until certain number of request and suddenly it breaks. Is it concurrent load or step up load? if it is concurrent load try with step up and see where is it breaking.
I majorly doubt on your client system configuration for the sort of error i see above (if it is the only one).
I wish i could help you more, but couldn't since i do not remember much


Have Fun with Java
little,little.. little by little makes a lot..
 
Consider Paul's rocket mass heater.
 
subject: NoSuchMethodException: does not contain handler
 
Similar Threads
SRVE0068E Uncaught Exception created in one of the service methods of the servlet / Cannot find bean
Websphere Commerce : from Java filter to Struts action mapping
"The path of an ForwardConfig cannot be null" error in Second run
IceFaces 1.8 with websphere7
javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Async operation timed out