Velocity Analytics 8 - How to solve com.kx.q.c$KException

I am creating a sample using com\fd\delta\stream\DeltaStreamDemo.java stored in deltaj-testclient-4.0.2.6-SNAPSHOT-r9784-sources.jar of Java API 4.0.3.
As a test, when editing and executing only the properties file, com.kx.q.c$KException occurs after calling initializeDeltaControl() of DeltaStreamDemoHelper.java.
As long as I check the log, I think that there is no problem with connection with DeltaControl, but I do not know how to solve com.kx.q.c$KException.
How can I resolve com.kx.q.c$KException?
[DeltaCConnectorThread DeltaC Listener[XX.XX.XX.XX:2001:user:*********]-4-thread-1] INFO com.fd.delta.q.impl.DeltaC - Connection thread completed for DeltaC Listener[XX.XX.XX.XX:2001:user:*********] connected = true shuttingdown = false
[DeltaQConn[XX.XX.XX.XX:2001](1)] ERROR com.fd.delta.control.impl.DeltaControlPrclConnection - DeltaQConnection[XX.XX.XX.XX:2001](1) KDB error registering process with master (Permissioning: No select permission on .pl.processlogonExclusive)
com.kx.q.c$KException: Permissioning: No select permission on .pl.processlogonExclusive
at com.kx.q.c.k(c.java:1077)
at com.kx.q.c.k(c.java:1085)
at com.fd.delta.q.impl.DeltaC.k(DeltaC.java:606)
at com.fd.delta.control.impl.DeltaControlPrclConnection.registerPRCLProcess(DeltaControlPrclConnection.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fd.delta.control.impl.DeltaControlPrclConnection.onRegistrationRequired(DeltaControlPrclConnection.java:89)
at com.fd.delta.q.impl.DeltaQConnection.registerListener(DeltaQConnection.java:825)
at com.fd.delta.q.impl.DeltaQConnection.run(DeltaQConnection.java:782)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[DeltaQConn[XX.XX.XX.XX:2001](1)] ERROR com.fd.delta.q.impl.DeltaQConnection - DeltaQConn[XX.XX.XX.XX:2001](1) Error registering process retry in 1000 mseconds
Best Answer
-
Hi @yokoyama-ryouta ,
Our engineers have confirmed that you will need to use a username with "daasApplication" type in order to use the Java API. "daasSandbox" users can run queries only via the gateway.
We will update the documentation to list the user types correctly:
• daasSuperUsers
• daasAdministrators
• daasMonitoring
• daasApplication
• daasSandbox0
Answers
-
Hi @yokoyama ,
Could you please confirm whether all of the parameters of initialiseDeltaControl() are the same as when you were previously able to connect with no error?
I will find out the meaning of the error
"Permissioning: No select permission on .pl.processlogonExclusive"
and will let you know what may cause this error to occur.
0 -
Hi @yokoyama-ryouta ,
It may be that the error is related to the User Type of the username which you are using when you connect. Some User Types may not have the required permissions. Could you please confirm, what is the User Type of the username that you are using? It should be one of the below:
• VASuperUsers
• VAAdministrators
• VAMonitoring• VAApplication
• VASandbox
0 -
Hello @mary e,
Thank you for your response.
Unfortunately I have not been able to connect from the beginning.
The privilege granted was "daasSandbox".
Does "daasSandbox" have insufficient permissions?
By
the way, when I checked the available authority, there was no authority
that started with "VA", and only authority starting with "daas"
existed.0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