0
當前在使用的環境中,端口不能始終指定。在我的xml <connectivity>
設置中,<port>
將爲空白。Worklight [adapter-deployer] SEVERE:元素<port>必須是數字
<connectivity>
<connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
<protocol>http</protocol>
<domain>worklightserver.test.com</domain>
<port></port>
</connectionPolicy>
<loadConstraints maxConcurrentConnectionsPerNode="2" />
</connectivity>
當調用
<adapter-deployer deployable="test.adapter" worklightServerHost="http://192.168.1.9:8080"/>
我得到的錯誤:
[adapter-deployer] SEVERE: Element <port> must be a number.
這是在工作燈的錯誤嗎?我假設如果沒有指定端口,它將根據指定的協議使用正確的端口。通過指定端口,它可以正常工作