ibm-mobilefirst

Worklight error when sending push notification

不打扰是莪最后的温柔 提交于 2020-01-06 14:16:43
问题 I am trying to use Worklight push notification to send push for a iOS+Android Application. I created the submitNotification function in my adapter, and when I invoke it, it says that the push was sent successfully, but in reality, I have no push received in my device. When I see the logs I can read: Couldn't connect to APNS server java.net.PlainSocketImpl.socketConnect(Native Method) java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) java.net.PlainSocketImpl.connectToAddress

IBM MobileFirst Platform and Mobile Angular UI

醉酒当歌 提交于 2020-01-06 14:09:49
问题 I have created an MFP project with the MFP CLI After creating the project, I ran "yo mobileangularui" in the project root to install Mobile Angular UI This scaffolds out a Mobile Angular UI project with AngularJS and Gulp I am minifying all the js and css files, including the MFP javascript files and putting them in the MFP common folder with gulp Everything loads fine when I view it in the MFP console, but not on localhost. My problem is that the sidebars do not work when I click on them. I

IBM MobileFirst Platform and Mobile Angular UI

半腔热情 提交于 2020-01-06 14:08:10
问题 I have created an MFP project with the MFP CLI After creating the project, I ran "yo mobileangularui" in the project root to install Mobile Angular UI This scaffolds out a Mobile Angular UI project with AngularJS and Gulp I am minifying all the js and css files, including the MFP javascript files and putting them in the MFP common folder with gulp Everything loads fine when I view it in the MFP console, but not on localhost. My problem is that the sidebars do not work when I click on them. I

IBM Worklight - Unable to connect to database when using IP address instead of localhost

北城余情 提交于 2020-01-06 12:54:27
问题 I'm currently creating a Worklight application that retrieves some data from my computer's MySQL database. When I try to run the app, it cannot connect to the database. The error happens when I change the URL of the database to an IP address (192.168.6.1 (my computer's localhost)). When I test it from my computer by invoking the worklight procedure (the address is localhost) it works fine, but when I change the URL to the IP address, it shows an error: [ERROR ] FWLSE0012E: ERROR: Could not

IBM Worklight - Unable to connect to database when using IP address instead of localhost

Deadly 提交于 2020-01-06 12:53:12
问题 I'm currently creating a Worklight application that retrieves some data from my computer's MySQL database. When I try to run the app, it cannot connect to the database. The error happens when I change the URL of the database to an IP address (192.168.6.1 (my computer's localhost)). When I test it from my computer by invoking the worklight procedure (the address is localhost) it works fine, but when I change the URL to the IP address, it shows an error: [ERROR ] FWLSE0012E: ERROR: Could not

How to integrate Workligt Studio 6 with WAS ND 8.5.5 in RAD 9

老子叫甜甜 提交于 2020-01-06 12:28:08
问题 I am having troubles with integration WAS [ND/BASE] 8.5 or WAS [ND/BASE] 8.5.5 with Worklight Studio 6.0 in Eclipse or in RAD 9. What I did: Installed RAD 9 Installed WAS TE 8.5.5, created AppSrv profile, secured Installed Worklight 6.0 on the WAS - worklight console application installed fine Installed Worklight Studio 6.0 in RAD 9 Created new Hybrid project in fresh workspace Now, I am trying to have the project run on WAS 8.5.5 (full profile) server, and Worklight Studio 6 does not support

Worklight 6.1 - “All Build” fails and gives java.lang.NullPointerException

跟風遠走 提交于 2020-01-06 08:31:58
问题 Worklight 6.1 Studio. Created Android and iPhone Platform. While do "All Build" it fails and gives java.lang.NullPointerException . Log: [2014-03-13 21:08:27] Starting build process: application 'MobileApp', all environments<br> [2014-03-13 21:08:33] Application build failed: java.lang.NullPointerException 回答1: Try the following: Delete the native folder Close Eclipse Locate your temp folder (Windows, OS X) Delete the wlBuildResources folder Open Eclipse Re-build If you have native code in

IBM Worklight 6 - How would i get client IP address on adapter side

我的梦境 提交于 2020-01-06 08:31:50
问题 I want to have client ip address on adapter side but i don't know what is the worklight api for that. I search for it but no luck. I used this api on client side code which is given below WL.Device.getNetworkInfo(function (networkInfo) { console.log ("Ip address of device "+networkInfo.ipAddress); }); It works fine and i can pass this to the adapter from client side. But i just wanted to know whether the same thing can be implemented on server side in adapter procedure. And I also used this

Changing port value configureApplicationServer attribute Worklight

对着背影说爱祢 提交于 2020-01-06 08:18:49
问题 I am using Worklight 6.0.0.1 with Oracle as Backend Database. I have two DB servers, one is listening on port 1525 (standard port) while other is listening on 1526. I am trying to deploy a war file through ant on my worklight server. I used the template configure-liberty-oracle.xml and it worked like a charm while connecting to the DB server listening on Port 1525. However, when I am trying to deploy the WAR file with Oracle DB (port 1526), it is not able to connect. Apparently port 1525 is

IBM Worklight application-descriptor.xml configuration for external worklight server

☆樱花仙子☆ 提交于 2020-01-06 07:44:07
问题 I would like to add in "worklightServerRootURL" element on application-descriptor.xml to point to the external Worklight Server but i got the error "Invalid content was found starting with element 'worklightServerRootURL'". Please refer below for my configuration on application-descriptor.xml. Anyone know the solution about this error? <?xml version="1.0" encoding="UTF-8" standalone="no"?> <application xmlns="http://www.worklight.com/application-descriptor" id="MobileTest" platformVersion="6