ATG Pipeline and Multithreading

Hi,
I have couple of questions with respect to ATG Pipeline and Multithreading. The scenario is like - to process multiple threads and each thread is a pipeline chain.
Now the pipeline chain contains components which are globally scoped.
Questions -
1) Is ATG pipeline thread safe?
2) If the pipeline contains sequence of global-scoped components, is the pipeline still a threadsafe?
Thanks!

Pipelines are mend to be thread safe as they can be called from multiple HTTP request thread. The run process method accepts object which is usually a map of all the input parameters and PipelineResult which encapsulates any response parameter. So though being a global scoped component it always work on local objects (Not dealing with member variables).

Similar Messages

  • Safari won't work with CNN Pipeline and other sites all of a sudden?

    Safari won't work with CNN Pipeline and other sites all of a sudden? A few weeks ago Safari was working OK but now I often have to use Firefox to visit certain webpages.
    Anyone else having this same problem?
    Is there a quick fix?
    I'm using Safari 2.0.4
    Thanks.

    Hi QuickTimeKirk,
    I have WMP version 9, as well. I do not use F4M, for many users f4mac is what helps.
    I find some items work while others do not. I always get an alert about the wmp , which version it is, takes very long to load, I find it is not consistant with Safari, as seems the poster of this topic has found.
    Quoted from ms Mactopia site:
    http://www.microsoft.com/windows/windowsmedia/player/mac/
    Download and find information about Windows Media Player for Mac and playing Windows Media files in your QuickTime Player. Which download is right for you?
    Windows Media Components for QuickTime
    Windows Media Player 9 for Mac OS X
    Windows Media Player 7.1 for Mac
    Important Information
    Microsoft will continue to offer Windows Media Player for Mac as a download free of charge, but has no plans to provide future updates or product support.
    We are pleased to offer Windows Media® Components for Quicktime, by Flip4Mac™, as an alternative for Mac OS X users wanting to play Windows Media Audio and Windows Media Video.
    ~•~
    Validation of the cnn home page using the W3C Validatior, http://validator.w3.org/
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.cnn.com%2F
    though 41 errors is not as poor as some, Firefox handles the site better than Safari, imo.
    Some sites just work better with Firefox or an other browser.
    Cheers,
    Eme '~[ )

  • Which is difference between Pipeline and Consignment..

    Hello  All...
    I need your help... Can you help me to understand the difference between Pipeline and Consignment?
    Many thanks and I appreciate your Help and comments!

    A pipeline material is a material that flows directly into the production process from a pipeline (for example, oil), from a pipe (for example, tap water), or from another similar source (for example, electricity).
    A material from the pipeline is always available; i.e. it can be withdrawn from the pipeline at any time and in any quantity.
    Depending on the system configuration, a material can be withdrawn only from the pipeline or, in addition to the pipeline, normal stocks of the material can also be managed.
    STEPS TO MAINTAIN PIPELINE MATERIAL
    1. You can create a material with PIPE material type or else you can use any material type but that should allow pipeline process.
    2. You should have Inforecord for the material with valid conditions, price will pick only from inforecord.
    3. If requied you can maintains ource list or else you can select during goods issue.
    4. From the Inventory Management menu, choose Goods movement ® Goods issue.
    Maintain the data on the initial screen. Choose Movement type ® Consumption ® To cost center (or To order, To network, All account assignments) ® From pipeline (Movement types : 201 P, 261 P, 281 P, or 291 P)
    5. On the collective entry screen, enter the account assignment. Enter the items.
    You do not have to enter the vendor as this will be found automatically by the system.
    If more than one vendor is possible, a pop-up window appears with a list of pipeline vendors, from which you can select the vendor you require.
    Post the goods movement.
    we can not stock pipeline material. It is readily available. directlly it is avilable at cost center. you need to pay for that consumption

  • Report and multithreading

    Hi all,
    Here is a simple question concerning report and multithreading.
    I want to execute two sequences, called sequence A and sequence B, in parallel from a MainSequence. Both sequences should be execute in new threads. Here is my problem: The generated report of my MainSequence didn't include the sub reports of sequences A and B. How can I do this ?
    In my MainSequence report, I only saw that the Sequence A and Sequence B are called from my MainSequence, but there is no information about sub step in sequences A and B....
    I know that it's possible to do this using the append options, when report file already exist, but I didn't like this method...
    Any idea?
    Thanks.
    Vincent

    At the end of your main sequence, insert one Wait step for each thread you launched. Configure the Wait steps to wait for the threads you launched. The results for the threads will appear in the report under the results for the Wait steps.

  • MRKO: pipeline and consignment liabilities settlement

    Dear MM experts,
    Please explain me what is the use of MRKO transaction, normally for all po's through MIRO we will do the invoice verification but in consignment order and pipeline what is the process  to pay the vendor??
    thanks in advance,
    Kind regards,
    Govardhan,V.

    Hi
    Consignment Material is stored at your company premises but belongs to a vendor. The vendor supplies these goods so that they are available to you at any time, but does not initially invoice you for the goods. Only when you have withdrawn stock does payment become due for the quantities used.
    Removing material from consignment stores or transferring material to your company’s own stock results in liabilities towards the vendor. You should settle these liabilities at regular intervals.Consignment materials are settled without the vendor issuing an invoice, as the vendor company is unable to track withdrawals directly. The vendor can only manage its consignment stock by taking deliveries and payments into account.
    U will settle the vendor for pipeline and consignment using MRKO transaction.
    MRKO : http://help.sap.com/saphelp_47x200/helpdata/en/56/222138c2ebcc46e10000009b38f842/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/33/222138c2ebcc46e10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/71/042d385ab91065e10000009b38f842/content.htm
    https://warranty.rotax.com/sap/its/mimes/system/99/en/info/docu_general.html
    Hope this will helps u
    Ravi

  • Explore links in recursive and multithreading mode

    Hi everyone.
    I need a help to make this exercise:
    Develop a java program that. from a web page, explore all the link in ecursive and multithreading mode.
    Every thread will stop at an exploration level equal to 6. If the link was already explored the exploration
    does not repeat again and the exploration level will be shown on the console.
    I'd like a help at least for an initial definition.
    thank you

    Welcome to our community
    I'm not sure I fully comprehend the issue. You are previewing. This will impose some limitations and really is only there to approximate the end user experience.
    You say that if you open things outside of RoboHelp the links work fine. And this is really how the end user will be using things, no? So if it works fine in this mode I'm not understanding why there is an issue.
    Out of curiosity, why PDF? You are hopefully aware that one might supply PDF only for the purposes of printing, right? Otherwise, if your end user will be expecting to click links or whatever, you should be outputting a help format. (CHM, WebHelp, FlashHelp, AIR Help, etc)
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Application shows - "The server refused the connection " when I click on project from ATG BCC and then layout

      Hi,
          Application shows - "The server refused the connection " when I click on project from ATG BCC and then layout. Can you please tell me the cause of the error and the log file where i need to debug. We have deployed on Weblogic Server.
    Thanks

    Hi,
    You can see ATG server log, located at ATGXXX/home/servers/yourPublishingServer/logs, and you can see your wwblogic server log.
    In WebLogic, the logs are located at domains/your_domain/server/yourPublishingServer/logs.
    Check the logs and then return with it, so we can help you.
    Hope it helps.

  • Problems with SEA and Multithread library

    I've try to develop a multithread sub-agent. I've call the pthread_create in agent_init() function. The thread open an UDP socket and wait for messages from other processes.
    The daemon and sub-agent with it's thread start correctly (apparently) but immediately after i receive the following error:
    signals_init() failed: sigset(32, SIG_IGN) failed [errno: Invalid argument(22)]
    and the sub-agent stops.
    Is There some incompatibilty between SEA and multithread library?
    Can you help me?
    Thanks

    Hi,
    You are correct, there is a patch required for the multithreading support.
    The bug number is 4224980 and the synopsis is Multi-threaded support needed for SEA subagents.
    This bug fix has gone into 107709-07 (Sparc Solaris 7) and is already fixed in Solaris 8 FCS. Please download this patch and after that test your agent on Solaris 7.
    This is assuming you have Solaris 7(Sparc) installed and that you are using the SEA donwload that is supported on Solaris 7. If you are on Solaris 8 and then you are using the Solaris 7 binaries then also you may run into this error. So ensure you are using freshly installed Solaris 8 if you are interested in Solaris 8 and not a mixed SEA env.
    Hope the above information helps.
    Thanks
    Sujeet (Sun-DTS)

  • How to get interchange id in custom pipeline and in orchestration

    My scenario is that I want to create a unique id for a message which should be remain unique throughout  biztalk so that I can track it anywhere.
    I got messageID context property of message in decoding pipeline component through IBaseMessage pInMsg.MessageID.ToString() and
    got the same messageID   in orchestration through messageName(BTS.MessageID) in expression shape.
    But when I am using a custom disassembler component , I am unable to get the same messageID in orchestration because disassembler stage create a new messageID.
    Can I use interchangeID of message for this scenario ?
    If yes,how can I get interchangeID in custom decoding component as well as in orchestration ?
    Prakash

    Hi Prakash,
    Yes, I believe InterchangeID should work for you in this case.
    Refer: 
    http://geekswithblogs.net/chrishan/archive/2006/01/17/66161.aspx
    http://felixmondelo.blogspot.in/2007/08/interchangeid-vs-messageid.html
    How to access? 
    1) In your custom pipeline component you can access it 
    Guid interchangeID = Guid.Parse(pInMsg.Context.Read("InterchangeID","http://schemas.microsoft.com/BizTalk/2003/system-properties");
    where pInMsg is your IBaseMessage.
    2) In orchestration:
    varGuid = System.Guid.Parse(Message_1(BTS.InterchangeID));
    I hope his helps.
    Rachit

  • JNI and multithreading

    Hello all
    We have developed a Java application that invokes C functions of a third-party
    vendor via JNI.
    One of the clients of our application is a servlet that invokes our
    application in a multithreaded manner. We instantiate the JNI
    in the init() method of the servlet, and the functions of our application
    are invoked in the doPost() method.
    The software from the third-party software expects requests in a multithreaded
    manner from the C application, but it reports an error, stating that it received
    requests from a single-threaded application.
    Is this due to the JNI compoenent?
    Is there a way of creating C threads from Java?
    We need to maintain a one-to-one mapping between the C and Java threads.
    Thanks in advance
    Kind regards

    The software from the third-party software expects
    requests in a multithreaded
    manner from the C application, but it reports an
    error, stating that it received
    requests from a single-threaded application.Do you have multiple versions of the external library for single and multi-threaded? Maybe you are simply linking the wrong one.
    Is this due to the JNI compoenent?Possibly. If the Java thread model does not match the underlying thread model, you might have this sort of problem.
    Is there a way of creating C threads from Java?
    We need to maintain a one-to-one mapping between the C
    and Java threads.This depends what the underlying thread model of the VM is. If the VM uses native threads, then each Java thread uses exactly one C thread (and the VM may use additional C threads). If the VM uses "green" threads, then all Java threads map to a single C thread. Native threads are the only option on Windows, but green threads were the default on Unix platforms until recently. (I do not remember exactly when Solaris and Linux switched to native threads; I think 1.2 for Linux and 1.3 for Solaris). HP/UX and other "unofficial" platforms may still be using green threads, in which case you have a problem. You would have to control all access to the native library with synchronization.

  • Code Interface Nodes and multithreading (openMP)

    Hi,
    We are experiencing a rather strange problem with the use of Code Interface Nodes (CIN) in LabView. The CINs are built with the Intel Compiler in the Visual Studio .NET 2003 IDE and use the openMP directives to easily implement multithreading. This does not seem to give any problems, as long as we do not declare our code threadsafe. If the code is declared threadsafe, everything runs smoothly but LabView crashes when the VI where the CIN is located is closed. If we do not declare the code threadsafe, there is no problem but our user interface is blocked during execution of the CIN. Since we are building an application for other users this is not acceptable.
    It clearly has to do with the multithreading, because forcing the compiler to create sequential code solves the problem. But off course we don't want to implement multithreading to disable it afterwards.
    We could switch to DLLs, but we are building an exe version which is under full development and can be updated by our users through the internet. Since CINs are part of the exe file itself and DLLs are not, we would like to keep it this way.
    We know this is a very specific problem, but we do not know if the problem is related to the multithreading in general or to the use of openMP in particular. Has anyone else tried multithreaded CINs and experienced any problems ? We basically just want to be able to stop the CIN from using our user interface, since we know everything is threadsafe.Message Edited by Raistlin on 05-07-2005 07:34 AM

    I have tried putting the vi in another execution system (standerd,other 1,other 2, ...) and the problem persists. I now built a DLL and have the same problem : marking it as reentrant makes the vi crash at closure, marking it as running in the UI does not give a problem. I now sent some code to Intel to check the thread safety, but I am quite certain there is no problem there.
    I found another thread where the problem was mentioned but also without an answer that could get me any further :
    http://forums.ni.com/ni/board/message?board.id=170&message.id=47264&requireLogin=FalseMessage Edited by Raistlin on 05-10-2005 02:04 AM

  • Environment open flags and multithreading

    Do I actually need to create an environment explicitly if I want to read only from a database in a multithreaded program (no other process, no write operations)? I don't need to use DB_INIT_LOCK as there is no thread writing to the database. And I don't need to use DB_INIT_MPOOL as there is no other process using the very same database. As the database is read-only the open flags DB_INIT_LOG, DB_INIT_TXN and DB_RECOVER don't provide any benefit either. Is this all correct? I don't need to use DB_THREAD either (which I found in the documentation of DbEnv)?
    Boris

    LaurenFoutz wrote:
    You are correct. Using XmlManager without an environment will automatically create an environment that can support multithreaded access (but not multiprocess). So for your multithreaded single-process read only application an XmlManager without an explicit environment should be sufficient.I started to test some code. Unfortunately it always crashs if I use more than one thread. I get different error messages when it crashs - here are a few:
    {font:Courier}BDB XML: page 0: illegal page type or format
    BDB XML: PANIC: Invalid argument
    BDB XML: assert failure: ..\..\db-4.6.21\db\db_cam.c/92: "F_ISSET(dbc, DBC_ACTIVE)"
    BDB XML: PANIC: fatal region error detected; run recovery{font}
    {font:Courier}BDB XML: assert failure: ..\..\db-4.6.21\mp\mp_alloc.c/564: "(bhp == first_bhp)? priority == last_priority : priority >= last_priority"{font}
    {font:Courier}BDB XML: test.bdbxml: more pages returned than retrieved
    BDB XML: PANIC: Permission denied
    BDB XML: PANIC: fatal region error detected; run recovery{font}
    I still have to debug the code to find out if I am doing anything wrong. But are there any known issues that it makes sense if I try to use some flags and maybe create the environment explicitly? Currently I only use DB_RDONLY to open the container.
    Boris
    PS: I just saw that the API reference contains a flag DB_THREAD. If I open the container with DB_THREAD though I get another error message:
    {font:Courier}BDB XML: environment not created using DB_THREAD{font}
    I'm a bit confused now: Either DB_THREAD is not required for thread-safe access or an environment must be created explicitly in order to use DB_THREAD?
    Edited by: Boris Schaeling on Jul 31, 2009 2:11 AM

  • I want to count the elements in the pipeline and also process them

    The following script works, but only because I save the pipeline contents in a variable.  I would like to not have to save it - see below. The commented section is my most recent failure. (And BTW I know the script has nothing to do with ZIP: that's
    the next step.
    function ZipUpModified {
        param ([string] $from, [string]$to, [datetime]$cutOff)
        try
            Write-Host ("Copying {0} modified on or after {1} to {2} in execution at {3}" -f $from, $cutOff.toString(), $to, $(Get-Date))
            if (-not (Test-Path -Path $from)) {Throw "Source folder $from does not exist"}
            if (Test-Path -Path $to) {Throw "Target folder $to already exists"}
    # I would like to substitute the next 5 lines for the following 4; but I cannot seem to get the pipeline to reach the Copy_Item
    #       $fileCount=0
    #        Get-ChildItem $from -Recurse  |
    #            Where-Object {(New-TimeSpan -Start  $_.LastWriteTime -End $cutoff).TotalHours -le 0} |
    #            ForEach-Object {Copy-Item -Destination {Join-Path $to $_.FullName.Substring($from.length)}; $fileCount++; }
    #        Write-Host ("Copied {0} files/folders successfully at {1}" -f $fileCount, $(Get-Date))
            $filelist=Get-ChildItem $from -Recurse  |
                Where-Object {(New-TimeSpan -Start  $_.LastWriteTime -End $cutoff).TotalHours -le 0}
            $filelist | Copy-Item -Destination {Join-Path $to $_.FullName.Substring($from.length)}
            Write-Host ("Copied {0} files/folders successfully at {1}" -f $filelist.count, $(Get-Date))
        catch
            Write-Host $($_.Exception.ToString() -replace ".*: ")
            Write-Host "so we are stopping..."
        finally
            $IgnoreThis = Read-Host "hit OK or Enter"
    ### Main
    $cutOff= (Read-Host 'Enter date of most recent backup (mm/dd/yyyy):') | Get-Date
    ZipUpModified "C:\Users\Jonathan\Desktop\Test_BU\SRC" "C:\Users\Jonathan\Desktop\Test_BU\TGT" $cutOff
    ## two more calls to ZipUpModified

    Guys - Thanks for the quick response
    Bill - I think you are recommending the approach I had in the submitted code.
    David - the whole point is that I want to use the pipeline, not the Path argument, and I had no luck with your suggestion, which I took as:
            Get-ChildItem $from -Recurse  |
                Where-Object {(New-TimeSpan -Start  $_.LastWriteTime -End $cutoff).TotalHours -le 0} |
                ForEach-Object {Copy-Item -Path $_ -Destination {Join-Path $to $_.FullName.Substring($from.length)}; $fileCount++}
    However, all this did make me go read more documentation, and there is a -PassThru argument to Copy-Item which creates pipeline output after the copy.  Specifically:
            $fileCount=0
            Get-ChildItem $from -Recurse  |
                Where-Object {(New-TimeSpan -Start  $_.LastWriteTime -End $cutoff).TotalHours -le 0} |
                Copy-Item -Destination {Join-Path $to $_.FullName.Substring($from.length)} -PassThru |
                ForEach-Object {$fileCount++}
            Write-Host ("Copied {0} files/folders successfully at {1}" -f $fileCount, $(Get-Date))
    Thanks again
    JonW
    JonW

  • ESB listeners and multithread abilities questions

    Hello,
    A few simple questions.
    Is Oracle ESB mutlithreaded? Example, if I have 1 incoming file adapter, will the file adapter pick up 1 file at a time?
    Then let's say I have a routing process that transforms the file, and spits it out to an outbound file adapter. Is this transform piece multithreaded? Meaning is it going to transform 1 file at a time, or do as many as it can based on the amount of resources the box has?
    How about the outbound adapter? Same question, 1 at a time or as many as it can?
    Thanks.

    I believe it's 1 at a time, but it's in milliseconds so it appears that it's all at once.

  • JFlashPlayer and multithread support

    I'm currently working on a image generation task which will be handled by a SWF file. Since the end result should be highly multithreaded in nature ,I cannot invoke a browser, So I'm using JFlashPlayer.All I need is to create a JFrame with an SWF embedded.The embedded SWF will do my job and once its done , It will notify the container(JFrame) to dispose itself.
    This will work perfectly fine in a single threaded environment,But if I create more than 5 threads ,the application will crash throwing system out of memory errors from the Flash player.
    I can allocate more memory to JVM but I didn't find any useful method which can set more virtual memory to the embedded flash object.Also if my understanding is correct, even if i create 5 different instances of of JFrame in 5 different threads,only one SWF object will be created in the memory, and all the JFrames shares the common SWF object.
    Any suggestions guys ?
    Thanks

    Do you want to play multi flash files from the JFrame i.e each flash files has its own JFlashPlayer
    If you have bought this package then the best think is to get support from the vendor [email protected]
    Regards,
    Alan Mehio
    London, UK

Maybe you are looking for

  • How to create a GIF from inside an SWF?

    I have a Flash application that allows users to arrange images, in the form of imported SWF MovieClips, into a scene of their choosing. I would like to save these custom scenes into static GIF files on the webserver. I'm not sure if this is possible

  • Is it possible to find readable info in safari cache

    We are using Safari the OS is Leopard. I wondered if it is possible to view a web page off line from the Safari Cache in a readable form for non techies. We know the date & time we visited the page The information we want is the kind of info we can v

  • Need to reinstall Acrobat from CS6

    We purchased CS6 back in December from a local retailer. Acrobat X Pro was a part of it. Our new iMac doesn't have an optical drive, so we had to download CS6 from Adobe and enter our product code, etc. The other day, Acrobat started acting bizarrely

  • OEM Java Console in 11g database server

    Will Oracle support / include the EM Java Console with the client software of 11g db server ? I really like the EM Java Console for monitoring couple of databases instead of installing the entire grid control and the browser based OEM (scroll pages a

  • How to create tunnel in cisco router

    Please give me command wise configuration about creating tunnel in router as: tunnel ip address:- destination ip source ip:- any other command