worklight-runtime

IBM Worklight 6.1 - How to customize WL.BusyIndicator's height and width?

匆匆过客 提交于 2019-12-12 01:05:23
问题 I am using busyindicator in worklight 6.1 version for ios environment and want to know how to increase height and width for indicator. Code for showing busy indicator which i am using busyInd = new WL.BusyIndicator('content', {text : 'Loading Data Please Wait....'}); busyInd.show() //for showing indicator busyInd.hide() // for Hiding indicator It is showing me busyIndicator but it is very small and text is too long which is not showing properly. I want to customize the height and width. Can i

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

IBM Worklight 6.0 - How to write logs to a file and send them back?

佐手、 提交于 2019-12-11 21:14:59
问题 I am using worklight 6.0 and I am able to log data to a console using WL.Logger.debug("msg"); . My question is: How to write all of these logs to a file? My requirement is to store these logs on the mobile device itself so that if some problem occurs, the user will be able to report the problem by attaching that log file. In the app there will be a menu "Report problem", if the user clicks on that, email is opened with this log attached automatically. 回答1: Server-side logging (adapters) :

IBM Worklight - “getSkinName is not defined”

好久不见. 提交于 2019-12-11 18:16:30
问题 I am trying to define a new android.tablet skin. I am testing with a Nexus 7 running KitKat. I did this: Added the Skin updated getSkinName() function I can see in LogCat the function getSkinName() being called However, there is a confusing message: "default" skin will be used, because skin named android.tablet was not found. Add a skin or change android/js/skinLoader.js to return existing skin. Am I missing something? 04-01 17:03:32.969: D/CordovaNetworkManager(4481): Connection Type: wifi

IBM Worklight - How can I execute JavaScript code before updating the application?

我们两清 提交于 2019-12-11 12:51:50
问题 When a new software update is available, if user has data stored in jsonstore I need to allow user to commit them to the server before applying the software update, so his/her uncommited updates don't get lost. Currently user is unable to use the application until the update is installed. Is there a way to execute JavaScript code before updating the application so I can initialize the jsonstore, take the data and send to the adapter before performing the update installation? 回答1: There is no

FWLSE3034E: The application “App name” for the runtime “runtime name” does not exist in the Worklight administration database

蹲街弑〆低调 提交于 2019-12-02 18:46:45
问题 I am getting the following error when compile and build the App pointing to remote server. I was checking the server configuration, everything looks correct. It began showing the error when implementing Post Notifications functions. MobileFirst plugin in Eclipse = 6.3.0 BinaryDownload E FWLSE3002E: The resource is not found. com.ibm.worklight.admin.common.util.exceptions.NotFoundException: FWLSE3034E: The application "App name" for the runtime "runtime name" does not exist in the Worklight

IBM Worklight 6.1 - Questions about “Worklight Settings”

梦想的初衷 提交于 2019-12-02 15:08:20
问题 I'm having some issues with the settings part on Android devices. Currently there are 2 problems: The settings page does not open. I push the settings button on my phone and then the "Worklight Settings" option appears. When I tap that the settings is supposed to appear, but it does not appear. If I press the "Worklight Settings" button and then rotate the device, the settings page appears... This bug occurred on 4.3.0, 4.2.2 and 4.0.4 (every device I tried it on). Worth noting on 4.2.2, if I

FWLSE3034E: The application “App name” for the runtime “runtime name” does not exist in the Worklight administration database

为君一笑 提交于 2019-12-02 11:39:48
I am getting the following error when compile and build the App pointing to remote server. I was checking the server configuration, everything looks correct. It began showing the error when implementing Post Notifications functions. MobileFirst plugin in Eclipse = 6.3.0 BinaryDownload E FWLSE3002E: The resource is not found. com.ibm.worklight.admin.common.util.exceptions.NotFoundException: FWLSE3034E: The application "App name" for the runtime "runtime name" does not exist in the Worklight administration database. The database may be corrupted. at com.ibm.worklight.admin.services

How to Fix No MBean found for Worklight project?

℡╲_俬逩灬. 提交于 2019-12-01 16:39:30
I have a problem when deploying my Worklight project on the server . It shows the following Error Message : FWLSE3041E: No MBean found for Worklight project 'MyProject'. Possibly the Worklight runtime web application for Worklight project 'MyProject' is not running. If it is running, use JConsole to inspect the available MBeans. and when I tried to preview my application it showed this message : SRVE0777E: Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized:420' I had the same issue using Worklight 6.2 CLI, but recreating the

IBM Worklight - Connecting/Re-Connecting: WL.Client.connect vs. connectOnStartup vs. WL.Client.invokeProcedure

淺唱寂寞╮ 提交于 2019-11-30 15:48:59
In our project we are trying to figure our what the best process to connect to the server will be - especially when taking care of offline/online scenarios etc. Right now, for us, it seems that all three options to connect to the WL server are similar. Whatever option we use, we can call our Adapter Procedures perfectly and we receive Notification Messages that are set in the console. We are not sure about Direct Update - this is not working properly yet. Are there any important differences between these three ways of connecting to the WL server, or is basically the same connection procedure