worklight-server

IBM Worklight - Project built on 6.1 will not deploy on 6.1 server, says I need to use 6.0

独自空忆成欢 提交于 2019-12-13 05:09:42
问题 I've got a very simple Worklight application, no adapters, no java code, just some HTML. It's built in Eclipse Juno with Worklight studio 6.1. When I try to deploy the *-all.wlapp file the worklight server (not the worklight studio server, but an actual WL server running in a WebSphere cluster) I get the following message: Failed to deploy application 'XXXX-all.wlapp'. The 'application' version '6.1.0.00.20131219-1900' is different than the version of the Worklight project '6.0.0'. Use

Deployment error: “authenticationConfig.xml contains duplicated realm named: wl_anonymousUserRealm”

拈花ヽ惹草 提交于 2019-12-13 04:58:14
问题 I am working on an app using Workight 6.1 with SQL adapters and DB2 database. I deployed it and the deploy process works well without problems. But when I go to the Worklight Console using http://server-host:9080/TicketWorklight/console , it fails with the following error: Error 500: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: conf/authenticationConfig.xml contains duplicated realm named: wl_anonymousUserRealm This is

Getting Error from IBM Workilght Server [It is not a function, it is \“object\”.]

核能气质少年 提交于 2019-12-13 03:30:44
问题 Using IBM Worklight version 6.1.0.02-20160314-1430 Implemented AES at adapter with reference to below link. https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/server-side-development/javascript-adapters/using-java-adapters/ Its working fine as expected in Eclipse in my local server. Generated war file and same given deployment for server. From server when I am trying to accessing getting below error response. Below things are crosschecked. Collected war file from server,

IBM Worklight SQL adapter for real device

拥有回忆 提交于 2019-12-13 01:23:45
问题 If i use local database, say MySQL, it works perfect on simulator and emulator but for real device, localhost won't do, So i tried online database hosting. When using online hosting from www.freemysqlhosting.net, i had setup the database in my database development perspective in Eclipse using the provided id and password, so it worked well on my simulator, emulator and real device that was connected to the same network as that system on which that database was setup, but for any anonymous

Analytics tab empty in Worklight Console

允我心安 提交于 2019-12-12 02:52:19
问题 I've added an analytics server (Linux, accessible from the http:///iwap/worklight/v1/index.html) to use with my Worklight 6 server, but, the "Analytics" tab is now displaying, but, is empty. The changed the wl.analytics.url under the war configuration for "Environment entries for web modules" and restarted the app. The Worklight V6 Information Center (under "Installing and configuring the IBM Websphere Analytics PLatform"|"Configuring Worklight Server for analytics") says to use the format

IBM Worklight - Can I change invokeProcedure hostname and port?

半腔热情 提交于 2019-12-12 01:08:46
问题 I'm doing a demo application, and I need the app to be able to connect to different worklight servers. but I can't find where can I change the url 回答1: If you are referring to Worklight Adapters - you cannot change the adapter's connectivity properties during runtime. Explained here, here and here. If you are referring to Worklight Server - I assume then that you are using Worklight 6.0; Right-click on the application folder >> Run As >> Build for Remote Server (further explained here). 来源:

IBM Worklight - How to use adapter domain and port properties taken from external file?

做~自己de王妃 提交于 2019-12-12 01:05:21
问题 I have a web service. Its domain and port can be changed. So I want to read port and domain from file or db. When this information change, I update them in db or file. Adapter XML: <domain>${adp.hostname}</domain> <port>${adp.port}</port> worklight.properties: adp.hostname=localhost adp.port=10080 This is working fine. But I'd like to take adp.hostname and adp.port from file or db. 回答1: Something to remember about adapters is that you cannot change in real-time any of the properties set in

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

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.0.1 - Error deploying adapters to server

笑着哭i 提交于 2019-12-11 22:24:28
问题 I have migrated my Worklight Server from version 5.0.6.1 to 6.0.0.1. Server is configured to work with DB2 database. Every time I'm trying to deploy adapters, always the same error is returned both from Worklight Console and from Ant scripts: [adapter-deployer] Oct 17, 2013 2:28:59 PM com.worklight.ant.deployers.AbstractDeployerTask logDeployResponse [adapter-deployer] SEVERE: The 'adapter' version 'null' is different than the version of Worklight Server '6.0.0'. [adapter-deployer] Use