Twitter linkLinkedin link

Featured Jobs

Cyber Security Architects and Senior System Security Experts

We have a partner looking to recruit Cyber Security Architects and Senior System Security Experts – contract and full-time.  If you have or know of someone with these skills, please send your... more »

UK Oracle Community Jobs - Featured Jobs

UKOCN is pleased to provide individuals and companies with a unique opportunity to both find work and fill that strategically important position, technical or business, permanent or contract for... more »
RSS

get native file in ucm

get native file in ucm
Submitted by simplehansvit on 6 May, 2010 - 07:37.

Hi,

We use oracle universal content management server (ucm). A lot of files are stored on the hard disk of the system using this content management system. Now we are using Terastack Solution (http://www.hie-electronics.com/) to create backup of the data. The TeraStack Solution is an optical data storage system designed and manufactured to improve performance through affordable and reliable data storage management. Terastack solution archives (writes) all files to dvds and then a module of it truncates all these files to zero byte in size to save disk space. Now terastack solution watches all archived files. If an application tries to open such a file, it intercepts this, blocks this request, then restores the file from the dvd. During this process calling application just waits for the file to open. After restoring terastack solution sends a signal to the calling application, and the file with full contents is opened in the application.

Now here is the problem:

Files are check-in oracle content server. Terastack solution has burned these files to dvd and made these files to zero byte in size. Now when we click a link in content server to get a checked-in file (native file), terastack solution intercepts it, restore the file from dvd, then an open/save dialog box open to either open or save the file to a location. We save the file to a folder, open this file and come to know that there is no content in the file. It is still a zero byte file.

When we checked the file at original location (remember ucm stores files in vault folder), we came to know that file is actually restored successfully by the terastack solution but the content server returned a zero byte file. When we click the link for the same file again to get native file in ucm then we get a fully restored file. i.e. on the first try to get native file we get a zero byte file although it is restored by terastack solution successfully. And on the second try we get file with full contents. On the second try, file has already been restored by terastack solution during the first try and terastack solution ignores files greater than zero byte in size, that’s why client gets a correct file on second try. Having size greater than zero means file is already restored.

The link in ucm that is used to get native file does not point directly to the desired file. It calls some code in ucm that transmit the required file back to the client. Something like this:
http://localhost/idc/idcplg?IdcService=GET_FILE&dID=11&dDocName=test_06&allowInterrupt=1

I think what is going on here is, when we click on a link to get native file that is zero byte in size, content server creates a response for the file, append the size of the file (currently zero) to the header of the response along with other info, and then tries to transmit the file to the client. At this point, terastack solution intercept the request and restore the file. After restoring terastack solution send signal to calling application that file is restored. But the server has already created request for the file and it is not updated during or after the restore, that’s why client gets zero byte file.

What I want is somehow force the content server to wait until file is fully restored by terastack solution and then transmit the fully restored file to client. Is there any configuration setting for ucm that will achieve the goal?

Any setting in bin/intradoc.cfg or config/config.cfg or something else?

Need help.

Environment:
OS: Windows XP SP3
Content Server 10gR3: (Deployed to: IIS, JDK used: v1.5)
TeraStack Solution (Deployed to: JBoss)


© Copyright. Mere B.I.S. Ltd. UKOCN is not affiliated to Oracle Corporation. To visit Oracle Corporation go to www.oracle.com