Skip to Content
avatar image
Former Member

different behavour of MAM application when starting via NWDS versus SAP MI

Hello,

We have MAM25 installed and running and have implemented some modification. When I run and test the application from the NWDS everything works fine. But when I restart my laptop and I'm NOT using NWDS and start the mobile client and test the (already deployed) application from there, then the application is behaving differently some functionality that is created is working different.

It looks like that the mobile client is started with different startup parameters. Does anyone has the same experience? Is the Mobile client started differently from NWDS (via run application)? If yes, why?

Hope some one can help me?

Regards,

Ryan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 08, 2008 at 10:42 PM

    Hello,

    Most problems of this nature are coming from the classpath. Make sure it is the same for both environment.

    Look at your startup.bat for how the classpath is made for the initial startup. The application classpath is loaded afterward (so in NWDS it should load AFTER the MI classpath as implementation can override one another).

    Startup arguments are also in startup.bat. I usually do not use the Startup class in NWDS but the FrameworkInitializer class.

    Thank you,

    Julien.

    msc mobile Canada inc.

    http://www.msc-mobile.com

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      Try putting you application code (the src folder) at the end of the class path (in project settings, go in the java build path, select the order tab and use the buttons to send the classpath down).

      Thank you,

      Julien.

      msc mobile Canada

      http://www.msc-mobile.com

  • avatar image
    Former Member
    Oct 10, 2008 at 09:08 AM

    Thanks Julien,

    You helped me out!!!

    Regards,

    Ryan

    Add comment
    10|10000 characters needed characters exceeded