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

Not able to run servlet on MI Client.

Hi, on the client side i have installed MI Client ( MOBILEENGINE_JSP Framework 7050), and i have installed the SAP Netweaver Developer Studio Version: 7.0.07,

Now i have downloaded the program given in the help, in which a basic servlet reads data from the MI Client configuration into a bean and calls a JSP to display the information about the MI client installation.

But the problem is that when i am trying to run this servlet (SystemInfo)

in the browser using (localhost:4444) i am not able to run it.

What could be the problem?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 28, 2007 at 06:16 AM

    Hi Archit,

    Your servlet should extend AbstractMEHttpServlet and also implement its methods. You can get more information in the MDK documentation.

    Best Regards,

    Karthik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 28, 2007 at 10:23 AM

    hi archit

    1) did you assign and deploy the application from the MI server?

    2) if not, did you copy the war file into the webapps folder rather than deploying it?

    in case of 1, check whether you have registered in using the right application name

    or MCD. it should be the same string returned by the method getApplicationName()

    and assigned to the user for deployment. for the sample codes in MDK, try to check

    the value of the Constants.MI_APPLICATION_NAME.

    if case 2, your page will not be shown since the MI client cannot retrieve the info of

    the application you are trying to execute when it tries to initialize the servlet. you

    might be getting some exceptions i guess.

    if you just want to run a normal servlet, just implement the HttpServlet instead of

    the AbstractHttpMeServlet and access your servlet by specifying the URL on the

    address box of your browser.

    hope this help.

    regards

    jo

    Add a comment
    10|10000 characters needed characters exceeded

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.