Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Startup the Mobile Engine via Eclipse

Dear all,

In our company, we are using the MAM for a couple of years. I am doing all the developments via Eclipse.

For debugging the MAM or starting up the MAM from my development environment, I've made a small startup class which starts up the Mobile Engine and launches a browser. All works fine, except that I have to login every time again, and I want to login automatically (by providing the username and password in my startup class, so I can bypass the login screen).

Is there anyone who knows how to login (via JAVA) in the Mobile Engine?

This is the code I use to startup the Mobile Engine:

public static void main(String[] args)
	String [] arg = {"-home:C:\\Program Files\\SAP Mobile Infrastructure", "-trace", "-url:MAM25/start", "-app:jsp"};
	openWebBrowser("iexplore", "http://localhost:4444");

I have tried already to add something like

"-logonuser:POLMKT", "-logonpwd:init123"

as an extra argument, but it doesn't seem to work...

Thanks in advance!

Best regards,

Diederik Van Wassenhove

Former Member
Not what you were looking for? View more on this topic or Ask a question