ibm mobilefirst - IBM Worklight - How to connect to another Worklight Server located in another machine in the same network? -
i have setup worklight studio in local machine , developed sample application. need deploy application worklight server set in pc in same network (lan).
you have server in local machine - worklight studio contains internal worklight server. doesn't matter...
if using worklight 5.x:
- open
application-descriptor.xml
- find
worklightserverrooturl
element - change value of remote worklight server, example:
http://myotherserver:8080
- right-click on application folder , choose: run >> build , deploy
- take
*-all.wlapp
and/or*.adapter
files bin folder , deploy them via worklight console resides in other server machine.
if using worklight 6.0:
- right-click on application folder , choose: run >> build remote server
- enter details of other server machine (host, port, context root)
- take
*-all.wlapp
and/or*.adapter
files bin folder , deploy them via worklight console resides in other server machine.
the above assumes remote server(s) configured accept applications and/or adapters deploy (that is, have deployed .war file of project; scenario not detailed explanations lexing).
Comments
Post a Comment