Topic
  • 1 reply
  • Latest Post - ‏2012-04-10T08:34:39Z by IdanAdar
SystemAdmin
SystemAdmin
570 Posts

Pinned topic Procedure invocation failed

‏2012-04-10T07:36:03Z |
Hi,

Upgraded to the latest Studio but SQL Adapter is not working when I try to invoke the Worklight procedure. I've imported vanilla the module 5 tutorial and did not make any amendments.

2012-04-10 15:25:18 Tue Apr 10 15:25:18 SGT 2012
2012-04-10 15:25:18 Starting procedure invocation on Worklight Server
2012-04-10 15:25:18 Deploying adapter: SQLAdapter
2012-04-10 15:25:18 Server host: localhost
2012-04-10 15:25:18 Server port: 8080
2012-04-10 15:25:18 Procedure invocation failed
2012-04-10 15:25:18 Could not resolve placeholder 'training-jndi-name'

ian
  • IdanAdar
    IdanAdar
    288 Posts

    Re: Procedure invocation failed

    ‏2012-04-10T08:34:39Z  
    But you are supposed to make changes.
    Have you also configured your server's worklight.properties with the backend connection properties? (see the conf folder within the example project from which you're supposed to copy into your server's worklight.properties).

    You will also need to modify the adapter's XML dataSource to the following:
    
    <dataSourceJNDIName>$
    {jndi-env-prefix
    }/jdbc/worklight_training</dataSourceJNDIName>