ibm-mobilefirst

Configuration with id 'ADAPTER_CONTENT' for schema 'mfp_default_schema' with version '1.0' not found

好久不见. 提交于 2019-12-02 04:35:51
I am trying to deploy an JavaSQL Adapter with Hikari Pool using MobileFirst Foundation 8.0 and Postgres 9.5 On deploying, I get the following in the log: [ERROR ] FWLSE0321: State change failure. Caused by: java.lang.RuntimeException: User code thrown exception: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: FATAL: sorry, too many clients already at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:516) at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:118) at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71)

IBM Worklight v 5.0.6 - Can't navigate multipages on Windows Phone 7.5 environment

天大地大妈咪最大 提交于 2019-12-02 04:31:29
Hi I'm having trouble with WP 7.5 application development in IBM Worklight v 5.0.6. I used MultiPageApp Project from ftp://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v506/wl_gs_all_samples.zip for my experiment. There are many problems I had : First Problem I built WP 7.5 environment in worklight without editing the code. Then I run it in MS Visual Studio 2012 with Emulator 7.1 256MB. The problem is only the content of from MultiPageApplication.html appeared. MultiPageApplication.html <!DOCTYPE html> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF

.wlapp file deployment error in Worklight

烈酒焚心 提交于 2019-12-02 04:17:25
I am migrating a Worklight application from my development environment in Eclise to a Testing environment on Tomcat 7, with MySQL as my Worklight database. I followed the instructions given @ Worklight Guide and IBM Guide for setting up MySql for Worklight . When deploying via Worklight Console, the console deploys adapters without a problem, but while deploying the .wlapp files, there is a DB error: [ERROR while deploying .wlapp of size 4.5MB ] Failed to deploy application 'XXXXXXXX.wlapp'. : Parameter of prepared statement which is set through mysql_send_long_data() is longer than 'max

submitAdapterAuthentication not working

夙愿已清 提交于 2019-12-02 04:14:07
I have been trying to do a specific operation once I receive the submitAdapterAuthentication from the challenge handler and I could not do any operation because my code it does not even compile through it. I am using the submitAdapterAuthentication in one method of my angular service. The method looks like this: login: function (user, pass) { //promise var deferred = $q.defer(); //tempuser tempUser = {username: user, password: pass}; userObj.user = user; checkOnline().then(function (onl) { if (onl) { //online console.log("attempting online login"); var auth = "Basic " + window.btoa(user + ":"

IBM Worklight - How to pass parameters from the application to the adapter?

别等时光非礼了梦想. 提交于 2019-12-02 03:53:42
I want to pass parameters from the application to the adapter; I want the users of the app to enter these options. Right now I am passing the parameters like this in adapter: function getFeeds() { WL.Logger.debug("inside method"); var input = { method : 'get', returnedContentType : 'json', path : "ios/clientRegister.php", parameters:{ "employeenumber":"500","employeename":"Harish","employeeemail":"anand5@gmail.com","city":"Delhi", "employeeadID":"an6458","businessUnit":"WASE","country":"India","city":"Bengaluru","location":"EC4","bloodGroup":"B+ve", "gender":"Male","tShirt":"xl" } }; return WL

How to move a MFP 8 Beta Mobile App to the MFP 8 GA Version?

房东的猫 提交于 2019-12-02 03:43:56
This is the situation: I build a app with different integrations with the mfp 8 beta. The app worked fully on the local dev server and mostly on the Bluemix. During the beta. All basic functions of the app, were working on both MFP 8 Beta servers (Local and Bluemix) Now I have installed actual CLI for MFP 8 GA and I created a MFP 8 Development Server on Bluemix. I still have the local MFP 8 Beta Development Server installation on my local machine. Now the mobile app still works with the "UserLogin" Adapter on the local beta mfp 8 server, even when I use the actual CLI MFP8. But the app does

Upgrading to Worklight 6.2

送分小仙女□ 提交于 2019-12-02 03:43:50
I am facing issue with upgrading to Worklight 6.2. Please find the error below: ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) Thanks in advance I guess you see this when starting your 6.2 server? It's because you have your 6.1 server still running. The clash on the dt_socket will cause

App not opened when clicking on message in notification area

时光总嘲笑我的痴心妄想 提交于 2019-12-02 03:32:38
问题 I am developing a Worklight app that works with push notifications. I am currently testing on Android and have got the adapter to send a push notification to the app. The problem is: the app only receives it when it is on the foreground. It doesn't receive it if it was on the background and I open it after a message is shown in the notifications area. Neither does the app open when I click on the message inside the notification area. I have studied the PushNotifications example and it seems

MobileFirst OAuth Logout, cached OAuth indentity

China☆狼群 提交于 2019-12-02 03:29:07
This is a follow-on to a previous question about MobileFirst OAuth. The question being that a call to WL.Client.logout("SomeRealm") does not remove the OAuth token for that Realm/Scope and hence calls resources protected by OAuth still succeed. The answer to which quotes the InfoCentre as requiring a call to obtainAuthorizationHeaderForScope With the implication that this will clear the token. My experiments seem to indicate that this does not work as expected. First I am working with the JavaScript API and find this WLAuthorizationManager.obtainAuthorizationHeader("SomeRealm") as the

IBM Worklight 6.0.0.1 - Push notifications polling not working in Production environment

為{幸葍}努か 提交于 2019-12-02 02:54:40
My problem is this: When in Development environment , everything is OK - the poller is working fine, the DB statuses changes, etc. When in Production environment , nothing appears in the log and nothing changes in the DB (I'm reading notifications from a DB table). Push Notifications eventSource: WL.Server.createEventSource({ name : 'PushEventSource', poll : { interval : 360, onPoll : 'sendNotifications' }, securityTest : 'mobileSecTest' }); mobileSecTest security test: <mobileSecurityTest name="mobileSecTest"> <testUser realm="LdapAdapterRealm"/> <testDeviceId provisioningType="none"/> <