ibm-mobilefirst

Worklight 6.0 WL development Server not starting

核能气质少年 提交于 2019-12-06 07:54:55
问题 When I try to start my worklight development server Which is running on Windows 8 OS It gives me below error. CWWKE0005E: The runtime environment could not be launched. CWWKE0018E: An exception occurred while launching the runtime environment: java.lang.IllegalArgumentException: WebSphere-DefaultExtension-windowsnt(unknown) com.ibm.ws.kernel.boot.LaunchException: Caught unexpected exception java.lang.IllegalArgumentException: WebSphere-DefaultExtension-windowsnt(unknown) at com.ibm.ws.kernel

How to set up MySQL in IBM Worklight

血红的双手。 提交于 2019-12-06 07:29:17
I just have learned about IBM Worklight, and I was wondering of how to set up and configure MySQL database. I've set Worklight Adapter, but, I have no clue of how to make database with MySQL. You should go through the IBM Worklight Getting Started training materials to properly familiarize yourself with IBM Worklight. The steps to make a Worklight project work in conjunction with MySQL are as follows. The Database: Download and install MySQL (v5.1 or v5.5) Download the MySQL Connector/J driver and keep it at the side for now Download and install some software to interface with it. I recommend

Missing Secure attributes in cookies: WL_PERSISTENT_COOKIE and testcookie

主宰稳场 提交于 2019-12-06 06:27:16
问题 In a security scan result, I received the following error: "Missing Secure Attribute in Encrypted Session (SSL) Cookie" for WL_PERSISTENT_COOKIE and testcookie. I don't know how to set the secure attribute for these cookies, from the websphere server it just allows me to set the secure attribute for the JSESSIONID cookie but not for the others. Here are my conclusions from my appscan results: testcookie : This cookie seems to be generated in the worklight.js file. According to the appscan,

Worklight 6.1 “access to protected services is denied” after app is deployed to App Store

风流意气都作罢 提交于 2019-12-06 05:24:00
I have deployed an app to the Apple App store . Local and on device testing went fine, but when the app is loaded from the App store onto an iOS 7.1 device, the user receives a Access to Server is Disabled - Login Failed dialog, followed by a solid white screen. Looking at the phone console log, the following error appears: backboardd[31] <Error>: HID: The 'Rate Controlled' connection '<application name>' access to protected services is denied. Searching on Apple developer forums and StackOverflow show others having similar issues over the past few weeks, but with no clear resolution. This one

IBM MobileFirst Platform iFix doesn't update the version displayed in Operations Console

こ雲淡風輕ζ 提交于 2019-12-06 05:22:32
I've just updated my IBM MobileFirst Platform Server from 8.0.0.00-20160822-2140 with the latest iFix 8.0.0.0-MFPF-Server-IF201702201900 However, after a successful update, the server is still showing the same old version in the IBM MobileFirst Platform Operations Console. Does it means it's still not updated with the latest iFix? I've double confirmed that the fix is indeed installed: Do I need to update those superseded iFix first before upgrading to the latest iFix? Vivin above is correct. Installation Manager merely puts the files on disk. You must now update your database by running the

How to open the phone dialer?

杀马特。学长 韩版系。学妹 提交于 2019-12-06 05:14:56
问题 I am trying to launch the phone dialer in my worklight 6.2 hybrid application when clicking on a button and/or an anchor tag. Below is the code I am using. button: <button onClick='window.parent.location.href = "tel:+1xxxx"'>Tel</button> anchor tag: <a href='tel:+18001111111' class="ui-link">(800) 111-1111</a> When we click on button/anchor tag below is the behavior in android and iOS. In android: Displays a pop up window with the message Application Error net::ERR_UNKNOWN_URL_SCHEME (TEL:

Worklight - Open a Native application

喜夏-厌秋 提交于 2019-12-06 01:49:12
In Worklight, its possible to open a native page from the Worklight application for Android. Is it possible to launch a native application from an application developed by Worklight in an Android device? If possible, how? Thanks in advance. Yes and it has nothing to do with Worklight :) In your native page in Worklight (or you can write a phonegap plugin if you prefer), you need to create an intent (see http://developer.android.com/reference/android/content/Intent.html ). This intent can open an external application. Anton Yes, it is possible. Here is a training that explains how to open

worklight ant task app-deployer - Unauthorized error when WL console security is active

℡╲_俬逩灬. 提交于 2019-12-06 00:27:49
I'm trying to deploy an application to a WL Server v5.0.5 using the provided ant task app-deployer. Here the simple buildfile I use: <?xml version="1.0" encoding="UTF-8"?> <project basedir="." name="deployWL"> <target name="deploy_application"> <taskdef resource="com/worklight/ant/defaults.properties"> <classpath> <pathelement location="C:/Worklight50/WorklightServer/worklight-ant.jar"/> </classpath> </taskdef> <app-deployer worklightServerHost="http://localhost:9087/worklight" deployable="C:/temp/UnisTestAdapters-common.wlapp"/> </target> </project> Access to the WL Server console has been

IBM Worklight 6.1 - Uncaught ReferenceErrors: WLJQ is not defined, WL is not defined

倖福魔咒の 提交于 2019-12-06 00:08:42
I'm using IBM Worklight Developer Edition 6.1 installed in Eclipse Juno as my IDE and backbonejs as my main javascript framework for my project. My index.html <!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,

How to implement OAUTH 2.0 in IBM Worklight 6.0

你离开我真会死。 提交于 2019-12-05 17:25:43
In my app I have implemented Login module auth security by implementing security realms. But i am thinking of implementing a OAUTH2.0 authentication where user will be authenticated once I will get a token and re-validate than on app starts. So please one guide what are the prerequisites to implement this. Can I achieve this by creating a custom authentication module ? Any guide sample code will be really helpful. Joshua Alger There is an article that was published that shows how to use OAuth with inappbrowser and Worklgiht using LinkedIn found at the following location: http://www.ibm.com