Writing to Staging
ProfessorX
Member
Is it possible to write to staging at all?
One of our developers has developed a site where he is caching/writing files to a folder.
Step 1. A user hits a page so the app looks in the \cache folder for the file.
Step 2. The files is not there so the app builds it dynamicly.
Step 3. The app then writes that file to the \cache folder
Step 4. Another user hits the same page so the app looks in the \cache folder for the file.
Step 5. The file has been cached in the \cache folder so the app just displays it.
The app is bombing becaus it can't write to the \cache folder in staging.
Any way around this?
5.5.2sp2 WIN2K
The Professor-
One of our developers has developed a site where he is caching/writing files to a folder.
Step 1. A user hits a page so the app looks in the \cache folder for the file.
Step 2. The files is not there so the app builds it dynamicly.
Step 3. The app then writes that file to the \cache folder
Step 4. Another user hits the same page so the app looks in the \cache folder for the file.
Step 5. The file has been cached in the \cache folder so the app just displays it.
The app is bombing becaus it can't write to the \cache folder in staging.
Any way around this?
5.5.2sp2 WIN2K
The Professor-
0
Comments
-
If the STAGING area was not a read-only area, it would kind of defeat the purpose. Why would you even want to do this? Why not write into a workarea then do a submit?
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com0 -
I was trying not to change the functionality of the site.
This is part of how the site/app works. It would need to do this for testing/QA purposes
The Professor-0 -
I have seen cases when App servers need to write to the Workarea, just for private files, like the caches. You cannot write any files, private or not. So even if you tried the autoprivate.cfg it would not work.
Can you configure your app server to use a different path for /cache ?
Andy0 -
Could the cache directory be a link to a writable directory? I am not sure if/how TeamSite supports this or if it would work with your environment (not sure what would happen to this thing on submit/deploy). On unix I think ln would be the command, on NT you could try http://www.sysinternals.com/ntw2k/source/misc.shtml#junction.0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 145 General Questions
- 133 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 81 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 167 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 4 XM Fax
TeamSite Developer Resources
If you are interested in gaining full access to the content, you can register for a My Support account here.
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.