ibm-mobilefirst

how to increase WAS liberty server messages.log file size?

人盡茶涼 提交于 2020-05-17 05:44:57
问题 Good day, I have a mobilefirst app deploy in WAS liberty profile. I found that the messages.log is only 72kb and then it will roll to new log file. I would like to increase the log file size, so I am doing the following way in server.xml, but it does not take effect: <logging traceFileName="messages.log" maxFileSize="20" /> or <logging maxFileSize="0"/> May I know how to increase the log file size? My WAS liberty profile is v8.5.5.5. Kindly advise. 回答1: WAS Liberty logging configuration is

how to increase WAS liberty server messages.log file size?

匆匆过客 提交于 2020-05-17 05:43:26
问题 Good day, I have a mobilefirst app deploy in WAS liberty profile. I found that the messages.log is only 72kb and then it will roll to new log file. I would like to increase the log file size, so I am doing the following way in server.xml, but it does not take effect: <logging traceFileName="messages.log" maxFileSize="20" /> or <logging maxFileSize="0"/> May I know how to increase the log file size? My WAS liberty profile is v8.5.5.5. Kindly advise. 回答1: WAS Liberty logging configuration is

IBM Worklight 6.1 common/init 401 (Unauthorized) looping error on production server

断了今生、忘了曾经 提交于 2020-03-04 04:46:43
问题 I am using IBM Worklight 6.1 and trying to deploy on production server. On my development server, everything works fine, but once I deploy, and then try to preview the app on browser, I have a loop of js errors saying: Request [/MyApp/apps/services/api/MyApp/common/init] worklight.js:4558 POST http://172.16.1.2:9080/MyApp/apps/services/api/MyApp/common/init 401 (Unauthorized) worklight.js:1081 Request [/MyApp/apps/services/api/MyApp/common/init] worklight.js:4558 POST http://172.16.1.2:9080

MobileFirst OAuth Logout, cached OAuth indentity

前提是你 提交于 2020-02-25 22:43:44
问题 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

Storing and Retrieving images from DB2 using Worklight SQL Adapters?

杀马特。学长 韩版系。学妹 提交于 2020-02-25 05:28:23
问题 I'm trying to store images in DB2 Database as BLOB contents. I used JS to convert the image content to base64 . function loadImageFileAsURL() { var filesSelected = document.getElementById("inputFileToLoad").files; if (filesSelected.length > 0) { var fileToLoad = filesSelected[0]; var fileReader = new FileReader(); fileReader.onload = function(fileLoadedEvent) { var textAreaFileContents = document.getElementById ( "textAreaFileContents" ); textAreaFileContents.innerHTML = fileLoadedEvent

Storing and Retrieving images from DB2 using Worklight SQL Adapters?

空扰寡人 提交于 2020-02-25 05:28:05
问题 I'm trying to store images in DB2 Database as BLOB contents. I used JS to convert the image content to base64 . function loadImageFileAsURL() { var filesSelected = document.getElementById("inputFileToLoad").files; if (filesSelected.length > 0) { var fileToLoad = filesSelected[0]; var fileReader = new FileReader(); fileReader.onload = function(fileLoadedEvent) { var textAreaFileContents = document.getElementById ( "textAreaFileContents" ); textAreaFileContents.innerHTML = fileLoadedEvent

Getting session from HttpAdapter to Java based Adapter

故事扮演 提交于 2020-01-25 22:49:11
问题 Is there any way to get the session that is created in a httpAdapter into a java class in the adapter? I am connecting to a https://jazz.net/ with a httpadapter, but i now want to use some java code to connect to same url in the adapter. So i dont knw how to access the session already created. Here is my connection code: In javaScript, function login(){ var lpath = getLoginPath(); var input = { method : 'post', returnedContentType : 'html', path : lpath, parameters : { j_password : passwd, j

Getting session from HttpAdapter to Java based Adapter

扶醉桌前 提交于 2020-01-25 22:49:09
问题 Is there any way to get the session that is created in a httpAdapter into a java class in the adapter? I am connecting to a https://jazz.net/ with a httpadapter, but i now want to use some java code to connect to same url in the adapter. So i dont knw how to access the session already created. Here is my connection code: In javaScript, function login(){ var lpath = getLoginPath(); var input = { method : 'post', returnedContentType : 'html', path : lpath, parameters : { j_password : passwd, j

How to achieve “Remember Me” functionality for both local and remote login pages?

泄露秘密 提交于 2020-01-25 12:17:31
问题 I have a requirement in my application for iOS and Android, developed using IBM Worklight, to remember the user ID if the user selected this option. I can achieve this by using localStorage, but the issue is that I have two login pages: One is placed within the application, and the Second is hosted on a remote server Depending on the conditions the application will meet, either the remote login page will be displayed or the local login page will be displayed. If I use localStorage on local

IBM Worklight 6.1- How to reduce splash screen duration around 1 second for android?

ぐ巨炮叔叔 提交于 2020-01-25 08:47:11
问题 I'm using IBM Worklight 6.1 for my mobile app project. My question is how to reduce splash screen duration around 1 second. I and my colleague already try many solutions from stackoverflow regarding to this issue. IBM Worklight 5.0.6 - How to add a splash screen to Android environment? - stay on splash screen phonegap - splash screen for Android app - not working Worklight App Splash Screen on Android - blank screen Until now the splash screen takes a lot around 10 seconds. We test it on