MSOffice.cltreq.asp action not found

28 views
Skip to first unread message

Neoh59

unread,
Nov 26, 2010, 8:28:09 AM11/26/10
to play-framework
Hi all,

I just deploy an app (Intranet app) and sometimes I can see this
error :
------------
MSOffice.cltreq.asp action not found

Action not found
Action MSOffice.cltreq.asp could not be found. Error raised is
Controller controllers.MSOffice.cltreq not found

play.exceptions.ActionNotFoundException: Action MSOffice.cltreq.asp
not found
at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:
436)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:76)
at play.server.ServletWrapper
$ServletInvocation.execute(ServletWrapper.java:472)
at play.Invoker$Invocation.run(Invoker.java:187)
at play.server.ServletWrapper
$ServletInvocation.run(ServletWrapper.java:463)
at play.Invoker.invokeInThread(Invoker.java:61)
at play.server.ServletWrapper.service(ServletWrapper.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:
96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:
182)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
844)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$SocketProcessor.run(JIoEndpoint.java:353)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Exception: Controller controllers.MSOffice.cltreq
not found
... 28 more
----------


I found this but I don't understand exactly what it is :
http://www.msoffice-cltreq-asp.info/


It seems to be not a problem. But what can I do if I don't want this
error happens.

Play 1.1
Jboss 4.2.3 GA
Apache HTTPD 2.2.3

dirk

unread,
Nov 26, 2010, 9:27:05 AM11/26/10
to play-fr...@googlegroups.com
At the bottom of your routes file you have a line like this:

# Catch all
*            /{controller}/{action}        {controller}.{action}

So when a request is received for MSOffice/cltreq.asp, play looks for the controller MSOffice and the action cltreq.asp
It is not found, so an error is thrown.

You probably don't need the catch all route, but if you remove it, make sure all the actions on your site are defined in the routes file.
Alternatively you can set up a route to catch MSOffice/cltreq.asp and return a 404.


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.


Reply all
Reply to author
Forward
0 new messages