将Worklight从v6.0迁移到v6.1的问题 [英] Issues of migrating Worklight from v6.0 to v6.1

查看:101
本文介绍了将Worklight从v6.0迁移到v6.1的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将我的项目(由3个应用程序和2个适配器组成)从Worklight v6.0迁移到Worklight v6.1我面临着适配器迁移的问题。

Migrating my project(made up of 3 apps and 2 adapters) from Worklight v6.0 to Worklight v6.1 i'm facing problems over adapters migration.

我已经使用Ant脚本(用于.war文件)在生产环境中部署了.war,.wlapp和.adapter文件。
使用的应用程序服务器是Websphere,使用的dbms服务器是Derby。

I had already deployed .war, .wlapp and .adapter files in production environment using an Ant script(for .war file). The application server used is Websphere, the dbms server used is Derby.

我将worklight studio的插件升级到最新版本,创建了一个新的,干净的工作空间,从旧工作区导出项目并导入新项目。

I upgraded the worklight studio's plugin to the latest version, created a new, clean workspace, exported the project from the old workspace and imported in the new one.

对于开发环境而言,一切都有效。

For what concerns development environment everything works.

关于生产环境的问题,我成功部署了所有应用程序(但由于适配器不足而无法正常工作)。
当我尝试部署适配器(每个)时,我得到以下异常:

For what concerns production environment i successfully deployed all the applications(but don't work yet becouse the adapters lack). When i try to deploy the adapter(each one) i get the following exception:

Failed to deploy adapter 'adapter1.adapter'. The 'adapter' version '6.0.0' is different than the version of the Worklight project '6.1.0.00.20131219-1900'. Use Worklight Studio '6.1.0.00.20131219-1900' to build and deploy the application.

我还试图创建一个新的适配器并部署它,但我仍然得到同样的错误。

I tried also to create a new adapter and deploy it but i'm still getting the same error.

推荐答案

完全基于对问题的编辑编辑答案

Worklight Studio生成的所有工件: .adapter .wlapp .war 必须使用相同的Worklight Studio版本生成。

All artifacts produced by Worklight Studio: .adapter, .wlapp and .war must be generated using the same Worklight Studio version.

确保在将项目导入Worklight 6.1之后,您是构建 all 项目的应用程序和适配器。

Make sure that after importing the project to Worklight 6.1, that you are building all the the project's applications and adapters.

接下来,您需要部署重新生成的 .war 文件,然后部署 .wlapp .adapter files。

Next, you need to deploy the re-generated .war file and then deploy the .wlapp and .adapter files.

验证适配器是否属于与项目的 .war 文件相同的版本,从 bin中提取 .adapter 文件文件夹并打开 XML 文件。你应该看到这样的平台版本:

To verify that the adapter is of the same version as the project's .war file, extract the .adapter file from the bin folder and open the XML file. You should see the platform version like this:

<ns2:adapter xmlns:ns2="http://www.worklight.com/integration"
name="test" platformVersion="6.1.0.00.20131126-0630">

IBM Worklight信息中心主题:

IBM Worklight Information Center topics to read:

  • Installing and configuring
  • Upgrading from one version of IBM Worklight to another

您还可以在Worklight控制台>关于>其他支持信息中看到此信息:

You can also see this in Worklight Console > About > Additional Support Information:

这篇关于将Worklight从v6.0迁移到v6.1的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