Topic
  • 1 reply
  • Latest Post - ‏2012-09-26T19:58:40Z by tdressel1
SHAHR
SHAHR
1 Post

Pinned topic SQL Adapter in Worklight Studio not working

‏2012-09-21T18:16:13Z |
Hi,

I am trying to follow along the examples for a SQL adapter and trying to run a simple query against MYSQL database as described in the training manual.

I get the following error message in the console.
2012-09-21 13:07:55 Worklight Server started successfully on localhost:8080
2012-09-21 13:07:56 ====== Start server failed for project HelloWorkLight-project-customization: Invalid bean definition with name 'gadgetResourcesRoot' defined in URL bundleresource://108.fwk1969336188/conf/spring-server-core.xml: Could not resolve placeholder 'worklight.home'
2012-09-21 13:08:06 jetty-6.1.x
2012-09-21 13:08:06 Started SocketConnector@0.0.0.0:49176
2012-09-21 13:09:39 Activating Worklight project: HelloWorkLight...
2012-09-21 13:09:44 Activation failed. Bundle didn't start:C:\Users\Administrator\IBM\Worklight\workspace\HelloWorkLight\bin\HelloWorkLight-customization.jar

I am attaching the .xml and .js file for the adapter.
Can somebody help please?
Regards,
  • tdressel1
    tdressel1
    6 Posts

    Re: SQL Adapter in Worklight Studio not working

    ‏2012-09-26T19:58:40Z  
    I have just run into this error as well. I don't think that it is related to the adapter, as I was not using an adapter in my project. The following page states that after Worklight Studio is restarted, or if a workspace change is made, errors can occur when performing a Build All and Deploy operation: http://www-01.ibm.com/support/docview.wss?uid=swg21600007 . Please review the technote and let us know if this resolves the issue.

    Thanks.

    Tom Dressel