ibm-mobilefirst

IBM SmartCloud Enterprise Worklight Server URL and console login credentials?

耗尽温柔 提交于 2019-12-12 00:11:51
问题 I am running an instance of the IBM Worklight Server in the IBM SmartCloud Enterprise: IBM Worklight Server v.5.0.0.3 Red Hat Enterprise Linux 5.8 64b BYOL. I can log into the IBM Worklight Application Center on port 9080 without any problem. I now want to log into the Worklight Server console itself. My understanding is that the url should be the ip address followed by port 8080 and then /worklight/console. Two questions: the URL doesn't seem to be correct because it invariably times out.

IBM Worklight: Extend Server-side Java Code

倖福魔咒の 提交于 2019-12-12 00:04:00
问题 Can I extend the server-side Java Code in Worklight? For example, there is a class called JavaScriptIntegrationLibraryImplementation under com.worklight.integration.js . Inside this class, there is a method broadcastNotification and I would like to override this method. Is it possible to do so? EDIT The reason is that: When I make the subscription in client side with option field (e.g. add customType: A), I would like to retrieve a list of devices which have been subscribed to this event

IBM MobileFirst Platform 6.3 Operational Analytics Failed installation for Tomcat

一曲冷凌霜 提交于 2019-12-11 23:49:48
问题 I have installed MobileFirst 6.3 appcenter console, worklight console successfully, they are operating fine on Tomcat/7.0.57. However when I try to install Operational Analytics, the documentation has the following http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.installconfig.doc/monitor/c_op_analytics_installation_tomcat.html I am using tomcat manager http://localhost:8080/html to deploy the war files. logging in as manager, with the manager-gui role. worklight

Inner browser in Worklight App using JQuery Mobile

坚强是说给别人听的谎言 提交于 2019-12-11 23:29:29
问题 I want to use an inner-browser to open a webpage inside the JQueryMobile based Worklight App. Right now I am pushing user out of App to the external Safari browser on iPhone. I do not have much experience in JQuery Mobile. Kindly suggest how i can achieve this? Or better workaround. Thanks 回答1: This has got nothing to do with jQuery Mobile. Make use of Cordova's InAppBrowser (requires Cordova 2.3 so be sure to use Worklight 5.0.6). 来源: https://stackoverflow.com/questions/15718264/inner

How to implement password protect security in JsonStore Worklight 6.2?

孤街浪徒 提交于 2019-12-11 23:19:18
问题 I want to implement the app in worklight using JsonStore protection i want to store password based on logined user and add those password to options in WL.JSONStore.init(collections,options) . The rest of the details in data object data={} ; and how do i extract the password saved WL.JSONStore.init(collections,options) options object for making api calls for rest of the functions? 回答1: My take on the question: Storing the password in the device is indeed not a good practice to follow. There

Disabling certificate hostname verification [closed]

扶醉桌前 提交于 2019-12-11 23:16:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I just started today with worklight and try to connect a RESTFul API. The server (which I don't own) I would like to reach use ssl with a self-signed certificate. I imported the certificate in my cacert following the procedure defined in the worklight documentation. Now, I have the following error when I try the

serverSessionTimeout not working IBM Worklight

て烟熏妆下的殇ゞ 提交于 2019-12-11 23:16:06
问题 I have added the serverSessionTimeout=3 in the worklight properties file, I have edited this in the WAS server and restarted the application, but when i test the app and keep it idle for 3 mins, i cant see the server session time out automatically, is there anything we need to call on the mobile client to check if the server session time out is done or not. please help Thanks djrecker 回答1: You could try disabling the heartbeat using WL.Client.setHeartBeatInterval(-1) Maybe during the

IBM Worklight 5.0.6.1 - Mobile Browser Simulator - WL.Device.getNetworkInfo for navigator.network.connection.type vs. navigator.connection.type

柔情痞子 提交于 2019-12-11 23:05:39
问题 We see a different behavior in the MBS and on our iOS and Android devices. In the Simulator: navigator.network.connection.type returns the value that is defined in the Simulator menu (this is the old API and is deprecated). navigator.connection.type is undefined (this is the new and soon only official API). On the devices: Both return the right value (deprecated API and new API) The implication is that the following call: WL.Device.getNetworkInfo(function (networkInfo) { alert (networkInfo

IBM MobileFirst Platform 7.1 - No runtime environment deployed in this server

删除回忆录丶 提交于 2019-12-11 22:46:02
问题 I have installed IBM Mobile First Server on a VM. As a part of Mobile First installation, I installed Application Center, IBM DB2 , WAS Liberty Core as well and Mobile First Studio on my local machine. I am able to view the Mobile First console on http://localhost:9083/console and providing the required credentials.I uploaded a war file by using the Server Configuration Tool. Restarted Application Server. Tried with different war files. My issue is when I open my mobile first console I'm

worklight console for app not working after deploying new war

回眸只為那壹抹淺笑 提交于 2019-12-11 22:34:35
问题 I get this error after deploying a new war through the server configuration tool. I tried to revert back to the original war error persist. Tomcat 7.0.30 Worklight Server 6.1.0.2 javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: conf/authenticationConfig.xml contains duplicated realm named: wl_anonymousUserRealm com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized(AuthenticationFilter.java:317) com