Denodo community Q&A RSS feed https://community.denodo.com/answers//feed/rss Latest Denodo community questions Connect to Denodo using NodeJS https://community.denodo.com/answers/question/details?questionId=9060g000000bmQkAAI&title=Connect+to+Denodo+using+NodeJS Hi Team, I want to establish a connection between Denodo and NodeJS. I want to run Query from Javascript level. I am trying with node JDBC, but not able to coonect with denodo. Is there any possible way to connect to denodo. I am Working in Javascript. Regards, Gopalakrishnan Thu, 25 Apr 2019 09:36:39 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmQkAAI&title=Connect+to+Denodo+using+NodeJS 2019-04-25T09:36:39Z Denodo Solution Manager Monitoring Tool - java.sql.SQLException: Incorrect syntax near ')'. https://community.denodo.com/answers/question/details?questionId=9060g000000bmPwAAI&title=Denodo+Solution+Manager+Monitoring+Tool+-+java.sql.SQLException%3A+Incorrect+syntax+near+%27%29%27. I am in process of setting up the Denodo Solution Manager Monitoring Tool. After much pain in getting the connection string sorted out, I now get the following error in the solution-manager.log: 501926880 [Thread-90] ERROR 2019-04-24T15:31:53.363 com.denodo.solutionmanager.utils.stream.StreamGobblerCustom [] - DenodoMonitor - log4j:ERROR Failed to excute sql 501926880 [Thread-90] ERROR 2019-04-24T15:31:53.363 com.denodo.solutionmanager.utils.stream.StreamGobblerCustom [] - DenodoMonitor - java.sql.SQLException: Incorrect syntax near ')'. 501926880 [Thread-90] ERROR 2019-04-24T15:31:53.363 com.denodo.solutionmanager.utils.stream.StreamGobblerCustom [] - DenodoMonitor - at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) 501926880 [Thread-90] ERROR 2019-04-24T15:31:53.363 com.denodo.solutionmanager.utils.stream.StreamGobblerCustom [] - DenodoMonitor - at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) 501926880 [Thread-90] ERROR 2019-04-24T15:31:53.363 com.denodo.solutionmanager.utils.stream.StreamGobblerCustom [] - DenodoMonitor - at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) ...and a bunch more lines... Denodo 7.0 Solution Manager update 20181011 is connecting to a SQL Server 2017 (14.0.1000.169) instance. I get the same error using either jtds and microsoft.sqlserver.jdbc drivers. The configuration parameters general template has: vdpqueries.jdbcagent.driverClassName=net.sourceforge.jtds.jdbc.Driver vdpqueries.jdbcagent.url=jdbc:jtds:sqlserver://<servername>:1433;databaseName=DenodoProdLog;instance=<instance>;IntegratedSecurity=true vdpqueries.jdbcagent.user= vdpqueries.jdbcagent.password= vdpqueries.jdbcagent.password.encrypted=false vdpqueries.jdbcagent.insertStatement=INSERT INTO request_notification values(%X{ServerName}, %X{Host}, %X{Port}, %X{Id}, %X{Database}, %X{UserName}, %X{NotificationType}, %X{SessionId}, convert(datetime, %X{StartTime}, 126), convert(datetime, %X{EndTime}, 126), %X{Duration}, %X{WaitingTime}, %X{NumRows}, %X{State}, %X{Completed}, %X{Cache}, %X{Query}, %X{RequestType}, %X{Elements}, %X{TruncatedData}, %X{UserAgent}, %X{AccessInterface}, %X{ClientIP}, %X{TransactionId}, %X{WebServiceName}) vdpqueries.jdbcagent.literalQuoteCharacter=' vdpqueries.jdbcagent.escapeCharacter=' vdpqueries.jdbcagent.maxColumnLength=4000 I wasn't expecting this after getting connected. Is this a known issue? -K Wed, 24 Apr 2019 21:58:04 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmPwAAI&title=Denodo+Solution+Manager+Monitoring+Tool+-+java.sql.SQLException%3A+Incorrect+syntax+near+%27%29%27. 2019-04-24T21:58:04Z Unable to connect to VDP server running on AWS with Admin tool on personal machine https://community.denodo.com/answers/question/details?questionId=9060g000000bmP3AAI&title=Unable+to+connect+to+VDP+server+running+on+AWS++with+Admin+tool+on+personal+machine As you suggested in my earlier question, I made the following checks before I tried to connect to Denodo server running on AWS from VDP admin tool on local computer. This time I am connecting to Denodo 7.0 enterprise edition installed on AWS. The Denodo server on AWS is running. port 9999 is in listeneing state and I checked this by accessing the Data Catalog web service in browser on local computer. The inbound and outbound rules are configured to allow traffic from any source/destination. It?s an Amazon Linux instance which has hostname same as it?s private DNS name (not Private IP address) and has only one Network interface and therefore I tried connecting by after changing URI by replacing localhost with public IP address of instance, but it gave me the Connection error along with the Private DNS name/hostname of AWS instance. I also tried by configuring the RMI host with the public IP but again got the same error. Finally used ping.bat and it returned message - unknown host <private DNS name >? What has to be configured either on AWS or local machine for successful connection? Wed, 24 Apr 2019 14:51:35 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmP3AAI&title=Unable+to+connect+to+VDP+server+running+on+AWS++with+Admin+tool+on+personal+machine 2019-04-24T14:51:35Z HTTP client JSON https://community.denodo.com/answers/question/details?questionId=9060g000000bmOjAAI&title=HTTP+client+JSON Hi Team, Denodo Express 7.0 Please provide a working URL and supporting data for a JSON HTTP client example to practice. This does not work : http://data-server:8080/sales-ws/sales/ Thanks. Wed, 24 Apr 2019 05:55:34 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmOjAAI&title=HTTP+client+JSON 2019-04-24T05:55:34Z XML Data Source : Character reference "&#xB" is an invalid XML character. https://community.denodo.com/answers/question/details?questionId=9060g000000bmOPAAY&title=XML+Data+Source+%3A+Character+reference+%22%26%23xB%22+is+an+invalid+XML+character. Hi, I'm using v7.0 20181011. Attemting to create a base view from an XML data source, I'm getting the error `"Unable to obtain the data structure: com.denodo.util.exceptions.InternalErrorException: Character reference "&#xB" is an invalid XML character."` What is the typical approach to this issue, with the assumtion that the underlying data will not change. Use XML Processing Functions? Thanks! Tue, 23 Apr 2019 19:40:37 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmOPAAY&title=XML+Data+Source+%3A+Character+reference+%22%26%23xB%22+is+an+invalid+XML+character. 2019-04-23T19:40:37Z Redshift Spectrum table https://community.denodo.com/answers/question/details?questionId=9060g000000bmNlAAI&title=Redshift+Spectrum+table Hi Denodo Team, We have configured redshift and everything working fine for redshift tables. however having issues with Redshift Spectrum tables. for Spectrum we see the schema name and if I hit Plus sign it returns nothing. we have many tables under our Spectrum schema and Denodo user has access to all tables(we verified thorugh client tools like DBeaver). Pls provide some document around how to access Redshift Spectrum tables through denodo using JDBC driver ? thanks!!! Tue, 23 Apr 2019 15:11:02 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmNlAAI&title=Redshift+Spectrum+table 2019-04-23T15:11:02Z Unable to connect Salesforce using DENODO https://community.denodo.com/answers/question/details?questionId=9060g000000bmNbAAI&title=Unable+to+connect+Salesforce++using+DENODO Dear Team, I am unable to connect sfdc connection via denodo. I have attached the screenshot ..could someone please help me.... error message like "INVALID SESSION" Tue, 23 Apr 2019 09:08:59 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmNbAAI&title=Unable+to+connect+Salesforce++using+DENODO 2019-04-23T09:08:59Z Make Server Configuration Changes VIA VQL https://community.denodo.com/answers/question/details?questionId=9060g000000bmN2AAI&title=Make+Server+Configuration+Changes+VIA+VQL Is it possible to make to server configuration changes using VQL? For example, is it possible to alter kerberos settings, like adding User Base values? Mon, 22 Apr 2019 20:30:21 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmN2AAI&title=Make+Server+Configuration+Changes+VIA+VQL 2019-04-22T20:30:21Z Union all fails and REST service corrupts https://community.denodo.com/answers/question/details?questionId=9060g000000bmMxAAI&title=Union+all+fails+and+REST+service+corrupts I am trying to union all my connection result form 5 different source sources. I am exporting the union result as REST service. if one data source fails the error message in the result corrupt the whole xml which result in crashing whole system. how to get un corrupted xml in case of error in one data source ? <?xml version="1.0" encoding="UTF-8"?><denodo:view name="search_results_and_watchlist_matches" xmlns="http://www.denodo.com/restful/dev_grs_overlay/views/search_results_and_watchlist_matches" xmlns:denodo="http://www.denodo.com/restful" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><search_results_full><search_term>test</search_term><search_results><record_type>TBD</record_type></search_results></search_results_full>**<?xml version="1.0" encoding="UTF-8"?>**<error xmlns="http://www.denodo.com/restful"><message code="50001">Error executing query. Total time 3.844 seconds. Incomplete results Incomplete results Incomplete results Incomplete results Incomplete results DV_FROM_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE [GROUPBY] [ERROR] INTERFACE_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE [VIRTUAL] [ERROR] INTERFACE_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE [JDBC WRAPPER] [ERROR] INTERFACE_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE#0 [JDBC ROUTE] [CONNECTION_ERROR] Unexpected error creating a connection: Cannot open database "testdb" requested by the login. The login failed. ClientConnectionId:3979fe7b-1caf-44fc-8932-74e6071400ad Received exception with message 'Cannot open database "tesdb" requested by the login. The login failed. ClientConnectionId:3979fe7b-1caf-44fc-8932-74e6071400ad'</message><message code="1">DV_FROM_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE [GROUPBY] [ERROR]</message><message code="1">INTERFACE_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE [VIRTUAL] [ERROR]</message><message code="1">INTERFACE_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE [JDBC WRAPPER] [ERROR]</message><message code="11">INTERFACE_WATCHLIST_PIVOT_ON_AGGREGATION_TYPE#0 [JDBC ROUTE] [CONNECTION_ERROR] Unexpected error creating a connection: Cannot open database "testdb" requested by the login. The login failed.</message></error> **Here you can see Data load with Error load has two different xmls which corrupts the response.** With regards Sundar Mon, 22 Apr 2019 20:17:16 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmMxAAI&title=Union+all+fails+and+REST+service+corrupts 2019-04-22T20:17:16Z Schema change and Source Refresh with Denodo and Cache store https://community.denodo.com/answers/question/details?questionId=9060g000000bmMYAAY&title=Schema+change+and+Source+Refresh+with+Denodo+and+Cache+store Hello, We have snowflake as our cache store. When we add a new column to source, our cache refresh jobs fails with "Number of columns in file (25) does not match that of the corresponding table (23),". Any process we ned to follow to update cache schema to represent new fields? we tried invaludating the cache and turning it off and then returnig it on. This did not help. Thanks in Advance. Mon, 22 Apr 2019 15:35:10 GMT https://community.denodo.com/answers/question/details?questionId=9060g000000bmMYAAY&title=Schema+change+and+Source+Refresh+with+Denodo+and+Cache+store 2019-04-22T15:35:10Z