Get native file in ucm (ucm and terastack solution working together)

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)

Thank you for your reply. Although the links to weblayout version of files works perfectly with terastack, but we want to take backup of files in vault folder. Is it possible to change the links that are use to get native file? Can we somehow make these links to directly point to vault files? If yes please tell us how.
A custom java service to download the native file can also work. Can you please give us a sample code and how to implement it in ucm?
Please provide one of the solutions. I’m a new comer to ucm, so please provide instructions in more details.
BTW, I tested the restoration of file using a test dotnet web application. I added code that downloaded a user selected file to the client. The code we used is as under:
1. FileInfo fi = new FileInfo(filepath);
2. Response.Clear();
3. Response.AddHeader("Content-Disposition", "attachment; filename=" + fi.Name);
4. Response.AddHeader("Content-Length", fi.Length.ToString());
5. Response.ContentType = GetFileContentType(fi.Extension);
6. Response.TransmitFile(fi.FullName);
7. Response.End();
GetFileContentType() function is a simple function to get content type of a file type.
Line#4 is important here. A file is zero byte in size when a request to download a file is received by the server, and the server just appends content-length=0 in the header. So even the file is restored by the terastack afterwards, client still receives a zero byte file. At this stage our test application has the same problem, not getting a native file with full contents.
We removed line# 4 and tried again to download a file thru our test web application. This time client got file with full contents after the file is restored. So we think this Content-Length header is the one that needs to be handled.
You may find this information useful if you decide to build a java service solution.

