Obtaining the instance of the processing node

I have a process that polls a database and I only want one soa instance to poll the database.
I have found the meta link document that says how to do it.
They provided the following example:
<binding name="receiveService_binding" type="tns:receiveService_ptt">
<pc:inbound_binding/>
<operation name="receive">
<jca:operation
ActivationSpec="oracle.tip.adapter.db.DBActivationSpec"
DescriptorName="receiveService.Movies"
QueryName="receiveService"
PollingStrategyName="LogicalDeletePollingStrategy"
MarkReadFieldName="DELETED"
MarkReadValue="READ${instance}"
MarkReservedValue="MINE${instance}"
MarkUnreadValue="FALSE"
SequencingFieldName="TITLE"
MaxRaiseSize="5"
MaxTransactionSize="5"
PollingInterval="5"
NumberOfThreads="1"
DelayCommit="false"
PollForChildUpdates="false"
UseBatchDestroy="false"
ReturnSingleResultSet="false"
MappingsMetaDataURL="receiveService_toplink_mappings.xml" />
<input/>
</operation>
</binding>
The only problem I am having is when I get the ${instance} a 0 is returned instead of the instance number.
Am I missing something in the configuration of the soa instance or what???
thanks
james

Disabled services cannot be started.
You need to change its status to Manual to be able to do that.
Once done, then to start:
C:\> net start OracleService<your_sid>to stop:
C:\> net stop OracleService<your_sid>

