When I set the file address to knime://LOCAL/… the workflow execution on KNIME Server fails with this error:
There are messages for workflow “workflow 2020-01-17 19.01.35”
Excel Reader (XLS) 3:42 - ERROR: Execute failed: java.io.IOException: File not found: C:\knime_server\workflow_repository\runtime\runtime_knime-rmi-50100\workflow_group\data\file.xlsx.
I have deployed the workflow group to the root directory of the server workspace.
I have noticed this topic:
KNIME webpotal executes a workflow that retrieves and prints data stored in the KNIME Server repository.
As a result of execution, KNIME protocol (knime: // knime-server /) is not recognized correctly and an error message is displayed and normal execution is not possible.
The error message is shown below.
The knime server version is 4.10.0.3fa2e72f6.
================================================== =
There are messages for workflow “KNIME_project6 2020-01-08 19.58.13”
File Reader 11: 410…
But could not figure out how to edit knime-server.config file correctly and have made no progress so far.
ScottF
January 17, 2020, 6:43pm
2
Hi @armingrudd -
What about using knime://knime.workflow/data/file.xlsx
instead? That’s the relative path I use whenever I want to include data as part of my workflow.
Yes that’s a solution but I prefer to have data folder visible in KNIME explorer. Is it possible?
ScottF
January 17, 2020, 6:54pm
4
Yes - in that case, upload the data in a workflow group and modify the path. You can still use the knime.workflow relative path, but it will point to a different directory, something like:
knime://knime.workflow/../data/file.xlsx
Where the ..
notation refers to a parent directory.
3 Likes
This is the solution I seek, it did not come to my mind. Thank you @ScottF .
1 Like
system
Closed
January 24, 2020, 6:57pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.