Similar Messages

  • I have lightroom 5.7 and a macbook pro 10.9.5.  Occasionally when I am editing a photo in the develop module, I suddenly get a "file not found" message and the editing ceases to work.  There is no "exclamation" icon below the histogram box in the Library

    I have lightroom 5.7 and a macbook pro 10.9.5.  Occasionally when I am editing a photo in the develop module, I suddenly get a "file not found" message and the editing ceases to work.  There is no "exclamation" icon below the histogram box in the Library module or on the photo in grid view, and the histogram is gone.  What is going on? Trying to find it using the "find missing photos" in the library menu does nothing.

  • How can I get a sim card for Japan and will it work with my locked Iphone 6

    How can I get a sim card for Japan and will it work with my locked Iphone 6

    You cannot use a SIM card on a carrier locaked phone, other than a sim from the carrier the phone is locked to. You must first get the carrier it is locked to, to unlock your phone. Apple does not unlock phones.

  • Can I make my iMAC and MAC book work together?

    I've done the set up to join other networks.....trying to get my desktop and laptop to work together.
    Is it even possible for them to keep updated info regardless of which one I enter it on?
    If so, please tell me how.
    Thank you
    Diane

    There are various programs like Dropbox that can help you sync two computers over the network, but I still find them kind of a hassle to set up and maintain.
    I simply make my laptop the primary storage, and I turn on File Sharing on my laptop. Then on my desktop I just log into my laptop and open files directly over the network. On my desktop I have aliases to my laptop folders so I can get into them in a couple clicks.

  • Trying to make sense on how and if RBAC and MOAC could work together

    Hi All,
    We upgraded from 11.5.9 to R12.1.1 in Nov-2009.
    Since the time we have upgraded to R12, we are trying to make sense as to how and if RBAC and MOAC could work together.
    The use case is as below:
    *11i Days*
    US Accountant - accesses ‘AR superuser US’
    Canada Accountant - accesses ‘AR superuser Canada’
    France Accountant - accesses ‘AR superuser France’
    Spain Accountant - accesses ‘AR superuser Spain’
    North America Financial controller - Switches between 'AR superuser US' and 'AR superuser Canada'
    European Financial controller - Switches between 'AR superuser France' and 'AR superuser Spain'
    CFO - Switches amongst 'AR superuser US','AR superuser Canada', 'AR superuser France' and 'AR superuser Spain'
    Now in R12- (Wow there is MOAC!)
    US Accountant - accesses ‘AR superuser US’
    Canada Accountant - accesses ‘AR superuser Canada’
    France Accountant - accesses ‘AR superuser France’
    Spain Accountant - accesses ‘AR superuser Spain’
    North America Financial controller - accesses 'AR superuser North America'
    European Financial controller - accesses 'AR superuser Europe'
    CFO - accesses 'AR superuser Global'
    With R12 now there are 3 additional responsibilities.
    We have (like most of the other EBS customers) custom responsibilities and so there is maintenance.
    More the responsibilities more the maintenance...More the SOD issues.
    To prevent creating new responsibilities, we could use the ‘MO: Security Profile’ at the user level BUT that would mean that now these users would have access to multiple OUs for all the responsibilities...that is not good.
    What-If: There is only 1 responsibility 'AR SuperUser' and somehow using RBAC, roles are created and assigned to users so that they only have access to specific OUs.
    Apparently, MOAC works based on MO:Security Profile that is something that RBAC cannot control.
    Am I missing something...RBAC seems to be no good?
    In PROD(R12.1.1)- We are expecting that we would end up creating 100+ new responsibilities since we have many shared services users and they all want to benefit from MOAC...Appreciate, if you could please help us understand how we can prevent these 100+ new responsibilities from getting created?
    Thanks
    Rahul Gupta

    Hi Rahul,
    your question is quite interesting. I did a lot in the area of RBAC to understand the background.
    RBAC mainly allows you to
    - group responsibilities
    - build hierarchies
    - manage low level data access (via VPD)
    - Grant permissions (new with R12)
    Unfortunately you can't control profile options via RBAC. Therefore, the MO:Sec Profile has to stay on responsibility level. I was playing with the alternative to put this profile option on user level, but also in this case the number of maintenance steps will stay the same.
    I would like to share a document with you, what's your email (or search my name in linkedin)?
    kr
    Volker Eckardt

  • My colleague and I are working together (from separate MacBooks) to create an iBook for our students. We plan to work on sections separately and combine later. Must we use the SAME template to do so?

    My colleague and I are working together (from separate MacBooks) to create an iBook for our students. We plan to work on sections separately and combine later. Must we use the SAME template to do so?

    I'm not sure iBA reacts well to this type of editing, not to mention the cumbersome nature of trying to bring everything together in general.
    I'd suggest a workflow where one book is handed off, instead. That, or, let the individuals involved create their basic content in Pages, then when ready, use iBA's Insert Pages Chapters menu to string them together. Best to work in a linear fashion and avoid adding/removing/adding/moving portions, etc.
    If you must have separate authors, be sure to use the identical template and have them all properly trained up before going forward - trying this as a learning experience may result in an off-putting experience otherwise , with more time spent on chasing knots than on expressing writing skills, etc.

  • Adding .class files to your project and making them work.

    Ok, im fairly new to java and having trouble understanding how to make importing of .class files work. Im using eclipse 3.2
    I have the files in a directory and I have gone to project->properties->java build path->libraries->add external class folder and pointed it to the correct place.
    Now, I am trying to use some of the classes it provides. I get no errors when creating the object with this code:
    com.ECS.client.jax.ItemSearchRequest itemRequest = new com.ECS.client.jax.ItemSearchRequest();
    Before I did the add external class folder that code would error cause it didnt know what com.ECS was. Now it works fine. My problem is that when I try to use a class, it does not recognize it as a class. After doing the above code I have:
    itemRequest.setSearchIndex("Books");
    its giving me an error on the period, saying: "Syntax error on token(s), misplaced construct(s)". Its not seeing that it is a class, so I can't use it. But when I am creating the object I get no errors. For reference, here is the chunk of code:
    com.ECS.client.jax.ItemSearchRequest itemRequest = new com.ECS.client.jax.ItemSearchRequest();
    itemRequest.setSearchIndex("Books");
    the second line of which errors. So my question is, how do I get it to recognize that the itemRequest is a class when I have imported the .class files to my project already?

    It's working fine. It's just that you have to put your code in a method.

  • [SOLVED] Can't get ccache and colorgcc to work together

    Hi all,
    Has anyone figured out how to get ccache and colorgcc to work at the same time?  I can only get one or the other, but not both.
    If I put them both in the path, with colorgcc first, then "g++" invokes colorgcc, which then calls /usr/bin/g++, skipping ccache.
    If I put ccache first in the path instead, then running "g++" invokes ccache, which then calls /usr/bin/g++, skipping colorgcc for some reason.
    Putting colorgcc back to first in the path, then editing /etc/colorgcc/colorgccrc means I can set the compiler paths to point to ccache.  However then running "g++" invokes colorgcc, which calls ccache, but then ccache seems to call colorgcc again, which calls ccache, which calls colorgcc, etc, etc.
    Perhaps I'm missing something, but I can't see how you tell ccache where the compiler binaries are located, as this seems to be the problem - ccache autodetects them, and always seems to pick the ones I don't want!
    Any suggestions?
    Last edited by Malvineous (2011-05-03 01:29:48)

    Ha, ok, as usual as soon as I post in a forum I stumble across the answer.  Turns out there's a CCACHE_PATH environment variable you can use to tell ccache where to look for the real compilers.  It doesn't seem to work setting this to point to colorgcc, but putting only colorgcc in the path, editing /etc/colorgcc/colorgcc to point to ccache, then setting CCACHE_PATH=/usr/bin seems to do the trick...
    But if there's a better way please let me know!

  • Internal Mic and Bluetooth not working together at the same time

    Okay.. so I've been noticing this happen alot lately. Whenever I have my usb wacom tablet plugged in (which is almost always), there would be no internal mic input and bluetooth would become "not unavailable". Also, even when I try an external mic, there was no input. Could this be a coincidence or some related usb-bluetooth problem? Could it be my audio input or tablet driver problem?
    I've used my mic to skype before I had installed the tablet. Also before I used garage band to record my sister's guitar with an external mic, there was no problem at all, and of course I didn't have my tablet plugged in at the time. Recorded a whole hours worth of music, and didn't have any problems.
    Today.. I checked to see if my internal mic was working before I launched skype, and it was working perfectly, and I also noticed my bluetooth was available (didn't test it though). Then I went on skype talked to friend for about 20min, and suddenly the audio stop working. I had my tablet plugged in from earlier today. I restarted my macbook (with no tablet plugged in) and still mic input isn't working. I tried and external mic, but still nothing. I tried uninstalling skype, still nothing.
    This is not the first time this happened, I noticed it would somehow fix itself after a few days every time, and mic and bluetooth would start working again out of nowhere. Which makes it even more weird.
    Need help pleaseee!
    PS. I tried getting someone to fix it before(a few months ago- I don't really use my mic or bluetooth much), but when I brought it in and started up my mac, at that time it was working again. But now it isn't working =(

    UPDATE: I just noticed my bluetooth was no longer "unavailable", so I quickly went into system preferences, and noticed that my internal mic input had some input! Very weak though, only 1-2 bars. So what does this mean?

  • Wireless and cable network working together

    How do I set up an apple network to allow wireless and ethernet to work simultaneously for different purposes. At our current location we have internet access through a wireless hub but are networking all computers through ethernet. I need to seperate the data stream to allow internet and email to see the Wireless network and have the data link go through the ethernet. Does anyone know the method to follow to get this to work??
    regards
    Damian Morris

    Why are you wanting the two networks to be isolated?
    But like Like Linc said,
    Put the priority of the adapters accordingly
    System Preferences > Network > (gear symbol next to the '-' sign) Set Service Order
    Wifi
    Ethernet

  • Can Forms 6i and Personal Oracle8i work together?

    Hi,
    I am going to download
    1. Oracle Forms Developer/Server Release 6i for Windows NT
    2. Oracle8i Personal Edition on NT
    Before download them, I want to know if they can work together. I want to learn Oracle database and developer 2000. If you have a better idea, please let me know.
    Thanks in advance.
    Sue

    Sue,
    If you're going to download them from the net, then good luck - I never managed to do it. I now have CD's for all the Oracle products and have Personal Oracle 8i and Forms 6i on my NT pc. It all works fine. You won't have any problems (as long as you get the software on CD's). For the username/password, just use scott/tiger to start off with.
    Harry
    null

  • Will Tags and picture rating work together?

    I want to Select a keyword tag such as "my Dog" or maybe several tags i.e. both "my Dog & My Cats") to see only the files with that tag and then show only the 5 or 4 star pictures within that group. Then, after I print some of the pictures mark them as "Printed".
    I have Elements 5.0 now. Will 5.0 do it? Will Elements 8.0? I am running Vista.

    I am not vey sure about PSE 5.0 but surely 8.0 will be able to do it. Go to Find->By Details Metadata and perfrom AND search using keywords and ratings filter.

  • PC Office and Mac Office work together?

    Can I open a Mac Office document with a PC that has Office and vise versa? If so, can I also make/save changes?

    Yes, both versions will open and save files in Excel, Powerpoint, and Word as both will use and save files as .xls, .ppt, and .doc. And if you're in doubt when you save, the Mac version can actually check to see if the file will open in other versions of Office.

  • CS6. Need to have time remapping and warp stabilizer work together.

    This should be obvious for most people. These two effects must be made to work together.
    If you're shooting with a glider you're usually moving very carefully (read: slower than normal) so the footage in post would need to be sped up plus stabilized a bit.
    Currently warp stabilizer and time remapping cannot be applied at the same time. But I *need* it to be applied at the same time. I need a workaround.
    Should I:
    1. shorten the clips, export them, re-import them into the project, and then apply stabilizer?
    2. apply the stabilizer, export them, re-import them into the project, and then shorten them?
    How do I export individual clips as just seperate clips while Premiere? Do I have to drag them into an empty timeline one by one, apply the stabilizer/remapping, and export, remove the clip, put in the second clip, etc all one by one?
    I've used Mercalli in the past and I time remap the footage and then apply Mercalli to the accelerated clip. Mercalli doesn't mind a bit.

    ComputerNovice25 wrote:
    Adobe might have written the code in a way that doesn't include the ability to deal with that extra variable. I'm assuming that when it's nested it then makes the timeline it's in just read it as a normal clip again instead of a clip with a non-supported variable included.
    Although I'm totally just guessing, but if what I'm saying is correct it would mean a fix wouldn't be very much work at all. Which means in the future they could simply provide a quick and easy patch to fix this. I'd highly suggest to make a feature request.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Does Adobe read these feature requests? I often have a hard time justifying spending time to type out something when I feel like it's just being thrown into a black hole. I'm sure the team gets thousands of feature requests. It's like the lottery. Statistically you will never win. Sure, you'll never win if you don't play, but it's still a waste of time to play. I know, I'm pessimistic. Just don't have much faith in conglomerates - although Lightroom 3 is by far the most perfect program I have ever used and I would kiss the LR3 team if I could.
    With Lightroom, Photoshop is hardly needed anymore unless absolutely necessary or for truly intensive chop-like edits. Premiere DESPERATELY needs a Lightroom equivalent.
    I have half a mind to guess (nicely) that you video guys have absolutely no idea what you're missing out on, workflow-wise. It's life-changing. Literally.
    I'm doing a video right now and I can't stop thinking about how if I had a Lightroom workflow, this video consisting of 40 clips, 40 titles, 40 transitions, audio tracks could be on the way to final export in 5 minutes. 5 MINUTES. And be 100% as good as if I had to spend an hour doing this in traditional Premiere.

  • Do Adobe Palettepanel and Adobe Air work together?

    Hallo!
    when I am working with Flex and the Adobe Flash Player everything is fine. I even can use the Adobe Paltettepanel to integrate my Flex applications in Adobe Indesign.
    But when I want to use the Palletepanel in an Adobe AIR application nothing works.
    My question:
    Do Adobe Palettepanel and Air work together?
    Thanks,
    Alois Blaimer

    I'll say for the moment no it doesn't, it has been requested and 
    probably in the future it'll work with AIR.
    Sincerely,
    Michael
    El 11/05/2009, a las 2:05, alois2805 <[email protected]> escribió:
    >
    Hallo!
    >
    when I am working with Flex and the Adobe Flash Player everything is 
    fine. I even can use the Adobe Paltettepanel to integrate my Flex 
    applications in Adobe Indesign.
    >
    But when I want to use the Palletepanel in an Adobe AIR application 
    nothing works.
    >
    My question:
    Do Adobe Palettepanel and Air work together?
    >
    Thanks,
    Alois Blaimer
    >

Maybe you are looking for