Where to point mobilefirst application build path to worklightconsole or project.war?

Currently having problem where to point mobilefirst application to worklightconsole context path or project.war context path ?

the mobilefirst application required those .jar file and java classes inside project.war. What is the best possible solution?

Should add shared libraries to worklightconsole ?

Upvotes: 0

Views: 380

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

The MobileFirst project's .war file contains server-related information and is deployed to the underlying application server hosting the MobileFirst Server.

The application server has a Host name. This is the host name or IP address that the client application will attempt connecting to.

How can we call myprojectmobilefirst.war?

You are not supposed to "call" this .war file. In fact, after deployment you should generally leave it alone.

Does routing policy should be declare?

As this is about connecting the client application to the server; this is not related as well.

What is the effective approach?

You need to explain what is the actual problem that you are experiencing.

  • Are you previewing the application in the console and unable to connect to the server?

  • Are you running the application on a device and unable to connect to the server?

If you are unable to connect to the server, double-check the server URL.

Upvotes: 1

Related Questions