I downloaded MobileFirst Developer Kit and now I want to open Ibm Application Center. In the tutorial says that "When you install MobileFirst Foundation, the Application Center is automatically installed in the specified application server." I enter the address "http://localhost:9080/appcenterconsole/" in web browser but I get the error "Context Root Not Found". The address "http://localhost:9080/mfpconsole" works. What do I need to do to open application center console?
The MobileFirst Developer Kit does not include the Application Center. Application Center is only available in the full (paid) version of the product.
Related
We have deployed IBM App Center (from IBM MobileFirst Foundation 8.0) for Android in our Application Center.
Log on the Application Center install site to download IBM App Center.
Downloaded and installed IBM App Center to Mobile device and installed successfully.
When trying to log on to IBM AppCenter (mobile app) on the Mobile device, we get the following error:
Error on mobile device: "connection failed. check your connection details (http status 404)"
Trace_log: "[1/13/17 13:14:03:673 GST] 00002f71 id= DeviceService 3 create Response: [{"os":"Android","os_description":"Android 5.0"," model":"ALE-L21","nickname":"demo's ALE-L21","link":"http: //httpservername.companyname.com: 8080/applicationcenter/service/device/e6c6f83ef30e5c1d"," user_display":"****","maker":"HUAWEI","device_id":"e6c6f83ef30e5c122"," os_version":"21","created":"2017-01-13T09:14:03.663Z","updated":"2017- 01-13T09:14:03.663Z","family":"","user_id":"***"}]"
Additional info:
Loadbalancer (443) > ibm httpserver (8080) > Liberty (9080) > db2
Ideally 404 comes if the context is not proper. I am not sure if you have changed that. But in this link you can find an explanation how to properly configure the appcenter server definitions.
I new new Mobile first platform and websphere application server(WAS)
I installed mobile first server (MobileFirst-8.0.0.0)on my system and I am assuming the mobile first runs on WAS
I am having following queries.
How to deploy .war file in mobile first server 8 as it's console which is run 9080 port doesn't have option to deploy war file as it only have option to deploy adapter ?
If a deploy adapter on the mobile first server, at what location on the server i find the file ?
If war deployed on websphere then still how i use mobile first sevices like push, analytics.
Can i use spring and hibernate while developing adapters or any other ibm options are available in contrast to spring and hibernate.
As I am new to ibm products, want to know what are the topics and product need to learn before i start development.
Kindly share
Before all, you should google.
How to deploy .war file in mobile first server 8 as it's console which
is run 9080 port doesn't have option to deploy war file as it only
have option to deploy adapter ?
In v8.0 you no longer need to deploy .war files to the underlying application servers. Certainly not in the developer edition.
You either start a server instance on Bluemix, or use the DevKit for local installations. Then, you either create native apps or Cordova apps - using the native tools or Cordova CLI, and develop adapters using Maven.
Learn more in the Knowledge Center and find additional documentation and tutorials in the developer center.
If a deploy adapter on the mobile first server, at what location on
the server i find the file ?
The adapter file (.adapter) is deployed to the MobileFirst database.
If war deployed on websphere then still how i use mobile first sevices
like push, analytics.
Yes, those are services that are available to you out of the box. Learn more in the knowledge center and developer center.
Can i use spring and hibernate while developing adapters or any other
ibm options are available in contrast to spring and hibernate.
Yes, you can use these technologies. And adapter is a JAX-RS application and so you can integrate a
As I am new to ibm products, want to know what are the topics and
product need to learn before i start development.
Product documentation is available in the following websites:
IBM Knowledge Center: http://www.ibm.com/support/knowledgecenter/SSHS8R_8.0.0/wl_welcome.html
MobileFirst Foundation Developer Center: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/all-tutorials/
I am trying to configure and upload the AppCenter installer app.
I already have our actual mobile project deployed on our Worklight Server (running on WAS Liberty profile). Now, we'd like to install AppCenter installer app in order to distribute our app for testing.
I've read through this article here: http://www.redbooks.ibm.com/redpapers/pdfs/redp5005.pdf, but didn't see any information on setting up the application descriptor file for the AppCenter Mobile Client.
Currently, my application descriptor file is pointing to localhost. Should this be pointing to our Application Center server URL or our Application Center console? Should it have the same configurations as our mobile app? And if I need to point it to our console, do I need another context set up for the AppCenter?
First thing first, I suggest that you take a look at the IBM Worklight Information Center topics for Application Center.
As for your questions:
You need not do anything to the AppCenter project (the AppCenter Installer app) other than:
Building it as-is (this varies depending on the platform you build it for) - this means not changing its worklightServerRootURL value, is it not required to connect to a Worklight Server (the apps you will install through it - will)
Uploading it to the Application Center management console
Downloading AND installing it to your device
Configuring it in-app to point to the Application Center server
As for after building your own Worklight project
Simply upload the .ipa, .apk or .cod file to the Application Center management console
Installing it via the previously-installed AppCenter Installer app
You will need to repeat downloading the AppCenter Installer app for each device you want to perform testing on.
I installed worklight application center v5.0.6 on a Linux system. I used Liberty profile with the following property:
worklight application center URL:
http://{host}:9080/appcenterconsole/applications/Appplications.html
I am able to install the Installer on my android and IOS device using this URL:
http://{host}:9080/appcenterconsole/installers.html
However, when I run the "IBM App Center" client, I got failed to connect to the server error with the following setting input:
username: appcenteradmin
pass: mypass
server: {host}:9080/appcenterconsole/applications
SSL: OFF
Can anyone help me resolve this issue ?
The IBM App Center Client does not connect to appcenterconsole, it connects to the "Application Center Services", i.e. to applicationcenter.
Try as server: {host}:9080/applicationcenter
Example: 192.168.178.42:9080/applicationcenter
Details:
{host}:{port}/appcenterconsole is the Administration Console. You use this when you want to upload applications via browser. This is just the HTML frontent that you see in the browser.
{host}:{port}/applicationcenter are the REST services. They do the real work. The HTML frontend connect to the REST services automatically to do the real work. The Mobile Client does not need a "HTML frontend" since it is a mobile application that has its own GUI, hence it needs to connect to the REST services, not to the appcenterconsole.
I still no able to successfully download/install an app thru IBM app center to see what a new app looks like on a mobile device.
2 simple questions :
1) If an app, let's call it myapp, was download/install successfully thru IBM app center, then would myapp simply an independent new app on the device or myapp some how "embedded" in the worklight app center app?
2) If I deployed myapp to a Samsung tablet thru other means, that is not thru IBM app center, then would worklight serve has the knowledge of myadd install in this particular Samsung device?
The application would be independent. You could, for example, uninstall it either through the Application Center mobile client, or via the usual procedure the device OS allows you to.
Assuming the applications has connectOnStartup=true, and you deployed the app to the Worklight Server, the answer would be Yes. (the Application Center is not a substitute to the Worklight Server, you must still deploy it there if you intent for your application to use features such as Worklight Adapters).