标签: ibm-mobilefirst

如何在Worklight中增加适配器过程超时值?

如何增加Worklight适配器过程的超时值?我的应用程序崩溃,我在异常详细信息中看到以下内容:

"response [/ apps/services/api/index/common/query] success:/ -secure- {"responseID":"24","errors":["过程调用'getFTTitle'在30秒后超时. "],"isSuccessful":false,"警告":[],"info":[]} /"

timeout adapter ibm-mobilefirst

1
推荐指数
1
解决办法
3825
查看次数

IBM Worklight 6.0 - Eclipse 4.3"Kepler"上的安装失败

尝试将Worklight 6安装到Eclipse 4.3"Kepler"时,我遇到了以下问题:

Cannot complete the install because one or more required items could not be found.
  Software being installed: IBM jQuery Mobile Tools 6.0.0.201306140658 (com.ibm.webtools.jquery.tools.feature.feature.group 6.0.0.201306140658)
  Missing requirement: IBM Web Editor Common 1.2.0.v20130514_1852 (com.ibm.etools.webtools.webedit.common 1.2.0.v20130514_1852) requires 'bundle com.ibm.icu [4.2.1,5.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: IBM Worklight Studio 6.0.0.201306140657 (com.ibm.imp.tools.feature.feature.group 6.0.0.201306140657)
    To: com.ibm.imp.webtools.core.feature.feature.group 1.0.0
  Cannot satisfy dependency:
    From: Web Tools Core 1.2.0.v20130514_1852 (com.ibm.imp.webtools.core.feature.feature.group 1.2.0.v20130514_1852)
    To: com.ibm.etools.webtools.webedit.common [1.2.0.v20130514_1852]
  Cannot satisfy dependency:
    From: IBM jQuery Mobile Tools …
Run Code Online (Sandbox Code Playgroud)

eclipse-kepler worklight-studio ibm-mobilefirst

1
推荐指数
1
解决办法
2627
查看次数

IBM Worklight - 在设备上安装应用程序

我们目前正在使用Windows中运行的Worklight Enterprise Edition.我们使用jQuery Mobile(和另一个使用Dojo Mobile)创建了一个移动应用程序,但是我们无法将其部署到设备上.

  • 在开发应用程序之后,我们生成了(unsigned).apk文件
  • 我们将其复制到Samsung Grand(Android版本4.1.2)进行测试
  • 当我们尝试打开.apk文件时,我们收到错误: There is a problem parsing the package.

这是在设备中安装.apk文件的正确步骤吗?

android apk ibm-mobilefirst

1
推荐指数
1
解决办法
3272
查看次数

如何在Worklight Server中增加Java堆空间?

尝试部署Android应用程序时,我在Worklight中收到JVM堆空间错误.

Failed to deploy the application to Worklight server: InputStream error: java.lang.OutOfMemoryError: Java heap space
Run Code Online (Sandbox Code Playgroud)

如何解决这个问题.

任何帮助表示赞赏.

eclipse ibm-mobilefirst

1
推荐指数
1
解决办法
2938
查看次数

在IBM Worklight中登录身份验证

我正在使用Jquery Mobile开始使用IBM worklight项目.我创建了一个登录页面.每当用户点击提交按钮时,我都需要运行该功能来检查数据库中的用户名和密码.

数据库 - >我正在使用MY SQl数据库.使用命令客户端我添加了表,用户名密码和值.每当用户点击提交按钮时,我都需要检查此表.IBM worklight教程说我需要将JDBC jar文件添加到server/lib.我已将下载的文件复制粘贴到同一文件夹中.

我不知道我是否需要制作自己的自定义登录模块或默认的东西.

IBM网站上没有明确的身份验证示例.请帮我解决一下这个.

worklight-adapters worklight-server ibm-mobilefirst

1
推荐指数
1
解决办法
2389
查看次数

IBM Worklight - 如何在Worklight Console中启用应用程序真实性?

我尝试按照这个网址上的教程,教程是如此直接,但我无法得到正确的结果.

下面是我的authenticationConfig.xml

<securityTests>
  <customSecurityTest name="custom-mobilesecurityTest">
    <test realm="wl_antiXSRFRealm" step="1"/>
    <test realm="wl_authenticityRealm" step="2"/>
    <test realm="HeaderAuthRealm" isInternalUserID="true" step="3"/>
  </customSecurityTest>
</securityTests>
Run Code Online (Sandbox Code Playgroud)

但是控制台中出现的App Authentication始终是"Access Disabled",我无法启用它.我在这里错过了什么吗?

在此输入图像描述

worklight-security ibm-mobilefirst

1
推荐指数
1
解决办法
1188
查看次数

我可以在Worklight Server上安装Worklight移动浏览器模拟器吗?

