Member since
06-27-2024
2
Posts
2
Kudos Received
0
Solutions
08-09-2024
02:43 AM
1 Kudo
I have issue on DBCP Connection Pool : Database Connection URL : jdbc:jtds:sqlserver://xx.xx.x.xx:xxxx/xxxx Database Drive Class Name: net.sourceforge.jtds.jdbc.Driver Database Driver Location(s): /home/xxxxx/nifi/nifixxx/nifi/lib/jtds-1.3.1.jar I have issue for my DBCP Connection pool have error on the picture: "Encountered unexpected failure when attempting to perform verification: java.lang.AbstractMethodError" I'm in apache nifi 2-3 and jdk-21 and on prod because my source is SQL Server 2000 should i upgrade SQL Server ? or double environment ? because this is in one "ip address " on my server linux my apache nifi please help this issue ..
... View more
Labels:
- Labels:
-
Apache NiFi
07-02-2024
06:59 AM
@greenflag Not knowing anything about this rest-api endpoint, all I have are questions. How would you complete this task outside of NiFi? How would you accomplish this using curl from command line? What do the REST-API docs for your endpoint have in terms of how to get files? Do they expect you to pass the filename in the rest-api request? What is the rest-api endpoint that would return the list of files? My initial thought here (with making numerous assumptions about your endpoint) is that you would need multiple InvokeHTTP processors possibly. The first InvokeHTTP in the dataflow hits the rest-api endpoint that outputs the list of files in the endpoint directory which would end up in the content of the FlowFile. Then you split that FlowFile by its content so you have multiple FlowFiles (1 per each listed file). Then rename each FlowFile using the unique filename and finally pass each to another invokeHTTP processor that actually fetches that specific file. Please help our community thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more