worklight-server

Worklight Adapter getting pdf file from rest service

核能气质少年 提交于 2019-11-29 15:58:52
I am trying to access to a Rest Service who exposes a pdf file, but I get this response when invoking the procedure: { "errors": [ "Failed to parse the payload from backend (procedure: HttpRequest)" ], "info": [ ], "isSuccessful": false, "responseHeaders": { "Content-Type": "application\/octet-stream; type=\"application\/xop+xml\"; boundary=\"uuid:****************\"; start=\"<pdf>\"; start-info=\"application\/pdf\"", "Date": "Thu, 07 Nov 2013 14:44:54 GMT", "Server": "Apache-Coyote\/1.1", "Transfer-Encoding": "chunked", "X-Powered-By": "Servlet 2.5; **********", "content-disposition":

No Runtime can be found in Worklight Console

安稳与你 提交于 2019-11-29 12:38:22
I am trying to set up test environemnt for worklight project. Every thing looks like started successfully without any errors , however, the worklight console says 'No runtime configuration could be found" . And I can not access my application in browser either. However, AppCenter is available. The system is set up in Redhat OS, Worklight version 6.2, DB2 as database and WS-Liberty 8.5 as server. As suggested in different SO questions, I tried cleaning up the workarea of liberty server, clean-built and deploy, tried using java 1.6 instead of java 1.7 but nothing has worked. Thanks for spending

IBM Worklight - How to disable Direct Update?

自闭症网瘾萝莉.ら 提交于 2019-11-29 11:13:11
I would like to disable Direct Update. Is it possible? With connectOnStartup = false not work. If you would like to disable Direct Update completely, open a browser and navigate to Worklight Console. There you need to tick the checkbox titled "Lock this version". This option means that any future deployments of a .wlapp (of the particular enviornment and its particular version number) will not update its web resources on the server, thus not trigger a Direct Update. See this IBM Worklight user documentation topic: Locking an application connectOnStartup=false only means that upon application

How to send images through Worklight server without base64 encoding?

旧时模样 提交于 2019-11-29 08:40:49
I`m trying to find out how to send images to my back-end server using Worklight adapters. I know that I can send them through Worklight adapters using Base64 encoding but this implies in around 30% more traffic between the servers and some undesired processing overhead. For now I`m using the Phonegap FileTransfer library as I show below, but this creates a directly connection between the client and the back-end server not going through Worklight server as I want. var options = new FileUploadOptions(); options.fileKey="file"; options.fileName=imageURI.substr(imageURI.lastIndexOf('/')+1);

Worklight 5.0.6.1 - System.out.println() logging from Worklight adapter is not working

半腔热情 提交于 2019-11-28 13:06:13
I've installed Worklight 5.0.6.1 and when invoking Java code from my adapter I don't see the log output in the workspace\WorklightServetrHome\project\logs log files. I'm using System.out.println(). Any advice why this worked successfully in previous releases of Worklight, and is not working in v5.0.6.1? What the property settings to allow System output from Java code in Worklight that need to be set? FYI: Thinking it might be a bad install I re-installed a second time, and with the same result. The code prior to, and after the System.out.println() calls is executing correctly so I'm sure the

No MBean found for worklight project

混江龙づ霸主 提交于 2019-11-28 11:46:08
I have been getting this error while starting up my server with my worklight project (.war) deployed on it. Was wondering if anyone has any inputs. Below are the relevant information. The system is set up in Redhat OS , Worklight version 6.2 consumer edition , DB2 as database and WS-Liberty 8.5.5.1 as server. P.S: My application was available before this problem occured, however my worklight console was never working correctly (always had problem with message on worklight console saying " no runtime configuratin can be found "). It still says the same. logs [AUDIT ] CWWKG0016I: Starting server

IBM Worklight - How to retrieve an already-deployed .wlapp file?

浪尽此生 提交于 2019-11-28 10:20:50
问题 I have an already running Worklight application. We are planning to move to another production cluster tomorrow but I want to get the old .wlapp that is already deployed on the first cluster. How can I get it? I could find a directory on the temp file of the WebSphere application server, but it is in an exploded form. When I zipped one of them and converted it to .wlapp, while the deployment was successfull, I had a Direct Update and the application failed to start... Is it the right path?

Worklight Adapter getting pdf file from rest service

白昼怎懂夜的黑 提交于 2019-11-28 10:10:15
问题 I am trying to access to a Rest Service who exposes a pdf file, but I get this response when invoking the procedure: { "errors": [ "Failed to parse the payload from backend (procedure: HttpRequest)" ], "info": [ ], "isSuccessful": false, "responseHeaders": { "Content-Type": "application\/octet-stream; type=\"application\/xop+xml\"; boundary=\"uuid:****************\"; start=\"<pdf>\"; start-info=\"application\/pdf\"", "Date": "Thu, 07 Nov 2013 14:44:54 GMT", "Server": "Apache-Coyote\/1.1",

No Runtime can be found in Worklight Console

落花浮王杯 提交于 2019-11-28 05:52:54
问题 I am trying to set up test environemnt for worklight project. Every thing looks like started successfully without any errors , however, the worklight console says 'No runtime configuration could be found" . And I can not access my application in browser either. However, AppCenter is available. The system is set up in Redhat OS, Worklight version 6.2, DB2 as database and WS-Liberty 8.5 as server. As suggested in different SO questions, I tried cleaning up the workarea of liberty server, clean

No runtime on my Worklight 6.2 Console

两盒软妹~` 提交于 2019-11-28 02:19:04
After deploying an war file in a Worklight 6.2 environment, the console doesn't show the associated runtime environment : No runtime can be found. It's a basic usage of Worklight 6.2, but I don't know how to fix it ! What I've done : Installation of Worklight Entreprise 6.2 on WebSphere Liberty 8.5.5.2 + DB2 V10.5 customisation of the configuration-liberty-db2.xml with my settings ant -f myxmlfile admdatabases ant -f myxmlfile adminstall ant -f myxmlfile databases ant -f myxmlfile install I have the worklight console in the path ~/worklightconsole but no runtime ! and in the liberty log : [6