The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] file not found :: for read model operator when hosted in server
Hello,
I am exposing a process as a JSON webservice. (which works pretty nice)
This process uses a model file as input for the apply model operator by means of using the read model operator.
The error I am getting is that it cannot find the model file even though it is listed in the users repository.
Could not read file '/home/anonymous/xx.mod': java.io.FileNotFoundException: /home/anonymous/xx.mod (No such file or directory)."}}
Is there anyplace I can start looking for what this issue might be?
Any guidance is much appreciated.
Best regards
Paul
I am exposing a process as a JSON webservice. (which works pretty nice)
This process uses a model file as input for the apply model operator by means of using the read model operator.
The error I am getting is that it cannot find the model file even though it is listed in the users repository.
Could not read file '/home/anonymous/xx.mod': java.io.FileNotFoundException: /home/anonymous/xx.mod (No such file or directory)."}}
Is there anyplace I can start looking for what this issue might be?
Any guidance is much appreciated.
Best regards
Paul
Tagged:
0
Answers
(The Read Model operator reads from a disk location).
If your model is stored in the RapidMiner repository you can use the Retrieve operator to use in the process.
Does that help?
which user is using the webservice? If it is anomynous you need to give read rights.
Cheers,
Martin
Dortmund, Germany
Thanks for the tip!
p.s. what is the recommended way? Using retrieve or read.
Dortmund, Germany