当我在Worklight服务器上预览Android应用程序时,它仍然预览为"常见"资源.然而,如果我在我的本地机器上从eclipse做同样的事情,它将在移动浏览器模拟器中打开.

在服务器上安装移动浏览器模拟器的方法是什么?我的Worklight服务器在单独使用WAS和DB2的Linux机器上运行.

worklight-mbs worklight-server ibm-mobilefirst

1
推荐指数
1
解决办法
187
查看次数

添加appcenter应用程序时行大小太大(> 8126)异常

我正在尝试在Windows 8.1上的Websphere Liberty服务器上部署iOS的worklight应用程序中心.但是当我尝试通过appcenter控制台添加IBMAppCenter.ipa时,我在服务器日志中遇到异常.

Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. {prepstmnt 1563792952 INSERT INTO APPLICATION_STORAGE (CONTENT, AP_FK) VALUES (?, ?) [params=(InputStream) java.io.ByteArrayInputStream@5987916, (null) null]} [code=1118, state=42000]
Run Code Online (Sandbox Code Playgroud)

以下是重现我的问题的方案:

  1. 通过mysql社区安装程序安装mysql 5.6.2
  2. 安装Websphere Liberty应用程序服务器v8.5.5
  3. 安装Worklight Server v6.2
  4. 通过XCode生成IBMAppCenter.ipa
  5. 登录appcenterconsole并尝试添加应用程序

我尝试按照hjpotter92对"Mysql行大小太大"的更改限制的建议启用表APPLICATION_STORAGE的压缩,但没有任何运气.任何帮助将非常感激.

编辑

以下是APPLICATION_STORAGE表的定义,该表导致问题:

CREATE TABLE APPLICATION_STORAGE (ID INTEGER NOT NULL AUTO_INCREMENT, CONTENT LONGBLOB, AP_FK INTEGER, PRIMARY KEY (ID)) ENGINE …
Run Code Online (Sandbox Code Playgroud)

mysql worklight-appcenter ibm-mobilefirst

1
推荐指数
1
解决办法
4620
查看次数

Ionic 2与MobileFirst 8

我是MobileFirst 8的Ionic 2的新用户,据我所知,我已经在全球安装了Mobilefirst Server和MFP CLI.我用android platfrom创建了Ionic项目然后我安装了Cordova-plugin-mfp.当我试图运行离子cordova模拟Android抛出

错误:无法为Android准备插件:发生意外错误.联系IBM支持.[错误]运行cordova模拟android时出错(退出代码1).

以下是我的系统详细信息.

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.18.0
ionic (Ionic CLI) : 3.18.0
Run Code Online (Sandbox Code Playgroud)

全球套餐:

cordova (Cordova CLI) : 7.0.1 
Run Code Online (Sandbox Code Playgroud)

本地包裹:

@ionic/app-scripts : 3.1.6
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2
Run Code Online (Sandbox Code Playgroud)

系统:

Android SDK Tools : 26.1.1
ios-deploy        : 1.9.2 
Node              : v6.11.0
npm               : 3.10.10 
OS                : macOS Sierra
Xcode             : Xcode 9.1 Build version 9B55 
Run Code Online (Sandbox Code Playgroud)

在我执行emulate命令之前,已执行的mfpdev应用程序注册在我的MobileFirst控制台中注册的应用程序然后我移动了mfpdev应用程序webupdate它抛出其他错误

Error: Web resources could not be …
Run Code Online (Sandbox Code Playgroud)

cordova ibm-mobilefirst mobilefirst-cli ionic2

1
推荐指数
1
解决办法
559
查看次数

Cordova Build Error:Camera Plugin缺少android.support.v4库依赖项

无法构建基于IBM MobileFirst 7.1的Cordova Android应用程序.最近将mobilefirst cli版本升级到7.1.0.00.20180302-0537

添加相机插件(org.apache.cordova.camera)后,android构建失败,并在下面的日志中提到以下错误.看看错误,看起来插件现在需要支持库,但没有将其指示为依赖项.不太确定要解决这个问题需要做些什么.

-compile:
[javac] Compiling 47 source files to /Users/dev/MFPApp/platforms/android/ant-build/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /Users/dev/MFPApp/platforms/android/src/org/apache/cordova/camera/CameraLauncher.java:56: error: package android.support.v4.content does not exist
[javac] import android.support.v4.content.FileProvider;
[javac]                                  ^
[javac] /Users/dev/MFPApp/platforms/android/src/org/apache/cordova/camera/CordovaUri.java:25: error: package android.support.v4.content does not exist
[javac] import …
Run Code Online (Sandbox Code Playgroud)

android cordova ibm-mobilefirst

1
推荐指数
1
解决办法
890
查看次数