Can CheckInRequest.Item object be used between threads?

I have inherited a custom connector and am helping figure out a problem that occurred when my predecessor attempted to improve performance uploading assets by releagating the insertion into the DAM into a separate thread.  He did this in the CheckInHandler class by handing the object of type CheckinRequest.Item returned in the list returned by getItemList(request) to a separate thread run by a thread request pool.
However when this thread attempts to perform the upload, the input stream returned by item.getContent() appears to have been truncated.  This means in practice that a zero byte file gets uploaded.  The problem goes away if I replace the code that sends the item to another thread to run synchronously in the CheckInHandler.
First question is what is going on?  The second question is are there any suggested best practices to optimizing perofrmance of insertions.  This code was added in response to compaints that the Adobe applications (such as Illustrator) froze for a prolonged period when uploading assets to the DAM.
Thanks for any help.
Cheers,
Lyman

> download the role, manipulate the download file so that it contains the data for all derived roles
I do agree (and use it myself as well, allbeit with Excel VBA routines) but this advise should be accompanied by the warning that :the checks in PFCG uploads are insufficient and minor flaws in your file can create an awfull mess. Practice a lot, and do this on sandbox clients/systems. Basically the fixed record length of table entries within the download files is something to very carefully watch. Having proper knowledge of the tables and data structure for roles is a must in my opinion.
If you search the forums for mass creation of (derived) roles with ECATT you'll find safer options as well. It may leave some manual work but that automatically includes all PFCG's checks and safeties.
Uploads skip more checks than I find comfortable......

