how to declare an sql connection for my adapter deployed on the worklight server.
does the dataSourceDefinition declare in the xml adapter still used or do i need to configure a
datasource in the web.xml of tomcat ?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2012-11-29T11:51:46Z by jacquesrage
Pinned topic connectivity for sql adapter on worklight server
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
AntonAleksandrov 270005D80F2 PostsACCEPTED ANSWER
Re: connectivity for sql adapter on worklight server2012-11-29T09:13:05Z in response to jacquesrageHello,
You can see tutorial on setting up SQL adapter here - http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/docs/Module_05_1_-_Creating_SQL_Adapters.pdf
Also, a sample SQL adapter is available here - http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/docs/module_05_1_SQL_Adapter.zip
Re: connectivity for sql adapter on worklight server2012-11-29T11:18:21Z in response to AntonAleksandrovhi, yes this step is working well in a developpement environnement. when i deploy the wlapp and adapter in the server
the adapter can't connect to my jdbc source specified in the xml file of the adapter.
Re: connectivity for sql adapter on worklight server2012-11-29T11:51:46Z in response to jacquesrageok my context was incorrect. this thread help me to correct it and now the connection to my sql source is fine.