Worklight Server错误syncAdaptersFromDB

时间:2014-03-20 00:57:32

标签: ibm-mobilefirst worklight-server

我们刚刚将Worklight服务器升级到6.0.0.20140208-1639,我们现在经常在Websphere标准中登录错误:

DeployService W com.worklight.integration.services.impl.DeployServiceImpl syncAdaptersFromDB FWLSE0082W: Failed to deploy adapter. This may be due to a JavaScript error in your adapter implementation (archive:  'C:\Windows\TEMP\HelloWorld6506022860570731839.adapter'). [project worklightEMS]
                                 com.worklight.gadgets.bean.InvalidDeployableException: The 'adapter' version 'null' is different than the version of Worklight Server '6.0.0'. 
Use Worklight Studio '6.0.0' to build and deploy the application.
    at com.worklight.integration.services.impl.DeployServiceImpl.syncAdaptersFromDB(DeployServiceImpl.java:167)
    at com.worklight.integration.services.impl.DeployServiceImpl.access$000(DeployServiceImpl.java:73)
    at com.worklight.integration.services.impl.DeployServiceImpl$ClusterSyncAdaptersTransaction.run(DeployServiceImpl.java:513)
    at com.worklight.integration.services.impl.DeployServiceImpl$ClusterSyncAdaptersTransaction.run(DeployServiceImpl.java:502)
    at com.worklight.core.util.RssBrokerUtils.doInTransaction(RssBrokerUtils.java:132)
    at com.worklight.integration.services.impl.DeployServiceImpl.syncAdaptersFromDBTransaction(DeployServiceImpl.java:499)
    at com.worklight.gadgets.bean.ClusterDataSynchronizationTask.step(ClusterDataSynchronizationTask.java:42)
    at com.worklight.core.tasks.TaskThread.run(TaskThread.java:111)

没有" HelloWorld" c:\ Windows \ TEMP 中的适配器,我们在部署到服务器的WL项目中找不到对此的任何引用。我们重建了WAR并使用相同的补丁版本部署到服务器。

知道为什么会触发这个错误以及我们可以做些什么来阻止它?

1 个答案:

答案 0 :(得分:0)

以下几乎是您的问题:

我建议查看上述问题的所有答案。 然后,您可以尝试(或/和上面建议的任何其他内容):

  • 使用新的Worklight Studio构建重建所有工件(.wlapp,.adapter)
  • 确保已在应用程序服务器中安装更新的Worklight Server版本
  • 部署Worklight Studio新生成的.war文件
  • 部署所有工件