Worklight Server兼容性 [英] Worklight Server Compatibility

查看:210
本文介绍了Worklight Server兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,如果这个问题的答案是'不,他们不兼容',那么这很容易关闭。基本上,我在WL应用程序中使用加密缓存,该应用程序是在Eclipse内部使用WL 6.1.0制作的。现在,我已将其部署到我的外部WL服务器,但是,此WL服务器正在运行5.0.6.20130311-0918。所以,我的第一个问题是,这个应用程序是否有任何工作机会?我不确定向后兼容性。

So, if the answer to this question is 'no they aren't compatible' then this is an easy one to close. Basically, I am using the encrypted cache in a WL app which is made using WL 6.1.0 inside of Eclipse. Now, I've deployed this to my external WL server, however, this WL server is running 5.0.6.20130311-0918. So, my first question is, does this app have ANY chance of working? I'm not sure on backward compatibility.

为了帮助解决上述问题,我在服务器上尝试访问应用程序时看到的错误如下:

To help with the above, the error I see when I try to access my application on the server is as follows:

Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationContext.getOrCreateAuthenticationContext():106' 

   at com.worklight.core.auth.impl.AuthenticationContext.getOrCreateAuthenticationContext(AuthenticationContext.java:106)
   at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:105)

这仅仅是由于不兼容吗?我无法让我的加密缓存工作,因为它只需要一次连接到我的服务器 - 这就是我被困住的地方。

Is this simply due to the incompatibility? I'm unable to get my encrypted cache to work as it needs to connect to my server one time only - this is where I'm stuck.

我的最后一个问题 - war文件必须与应用程序名称完全相同吗?在我的情况下,它不是,见下文。这是一个问题吗?肯定不是。

And my final question - does the war file have to be exactly the same as the name of the app? In my case it isn't, see below. Is this a problem? Surely not.

<application id="RedHand" name="RedHand" location="MyRedHand.war" type="war">

预先感谢您的帮助!

推荐答案

您需要使服务器和工作室版本匹配才能在旧版本的Worklight中正常工作。这是一个描述此要求的技术说明:

You need to have your server and studio versions match in order to work properly together in older versions of Worklight. Here is a technote that describes this requirement:

http://www-01.ibm.com/support/docview.wss?uid=swg21609785

具体说明以下内容:

运行Worklight Server和Worklight Studio的不同版本号时出现了一些运行时问题。在一个Worklight版本中发布的功能和/或升级可能在旧环境版本中不兼容.Server和Studio版本必须相同才能在两种环境中使用所有升级和功能。

"Some runtime issues have been observed when running different version numbers of Worklight Server and Worklight Studio. Features and/or upgrades which were released in one version of Worklight may not be compatible in older environment versions. Both the Server and Studio versions must be the same in order to utilize all upgrades and features across both environments."

这就是说我相信在6.1服务器中运行旧版本应用程序之间存在一些后备词兼容性。下面我将链接描述此内容的信息中心部分,并突出显示相应的文字:

This being said I believe there are some backwords compatibility between running older version applications in 6.1 server. Below I will link the infocenter section that describes this as well as highlight the corresponding text:

https://pic.dhe.ibm.com/infocenter/wrklight /v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.upgrade.doc%2Fdevenv%2Fc_upgrade_to_srvr610_separation_of_server_and_studio.html

在版本6.1.0中,IBM Worklight允许在Worklight Server和Worklight Studio生命周期之间进行分离。这种分离意味着

"In version 6.1.0, IBM Worklight allows a separation between the Worklight Server and Worklight Studio lifecycles. This separation means


  • 可以升级Worklight Server的实例到版本6.1.0而不将现有应用程序升级到Worklight Studio版本6.1.0。

  • 可以部署使用任何受支持的版本开发的项目WAR文件,应用程序和适配器Worklight Studio(V5.0.6.x,V6.0.0.x和V6 .1.0)到Worklight Server V6.1.0的实例。但是,部署的应用程序必须使用与先前部署的项目WAR文件相同的Worklight Studio版本构建。例如,考虑在Worklight Studio V5.0.6上开发的Worklight项目,此项目的WAR文件稍后部署在Worklight Server V6.1.0上。此WAR文件部署为V5.0.6项目,未在Worklight Studio V6.1.0中打开。您可以稍后将仅使用Worklight Studio V5.0.6(而不是V6.1.0或任何其他版本)开发的应用程序和适配器部署到此Worklight项目。

此生命周期分离的一些限制如下:

Some limitations of this lifecycle separation are as follows:


  • 仅Worklight Server V6.1.0支持的应用程序环境可以迁移。服务器升级后,Worklight Server V6.1.0不支持的旧应用程序环境(例如,iGoogle,Windows Phone 7.5或Facebook)将不再可用。

  • 部署项目WAR文件,您必须使用随部署的目标Worklight Server版本提供的工具。也就是说,要将Ant任务部署到Worklight Server,您必须使用位于Worklight Server安装目录的WorklightServer目录中的worklight-ant-deployer.jar文件。

您当前配置的问题是您正在尝试完成相反的操作,尝试在不支持的5.0.6服务器上运行6.1应用程序。在我看来,您应该升级您的服务器以匹配您的工作室版本。

The issue with your current configuration is you are trying to accomplish the opposite, trying to run a 6.1 application on a 5.0.6 server which is not supported. In my opinion you should upgrade your server to match your studio version.

关于您的第二个问题,我不认为战争名称必须与您的申请相同,只要您有在服务器端配置中正确配置了新名称。

In regards to your second question I do not believe the war name has to be the same as your application as long as you have the new name configured correctly in your server side configuration.

这篇关于Worklight Server兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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