Similar Messages

  • How can I make the Instance name the same as the name of the Movie clip in an animation.

    Hi, I am an animator for a small game project and I have this really big problem. Even though I used flash for animation for a long time I am a newbie when it comes to something technical. I just received a request to make every movie clip that I use  to have a consistent <Instance name> in every frame of the animation. Only if they told me this earlier... Is there an easier way to make the <Instance name> the same as the name of the Movie clip used other than manually entering it. I have 16 characters with 12 body parts with 20 animations each with about 6-7 frames for each body part it will take me months and nightmares evey night to enter everything by hand. Please help me keep my sanity!
    I'm not sure if I explain correctly, so here is a picture:
    Thank you!

    Thank you for the fast answer! I found this video on jsfl functionality that deals with a similar problem, I am not a coder so it will take me some time to figure it out, but when I do I will probably post the answer here. Here is the video:

  • I cann't find the instance under the SAPMMC ?

    Hi, every expert,
    I installed a SAP IDES4.71 on my windows XP system, 
    but now I couldn't find the instance under the SAPMMC ,
    Could u tell me how to get it back ?
    Thank you very much in advance,
    B.R
    Michael

    Hi, everyone, thanks for all your reply !
    After I run the sapstartsrv.exe, when I start the service 'SAPSID_00', It appears the error information as below:
    " Cann't start the service 'SAPSID_00' on local computer ,
    Error 1069: cann't start the service due to log on failed "
    who can tell me that's why ?
    B.R
    Michael

  • Drilling across to the instance in the BPEL console

    Howdy,
    I have a streaming list in BAM, it contains the BPEL instance ID.
    I would like to use this to do a drill across directly into the instance in the BPEL console.
    Is this possible? And if so how to?
    Tack och Hej
    /Eskil

    hello Eskil - This is a late reply. Did you get this solved. Else see the sample on OTN for doing this. (also the view type - not streaminglilst I think updated ordered list). You can also contact oracle rep in Sweden for the details. Hey Daur. Sanjeev

  • How to  identify the instance where the service is running through sqlplus

    Hello,
    Suppose, this is a 2 node rac and where the failover is on and load balance is off.
    I just want to know, that when during failover the service will points out to other instance.
    1) Want to know, when the service gets failover after connecting to database [i.e., sqlplus]
    2) Want to know, the instance where my service is running presently after connecting to the database. [i.e., sqlplus]
    We are using ORACLE CLUSTERWARE 11G R1 and database 11g R1.
    And also, I want to take the awr snapshot report where my servie is running at that point of time. Is there any way to find it out. Unnecessarily i don't want to generate the report for other instances as well.
    Thanks in advance,
    Thanks,
    Edited by: user13095767 on 26-Feb-2012 22:40
    Edited by: user13095767 on Feb 27, 2012 8:50 PM

    user13095767 wrote:
    Hello,
    Suppose, this is a 2 node rac and where the failover is on and load balance is off.
    I just want to know, that when during failover the service will points out to other instance.
    1) Want to know, when the service gets failover after connecting to database [i.e., sqlplus]
    2) Want to know, the instance where my service is running presently after connecting to the database. [i.e., sqlplus]
    We are using ORACLE CLUSTERWARE 11G R1 and database 11g R1.
    And also, I want to take the awr snapshot report where my servie is running at that point of time. Is there any way to find it out. Unnecessarily i don't want to generate the report for other instances as well.
    Thanks in advance,
    Thanks,
    Edited by: user13095767 on 26-Feb-2012 22:40
    please do not type the subject in upper case. please edit it.
    refer the links:-http://www.ardentperf.com/pub/schneider-services.pdf
    http://oracleinstance.blogspot.in/2010/08/transparent-application-failover-taf.html
    for understanding the concept, http://docs.oracle.com/cd/B28359_01/rac.111/b28252/configwlm.htm
    regards,

  • How can we restrict any one by creating the instance of the class

    without using abstract key word...

    shiv123_psl wrote:
    without using abstract key word...How can we search forums? And find an almost incountable number of discussions on the Singleton "pattern"? Including the oft-repeated but ignored piece of advice that Singleton has an odour like a dead squirrel festering in an old boot in the cottage garage all summer?
    The power of Google compels ye!

  • How to query the current instance size of an instance of a process

    Hello guys,
    I'm currently doing a Capacity Plan for my BPM enviroment and I would like to know the current instance size of different kind of processes deployed in my environment. I'll need this to calculate an average instance size per process. The main reason for this capacity plan is that our environment instance size is configured to more then 1000kb(don't know what kind of issues occurred in the past that led to this exceeded value configured) and I don't want to leave this configuration but I can't be safe decreasing it without know if our production environment will start launching the "Max Instance Size Exceeded" error.
    Is there any way to fetch this information? Any API or SQL Query where I can find this information?
    Thanks for any help.
    Regards,
    Luiz
    Edited by: Luiz Rocha on 30/04/2009 16:50

    Hi, Luiz!
    In order to estimate the instance size, you will have to sum up all the instance variables size.
    From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
    For already existing instances, you can look the instance size in the database:
    An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
    You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
    And yes, with large instances you can have performance problems.

  • Java process quits while trying to create the instance of COM Object

    Hi All,
    I have a dll file with some API defined. I am trying to use that API using java, so i created a java file with native methods. and created a cpp file in which i am trying to create the instance of the dll file using CreateInstance(__uuidof) method. But the problem is, when the native call tries to execute the CreateInstance(__uuidof) line, jvm quits abruptly, Please suggests me where i am wrong.
    Thanks in advance,

    Be sure that in the current thread you call CoInitialize or CoInitializeEx and on exit Thread you call CoUninitialize.

  • Unable to find the instances in Instance tab

    Hi All ,
    We are unable to find out the instances in the Instance tab in BPEL Console but in Dashboard in
    Recently Completed BPEL Process Instances (More...) we are able to find the instances ..
    We are using 10.1.3.4 with MLR 7 Patch
    Can any one help on this
    Regards,
    Karthik

    Hi Amit Srivastava,
    I am using the WSDL file which is given from Client/Customer. After importing this into Extn Defn, i can see there is no messages in the Message Tab and No messages in the External Definitions.
    My current version of PI is 7.0 where i don't find the option for tools->importExterDefn. and when i am importing this in SOAP UI tool i can see all the messages.
    Please let me know is there steps missing
    Regards,
    Madhu

  • Where the Instance are saved

    Hi,
    I want to know where the instances of the particular report (When we schedule a report) is saving in server.I am able to find the instances in History tab of the report object.But i want to know where it is saved in server.Will it affect the performance of the server.We are using BO XI R2 and the server is Virtual server.The performance is very slow.So we increased the disk space and we put dual processor.Then also we are facing problem some time.
    Can any one help on this?
    Thanks,
    Indu.

    Have you tried tracing the different servers that make up the Enterprise system (by appending -trace in the command-line in the CCM for the server) to try to narrow down where performance is going?
    If you think it's the File Repository Servers - Input FRS or Output FRS - that's causing the slowdown, the disk location for each is configurable in the CMC.  It's recommended to use a local disk, but there are customers who use networked disks for the FRS.
    If, on the other hand, you think it's report specific - then I don't recommend touching any of the files in the FRS directly.   You can lock up the Enterprise Framework if you access reports outside of the FRS process.
    Sincerely,
    Ted Ueda

  • Srvctl database status shows that one of the instance prompting PRKO-2015

    Hi all,
    I am getting follwing error while I am trying to execute follwing command
    E:\apps\oracle\product\1020\crs\BIN>srvctl status database -d APPSDB
    PRKO-2015 : Error in checking condition of instance on node: BNY-S-T16
    Instance APPSDB2 is running on node bny-s-t02
    E:\apps\oracle\product\1020\crs\BIN>cscript crsstat.vbs
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    Name R/RA Target State
    ora.APPSDB.APPSDB1.inst 0/5 ONLINE ONLINE on bny-s-t16
    ora.APPSDB.APPSDB2.inst 0/5 ONLINE ONLINE on bny-s-t02
    ora.APPSDB.db 0/0 ONLINE ONLINE on bny-s-t16
    ora.bny-s-t02.ASM2.asm 0/5 ONLINE ONLINE on bny-s-t02
    ora.bny-s-t02.LISTENER_BNY-S-T02.lsnr 0/5 ONLINE ONLINE on bny-s-t02
    ora.bny-s-t02.gsd 0/5 ONLINE ONLINE on bny-s-t02
    ora.bny-s-t02.ons 0/3 ONLINE ONLINE on bny-s-t02
    ora.bny-s-t02.vip 0/0 ONLINE ONLINE on bny-s-t02
    ora.bny-s-t16.ASM1.asm 0/5 ONLINE ONLINE on bny-s-t16
    ora.bny-s-t16.LISTENER_BNY-S-T16.lsnr 0/5 ONLINE ONLINE on bny-s-t16
    ora.bny-s-t16.gsd 0/5 ONLINE ONLINE on bny-s-t16
    ora.bny-s-t16.ons 0/3 ONLINE ONLINE on bny-s-t16
    ora.bny-s-t16.vip 0/0 ONLINE ONLINE on bny-s-t16
    srvctl config database -d APPSDB
    BNY-S-T16 appsdb1 E:\apps\oracle\product\1020\db
    bny-s-t02 APPSDB2 E:\apps\oracle\product\1020\db
    E:\apps\oracle\product\1020\crs\BIN>srvctl status nodeapps -n bny-s-t16
    VIP is running on node: bny-s-t16
    GSD is running on node: bny-s-t16
    Listener is running on node: bny-s-t16
    ONS daemon is running on node: bny-s-t16
    E:\apps\oracle\product\1020\crs\BIN>srvctl status nodeapps -n bny-s-t02
    VIP is running on node: bny-s-t02
    GSD is running on node: bny-s-t02
    Listener is running on node: bny-s-t02
    ONS daemon is running on node: bny-s-t02
    E:\apps\oracle\product\1020\crs\BIN>ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 208592
    Used space (kbytes) : 4644
    Available space (kbytes) : 203948
    ID : 2091137906
    Device/File Name : \\.\ocrcfg
    Device/File integrity check succeeded
    Device/File Name : \\.\ocrmirrorcfg
    Device/File integrity check succeeded
    Cluster registry integrity check succeeded
    All looks fine even after it is complaing that PRKO-2015 : Error in checking condition of instance on node: BNY-S-T16
    E:\apps\oracle\product\1020\crs\BIN>srvctl status database -d APPSDB
    PRKO-2015 : Error in checking condition of instance on node: BNY-S-T16
    Instance APPSDB2 is running on node bny-s-t02
    Please help me out ...... what else we need to check..
    Regards,
    Mahzar

    PRKO-2015 : Error in checking condition of instance on node: BNY-S-T16
    this error occurs when we start the database instance using the sqlplus rather than the SRVCTL command line utility. it happens very rarely..
    login to the second instance and issue the alter system register command and then issue the srvctl command line utility.
    dont try this if you are in a production environment at peak hours. (i had the similar issue on my laptop and i solved it using the following steps so if you are on the production environment make sure that shutting down and starting up the instance dont affect clients well if u have already configured TAF)..
    login to the sqlplus at the second instance. if the sqlplus utility shows that it has connected properly. i mean if you get the details regarding the database version etc. shutdown the instance using the shutdown command and then startup using the srvctl utility..
    if the sqlplus connects to the idle instance even after setting the correct sid and environmental variables. then use the shutdown abort and start the instance using the srvctl utility.

  • Retrieving all the instances assigned to a participant

    Hi all,
    I need to show in a task of a process all the instances of other processes assigned to the current participant or to all participant of a group.
    How can I do it? Which properties of these instances can I retrieve?
    Thank you,
    petitit

    I tried this :
    InstanceFilter instF;
    instF = InstanceFilter();
    comparator = Comparison.IS;
    instF.addAttributeTo(variable : VarDefinition.authorid, comparator : comparator , value : this.participant.id);
    listeInstances = ProcessService.getInstancesByFilter(filter : instF);
    But the process stay blocked while executed this task, although there is no loop... :S
    Any idea please?

  • How abort instace by passing the instance id

    Hi ,
    I have requirement
    *"How to abort the instaces or how to send the instance to the end activity using PAPI code ."*
    I am using ALBPM 5.7
    Plz advice on this.
    Regards,
    Srinivas.

    Hi Srinivas,
    You can abort the desired process by using PAPI. You have to input the process id to the program. Please find the code below.
    public static void main(String[] args) {
              String inputProcessId = args[0];
              Properties configuration = new Properties();
              configuration.setProperty(ProcessService.DIRECTORY_ID, "default");
              configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "c://bea//albpm6.0//enterprise//conf//directory.xml");
              configuration.setProperty(ProcessService.WORKING_FOLDER, "/tmp");          
    try {
         ProcessService processService = ProcessService.create(configuration);
    ProcessServiceSession session = processService.createSession("<UserId>", "<Password>", "<Server Ip Address>");
    for (String processId : session.processesGetIds()) {
    for (InstanceInfo instance : session.processGetInstances(processId)) {
                             if(instance.getId().equals(inputProcessId)) { 
                                  Activity tempactivity = instance.getActivity();
                                  String tempActivityName = instance.getActivityName();          
                                  try {
                                       InstanceActivityPairSet instAct = InstanceActivityPairSet.create();
                                       instAct.add(instance.getId(), tempActivityName);               
                                       session.instancesAbort(instAct);      
                                  } catch (Exception e){
                                       System.out.println("Exception -> " + e.getMessage());
                                  System.out.println("********* Instance Aborted Successfully *********");
    session.close();
    processService.close();
    out.close();
    } catch (CommunicationException e) {
    System.out.println("Could not connect to Directory Service: " + e.getMessage());
    } catch (OperationException e) {
    System.out.println("Could not perform the requested operation: " + e.getMessage());
    }catch (IOException e) {
    System.out.println("Could not perform the requested operation: " + e.getMessage());
    Bibhu

  • Problem connecting to OIM instance with the Design Console

    Hello,
    I've got questions about how to use the design console to connect to an OIM instance. I'm not the one who has set up the instance and the one who did cannot help me much. He did give me root access on the machine though.
    So first, I'm wondering how do I figure out which port I should connect to. All the doc I can find says that default port is 14000, but I don't understand what it's referring to. I can access to the Web Administration page for Fusion Middleware Control by going to <server_ip>:7001/em. Should I use port 7001? I can figure out that 14000 might not be the correct port because "netstat" does not show anything listening on that port.
    My second question is related to the credentials I should use to login to the console. According to the doc and tutorials I found, the user should be xelsysadm. However the person who has set up the instance does not remember having explicitly set a password for this user. Is it possible to log in to the console using the weblogic admin user?
    I've tried a couple of things, but nothing has worked so far. I always get an error of some some sort. I always get an Invalid Login, except when I log in with the weblogic user and set the following properties in xlconfig.xml:
    ApplicationURL= http://<server_ip>:7001/xlWebApp/loginWorkflowRenderer.do
    java.naming.provider.url= t3://<server_ip>:7001/oim
    With these config, I get this exception:
    javax.naming.NameNotFoundException: While trying to lookup 'ejb.stateful.tcDataBase#com.thortech.xl.ejb.interfaces.tcDataBaseRemote' didn't find subcontext 'stateful'. Resolved 'ejb'
    So that's pretty much where I'm at. I can't find any information that can help me, so any hint would be appreciated.
    Thanks for your time,
    jtellier

    try to login in weblogic console the port will be 7001. if you are able to do this then
    goto->service->security->realim->select user and groups (try to find the correct path)
    create user and then assign administrator groups to this user
    login with this user/password into OIM
    But for design console you don't need any url. if it is configured. go to <IDM_HOME>/designconsole/ and run xlclient.sh
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Present instances in the order they are called

    I created this template for teachers to create assessment items. When they click the Add Question Set button, they get a set of buttons for each type of  question. Right now, regardless of what order they click the buttons, the instances of the question subforms show up in the order they are laid out in the designer, and all the questions of one type stay together. I need the question types to appear in the order the buttons are clicked. How do I do this? I have attached my form.
    Thanks!

    This makes sense to me; unfortunately, it's not working. I've tried a few different ways.
    I set the inclusive subform to hidden and then used this script on the button to show just the particular subform I wanted:
    xfa.form.assessment.Questions.Questionset._Questiondetail.addInstance(1);
    xfa.form.assessment.Questions.Questionset.Questiondetail.MCdetail.presence="visible";
    I set the inclusive subform to visible and all the internal subforms to invisible and used the same script:
    xfa.form.assessment.Questions.Questionset._Questiondetail.addInstance(1);
    xfa.form.assessment.Questions.Questionset.Questiondetail.MCdetail.presence="visible";
    I set everything to visible and then used this script to try to hide the ones I don't want to see:
    xfa.form.assessment.Questions.Questionset._Questiondetail.addInstance(1);
    xfa.form.assessment.Questions.Questionset.Questiondetail.MSdetail.presence="invisible";
    xfa.form.assessment.Questions.Questionset.Questiondetail.Matchingdetail.presence="invisibl e";
    xfa.form.assessment.Questions.Questionset.Questiondetail.SAdetail.presence="invisible";
    xfa.form.assessment.Questions.Questionset.Questiondetail.TFdetail.presence="invisible";
    xfa.form.assessment.Questions.Questionset.Questiondetail.orderingdetail.presence="invisibl e";
    xfa.form.assessment.Questions.Questionset.Questiondetail.FIBdetail.presence="invisible";
    Then I realized what the problem is. I can't set the inclusive subform (xfa.form.assessment.Questions.Questionset.Questiondetail) to "positioned". It needs to be "flowed" because the subforms within it for each question type have to be able to expand. As long as it's not "positioned" I can't call instances of it, right? Is there a way around this?

Maybe you are looking for

  • XSLT mapping - Mapping of unbounded elements using Altova Mapforce

    Hi, Please give guidance on doing XSLT mapping for unbounded elements in Altova Mapforce. I am not seeing any functions (like FOR loop etc.,) in the XSLT mapping screen for the same. I appreciate your input. Regards Ramesh

  • Iphone restoring PROBLEM PLEASE HELP! HANK U!

    My ITunes not restoring my IPhone, it stuck on Restoring iPhone Softwear, I was trying to downgrade my iPhone softwear and did something to the hosts file and after that  my iTunes would not let me Restoring my IPHONE Please HELP Thank U

  • Do I need glibc and coreutils in PKGBUILD depends?

    I'm submitting a package to the AUR and the only two packages it depends on are glibc and coreutils. The Arch wiki says (basically) not to include packages that are guaranteed to already be on everyone's system. Since both of those packages are essen

  • Is BrowserDefender OK to run with FF? Noticed it is a big resource hound ;( Would like to uninstall ?

    I have it installed but noticed it is quite a resource hog when viewing in task manager. Its website implies it runs on IE and I only use FF. I am running McAfee already so don't want to slow my pc down any more than I have to. Is there a better FF p

  • Exporting audio for an iPad App

    I edited an MP3 audio file for a friend - it's narration of a book, about 4.5 minutes. I need to export it for an ipad app he's creating and want it as small as possible but still have the audio quality be good. Any recommendations for settings? Than