Re: rest api rmdbs integration

2018-07-30 Thread wt
that's done and working and how i start the server and load cache in
intellij. 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: rest api rmdbs integration

2018-07-29 Thread vkulichenko
If you're using a database that doesn't have a driver in Maven Central repo
(SQL Server is one of the examples), you should copy the driver manually
into 'jdbc-drivers' folder. Please refer to README.txt file included in the
project for details.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: rest api rmdbs integration

2018-07-29 Thread wt
How do I set the classpath in an intelij ignite project generated by the Web
console? Happy to send the project through however it is using rmdbs
integration with an sql server dB so won't work without the dB on your side. 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: rest api rmdbs integration

2018-07-27 Thread vkulichenko
The error means that there is no such class on classpath. Please check if
that's the case or not.

You can also provide your project and steps to reproduce the issue, I will
take a look then.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


rest api rmdbs integration

2018-07-27 Thread wt
i have integrated a database with ignite and the generated project created
classes for the tables. If i try run Sql scan query execute over the cache
like this example

http://host:port/ignite?cmd=qryscanexe&pageSize=10&cacheName=Person&className=org.apache.ignite.schema.Person

here is my query string

http://127.0.0.1:8080/ignite?cmd=qryscanexe&pageSize=10&cacheName=ComplianceSummaryCache&className=com.demo.mydbdemo.compliancesummary

i get 

{"successStatus":1,"error":"Failed to find target class:
com.demo.mydbdemo.compliancesummary","response":null,"sessionToken":null}

the project was generated by the web console and these classes are in there
so they should work but it can't find it so any ideas what is going on here?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/