Torn Movie Logo after "Run Active X"

Example : Utube movies still run in their box but the Quicktime torn movie logo comes up after clicking Active X box.
Im using Windows XP Pro and downloaded Quicktime a month ago along with the new update of Internet Explorer when the problems occured.
Also steaming videos (even when I've de-checked "streaming" under MIME settings) have the same error logo...
I'm a bit frustrated and haven't seen any help except for web servers html issues. Thank you
IBM "Thinkpad" Pentium M   Windows XP Pro   Laptop

YouTube videos are Flash Video and you need to install Flash Player to view them. QuickTime can only play very old Flash content.
QuickTime Control Panel/Browser tab MIME Settings
Remove the check mark (Miscellaneous) for Flash Media
Quit and restart your browser and try again.

Similar Messages

  • Movie reset after no activity

    im making an image recignition app. for a kiosk and im trying to figure out a way to make the movie start over if it hasnt been touched after a certain amount of time. i tried to use a timer class but it doesnt seem to be working the way i want it to....any ideas?

    there's no auto-restart in flash.  you can reload your application to restart it or you can code for everything to return to its initial state.
    and you would use the timer class and reset() and start() it when there's activity.

  • Problem after running Activation-Bypass tool

    I have just purchased a Palm Pre Plus. I installed Java and the latest webOS SDK on my computer.
    I then flashed my Palm with webOS Doctor and ran the Activation -Bypass tool.
    After reboot my screen has "Check SIM-SOS only" written across the top and pictures of how to install a SIM card roll across the screen.
    Would someone be kind enough to let me know how to get back a normal start screen
    Thank you for your assistance
    Len
    Post relates to: Pre Plus p100una (AT&T)

    What is your main goal in doing this task?
    Are you a developer?  Perhaps this question would better be asked in the dev forum at Palm's Developer site.
    You list your main device as a p100una (AT&T) yet now you say you have a different model?  What version of webOS doctor are you looking for?  1.4.5 for AT&T hasn't been released yet...
    BTW, to edit a post, click the "Options" link in the top right corner of the post.  "Edit" will be available there.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Ipad screen is white. Restored it on iTunes. Press home and on switch goes black then back to white with no logo at all. Can't get past the white screen. This happened after running app updates. 16GB OS 7.1.1

    The ipad screen is white. Holding buttons didn't work so I restored it on iTunes. When I press home and on switch, the screen is white,  goes black then back to white with no logo at all. Can't get past the white screen. This happened after running app updates. Is there any fix besides going to Apple store? In iTunes on computer can see what is on there. 16GB OS 7.1.1

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • After running mac tuneup got a red dot on the hard drive icon, nothing would respond, now on restart cant get past white screen with apple logo, mac tune up disk still in laptop

    after running mac tuneup got a red dot on the hard drive icon, nothing would respond, now on restart cant get past white screen with apple logo, mac tune up disk still in laptop

    Restart your MBP holding the trackpad down and hopefully the disk will be ejected.  Then try to return it and get a refund or put it in the trash.  There is nothing that software does for your MBP that you cannot do yourself or with free software.
    If can get your MBP started, delete all traces of the offending software.  Worst case is that you may have to erase the HDD and reload the OS and your user data.  I trust that you have a backup (minus MacTuneUp).
    Courcoul has given you his opinion in a very succinct manner, and as you might surmise, I agree with him.
    Ciao.

  • Movies do not run and cover art is missing in iTunes Mac after sync with iPad

    I down load purchased movies from Apple to my iPad.  The movies runs fine and cover art is visible.  Great.  However, after I sync with my Mac Mini, the cover art on my iPad is missing.  The cover art in the iTunes library on my Mac Mini is missing, and the movies won't run on the Mac Mini.  Whe I re-sync, I get a message that says the movie can't sync because it can't be found.

    Is your album cover issue resolved?
    If not, have you perhaps tried to disable iTunes Match on your iPhone (in Settings) and signed out of your Apple ID (on the phone)? This might work.
    The issue seems to be that the iTunes Match server does not update all the tracks with the new album cover art, particularly if you added the covers some time after importing the CD's (remember then that there was no cover art on some of them!)
    Another possible solution is to rename the iTunes database (.itl file) by appending say "old" (without the quotes) and recreate a new one with maybe 1 or 2 albums, wait for the server to match the tracks (you can check on your iPhone after disabling and then re-enabling iTunes Match on the phone), then delete the 1 or 2 albums so that the iTunes music library is empty and wait again; you can check the iPhone again.
    Finally, quit iTunes, delete the latest database and rename the original database with its original name (by removing the "old" appendage).
    Then let iTunes Match reload the server with all the information: this might take a few minutes (hours?) depending on the size of the library.
    In the meantime you can remove all the music on the iPhone by disabling iTunes Match in the phone's settings.

  • Macbook will not boot up after running Software Update (Couldn't fix it)

    Hi there,
    I also have been experiencing some problems after running Software Update (Security update + Java) a couple of days ago. Similarly to Jandaf (http://discussions.apple.com/thread.jspa?messageID=9000023) I have only the gray start up screen + Apple logo + gear wheel constantly rotating. Based on the information provided in this forum I have tried some procedures which didn't solved my problem so far. Below I describe I have tried:
    1) I have booted using the installation DVD and run the disk utility. When performing the First Aid/Verify Disk I found some errors ('Invalid node structure'). But I couldn't fix the problem using disk repair (same problem 'Invalid node structure' 'Volume check failed'.
    2) I also tried to boot in single user mode (command + s) to run fsck -fy. It didn't work. I got the following message (last 4 lines):
    CSRHIDTTransitionDriver::probe: -s
    CSRHIDTTransitionDriver::probe: booting in single user .. do not match
    Extension "com.apple.driver.AppleUSBTCKeyboard" has no kernel dependency.
    Extension "com.apple.driver.AppleUSBTCEventDriver" has no kernel dependency.
    3) When trying to boot in safe mode. I got a grey screen with the following message:
    'You need to restart your computer. Hold down the power button for several seconds or press the Restart button".
    4) I also tried to 'Archieve & Instal'. Again no success. After reading the DVD the action is terminated because some errors (does not specify).
    5) I also tried the 'German Medicine' (http://discussions.apple.com/message.jspa?messageID=8728797#8728797) (i.e. Connect the 'problematic MacBook' to my old G4 via firewire and reinstall the 2009-001 update). Again no success. The G4 cannot mount the MacBook hardrive.
    I don't know what to do any more.
    A) Can I resuscitate my old system? If yes how?
    B) If not, can I at least save the data I have in my old HD?
    C) Is it possible to format and reinstall the OS or is this this computer doomed?
    Apologies for writing so many questions but I'm really freaking out!
    Thank you.
    B.

    Hi BDAqua,
    I did as you said and got a firewire backup drive (Seagate - FreeAgent Desk 500GB). I tried to make a carbon copy of HD but it seems that the copy had some problems. Below I report both the CCC and console logs:
    1) "Cloning method: Backup everything
    Delete items on target that aren't on the source: No
    18:23:39 Enabling ownership on the target volume...
    18:23:50 The target volume has ownership enabled.
    18:23:50 The target volume has Access Control Lists enabled.
    18:23:50 Authenticating...
    18:23:50 Initiating synchronization engine...
    18:23:51 Cloning...
    18:31:20 rsync: readdir("/Applications/Utilities/Audio MIDI Setup.app/Contents/Resources/French.lproj"): Input/output error (5)
    19:04:41 rsync: readdir("/System/Library/Components/AudioCodecs.component/Contents/Resources/Fr ench.lproj"): Input/output error (5)
    19:05:41 rsync: readdir("/System/Library/CoreServices/Menu Extras/IrDA.menu/Contents/Resources/French.lproj"): Input/output error (5)
    19:06:01 rsync: readdir("/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/French.lproj"): Input/output error (5)
    19:07:05 rsync: readdir("/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBC DCECMData.kext/Contents/Resources/French.lproj"): Input/output error (5)
    19:10:13 rsync: readdir("/System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Resou rces/French.lproj"): Input/output error (5)
    19:50:10 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /Volumes/Home/Users/bombich/Development/Bombich_Software/rsync-3.0.5pre2/main.c (1047) [sender=3.0.5pre2] (51)
    19:50:11 rsync: Some errors were encountered during the backup., Error code: 51
    19:50:14 Sync Engine warnings: (
    "rsync: readdir(\"/Applications/Utilities/Audio MIDI Setup.app/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/Components/AudioCodecs.component/Contents/Resources/F rench.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/CoreServices/Menu Extras/IrDA.menu/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSB CDCECMData.kext/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Reso urces/French.lproj\"): Input/output error (5)",
    "rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /Volumes/Home/Users/bombich/Development/Bombich_Software/rsync-3.0.5pre2/main.c (1047) [sender=3.0.5pre2]"
    2) "Mac OS X Version 10.4.11 (Build 8S2167)
    2009-03-01 10:30:14 +0100
    2009-03-01 10:30:21.962 SystemUIServer[213] lang is:en
    Mar 1 11:20:32 Bs-Home-Mac /usr/sbin/ocspd: starting
    Mar 1 11:38:25 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 12:46:40 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 13:54:55 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 15:03:13 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 16:11:31 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 17:19:46 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Main starting
    2009-03-01 17:47:20.393 Skype[313] SkypeApplication::init called
    2009-03-01 17:47:21.554 Skype[313] SKInitDebugLogging
    2009-03-01 17:47:46.169 Skype[313] SkypeSound::setAudioDeviceUID: cannot find audio device with UID (null), trying to use default system output device instead
    2009-03-01 17:47:47.208 Skype[313] SkypeSound::setAudioDeviceUID: cannot find audio device with UID (null), trying to use default system output device instead
    Starting the process...
    2009-03-01 17:48:36.186 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:48:36.367 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:48:37.367 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:48:37.369 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:59:16.450 Skype[313] SkypeSound::setAudioDeviceUID: cannot find audio device with UID (null), trying to use default system output device instead
    Mar 1 17:59:19 Bs-Home-Mac crashdump[355]: Skype crashed
    Mar 1 17:59:20 Bs-Home-Mac crashdump[355]: crash report written to: /Users/bernardolima/Library/Logs/CrashReporter/Skype.crash.log
    Mar 1 18:23:50 Bs-Home-Mac authexec: executing /Applications/Carbon Copy Cloner.app/Contents/Resources/helper_tool
    Mar 1 18:28:01 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Main starting
    2009-03-01 18:41:03.154 Skype[393] SkypeApplication::init called
    2009-03-01 18:41:12.433 Skype[393] SKInitDebugLogging
    Mar 1 19:36:16 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 19:55:54 Bs-Home-Mac mdimportserver[480]: -[ABAddressBook sharedAddressBook] Can't ABACQUIREFILELOCK Framework/AddressBook/ABAddressBook.m:2746
    Mar 1 19:57:12 Bs-Home-Mac mdimportserver[480]: * +[NSUnarchiver unarchiveObjectWithData:]: extra data discarded
    Mar 1 19:57:12 Bs-Home-Mac mdimportserver[480]: * +[NSUnarchiver unarchiveObjectWithData:]: extra data discarded
    Mar 1 20:44:34 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 21:52:51 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 23:01:07 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor"
    Due to my lack of knowledge I can't judge how bad this is. But I can tell you that every time I read the word bad in the log it scares the s*** out me.

  • Toshiba Satellite p75-A7200 stuck on toshiba logo after bios change

    My Toshiba Satellite p75-A7200 is stuck on toshiba logo after bios change.
    entered bios fine changes from UEFI to CSM boot and now i cannot enter bios or boot past toshiba logo.
    Ive tried F2 tapping and holding while powering up the laptop(tried every Fkey,DEL,ESC, with and without FN key)
    cannot re-enter bios.
    Also i tried to run the bios update cd created multiple  1.50 1.40 even 1.00, it doesnt seem to read any media.
    i tried holding C, FN+C and f and just about every key on the keyboard to get something to work. i had dvd as top of boot priority for a while now so i shouldnt have to try f12 or holding C before boot but i tried . it doesnt seem to read any media
    i tried windows 8 install cd, Ubuntu, centos, nothing goes past toshiba logo and no errors, i dont get the non bootable device error so its seems to not be reading the dvd. (dvd does spin and make read noises) im trying to find my usb floppy drive to try a floppy version but it acts like its not reading any media.
    I also pulled the HDD and all usb devices to make the dvd the only media available and with the HDD out it spins then toshiba logo then black screen with solid white  horizontal curser on top left of screen.(only happens when hdd out)
    is there some type of key combination that will force a bios update or a crisis recovery mode for bios.
    I also Pulled the battery for 2 solid days(battery,cmos battery, and power supply and held power button for about 10 mins while watching tx to make sure the thing was drained before the 2 day sit with no power at all.
    this happened the second i changed from UEFI to CSM boot so its not a motherboard problem or anything like that because all was well before this setting change.
    I already pulled the HDD and backed it up to another drive and swapped it to elimiate that.
    any ideas on a secret key combo to force a bios read from dvd or usb or anythng.
    or another combo that im just missing to enter bios after CSM boot.
    UPDATE
    to do a crisis recovery on this laptop
    1 get a usb stick and format it in fat or fat32
    2 download "7zip" and install it if you dont have it.
    3 download bios from toshiba website.
    4 run the installer for bios but dont choose and option just close it we just want to extract the files to the location normally  c:\splnvxxx where xxx is the version number like 150
    5 goto the installed locaion "c:\splnv150" or whatever number.
    6. find file os2014273a_150 or something similar. it will be an application, it will end in version number _150, and it will also have a disc image file of the same name. but we want the app. 
    7. right click on it and you should have an option 7zip then extract
    once extracted there is a folder now archesxxxxxx_bios_v150_win 
    8 copy the bios file located in archesxxxxxblahblah/X64/BIOS.fd , BIOS.fd is the bios and just copy that to a BLANK usb thumb drive that was formatted with fat or fat32.
    9. put usb into your satellite and unplug the power from it.
    10 holding FN + ESC key together plug the power back in and press power button.
    11. release keys FN and ESC if all is right it will have the power button and led on from blink abut every 1 second while it searches for the bios. once its done it will reboot and you should be good to go.
    if it keeps cycling with the power button then the bios is named wrong or something is not right with the usb. try reformatting it again and make sure that the bios file is the ONLY thing on the drive.

    Ok a little research and digging into the bios exe downloaded from toshiba shows this has INSYDE BIOS witch should have a recovery process wich i prepared a usb stick with just the bios.fd on it found some post around toshiba forums with different models using win +B or Fn + F but neither of these worked for me to force bios update
    anyone with this model know the key combo to force recovery

  • Macbook will not boot up after running Software Update

    My MacBook will not boot up after running Software Update (Security update + Java?) earlier today. I have only the gray start up screen + Apple logo + gear wheel constantly rotating. I have tried restarts several times and tried to start up from my original system DVD - this makes no difference.
    I called Apple support, tried resetting the power and PRAM - still no difference. He had no knowledge of other problems reported; although I note recent post may have same issue.
    I cannot get an appointment at my Apple Store before Monday.
    Any suggestions?

    Still no success. When I hold down the option key when powering up I get the hard disk icon plus arrowhead (only). When clicking the arrowhead it goes to the gray screen + apple logo+ rotating gearwheel.
    This happens both with DVD in slot and without DVD. the DVD image is not coming up on screen. When I start up without DVD the hard disk icon appears promptly. When I start with DVD in the DVD is spinning for a short period before the hard disk icon appears. On clicking the arrowhead to hard disk icon the DVD spins again for a while then stops. Apart from the DVD spinning, both situations result in gray screen + apple logo+ rotating gearwheel.

  • Database 10.2.0.4.0 not upgraded to 11.1.0.7.0 after running dbua

    Hello!
    I tried to upgrade oracle Database 10.2.0.4.0 to 11.1.0.7.0, following these documentations:
    Complete Checklist for Upgrades to 11gR1 using DBUA [ID 556477.1]
    and
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#BABGAGAE
    After running the dbua, which finished successfully, I tried to connect to the db but realised that the version was still the same, 10.2.0.4.0 .
    SQL> select * from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 portal
    PORTALDEVDB
    10.2.0.4.0 04-FEB-11 OPEN NO 1 STOPPED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    Is there something I didn' t do?
    Thanks in advance.

    Hi!
    I run the dbua from the Ora11gdbhome. Path is set to the 11g directory. The logs of dbua didn' t present any errors and what is recorded to have been created is of version 11.
    The output of the select is the following:
    SQL> select COMP_NAME,version,status from dba_registry;
    COMP_NAME
    VERSION STATUS
    Oracle XML Database
    10.2.0.4.0 VALID
    Oracle Application Server Syndication Services
    10.1.2.0.2 VALID
    Oracle Workflow
    10.1.2.0.2 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Enterprise Manager
    10.2.0.4.0 VALID
    Spatial
    10.2.0.4.0 VALID
    Oracle interMedia
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    OLAP Catalog
    10.2.0.4.0 VALID
    Oracle Text
    10.2.0.4.0 VALID
    Oracle Expression Filter
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Rule Manager
    10.2.0.4.0 VALID
    Oracle Workspace Manager
    10.2.0.4.3 VALID
    Oracle Data Mining
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Database Catalog Views
    10.2.0.4.0 VALID
    Oracle Database Packages and Types
    10.2.0.4.0 VALID
    JServer JAVA Virtual Machine
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle XDK
    10.2.0.4.0 VALID
    Oracle Database Java Packages
    10.2.0.4.0 VALID
    OLAP Analytic Workspace
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle OLAP API
    10.2.0.4.0 VALID
    Oracle Application Server Metadata Repository Version
    10.1.4.0.0 VALID
    Oracle Application Server Integration B2B
    10.1.2.0.2 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Integration BAM
    10.1.2.0.2 VALID
    Oracle Application Server Certificate Authority
    10.1.2.0.2 VALID
    Oracle Internet Directory
    10.1.2.3.0 INVALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Metadata Repository Upgrade Assistant
    10.1.4.0.0 VALID
    Oracle Application Server Distributed Configuration Management
    10.1.2.0.2 VALID
    Oracle Business Intelligence Discoverer
    10.1.2.0.2 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Web Clipping
    10.1.2.0.2 VALID
    Oracle Application Server UDDI Registry
    10.1.2.0.2 VALID
    Oracle Application Server Single Sign-On
    10.1.2.3.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Portal
    10.1.4.2.0 VALID
    Oracle Application Server Wireless
    10.1.2.0.2 VALID
    32 rows selected.
    SQL>
    As you can see, nothing of version 11...
    I haven' t done an upgrade to a different version before and I am not sure whether I there is something I missed...

  • After running ridc to checkin file into Oracle Content Center Server there is error: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line

    Hi,
       I use ridc to check in file into Oracle Center Content server. There is no problem at the beginning. But after running for several days, there is following error.
    I must restart my program to solve this issue.
       Can anyone help me solve this problem?
    Thanks,
    Tony
    2013-07-11 12:24:31,189 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:33,005 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:37,870 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:39,722 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more

    The following is my testing code.
    package ebilling;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.security.SecureRandom;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.List;
    import java.util.Properties;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import oracle.stellent.ridc.IdcClient;
    import oracle.stellent.ridc.IdcClientManager;
    import oracle.stellent.ridc.IdcContext;
    import oracle.stellent.ridc.model.DataBinder;
    import oracle.stellent.ridc.model.DataObject;
    import oracle.stellent.ridc.model.DataResultSet;
    import oracle.stellent.ridc.model.TransferFile;
    import oracle.stellent.ridc.protocol.ServiceResponse;
    import org.apache.commons.lang.StringUtils;
    public class UCMContentManager {
         * Check in a file into a Oracle WebCenter Content Server and return content id of uploaded content item in Oracle WebCenter Content Server.    
         * @param properties        The Oracle WebCenter Content Server connection properties.
         * @param contentFile       This file will be checked in a Oracle WebCenter Content Server.
         * @param path              The location path of checked in file in Oracle WebCenter Content Server. This path includes the file name.<br>
         *                             For example, "/folder1/folder2/file1.txt". The "file1.txt" is the file name part. <br>
         *                             The file name will be used as dDocName in Oracle WebCenter Server. It must be unique.<br>
         * @throws ContentException The exception when uploading file into Oracle WebCenter Content Server.
         * @return                  The content id of uploaded content item in Oracle WebCenter Content Server.
        public String saveContent(Properties properties, File contentFile, String path) throws ContentException{
            if(path.endsWith(SLASH)) {
                throw new ContentException("Require file name in Content Management Server");
            if(!path.startsWith(SLASH)) {
                throw new ContentException("The file store path in Content Management Server should be absolute.");
            if (path.indexOf("//") != -1) {
                path = path.replace("//", SLASH);
            String[] paths = path.split(SLASH);       
            String[] parents = new String[paths.length - 1];
            String itemName = paths[paths.length-1];
            System.arraycopy(paths, 0, parents, 0, paths.length-1);
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                //create the parent folders if they don't exist
                String folderGUID = makeFolders(properties, parents);
                //check in the file
                DataBinder requestData = client.createBinder();
                requestData.putLocal("IdcService", "CHECKIN_UNIVERSAL");
                requestData.putLocal("IsJava", "1");
                requestData.putLocal("dDocName", itemName);           
                requestData.putLocal("dDocTitle", itemName);           
                requestData.putLocal("dDocType", "Binary");
                requestData.putLocal("dSecurityGroup", "Public");
                requestData.addFile("primaryFile", new TransferFile(contentFile));
                response = client.sendRequest(connectionContext, requestData);           
                DataBinder responseData = response.getResponseAsBinder();
                //String did = responseData.getLocal("dID");           
                String dDocname = responseData.getLocal("dDocName");
                closeResponse(response);
                //link the file in a folder
                requestData = client.createBinder();
                requestData.putLocal("IdcService", "FLD_CREATE_FILE");
                requestData.putLocal("fParentGUID", folderGUID);
                String fileType = "owner";
                requestData.putLocal("fFileType", fileType);           
                requestData.putLocal("dDocName", dDocname);           
                response = client.sendRequest(connectionContext, requestData);
                return dDocname;
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
        public void deleteContent(Properties properties, String contentId) throws ContentException{
            List<String> didList = getDIds(properties, contentId);
            contentId = contentId.toUpperCase();
            ServiceResponse    response = null;
            try {           
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder requestData = null;
                for(int i=0; i<didList.size(); i++) {
                    String did = didList.get(i);
                    requestData = client.createBinder();
                    requestData.putLocal("IdcService", "DELETE_DOC");
                    requestData.putLocal("dDocName", contentId);               
                    requestData.putLocal("dID", did);   
                    response = client.sendRequest(connectionContext, requestData);
                    closeResponse(response);
                    //delete parent folder
    //                try {
    //                    requestData = client.createBinder();           
    //                    requestData.putLocal("IdcService", "FLD_DELETE");       
    //                    requestData.putLocal("item1", "path:" + parentPath);
    //                    requestData.putLocal("constructDialog", "1");
    //                    response = client.sendRequest(connectionContext, requestData);
    //                } catch (Exception e) {
    //                    // TODO: handle exception
            } catch (Exception e) {
                throw new ContentException(e);
            } finally {
                closeResponse(response);
        public int getFileCountInFolder(Properties properties, String path) throws ContentException{
            ServiceResponse    response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder binder = client.createBinder();
                binder.putLocal("IdcService", "FLD_BROWSE");
                binder.putLocal("path", path);
                response = client.sendRequest(connectionContext, binder);
                DataBinder result = response.getResponseAsBinder();
                String num = result.getLocal("numFiles");
                return Integer.parseInt(num);
            catch (Exception e) {
                throw new ContentException(e);
            } finally {
                closeResponse(response);
        private String getFolderGUID(Properties properties, String path) throws ContentException {
            ServiceResponse    response = null;       
            String tmpFolderGUID = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;   
                DataBinder requestData = client.createBinder();
                requestData.putLocal("IdcService", "FLD_INFO");
                requestData.putLocal("path", path);       
                response = client.sendRequest(connectionContext,
                        requestData);
                DataResultSet result = response.getResponseAsBinder().getResultSet("FolderInfo");
                tmpFolderGUID = result.getRows().get(0).get("fFolderGUID")
                    .toString();
                if(StringUtils.isBlank(tmpFolderGUID))
                    tmpFolderGUID = null;           
            } catch (Exception e) {               
            } finally {
                closeResponse(response);
            return tmpFolderGUID;
        public boolean deleteFolder(Properties properties, String path) throws ContentException {
            if(getFolderGUID(properties, path)==null)       
                return false;
            int fileCount = getFileCountInFolder(properties, path);
            ServiceResponse    response = null;
            if(fileCount==0) {
                try {
                    IdcClientManager manager = new IdcClientManager();
                    IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                    client.getConfig().setProperty ("http.library", "apache4");
                    String user = properties.getProperty(USERNAME_PROPERTY);
                    String pwd = properties.getProperty(PASSWORD_PROPERTY);
                    IdcContext connectionContext = new IdcContext(user, pwd);
                    pwd = null;               
                    DataBinder binder = client.createBinder();   
                    binder.putLocal("IdcService", "FLD_DELETE");       
                    binder.putLocal("item1", "path:" + path);
                    binder.putLocal("constructDialog", "1");
                    response = client.sendRequest(connectionContext, binder);
                    return true;
                catch (Exception e) {
                    throw new ContentException(e);
                } finally {
                    closeResponse(response);
            } else {
                return false;
        private String buildPath(String[] arr, int i) {
            StringBuilder buf = new StringBuilder();
            for(int j=0; j<=i; j++) {
                buf.append(arr[j]);
                buf.append(SLASH);
            return buf.toString();
        private String makeFolders(Properties properties, String[] paths) throws ContentException{
            String folderGUID = "";
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                String parentFolderGUID = null;
                for(int i=0; i<paths.length; i++) {
                    String fullPath = buildPath(paths, i);
                    DataBinder requestData = null;                   
                    parentFolderGUID = folderGUID;
                    folderGUID = getFolderGUID(properties, fullPath);
                    boolean exists = folderGUID!=null;
                    DataResultSet result = null;               
                    if(!exists) {
                        //create new folder
                        try {
                            requestData = client.createBinder();                   
                            requestData.putLocal("IdcService", "FLD_CREATE_FOLDER");
                            requestData.putLocal("fParentGUID", parentFolderGUID);
                            requestData.putLocal("fFolderName", paths[i]);
                            response = client.sendRequest(connectionContext, requestData);
                        } finally {
                            closeResponse(response);
                        //retrieve folderGUID of new folder
                        folderGUID = getFolderGUID(properties, fullPath);                   
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
            return folderGUID;
        public List<String> getDIds(Properties properties, String contentId) throws ContentException{
            contentId = contentId.toUpperCase();
            List<String> didList = new ArrayList<String>();
            ServiceResponse    response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder requestData = null;
                requestData = client.createBinder();
                requestData.putLocal("IdcService", "GET_SEARCH_RESULTS");
                requestData.putLocal("SortField", "dInDate");
                requestData.putLocal("SortType", "DESC");
                requestData.putLocal("QueryText", "dDocName <matches> `" + contentId +"`");
                response = client.sendRequest(connectionContext, requestData);
                DataBinder result = response.getResponseAsBinder();
                DataResultSet resultSet = result.getResultSet("SearchResults");
                for (DataObject dataObject : resultSet.getRows()) {
    //                System.out.println("ID : " + dataObject.get("dID")+" dDocName : "
    //                        + dataObject.get("dDocName") + " Title : " + dataObject.get("dDocTitle")
    //                        + " Author : " + dataObject.get("dDocAuthor") + " Security Group : "
    //                        + dataObject.get("dSecurityGroup"));
                    String did = dataObject.get("dID");
                    didList.add(did);
                    //break;
            } catch (Exception e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
            return didList;
         * Get the file content represented by contentId from a Oracle WebCenter Content Server.
         * The return value is the input stream of retrieved file content.
         * @param properties        The Oracle WebCenter Content Server connection properties.
         * @param contentId         The Content ID for the content item in Oracle WebCenter Content Server.
         * @throws ContentException The exception when retrieving content from Oracle WebCenter Content Server.
         * @return                  The input stream of retrieved file content.
        public InputStream retrieveContent(Properties properties, String contentId) throws ContentException{
            try {
                return new FileInputStream(retrieveContentFile(properties, contentId));
            } catch (Throwable e) {
                throw new ContentException(e);
        public File retrieveContentFile(Properties properties, String contentId) throws ContentException {
            contentId = contentId.toUpperCase();
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder binder = client.createBinder();
                binder.putLocal("IdcService", "GET_FILE");
                //binder.putLocal("dID", dID);
                binder.putLocal("dDocName", contentId);
                binder.putLocal("RevisionSelectionMethod", "Latest");
                response = client.sendRequest(connectionContext, binder);
                InputStream in = null;
                OutputStream out = null;
                String edxhome = System.getProperty("edx.home");
                File tmpParent = new File(edxhome);
                tmpParent = new File(tmpParent, "Output");
                tmpParent = new File(tmpParent, "tmp");
                tmpParent.mkdirs();
                File tmpFile = File.createTempFile("down_", "_ucm", tmpParent);
                tmpFile.deleteOnExit();
                try {
                    in = response.getResponseStream();
                    out = new FileOutputStream(tmpFile);
                    byte[] buf = new byte[1024];
                    int read = -1;
                    while((read = in.read(buf))!=-1) {
                        out.write(buf, 0, read);
                } finally{
                    try {
                        if(in!=null)
                            in.close();
                    } catch (Exception e2) {
                    try {
                        if(out!=null)
                            out.close();
                    } catch (Exception e2) {
                return tmpFile;
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
        private void closeResponse(ServiceResponse response) {
            if(response!=null) {
                try {
                    response.close();
                } catch (Exception e) {
        private static final String SLASH = "/";   
        private static final String URL_PROPERTY = "contentServerURL";
        private static final String USERNAME_PROPERTY = "contentServerUser";
        private static final String PASSWORD_PROPERTY = "contentServerPassword";
        static volatile boolean flag = false;
        static class UploadTask implements Runnable{
            public void run() {           
                try {
                    while(!flag) {
                        UCMContentManager manager = new UCMContentManager();
                        Properties properties = new Properties();
                        properties.put(URL_PROPERTY, "https://slc402124:16201/cs/idcplg");
                        properties.put(USERNAME_PROPERTY, "weblogic");
                        properties.put(PASSWORD_PROPERTY, "weblogic1");
                        File contentFile = new File("C:/toding/mypro/UCM/test.txt");
                        String parentPath = "/new/test/multiThreadUpload/";
                        String location = makePath(parentPath);
                        manager.saveContent(properties, contentFile, location);
                        System.out.println(location);
                        Thread.sleep(5000);
                } catch (Exception e) {
                    e.printStackTrace();
                    flag = true;
        public static void main(String[] args) throws Exception{
            ThreadPoolExecutor executor = new ThreadPoolExecutor(10, 10, 60, TimeUnit.SECONDS,
                     new LinkedBlockingQueue<Runnable>());
            for(int i=0; i<10; i++) {
                 UploadTask uploadTask = new UploadTask();
                 executor.execute(uploadTask);
            while(!flag) {
                Thread.sleep(5000);
            executor.shutdown();
        public static String makePath(String parentPath) {
            StringBuilder buf = new StringBuilder();
            buf.append(parentPath);
            if(!parentPath.endsWith("/")) {
                buf.append("/");
            Calendar rightNow = Calendar.getInstance();
            String pattern = "yyyyMMdd";
            SimpleDateFormat simDateForm = new SimpleDateFormat(pattern);
            String dateStr = simDateForm.format((rightNow).getTime());       
            pattern = "HHmmssSSS";
            simDateForm = new SimpleDateFormat(pattern);
            String timeStr = simDateForm.format((rightNow).getTime());
            buf.append(dateStr);
            buf.append("/");
            buf.append(timeStr);
            buf.append("_");
            buf.append(random.nextInt(10000));
            String finalLocation = buf.toString();
            return finalLocation;
        private static SecureRandom random = new SecureRandom();

  • Double postings after running transaction FAGLF101

    Hi All,
    After running transaction FAGLF101 some postings double (only in Ledger 0L, YQ seems to work)
    While running this transaction, we have to do it twice, with two different valuation areas.
    This resulted in double postings for few Adjustment accounts (for example adjustment account foreign payables, adjustment account domestic receivables, etc).
    I have checked the Ledgers 0L and YQ. Document splitting is not active.
    Can any one suggest me how to analyze further and solve this issue.
    Thanks in Advance,
    Deepthi.

    Hi All,
    Can anyone provide any suggestions to analyze this issue please.
    Thanks in Advance,
    Deepthi.

  • USB Keyboard not working after running Monolingual

    Okay, I'm not a Mac person and should have known that I was going to mess up my mother's iMac, but here it is -
    In an attempt to improve the mac's performance I performed all of the actions described in the following article: 11 Ways to Optimize your Mac's Performance     ( http://lowendmac.com/eubanks/07/0312.html ). Basically, I cleaned up files and 'other' system preferences. Things seemed to be fine and the computer did run much better. However, after running Monolingual and deleting what I understood to be 'unnecessary' PowerPC files the standard USB keyboard is no longer working.
    I've tried to search for various remedies, but have come to a dead end. So I'm left with reinstalling the Snow Leopard OS (I think it is 10.6.8?) BUT I can't because it is asking to input the account password (which I know) to make the change and I can't figure how to do that when the keyboard not working.
    Any help would be great!
    *feeling like a bone head*

    How are you trying to reinstall Snow Leopard? If you're booting from the Snow Leopard or iMac Install DVD that came with the system then that should eliminate any of the issues you may or may not have caused when you deleted did the clean up work on your mom's system.
    I suggest trying the following:
    0) Verify that the caps lock key is off. It can make inputting passwords difficult if you don't realize it is ON.
    1) Reset the PRAM by restarting the system then quickly press the command-option-P-R keys before the gray screen appears. Wait until you hear the computer restarts two times as indicated by the startup chime. For more info refer to http://support.apple.com/kb/ht1379.
    2) If the issue persists after the PRAM reset then boot from the Snow Leopard or iMac Install DVD, whichever you have. Once you see the menu asking you to choose a language try using the arrow keys on the keyboard to move the language choice selection. If the arrow keys are working at this point it indicates your keyboard is at least partially functional. Go ahead and select the language then proceed to step 3.
    3) Once the next screen appears move the cursor up to the menu bar area and pull down the Utilities menu. Select the 'Terminal' application. Once the Terminal application launches try typing the various keys on the keyboard and check to see if the correct characters are displayed. Please let us know if you detect any errors. If there are no errors then you should be able to quit the Terminal application and proceed with reintstalling the OS.

  • My laptop become blue screen after windows logo, after i update the graphic ati and intel driver

    I have constant blue screen after windows logo and i have updated all drivers. i was upset the blue screen didn't go away and i did the factory reset. For my suprise, it didn't solve the problem and then i repair it at the comp shop. it was installed with windows 7 home premium 64 (pavilion g4 1006tx) bit as the pre installed windows and activated with the key back on sticker. I updated all drivers and i noticed every time i update the ati and intel driver it will go blue screen after windows logo. after i uninstall it at in safe mode it can load normally. My question is there any solution for my graphic card or is it already damaged? or any other hardware problem? please because i have to use high graphic as i use photoshop

    hii
    make sure you download and update correct driver version of graphic
    and know spec
    more:
    http://support.hp.com/us-en/drivers/selfservice/HP-Pavilion-g4-Notebook-PC-series/5046252/model/5068...
    try to instal  "AMD High-Definition Graphics Driver" only
    and uninstal "Intel High-Definition (HD) Graphics Driver"
    Wisnu Suryandi

  • Why can't I open/play my movie files after I have downloaded them from my camera? Pictures open fine.

    Why can't I open/play my movie files after I have downloaded them from my camera? Pictures open fine.

    What system and iPhoto version are you running and do you have Qjuicktime Player 7 installed. It would be in the Applications or Applications/Utilities folder.
    OT

Maybe you are looking for

  • How to change the name or have no name for an iCloud email alias

    I had MobileMe on the iPhone with alias email addresses and I liked how it didn't attach any "name" to an alias. For example, I had MainUserName, then for aliases I would have [email protected], [email protected], etc. When I sent an email from my iP

  • SELECT statement using XML data taking way too long.

    Hi all, I am using SQL Server 2005. I have an issue which I find hard to describe. The server that I am using contains two test databases which are (supposed to be) identical. They both have tables named EVENTS with identical fields. I am using XML d

  • DCF Report Format

    Hello, 1. Does anyone know if it is possible to access, edit or delete titles, page #, DCF ID, Revision #, or otherwise all system sections which appear on DCF report form other than Header, Footer, DCM Section, Comment section and Resolution section

  • BI Server - Solaris - Admin tool security configuration

    Hi, I have a BI server running on Solaris. I want to use the admin tool to configure users/groups which are configured in an LDAP database. Is this possible? Sifting through the forums, I can see that the admin tool is used to construct an offline rp

  • What is the DC voltage requirement?

    Have lost my manual.    What is DC voltage requirement for p2-1310?