BPEL instance number in the XSL

How can I reference the current BPEL instance number in an XSL?
I figure it would handy to have the unique BPEL instance number for trouble shooting if there is a problem with the interface.

hi
I am facing problems using getInstanceID inside XSLT
the expression not only returns null, but also produces problem in transforming remaining nodes.
I need to use this inside XSL map since i have multiple inputs ( using for-each in transform) and for each of these, i need instance id to be assigned
Is there any way?

Similar Messages

  • Java.lang.OutOfMemoryError -- Is there a way to limit BPEL instances number

    Hi All,
    My BPEL process is using JMS adapter to read the JMS queue. Whenever a new message arrives, a new BPEL instance is created. However, when the message gets bigger and multiple messages arrive at queue at the same time, the OC4J gets java OutOfMemory (heap space) error and was forced shutdown. I'm wondering if there's any way to limit the BPEL instance created, say, only one at a time, and the messages would be processed in sequence. Would this be a good way to not use so much heap at one time? Is there a way to limit the BPEL instance created?
    Thanks for your help!
    Michelle

    Take a look at how to configure Jms polling interval (talks about a property that you can set to introduce a delay in between dequeues). That might be of some help to start with.
    It is supposed to work exactly the way you want it i.e the activation agent does a dequeue and hand off to bpel engine (which creates an instance and uses the same thread to run as much of that instance as possible i.e till the first dehydration point). So, if your process has a dehydration point right at the beginning (which could be due to invocation of another async process, or wait or ...), you could very well see this thread go right back and process the next available message.
    I believe this is a generic problem that is not necessarily jms adapter specific. One way would be to split up your process into three processes:
    1. "Kickoff" process which contains just a "receive" associated with the activation agent followed by an invocation of a "Controller" process
    2. "Controller" process which checks for the provided input as to which process it needs to invoke, and then goes on to check how many instances of that process are currently running; if this number is below a certain threshold, kick off the main process providing it the necessary payload gotten from the "KickOff" process
    3. "Main" process which is same as your current process except that it is a typical async process without the adapter "receive" partner link
    So, the idea being that for any process where you want to introduce a control-flow mechanism, you would split it into #1 and #3 above. Have one generic Controller process, which caters to all of the processes.
    Would be interested in learning if others have solved this in a generic way.

  • How to find bpel instance in 11g based on the index values using Java APIs

    Hi ,
    In SOA10G we had option to find the instances based on the index value using Java APIs like below.
    WhereCondition criteria= new WhereCondition(SQLDefs.CX_index_1 + " = ?");
    criteria.setString(1, "indexValue");
    Locator mLoc = getLocator();
    IInstanceHandle[] foundInstances = mLoc.listInstancesByIndex(criteria);
    Please tell me how to achieve the same functionality in SOA 11G using Java APIs
    Regards,
    Saba

    I have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???

  • How to find bpel instance in 11g based on the index values

    We have 10g BPEL process where we define 4 index values for all the instances. Whenever support request comes, we ask index values and based on that we search the process instance.
    We have migrated this 10g bpel process to 11g now. How to find bpel instance in 11g based on the index values ???

    I have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???

  • How to get ESB instance invoked from BPEL instance

    In BPELConsole, if i go to the flow diagram and click on the activity which invokes an ESB service, I am able to see a link "Click here to see this instance in the ESB Console." which then takes me to the particular ESB instance. I noticed that the URL is like - http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=50018. So essentially, using the BPEl instanceId, it is able to go the ESB instance.
    I want to understand how it happens ? Does ESB metadata stores this ?
    Thanks.

    Well I would like to say this is rocket science but it really isn't.
    BPEL knows the instance number it invoked by using the header of the SOAP message. As BPEL know the instance number then it's just a matter of appending this instance number to the string http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=.
    As you will notice this is the url for all the esb instanceses minus the instance number so if you want to go to instance 1234 this is the url.
    http://adc60120fems.us.oracle.com:7785/esb/esb/EsbConsole.jsp?view=instances&view_context=1234
    If you are in the console itself just you the link, it should be the same.
    cheers
    James

  • How can I correlate an Java instance number with a server id?

    I have 6 Web App Server running ABAP and the JAVA stacks. I can log into the Central Instance server and run /usr/sap/<SID>DVEBMSG00/j2ee/configtool/configtool.sh and bring up the GUI interface to "see" all the instances and their variables. I don't see an easy way to trace back the Java INSTANCE to the physical server's hostname.
    Is there a central repository to correlate a Web App Server Java instance number to the actual hostid/hostname of the target server? I realize I can log into each Web App Server and look at the /usr/sap/<SID>D00/j2ee/cluster/instance.properties and find the Instance number, but I was wondering if this information was held in the SAP Central instance or SAP Database somewhere.

    Hi Timothy,
    The instance ID used for the JAVA cluster is generated at installation time, and -amongst other things- takes into account the time it was generated. We installed two instances in parallel (on different hosts) and ended up with almost the same instance ID.
    Because this can be very confusing, we asked SAP if this was changable - in theory it is only an ID which could be changed as long as it is updated on all places the identifier is stored - but SAP indicated that that is not possible, nor supported. We ended up with a diagram of the system architecture with all the identifiers on our desk.
    Note that in the config tool - all instances are displayed with their system instance number. If you were to install a new system it might be usefull to install all instances with different instance numbers so you and distinguish more easily between them.
    Hope this helps,
    Cheers,
    Walter

  • How to find port number , when there will be different instance number ?

    In case of portal url,
    port number is 50000 for default instance number 00.
    how to find port number , when there will be different instance number , instead of 00?
    Thanks

    Hi
    You can find the port number by your instance number as follows:
    There is a general format for the port number like you have mentioned.
    For 00 instance the port number is 50000.
    The general format for the port number goes like this:
        <b>5<instance_no>00</b>
    If your <b>instance number is 01</b> then the port number would be <b>50100</b>.
    It depends on the installation type which you perform.
    You can also change the instance number during the installation but normally you dont do this.
    If you have many components or units installed on your system you may have more than one instance in that case it may go like this 00, 01, 02....accordingly port number will be 50000, 50100, 50200...resp.
    Hope this solves your doubt.
    If you need some more clarification please lemme know.
    Regards
      Sumit Jain
    **Rewrd with points if useful.

  • Wrong port (5xx00) after migration to other instance-number...

    On a solution manager system (7.01) someone have migrated to a different instance-number (from 72 to 4)...
    But the port for some services is the old one (57200 not 50400)...
    The hostname in the URL is wrong too (the old ones)...
    i.e. when we click J2EE-Config in solman_setup it doesnt work....we must change the port and host in URL manually..
    Unfortunetly we don't make the migration by our own, so we must solve the problem without further infos about the migration...
    Is there a central point, where we can change the port or hostname (NWA or Visual Admin) ?
    Or is there a point where i can search for the still wrong instance-number in the J2EE-Config ?
    In the Visual-Admin the HTTP Provider Port is on the right value (50400)...
    Edited by: Christoph Bastian on Aug 16, 2011 1:40 PM

    Hello Sunny,
    thanks for your answer...
    We have checked the profiles (RZ10) already, but there is no old value...
    best regards
    Christoph

  • TREX 7 sapinst -- instance number error

    Dear Portal&TREX specialists,
    We are implementing a TREX 7 on SunSolaris 10. During the installation we get the following error message:
    „A SAP Instance  is already in use. Enter another instance number for the new TREX instance.“
    Do you know a solution where this „old“ instance number is saved? We don’t have the possibilty to choose an other instance number. Before this installation we had remove/deinstalled the old TREX instance and the old TREX instance had this number, that is shown in the error message of sapinst.
    Thanks.
    Önder

    hi Onder
    well for this situation
    i will ask u to format ur system after deinstallation of any SAP components; then install it on fresh system
    second option is; goto Run--> regedit.exe
    goto HKEY_LOCAL_MACHINE >SYSTEM> CurrentControlSet --> Services --> goto old SAP installation delete it
    then
    goto HKEY_LOCAL_MACHINE -->SOFTWARE --> goto old SAP installation delete it
    goto programs files\<delete any SAP related folder>
    restart the systems
    start ur installation again
    this will do !!!
    cheers
    shoeb

  • Shadow instance number doubled on host

    Hello together,
    I need help with the following scenario.
    I have running two ehp4 upgrade on the same host. And now during preprocessing i found
    out the both are running with the same shadow instance sys number. I don't how this could
    happen, but now the second shadow instance is not comming up.
    Both are running wir DVEBMGS06. Upgrade1 already reched spdd. The second wants to schedule
    job in shadow instsance, but this is not up. How i can change the shadow instance system number?
    Please help
    Regards
    Robert

    Hi,
    I can suggest you to change the shadow system number and check as I am not sure whether this would work.
    Chage the instance number of the shadow instance in the file <DIR_PUT>/bin/R3ENV.LST.  Entry:
    "<No.>" # SHD instance number (line 47) and also make sure that system number is not present in any shadow instance profile.
    Has DVEBMGS06 got created for the not running shadow instance??? If yes then do u have any files in that directory.
    NOTE : I am suggesting you only a possibility and not the solution. Please take a backup of all files before making any changes.
    Regards,
    Nirmal.K

  • Instance number and minor number

    hi
    can somebody tell me what is actually instance number and what is the relationship between an instance number and minor number of a device .

    I'm not 100% sure but my reading of it is:
    Usually one has a 1:1 direct mapping of minor number to instance number, but this doesn't have to be the case.
    The instance number is linked to your hardware device and say if you move its base address you will get a new instance number with the old one retained for the original address.
    If you had 3 cards I think you would have instance No.s 0, 1, and 2.
    The minor number can be anything YOU want it to be.
    I have a situation where I have a card carrier with 3 cards mounted on it - I can only have one instance and I need to differentiate between the cards used - I use the minor number that is a part of the device handle and can be returned by using getminor from driver code.
    As usual the Writing DD SUN book is all there is available.
    Any further points - let me know.
    Cheers.

  • How to delete the BPEL instance in Java code

    Hi all,
    How to delete the BPEL instance which I initiate in Java code?
    Thanks
    Jayson

    Hi,
    take a look here
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm
    Interface IInstanceHandle
    void      delete()
    Delete the instance from the process domain.

  • Where is the BPEL Instance payload stored in soa database?

    Hi all,
    Given an instance id, I need to get the payload used to invoke the BPEL.
    I searched in the soa database. Also I went through the bpel client apis. But I couldn't find any. Is there any table in the BPEL dehydration store that can give me the entire bpel instance input payload given the instance_id?
    Thanks,
    Shyamala

    Hi,
    have you tried to unzip the blob inside the xml_document table?
    the dockey is availalbe via document_ci_ref

  • The difference of minor number and instance number

    I study how to develop device drivers. I am beginner.
    I'm confusing the differece of minor number and instance number
    what is the exact difference of them???

    Hi,
    I guess a good example would be a disk. Each disk you have would be a different instance. To use a disk it is divided into slices, each of which has a different minor number.
    Your device driver needs to map the minor number to the correct instance of the device. How you do this is completely up to you, so to start you could map them one to one.
    Hope that helps.
    Ralph
    SUN DTS

  • BPM an Mapping: Get the workflow instance number?

    Hi everybody,
    wen need in some cases the message-ID that was generated in message-mapping.
    But when I take this message-ID and try to find it via SXMB_MONI the message could'nt be found due to reasons I do not know.
    So now I would like to capture the BPM instance number. Is this possible in message-mapping?
    Thanks regards
    Mario

    I doubt you would be able to get the BPM instance no. However, I don't understand why u r facing problem with message ID.
    Regards,
    Prateek

Maybe you are looking for

  • How can I restore data from iCloud

    My iPad locked up last night and I had to restore to factory settings to make it operable.  During the process it asked me if I wanted to restore my data and it told me that the latest and only backup was from a few minutes before that time which was

  • HT4009 One of my apps won't allow me to make an in-app purchase but all my other apps will

    I have several apps that I purchase in-app items from (extra lives, coins, etc...) I have one app that will only sporadically allow me to make in-app purchases. When it denies my request an error message appears advising me to contact the iTunes supp

  • Load XML into Table

    Hi All, I want to create a procedure in which , I provide table name and XML file location, The procedure goes at that location and pick XML file and load in to the table. Can this is possible ?? Thanks Best Regards, Adil

  • Cetifecate not phone orsim

    I open the Nokia c3 00 download any app or game by the ovi store this error is shown that cetifecate not phone or sim .And i open waln is not open and i open chat service i shown communications error.please give me a good solution. Thanks

  • ADF 10.1.2 vs JSF 10.1.3 - new project

    Hello all, This question is primarily directed towards the Oracle PM's, but I'm interested in any opinion. We are starting a new project in the next week or two, and I am trying to decide which version of JDev and which technology to use for the view