Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Marco Navega
1
Views
2
Comments
How to avoid Redeployments after restart
Question
In this specific OML I receive files wich I have to read and convert it to data.
I am saving these files, to keep the history , to a specfic folder in the application path . The problem happens when the system is restarted, it deletes all the files. I am imagining that all OMLs are redeployed after the restart. Is it any way of work these redeployments around?
Miguel Seabra Melo
Dear Marco,
You are correct in that the restarting of the system redeploys the eSpaces on the machine. This is by design, to ensure application availability, and cannot be disabled.
The use of the filesystem for storage of Hub Edition Application files is highly disencouraged and can lead to problems: if, for example, you happen to have a multi-node installation of Hub Edition and save a file to disk, it will only be saved to the computer node that happens to be answering your request that time (and therefore unavailable to others).
May we suggest that you use the Database for storage. You could create an Entity with an array of attributes like VersionId, TimeStamp and Contents where you can store your versions.
Hope this helps.
Regards,
Miguel
1 reply
08 Nov 2004
Show thread
Hide thread
Marco Navega
Thanks, for the explanation. I already thought about saving all this history and log files on the database. The problem is with size of the database, that will grow enormously.
The other solution is to save the files on a different path wich doesn´t belong to the HubServer. This seems to be the best way once we´re not working with a multi node structure.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...