I'm trying to deploy a MobileFirst adapter to MobileFirst Server 6.3 running on Tomcat 7.
Snippet from the Ant script:
<wladm url="${resolved.worklight.server.url}/${worklight.admin.context}" secure="false" user="${worklight.server.user}" password="${worklight.server.password}">
<deploy-adapter runtime="ProjectName" file="${basedir}/bin/MyAdapter.adapter"/>
</wladm>
I'm getting this error:
-deploy-adapter:
[wladm] <?xml version="1.0" encoding="UTF-8"?>
[wladm] <config userName="demouser" productVersion="6.3.0.00-20141127-1357"/>
[wladm] Error accessing http://XXX.XXX.XXX.XXX.XXX:8080/wladmin/management-apis/1.0/runtimes/ProjectName/adapters?locale=en_US: XXX.XXX.XXX.XXX.XXX:8080 failed to respond
Weird is that when I run the same Ant script but pointing to my local workspace running WAS Liberty in the development studio (Eclipse), it works fine.
Also, the deployment of an application to application console and native app to appcenter works fine with Tomcat, the issue is only when deploying an adapter.
Any idea?