1

使用 Ant 脚本部署 .wlapp 时出现以下错误:

[adapter-deployer] 严重:缺少 xml 文件

蚂蚁任务:

adapter-deployer worklightServerHost="hostname:10039/Demo" deployable="C:\DemoApp-all.wlapp"

笔记:

  • Worklight WAR 文件已部署,我可以使用主机名访问控制台 URL:10039/Demo/console。
  • 同样在 ant 脚本中,如果我使用 worklightServerHost url 作为主机名:10039/(我确保端口/主机号存在于 Virtual Hosts > default_host > Host Aliases 中)我收到以下错误:

[adapter-deployer] 严重:未找到;

SRVE0255E: 尚未定义用于处理 /console/api/adapters/upload 的 WebGroup/虚拟主机。


SRVE0255E: 处理主机名:10039 的 Web 组/虚拟主机尚未定义 d。


IBM WebSphere 应用服务器

4

1 回答 1

0

You say you want to deploy the adapter, yet you point to the application (.wlapp). You should point the ant script to the .adapter file of your project instead.

于 2013-02-15T09:02:49.907 回答