"Adapter deployment failed: Could not resolve placeholder" error in IBM MobileFirst 6.3 -


i'm unable read property's value worklight.properties file.

i added property publicprotocol=http in wroklight.properties file , used property in adapter.xml <protocol>${publicprotocol}</protocol> i'm getting following error:

adapter deployment failed: not resolve placeholder 'publicprotocol'

this works fine me using ibm mobilefirst platform studio 6.3.0.00-20150214-1702

  1. created new project http adapter.
  2. added server\conf\worklight.properties following: mycustomproperty=http
    server automatically restarted
  3. changed adapters\myadapter\myadapter.xml follows , re-deployed adapter:

    - <protocol>http</protocol> + <protocol>${mycustomproperty}</protocol> 

to verify worked simply:

  1. right-click myadapter folder , selected run > invoke mobilefirst procedure , click on ok invoke default procedure.

a browser window opened successful invocation.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -