worklight-server

IBM Worklight 6.0 - Adapter disappears after it is deployed

守給你的承諾、 提交于 2019-12-26 09:18:09
问题 I am trying to deploy multiple adapters to a Worklight Server in a production environment. When refreshing the console, the deployed adapters are missing. What is the problem? 回答1: Can you please take a look at your Worklight Server log to see if any errors are displayed. I have seen in the past similar behavior when adapter procedures relied on security-tests, but the security tests were not defined properly in the authenticationConfig.xml file on the server side. In the server log I saw the

IBM Worklight - What should I deploy after changing or adding iOS push certificate?

半腔热情 提交于 2019-12-25 11:55:46
问题 I am working on an IBM Worklight 6.0.0.1 project. I configured push notifications for iOS before that my Application is already deployed in the server. My question is: What should I deploy again to get the push notification certificate (the .p12 certificate file) on the server. Should I just deploy the iPhone .wlapp file? or should I also deploy a newer version of the .war file? 回答1: You will need to re-deploy the .wlapp file, which contains the deployment data for the server. In this case,

Worklight Server Compatibility

﹥>﹥吖頭↗ 提交于 2019-12-25 04:26:48
问题 So, if the answer to this question is 'no they aren't compatible' then this is an easy one to close. Basically, I am using the encrypted cache in a WL app which is made using WL 6.1.0 inside of Eclipse. Now, I've deployed this to my external WL server, however, this WL server is running 5.0.6.20130311-0918. So, my first question is, does this app have ANY chance of working? I'm not sure on backward compatibility. To help with the above, the error I see when I try to access my application on

Class Cast: java.lang.String cannot be cast to org.mozilla.javascript.Scriptable

ぃ、小莉子 提交于 2019-12-24 12:43:35
问题 While invoking a http adapter procedure, it popsup a dialog with ProcedureName, Signature and Paramaters and when I hit Run button after entering two string type parameters, I am getting "Class Cast: java.lang.String cannot be cast to org.mozilla.javascript.Scriptable" error. FYI, I created a worklight adapter using worklight application framework data object editor(automatically generates .xml and impl.js files) impl.js file function CurrencyConvertor_ConversionRate(params, headers){ var

IBM Worklight 6.0 - SRVE0777E: javax.servlet.ServletException: Worklight Project not initialized

心不动则不痛 提交于 2019-12-24 00:35:07
问题 I've just installed Worklight 6.0 on Mac OS X Mountain Lion 10.8.4. I'm trying to build a very simple HelloWorklight app to test the installed environment and I'm getting errors building and deploying it. I'm getting these errors in Eclipse console: [2013-07-13 02:11:21] Starting build process: application 'HelloWorklightApp', all environments [2013-07-13 02:11:21] Application 'HelloWorklightApp' with all environments build finished. [2013-07-13 02:11:21] Deploying application

Upgrade project from WorkLight 6.1 to MobileFirst 7.1

China☆狼群 提交于 2019-12-23 22:29:56
问题 I have a project build with WorkLight 6.1 and I'm going to upgrade this project to MobileFirst 7.1 . I found a link from IBM regrading upgrade from earlier version of MobileFirst , but not from WorkLight 6.1 . Appreciate if anyone can provide me the guidelines to upgrade WorkLight Studio & Server 6.1 to MobileFirst Studio & Server 7.1 Thank you. 回答1: Open MobileFirst Studio 7.1 Select File -> Import > Existing projects into worksace Select your project (make sure to make a backup) Let Studio

Background work in Worklight Server

会有一股神秘感。 提交于 2019-12-23 05:30:58
问题 Trying to find an approach to perform some regular house-keeping in a Worklight Server. Simplified scenario: We have an adapter talking to a back-end system. When user authenticates with Worklight they create some credentials that are passed to the back-end on each service call. Those credentials can become stale if not used for a period of time. Hence what we want is a "heartbeat" for all active sessions. I have a singleton Java object in which I stash the credentials when the user

IBM Worklight: Self-signed CA implementation in Testing environment with Load Balancer

99封情书 提交于 2019-12-23 05:15:22
问题 I have the following implementation in testing environment, Front-end Server [IBM HTTP Server + IBM Websphere plugin], WLServer1 [IBM Worklight 6.2 + IBM DB2 10.1+ Liberty Farm 8.5.5.1] and WLServer2 [IBM Worklight 6.2 + IBM DB2 10.1+ Liberty Farm 8.5.5.1]. plugin-cfg.xml has been generated from each Worklight server and merged. The request[http] from multiple devices has been directed to worklight server's alternatively, once the merged plugin-cfg.xml has been deployed in Front-end server's

Invoking Worklight Adapter and Displaying that JSON data in list view as strings

本小妞迷上赌 提交于 2019-12-23 05:00:21
问题 This is my adapter.impl.js code. //This procedure implementation is to get all the details from the table which in database. var procedure1Statement = WL.Server.createSQLStatement("select * from employee"); function procedure1() { return WL.Server.invokeSQLStatement({ preparedStatement : procedure1Statement, parameters : [] }); } This is my JSON data retrieved from SQL Adapter in worklight. { "isSuccessful": true, "resultSet": [ { "EMAIL": "bkandregula@gmail.com", "ID": 1, "NAME": "Bhanu

Worklight Server not starting

耗尽温柔 提交于 2019-12-23 04:14:20
问题 hello i am using ibm worklight application development platform v 6.0.1. I am having a problem with the worklight server, which was working nicely till now. Whenever i try to start the server, it does not and displays the following error: Worklight server was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor. i increased the timeout many times but the problem still persisted. Can anyone help? thanks in advance. 回答1: Please