Worklight - Can we deploy ear/war to worklight server - ibm-mobilefirst

Iam into a different usecase,
Iam workling on General webapplications which we develop using rad for Websphere, and Worklight applications also.
My query here is, can we deploy my webapplication's ear/war file to the Worklight server?
We have a worklight server but dont have hosting for webaplication till now, so can we use the worklight server for hosting the webapplications' ear/war? is there any possibility to do that?

The Worklight Server is able to process Worklight-based applications, not other type of "web-based" applications.

I believe the original question is if we could use Worklight server to deploy EAR/WARs of any applications which are not related to Worklight.
Answer: When the Worklight is nothing but an J2EE application deployed in WAS or WAS Liberty Core, i dont see any issue deploying any EAR/WAR of applications which are not related to Worklight. But i dont think it is highly recommended or advisable since it is against the licensing policy in the Worklight purchase.

Related

How to configure two IBM MobileFirst Platform v7.1 server to one IBM http web server?

Please help me in configuring two IBM MObilefirst Platform 7.1 ap server to one IBM HTTP Web server. As per the IBM Documents I should follow Server Farm configurations.
Need guidance in doing the same.
Scenario 1
Resources: Two App Servers with IBM MobileFirst Platform v7.1 installed and plugin-cfg geneated using jConsole. Each app server is having separate DB for each. One web server with IBM HTTP installed.
Scenario 2Resources: Two App Servers with IBM MobileFirst Platform v7.1 installed and plugin-cfg geneated using jConsole. Both the app server is having common DB. One web server with IBM HTTP installed.
I need both the app servers to be up at the same time in the above given scenarios. Please let me know in scenario one should I install any separate plugin for setting up server farm configuration.
note:In Scenario 2 currently only one App server can be made up at a time
Use JConsole to generate the plugin-cfg.xml from your individual Liberty servers. You can either merge the plugin-cfg.xml files manually or use Job Manager to generate a merged plugin from both the Liberty servers.
More details here:
Setting up HTTP Server in a WebSphere Application Server Liberty profile farm
Manually merge the files by using a text editor.
Use the job manager to submit a Generate merged plugin configuration for Liberty servers job.
Generating a merged plug-in configuration for Liberty profile servers using the job manager

Using Mobilefirst Server V8.0 instead using Bluemix Service Cloud - production

Good Day!
I have a confusing with the IBM MobileFirst v8.0, does Mobilefirst App are only using Bluemix service / Server, or can MobileFirst App run on MobileFirst Server v8.0 alone and also does the MobileFirst Server same with MobileFirst Developer Kit.
You can run MobileFirst Server either on-prem, meaning you install it locally in production-ready server that you maintain yourself,
Or you can use IBM Bluemix. In Bluemix you are "given" a space where you can either use the Mobile Foundation service, which takes care of setting up a server for you with MobileFirst Server, or you can go through some steps to create it yourself.
To install on-prem: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/installation-configuration/
To install on Bluemix: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/bluemix/
In case of on-prem be sure to first contact IBM to purchase a license so you could gain access to download the required files.
The developer kit is like on-prem, and provides a ready environment for development purposes locally in your computer. It is like the Developer plan when using the Mobile Foundation service plan in Bluemix.
Developer kit: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/installation-configuration/development/mobilefirst/
Developer plan: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/bluemix/using-mobile-foundation/

IBM Worklight Application Deployment

I want to deploy my application on Apache tomcat Server.I went through the documentation part but things were not clear to me..Can Anybody please help me deploying my Worklight application on Apache tomcat.Just want to know the step by step procedure.I am newbie to Apache tomcat,please bear with me.I knw about the .adapter files, .wl.app files but much confused about deploying and accessing the .apk,.war files..
Thanks in Advance
Tomcat is an application server. It runs web apps called WAR files (it is not the same as web apps for mobile devices).
You must purchase Worklight for your organization in order to receive additional required libraries, such as the Worklight JEE .jar file, which is basically the Worklight Server and Worklight Console.
You deploy the above files, including the Worklight project's .war file, and its artifacts: the .wlapp and .adapter files, to the Tomcat application server, either manually or by using the installation tools (Ant scripts and the IBM Installation Manager) provided by IBM as part of your license purchasing.

How does a Worklight Cluster differ from a Worklight Server Farm?

Worklight Liberty Server Farm is described here:
http://www-01.ibm.com/support/knowledgecenter/api/content/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_install_server_farm_man_liberty.html
A Worklight Server Farm on Liberty is described here:
http://www-01.ibm.com/support/knowledgecenter/api/content/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_setting_up_WL_liberty_8_5_cluster_env.html
The first link discusses server farms. The second link mentions a server farm, but then mentions standalone servers in a cluster. Has IBM confused the terms cluster and farm in the second link?
What does a Farm give me over a regular set of standalone servers in a cluster?
Thanks
The first link, http://www-01.ibm.com/support/knowledgecenter/api/content/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/install_config/t_install_server_farm_man_liberty.html is about a mandatory configuration of Worklight 6.2 so that Worklight administration operations (basically any operation performed from the administration console such as uploading a wlapp) are propagated to all instances in the farm. If that procedure is not followed the farm will behave inconsistently.
The second link (http://www-01.ibm.com/support/knowledgecenter/api/content/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_setting_up_WL_liberty_8_5_cluster_env.html) is about using IBM HTTP Server as a front end to all Worklight server instances. Following that procedure only is not sufficient in Worklight 6.2, to have a functional farm.

IBM Worklight 6.0 - How to deploy worklight app into Worklight Server?

Is it possible to deploy an app to external Worklight server instance when I don't have the IBM Worklight Server installed on my computer ?. Is there any alternative to use features inside IBM Worklight Developer to allow us to deploy to external worklight server for testing environment ?
You can use Run AS --> Build for Remote Server option to build for external worklight server.
It will give you WLAPP files in bin folder. Copy that and deploy that in Worklight server console.
For more info please use this link
Find the following link for remote server deployment.
Deploying in test and production environment