Skip to Content
author's profile photo Former Member
Former Member

[ME21] error message : cannot find message associated with key

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/

Internal Servlet Error:

javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(

at org.apache.jasper.runtime.PageContextImpl.forward(

at 0002findex0002ejspindex_jsp_0._jspService(

at org.apache.jasper.runtime.HttpJspBase.service(

at javax.servlet.http.HttpServlet.service(



when create this application, I'm using tcode : merep_sbuilder

Sync type : U01 - Upload using SMAPIs


SAP Mobile Engine 2.1

and generate .war file using MDK tool

any one know about this ??

thanks & regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2004 at 11:20 AM

    Hello Adyt,

    Seems to me as a forwarding problem.

    Check on the mapping of you target page.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      this error comes up when the destination serlvet throws an exception other than ServletException!

      Its a standard tomcat bug!

      Rgds Thomas



      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/

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.