Deployment 未能在worklight中部署worklight适配器
在开发环境中部署时,一切正常。但是,尝试将项目移动到WAS应用程序服务器时,适配器部署失败(.war和.wlapp部署成功通过): 我们已经验证了authenticationConfig.xml中存在安全测试,下面是测试的一部分,因此它实际上是存在的:Deployment 未能在worklight中部署worklight适配器,deployment,ibm-mobilefirst,websphere-8,Deployment,Ibm Mobilefirst,Websphere 8,在开发环境中部署时,一切正常。但是,尝试将项目移动到WAS应用程序服务器时,适配器部署失败(.war和.wlapp部署成功通过): 我们已经验证了authenticationConfig.xml中存在安全测试,下面是测试的一部分,因此它实际上是存在的: <securityTests> <customSecurityTest name="BPMAdapter-securityTest"> <test isInternalUserID="true
<securityTests>
<customSecurityTest name="BPMAdapter-securityTest">
<test isInternalUserID="true" realm="BPMAuthRealm"/>
</customSecurityTest>
<webSecurityTest name="BPMApp-web-securityTest">
<testUser realm="BPMAuthRealm"/>
</webSecurityTest>
<mobileSecurityTest name="BPMApp-strong-mobile-securityTest">
<testUser realm="BPMAuthRealm"/>
<testDeviceId provisioningType="none"/>
</mobileSecurityTest>
<mobileSecurityTest name="BPMApp-mobile-securityTest">
<testUser realm="BPMAuthRealm"/>
</mobileSecurityTest>
</securityTests>
以下是我们采取的步骤:
测试服务器:Windows 2008 R2数据中心数据库:DB210.1
应用服务器:第8.0.0.3位
http://internal:9082
http://${local.IPAddress}:8080
tohttp://internalIP:9082/worklight
(此示例显示了相同的方法)http://internalIP:9082/BPMWorklight/console/#catalog
上传BPMApp-all.wlapp(我们不上传其他三款iPhone、android或common,只上传-all.wlapp)上传成功http://internalIP:9082/BPMWorklight/console/#catalog
适配器BPMAdapter.adapter出现错误“部署适配器'BPMAdapter.adapter'失败”:适配器'BPMAdapter'中的过程'getRest'需要安全测试'BPMAdapter securityTest',但authenticationConfig.xml中未定义该测试。”- 在application-descriptor.xml中
- 在worklight.properties中
- .war文件的名称
在Worklight 5.0.x中,一次应该只有一个Worklight.war文件。请确保更新的.war文件中的authenticationConfig.xml确实包含假定缺失的securityTest.Idan,是的!刚刚验证了测试在部署的.war中,我们是否应该寻找其他文件?谢谢!Idan,我们有插件版本5.0.5.1和s服务器版本5.0.5(据我们所知,没有5.0.5.1服务器)唯一的问题是将服务器和插件升级到5.0.6,但我们仍然无法做到这一点,因为我们仍然使用以前版本的Cordova.Idan,我们能够找到带有MAC IWS的插件版本5.0.5。我们重建了.war,在服务器中重新安装了它,并重新加载了BPMApp-all.wlapp,wlapp上载正常。当我们尝试上载.adapter我们现在只得到:“部署适配器'BPMAdapter.adapter'失败:错误”非常需要并非常感谢您的想法!再次感谢!此错误与我在答案列表中描述的错误完全相同。您必须确保Worklight Server和Worklight Studio的版本相同。以下是我们的版本:服务器版本:5.0.5.20121130-0919 Worklight Studio插件:5.0.5.20121130-0158 A它们是一样的吗?我想是的…你能确认一下吗?伊丹,最后!!你的直觉是对的…我唯一不清楚的是,安装在was中的Worklight Console应用程序实际上是w的另一个版本
<securityTests>
<customSecurityTest name="BPMAdapter-securityTest">
<test isInternalUserID="true" realm="BPMAuthRealm"/>
</customSecurityTest>
<webSecurityTest name="BPMApp-web-securityTest">
<testUser realm="BPMAuthRealm"/>
</webSecurityTest>
<mobileSecurityTest name="BPMApp-strong-mobile-securityTest">
<testUser realm="BPMAuthRealm"/>
<testDeviceId provisioningType="none"/>
</mobileSecurityTest>
<mobileSecurityTest name="BPMApp-mobile-securityTest">
<testUser realm="BPMAuthRealm"/>
</mobileSecurityTest>
</securityTests>