on 09-07-2004 3:47 AM
Dear all,
I try to develop an Mobile application using smartSync,
but when the application running (on client) got an error message :
-
Error: 500
Location: /UPLOAD_TEST/upload_testapp/Menu.do
Internal Servlet Error:
javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:238)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)
at 0002findex0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_0.java:62)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
-
note:
when create this application, I'm using tcode : merep_sbuilder
Sync type : U01 - Upload using SMAPIs
Bapi wrapper : MEREP_CONTACT_CREATE
SAP Mobile Engine 2.1
and generate .war file using MDK tool
any one know about this ??
thanks & regards,
Hello Adyt,
Seems to me as a forwarding problem.
Check on the mapping of you target page.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this error comes up when the destination serlvet throws an exception other than ServletException!
Its a standard tomcat bug!
Rgds Thomas
-->
http://issues.apache.org/bugzilla/show_bug.cgi?id=19114
-->From apache.org:
When a forwarded servlet throws an exception other than ServletException or
IOException, the thrown exception is lost. This is due to the line:
throw new ServletException(sm.getString("dispatcher.forwardException", t));
(found in org/apache/tomcat/facade/RequestDispatcherImpl.java:210)
the earlier catched t is here not passed into the constructor of
ServletException but into getString.
To reproduce construct a servlet that throws an Exception (other than
ServletException and IOException) and another servlet that forwards to it. You
will get just a forwardException (if you have the proper locale strings
installed!) but the originally thrown exception will get lost forever.
User | Count |
---|---|
76 | |
10 | |
9 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.