Similar Messages

  • I just installed Adobe InDesign CC 2014 and now I can't scale objects/type using Command+Shift Key. Has anyone else had this problem and if so, any solution?

    I just installed Adobe InDesign CC 2014 and now I can't scale objects/type using Command+Shift Key. Has anyone else had this problem and if so, any solution?

    There is a conflict with third party software or your system keyboard shortcuts. Lately, there have been many postings about conflicts with Chrome extensions so check there first.
    It's not a new problem. I wrote about it on InDesignSecrets.com in 2006:
    The Missing Keystrokes Mystery | InDesignSecrets

  • HT201209 My child received a $50 voucher for Xmas but doesn't want to use it all at once. I'd like to remove the voucher code so I can purchase items from iTunes using my usual account. Is this possible?

    My child received a $50 voucher for Xmas but doesn't want to use it all at once. I'd like to remove the voucher code so I can purchase items from iTunes using my usual account. Is this possible?

    Hi czigrand,
    Thanks for visiting Apple Support Communities.
    Currently, you can gift dollar amounts or individual items (EG. songs) on the iTunes Store. See this article for more information:
    In the iTunes Store, you can gift a dollar amount or specific music, movies, TV shows, or apps from your iPhone, iPod touch, iPad, Mac, or PC. Follow these steps to send a gift from the iTunes Store.
    iTunes: Sending iTunes Gifts
    http://support.apple.com/kb/HT2736
    Best Regards,
    Jeremy

  • Can portal session cookies be used between two data centers

    OAS generates the following header information and session information for my application. However when I need to failover the originating OAS datacenter into my hot stand-by for maintenance or upgrades, the OAS in the other datacenter responds with a 503 web error. We are using Akamai's GTM to manage the liveness of the datacenter, so we would need the hot stand-by OAS portal in that datacenter to return a 302 error code. Is there some method that we can add to our portal application which would always return a 302 error code.
    See header information collected through wfetch. The 503 error is caused by the hot stand-by data center not accepting or recognizing the cookie. Both OAS datacenters are IDENTICAL in Oracle levels, application levels, web servers, portals and OS patches.
    resolve hostname "170.107.183.32"WWWConnect::Connect("170.107.183.32","80")\nsource port: 2182\r\n
    GET /portal/pls/portal/PORTAL.wwsec_app_priv.login?p_requested_url=%2Fportal%2Fpls%2Fportal%2FPORTAL.home&p_cancel_url=%2Fportal%2Fpls%2Fportal%2FPORTAL.home HTTP/1.1\r\n
    Accept: */*\r\n
    Accept-Language: en-us\r\n
    Accept-Encoding: gzip, deflate\r\n
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)\r\n
    Host: www.thomson-pharma.com\r\n
    Connection: Keep-Alive\r\n
    Cookie: ORA_WX_SESSION="10.225.8.30:80-1#2"; portal=9.0.3+en-us+us+AMERICA+3D66674E7EED0801E04400144F41424E+BBAA98EEB32D58C086231A8D6CBE2E5D402D89B0E79D83A18C668BB0CA7417B4044DEA389C8B50DD37D9272A24B4753B22F29978861DE14503F8B9BEDC2014654B26A434CF074F4D8749B88610ADADF5084A90ADBF749E2A; DATACENTER=EAGAN\r\n
    \r\n
    HTTP/1.1 503 Service Unavailable\r\n
    Cache-Control: private\r\n
    Content-Type: text/html\r\n
    Set-Cookie: ORA_WX_SESSION="10.237.138.33:80-1#2"\r\n
    Set-Cookie: portal=; expires=Wednesday, 27-Dec-95 05:29:10 GMT; path=/\r\n
    Connection: Keep-Alive\r\n
    Keep-Alive: timeout=5, max=999\r\n
    Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server OracleAS-Web-Cache-10g/10.1.2.0.2 (N;ecid=208440262161,0)\r\n
    Content-Length: 710\r\n
    Date: Fri, 26 Oct 2007 14:58:07 GMT\r\n
    \r\n
    Thanks -John

    Hi John,
    This question is probably more appropriate in one of the Portal forums, but perhaps you can take a look at the information in section C.5 Configuring the Portal Session Cookie in Appendix C of the Portal Configuration guide.
    Here is a link: http://download.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_app_c.htm#sthref1907
    Regards,
    Peter

  • Can an imported object be used as a keynote mask?

    If i create a (lets say) star outline in illustrator, is there a way to select it and import an image to it?
    alan

    There's a way, but it's not as direct as just copying and pasting. What you'll want to do is export out of Illustrator as an .SVG file, then use svg2key to convert the file to a Keynote presentation.
    You'll find svg2key here.
    http://mcb.berkeley.edu/labs/zusman/dave/svg2key/

  • [u][b]perl- can't locate objet method "USE" via strict  package[/b][/u]

    [b[u]
    i am working on Redahat Linux 7.3 with perl 5.6.0
    when ever run the perl script to connect oracle
    i get following message
    " can't locate object method "USE" via package "strict"
    i installed the oracle for perl
    can anyone help to get rid of the problem

    implement synchronizable and createa constructor, then check it once again.

  • Sharing socket object between threads - Is any sync required?

    For example, a thread receives (listens) datagram packets at incoming socket and forwards them downstream through another datagram socket. Another thread listens packets at this second socket and forwards the data via the first socket. It is possible that two threads invoke methods of the same socket (one is receiveng while another is sending). This situation is not described in the DatagramSocket manual. I beleive there is underlying synchronization at the OS kernel level. Can I relay on it? Thanks.

    I expected some critics for using old plain sockets instead of nio :)You should use NIO if you have hundreds of connections. If you have a small number of connections and want a simple implementation use blocking IO as you have.
    If you can have different
    threads reading or writing at once eg two readingor
    two writing then you need to use synchronisation.Shouldn't this be stated by the API designers somewhere?It is probibly covered in a tutorial or example somewhere.
    You have a different input and output stream. There is a lock on each. This is your best hint.
    Theoretically, nothing prohibits sending UDP packets in race conditions.
    In fact, this is what my program
    does - it respondes to different clients using one
    (server) datagram socket. The responses are produced
    by multiple threads. I suppose that java does not
    involve any state variables; thus, beleive that the
    system can accomplish the synchronisation unnecesary
    at the application level.That depends on how you build and send your messages. If each part of the message can be sent in one hit and the order does not matter you are fine.
    If you have a single object shared between threads, then all members are shared, not just static variables.

  • Copy one list items new list using client side object model

    Hi,
    I have a requirement like i need to copy one list information to new list with createdby and modified by fields.I need to use client side object model code.Can u please send me the code sample.
    Regards,
    Praveen

    Hi,
    According to your post, my understanding is that you want to copy one list items new list using client side object model.
    You can use console application.
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/28a43891-7505-4d34-b513-fdd66773c2a3/copy-list-item-to-another-list-using-client-object-model-in-console-application?forum=sharepointdevelopmentprevious
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Signal to phone varies between 4G and 1X. Can that be improved without using antennae.

    Signal strength varies from 4G to 1X, is there an adjustment in the phone to correct or is it necessary to buy xtra antennae.

    Thank you for replying.
    Signal varies in 61822 and 33917 zip codes. The incline plane emblem next
    to battery icon never shows strength greater than just the tip of the
    indicator except when I go to Verizon corporate store where they have a
    booster. It happens in and out doors. I have not removed the sim card. This
    is a Motorola RAZR M with a number on back - CEO 168
         [image: Verizon Wireless
    Community]<http://community.verizonwireless.com>
    <http://www.verizonwireless.com/b2c/index.html>
    <http://www.verizonwireless.com/b2c/explore>
    <http://www.verizonwireless.com/b2c/store/controller?item=phoneFirst&action=viewShopIndex>
    <https://wbillpay.verizonwireless.com/vzw/nos/topline.jsp>
    <http://support.verizonwireless.com/clc/>    Re:
    Signal to phone varies between 4G and 1X. Can that be improved without
    using antennae.  created by Verizon Wireless Customer
    Support<https://community.verizonwireless.com/people/vzw_customer_support>in
    Android - View the full
    discussion<https://community.verizonwireless.com/message/1026021#1026021>

  • Can objects be passed between Applets and JSP?

    Can objects be passed between Applets and JSP? If so how? Thanks in advance.
    Scott

    see if this helps,
    http://forum.java.sun.com/thread.jsp?forum=54&thread=136847

  • Can't access object using "id" or "name" if created with actionscript

    How can you register an instance of an object with actionscript so that it's id or name value is accessible?
    I included a simple example where a Button is created using mxml and in the same way it is created using actionscript.  The actionscript object is inaccessible using it's "id" and "name" property.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationComplete="application1_creationCompleteHandler(event)">
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                protected function application1_creationCompleteHandler(event:FlexEvent):void
                    import spark.components.Button;
                    var asBtn:Button = new Button();
                    asBtn.label = "actionscript";
                    asBtn.x = 200;
                    asBtn.id = "asButton";
                    asBtn.name = "asButtonName";
                    addElement(asBtn);
                    trace("mxmlButton="+this["mxmlButton"].label); // returns: mxml  label
                    //trace("mxmlButton="+this["asButton"].label); // returns runtime error: ReferenceError: Error #1069: Property asButton not found on TestId and there is no default value.
                    //trace("mxmlButton="+this["asButtonName"].label); // returns runtime error: ReferenceError: Error #1069: Property asButtonName not found on TestId and there is no default value.
            ]]>
        </fx:Script>
        <s:Button
            id="mxmlButton"
            label="mxml label"
            alpha="0.8"/>
    </s:Application>

    Hi Dan,
    It is a very rare occurrence when I miss not being able to access an object (object property, really) using the ["name"] notation for objects created using actionscript.
    In MXML the compiler is conveniently adding an attribute to the class with the same name as the id, so you can conveniently refer to it using the [] notation. While we explicitly specify an application container to use, the MXML compiler creates a custom container which is a derivative of the base container and to that it adds properties for the children declared in MXML. I guess it also effectively calls "addElement" for us when  the container is being constructed.
    Your example assumes that using "addElement" to add the button to the application container is the same as declaring a variable (ie property ). It isn't, so there's no point in looking for an property of the name "as3Button" using the [] notation, because it doesn't exist. The container is managing a collection of children in it's display list and that's not the same as being accessible as properties of the container.
    Generally speaking, accessing properties using the ["name"] syntax isn't necessary.
    Paul
    [edit: you may wonder why "addElement" doesn't conveniently also add the "id" attribute to be an property of the container class. Unfortunately, it can't because the container class would need to be dynamic and it's not. A further complication would be that adding properties at runtime would invite naming clashes at runtime with associated mayhem. MXML can do this because the compiler generates the class and can trap name duplication at compile time.
    Great question, BTW.
    -last edit changed my "attributes" to be "properties" in line with Adobe's terminology]

  • Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? Difference between Enterprise and SE?

    We’re seeing the following issue: sql - Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? - Stack Overflow (posted by a colleague of mine) and are curious to know if this behaviour is due to a difference between standard and enterprise, or could we doing something else wrong in our DB config.?
    We have also reproduced the issue on the following stacks:
    Oracle SE One 11.2.0.3 (with Spatial enabled)
    Redhat Linux 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    11.2.0.3.0 Standard Edition and 11.2.0.4.0 Standard Edition (both with Spatial enabled)
    Microsoft Windows Server 2003R2 Standard x64 Edition
    However, the SQL works fine if we try it on Oracle 11.2.0.3.0 *Enterprise* Edition.
    Any help or advice would be much appreciated.
    Kindest Regards,
    Kevin

    In my experience sdo_filter ALWAYS uses the spatial index, so that's not the problem. Since you did not provide the explain plans, we can't say for sure but I think yhu is right: Standard Edition can't use the bitmap operations, and thus it'll take longer to combine the results of the two queries (because the optimizer will surely split this OR up in two parts, then combine them).
    BTW: when asking questions about queries here, it would be nice if you posted the queries here as well, so that we do not have to check another website in order to see what you are doing. Plus it will probably get you more answers, because not everyone can be bothered to click on that link. It would also have been nice if you had posted your own answer on the other post here as well, because my recommendation would have been to use union all - but since you already found that out for yourself my recommendation would have been a little late.

  • Can I share my itunes library between my laptop at home and my computer at work using homeshare?

    can I share my itunes library between my laptop at home and my computer at work using homeshare?

    Can I rip my CDs to only one of the iTunes instances and share this iTunes Library between both instances of iTunes?
    Have a look at this article in the Apple Knowledge Base and let us know if it brings you any combination of joy and/or satisfaction.

  • On my macbook pro I have a message on my homepage telling me that certain items want to use my keychain. I've pressed cancel the message will not go. The mac is now running very slow and iphoto and safari are not working. Can anyone help?

    On my macbook pro I have a message on my homepage telling me that certain items want to use my keychain. I've pressed cancel the message will not go. The mac is now running very slow and iphoto and safari are not working. Can anyone help?

    What version of Mac OS X?
    What home page?
    What browser?

  • How can I encrypt my data links between switch uplink ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me

    How can I encrypt my data uplinks between switch trunk ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me as I want to encrypt my switch-to-switch link with Cisco TrustSec.

    Hi 
    Login to switch & go to interface..
    There you can give tags.. (ISL & DONT1Q)
    Command switch-port mode trunk
    Switch-port trunk encapsulation ssl or dot1Q

Maybe you are looking for

  • Menu exit for ik11-------- take point.s

    HI all, I found a menu exit for tcode IK11. Could u let me know, what i 've to write in the function module. <b>Got points soon</b> Regards, [email protected]

  • White background with swf export

    How can I apply a swf file created in InDesign into my web page without the white background coming with it. I'm using CS6. I'm selecting transparent background when exporting. This is so annoying.

  • Slow loading itunes store on ipad

    I'm having diffilculty using itunes on the new ipad, it's very sluggish to load, trying searches literally takes minutes and then it crashes with no area of the screen responsive to touch. It seems much faster in the music store, has anyone else expe

  • ESS User Issue

    Please can you advise if there is a way that managers can view their employees records through the portal if the employee does not have a IT0105. We are getting the following error message: *"Please assign ESS user to Personel Number *******. Otherwi

  • Need a help on web application starting from scratch

    hi could any one help in creating a web appliation from the scratch. i got a requirement to buid an application with JSP,servelts, structs and backend as oracle 8i / DB2 , with JBOSS server. building the application with ant i have some basic knowled