Threading: Sharing same resource (List)

Hi,
I'm facing one strange problem.
What I have done is as follows:
1. I have created two threads; Thread1 and Thread2. Both these share the same object (List)
2. Thread1: It add 50 elements to list.
3. Thread2: It reads 50 elements from the list.
Expected output is:
In Thread-2 it might throw ArrayIndexOutofBounds exception because it may try to read the value which Thread1 has not inserted yet.
Actual output is:
Yes; It throws the ArrayIndexOutofBounds exception but not due to above expected reason.
When second time Thread-2 is executed; list size is not updated although Thread1 and
Thread2 point to same references.
First I thought that it is due to Thread-1 and Thread-2 have separate stack; but this is
also not true since list variable is on the heap. And both Thread point to this.
This is very strange.
Please find the below code:
package xyz;
import java.util.ArrayList;
import java.util.List;
public class ThreadTry {
public static void main(String[] args) {
List list=new ArrayList<Integer>(50);
Thread myThread1=new Thread(new Thread1(list));
Thread myThread2=new Thread(new Thread2(list));
myThread1.start();
myThread2.start();
//writes to list
class Thread1 implements Runnable{
List list;
public Thread1(List list) {
this.list=list;
public void run() {
for(int i=0;i<50;i++){
System.out.println("{");
System.out.println(" Start Adding *********************************");
list.add(i);
System.out.println(" Thread-1 adding: "+i+" List size is: "+list.size());
System.out.println(" Adding is done ********************************");
System.out.println("}");
System.out.println("");
//read lists
class Thread2 implements Runnable{
List list;
public Thread2(List list) {
this.list=list;
public void run() {
for(int i=0;i<50;i++){
System.out.println("------Read : "+i+"-th element.");
System.out.println("------Thread-2 reading: "+" List size is: "+list.size()+" ; element: "+list.get(i));
}Regards,
Leena

It's perfectly possible that thread2 is being run before thread1, you can't depend on the order of execution between threads.
To make it safe you need to do something like:
// in thread 1
synchronized(list) {
      list.add(i);
      list.notifyAll();
// in thread 2
int v = 0;
synchronized(list) {
   while(i >= list.size()) {  // wait until list has enough entries
        list.wait();
        v = list.get(i);
   };

Similar Messages

  • Cluster Vols not appearing properly in Storage Resource List

    Still getting started with NSM4.0......
    When running GSR, seeing lots of errors for " Error#28 (File system path could not be found.)" when I can actually find the path in the browsers, looked in the Storage Resource List and instead of seeing clusterresource\volumename (which is the path in the string that is erroring above) I'm seeing clusternode\volumename. This is what is causing the issue in the previous thread. Tried to do a rebuild and got the same results. Users see the volumes as clusterresource\volumename, and that is how they are mapped in the login script,
    How/where do I look to correct this?
    thanks in advance

    On 12/5/2014 9:44 AM, NFMS Support Team wrote:
    > On 12/5/2014 6:16 AM, dbgallo wrote:
    >>
    >> Still getting started with NSM4.0......
    >>
    >> When running GSR, seeing lots of errors for " Error#28 (File system path
    >> could not be found.)" when I can actually find the path in the browsers,
    >> looked in the Storage Resource List and instead of seeing
    >> clusterresource\volumename (which is the path in the string that is
    >> erroring above) I'm seeing clusternode\volumename. This is what is
    >> causing the issue in the previous thread. Tried to do a rebuild and got
    >> the same results. Users see the volumes as clusterresource\volumename,
    >> and that is how they are mapped in the login script,
    >>
    >> How/where do I look to correct this?
    >>
    >> thanks in advance
    >>
    >>
    > Make sure that the nsmproxy object has Supervisor rights on the virtual
    > server and its resources. We've very rarely seen cases where inheritance
    > of Supervisor rights from the root of the tree stops at that level on
    > cluster volumes.
    >
    > -- NFMS Support Team
    After that, rebuild the Storage Resources cache.
    -- NFMS Support Team

  • Multiple EARs packaging the same resource adapter -- Weblogic Application S

    Hello,
    I had a question regarding JNDI and deploying multiple applications (EAR's) which package the same resource adapter running on Webloigc Application Server 9.1. I have an EAR file, ear1, which contains a resource adapter with connection factory with JNDI name say 'xyz' specified in the weblogic-ra.xml file. I have another EAR file, ear2, which again packages the same resource adapter with the same connection factory with JNDI name 'xyz'. Upon activating the 2nd EAR file, I get an exception 'javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.', as seen below:
    <May 8, 2006 10:29:27 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'JMS2JMS_eInsightweblogic2'.>
    <May 8, 2006 10:29:27 AM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: java.lang.AssertionError: Internal Error occurred, Assertion Failed: No Initial Context for Jndi: javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.
    at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:217)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:90)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:318)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:53)
    Truncated. see log file for complete stacktrace
    javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.
    at weblogic.connector.outbound.RAOutboundManager.getConnectionFactory(RAOutboundManager.java:721)
    at weblogic.connector.deploy.JNDIHandler.getConnectionFactory(JNDIHandler.java:1017)
    at weblogic.connector.deploy.JNDIHandler.lookupObject(JNDIHandler.java:871)
    at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:845)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    Truncated. see log file for complete stacktrace
    It seems like the 2nd EAR is trying to go across and lookup the connection factory from the 1st EAR. Does weblogic bind the RA's connection factory jndi name in the global jndi and is not specific to each EAR? Is there some flag or switch I can turn on to make the JNDI specific to each EAR?
    My weblogic deployment descriptor for the ra looks like the following:
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90
    http://www.bea.com/ns/weblogic/90/weblogic-ra.xsd">
    <jndi-name>JMS2JMS_eInsightDeployment4_stcbpelra</jndi-name>
    <enable-access-outside-app>false</enable-access-outside-app>
    <enable-global-access-to-classes>false</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
              <b><jndi-name>BPELConnectionFactory</jndi-name></b>
              <connection-properties>
              <pool-params>
              <initial-capacity>0</initial-capacity>
              <max-capacity>10000</max-capacity>
              <capacity-increment>1</capacity-increment>
              <shrinking-enabled>true</shrinking-enabled>
              <shrink-frequency-seconds>60</shrink-frequency-seconds>
              <match-connections-supported>false</match-connections-supported>
              </pool-params>
              <properties>
                   <property>
                        <name>BPELConnectionFactory</name>
                        <value>BPELConnectionFactory</value>
                   </property>
              </properties>
              </connection-properties>
         </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>

    Thanks for the reply... in my case this would be done by the active synch process so no GUI form is required. I will be getting a list of application ID for the user by LDAP AS. One i get it i will have to parse it and get the list of application user id. I am passing those ID;s to a workflow where I am forming the resource name as you mentioned
    for example:
    If i get user1#user2#user3 from AS i am separating them based on # using split and getting 3 different user id;s
    now i am forming a string with the resource name and passing it to the sub process in which i am checking out the user object, setting the user attributes and checking in the new view.
    user1#LDAP
    user2#LDAP|1
    user3#LDAP|2
    Problem ; When i run this user1 is getting created in LDAP but user2 and user3 are not. There entry is getting created in IDM.
    When I open the IDM object I get a yellow triangle (warning) and if I open the user object and hit save button IDM creates the user account on the LDAP.
    any help for further solving this problem would be appreciated.
    Regards,

  • Multiple accounts on the same resource in Oracle Waveset 8.1.1 patch 5

    Hi IDM Experts!
    I've customized my userforms in order to create multiple accounts on the same resource using the syntax accounts[<resourceName>|n].<attribute> like the documentation suggests. That worked fine using Sun Identity Manager 8.1.
    However, I've not been able to create new multiple accounts after I upgraded to Oracle Waveset 8.1.1 patch 5.
    Is there anything else that I have to take into account for this new version? Is that a bug?
    Thanks in advance for your help!

    Thanks for the reply... in my case this would be done by the active synch process so no GUI form is required. I will be getting a list of application ID for the user by LDAP AS. One i get it i will have to parse it and get the list of application user id. I am passing those ID;s to a workflow where I am forming the resource name as you mentioned
    for example:
    If i get user1#user2#user3 from AS i am separating them based on # using split and getting 3 different user id;s
    now i am forming a string with the resource name and passing it to the sub process in which i am checking out the user object, setting the user attributes and checking in the new view.
    user1#LDAP
    user2#LDAP|1
    user3#LDAP|2
    Problem ; When i run this user1 is getting created in LDAP but user2 and user3 are not. There entry is getting created in IDM.
    When I open the IDM object I get a yellow triangle (warning) and if I open the user object and hit save button IDM creates the user account on the LDAP.
    any help for further solving this problem would be appreciated.
    Regards,

  • Implementing resource list filter

    hi,
    i'm implementing a resource list filter. i added the filter as a jar file in the lib directory of my portal application, and created a portal service which registers the classloader to CRT. In the log file i can see that the registering is done succesfully. But when i create the filter in the portal i get ClassNotFoundException.
    Do i need to implement a manager too??? or is this probably just a naming problem?
    thx,
    Kristof

    Hi Detlev,
    yeah well, i was right about the naming problem, so i got the filter running now.
    But another problem occured. I need to extend the DCTMResourceListFilter, so i inherited this class. The only thing i did was calling super methods in constructor and FilterResourceList, and then i got this exception. Kinda strange because there is a filter configured using this DCTM class. Any idea's??? thx
    Exception ID:10:19_13/10/06_0001_4133550
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.basicsearch
    Component class : com.sapportals.wcm.portal.component.base.ControllerComponent
    User : E122830
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.wdf.WdfError
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:678)
    at com.sapportals.htmlb.AbstractCompositeComponent.render(AbstractCompositeComponent.java:41)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
    at com.sapportals.htmlb.rendering.DefaultFlowLayoutRenderer.render(DefaultFlowLayoutRenderer.java:29)
    at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
    at com.sapportals.htmlb.Component.render(Component.java:150)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
    at com.sapportals.htmlb.rendering.DefaultFormRenderer.render(DefaultFormRenderer.java:39)
    at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
    at com.sapportals.htmlb.Component.render(Component.java:150)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
    at com.sapportals.htmlb.rendering.DefaultDocumentRenderer.render(DefaultDocumentRenderer.java:69)
    at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
    at com.sapportals.htmlb.Component.render(Component.java:150)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
    at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
    at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:686)
    at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:355)
    at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:286)
    at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.render(GridLayoutRenderer.java:39)
    at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
    at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:127)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more

  • IPod Unit in Computer Resources list disappears when iTunes Starts

    When iTunes Starts and detects the iPod device the iPod disk resource, in computer resource list (e.g. iPod (G:)) disappears. In this way any action I made to iPod fails.
    I tried all but it doesn't working.
    help me....

    I tried two different USB ports each a failure. Other USB items are as follows: wireless mouse + keyboard bundle, wireless network adapter, digital camera (sits there all the time), and 500 GB Western Digital external hard drive. I am on a network but nothing from the iPod or iTunes accompanying folders are shared. Originally I had G: but it is now I:.
    At the moment it works again (for now). I don't know why it worked for me but I tried a non-official iPod song loader and when that didn't work I just deleted everything on the iPod (hidden files too) and the next time iTunes tried syncing it asked to set up new iPod controls. After that it stayed on the My Computer folder and I could reload songs through iTunes. I haven't tried it more than this once because I don't want to jinx it. I don't suggest my way because it was probably dumb luck.

  • Resources List empty

    Hi all,
    Our UCCX is a 8.0.2 version .After a power failure our ups didnt react as expected and our uccx had a cold shutdown. Turning it back on some agents couldnt login getting an error message "Agent login is invalid". Checking the resource list we found nothing no resources in at all, all agent can  be seen in the inactive agents window. On the add resources menu i can find all agents except of those that can login. If i try to add them i get a message that the user id allready exists.
    The only service that is it stopped is the archive manager which i am investigating .....
    Any ideas

    Hi,
    Done both. Validation is fine and i ve restarted cme a couple of times.
    I found a reported bug which is similar
    https://supportforums.cisco.com/thread/2031228
    This seems interesting
    In between our correspondence, I had a Cisco TAC person connect and use CET to delete the entries in
    com.cisco.crs.cluster.config.ArchiveAdminConfig
    com.cisco.crs.cluster.config.ArchiveIdConfig
    com.cisco.crs.cluster.config.ArchiveLeaseConfig
    but i am not sure how to do it
    No good.
    Thanks

  • Iphotos - shared in source list

    My self and my wife share an imac and in iphotos in the shared  in source list it automatically shares with her Facebook account. Is it possible to add my FB account to the shared tag? I dont know what verison of iphoto I am running perhaps someone might be able to inform me how

    Are you using the sam user account on the iMac?   If you want separate Facebook accounts in iPhoto, you need to use separate User accounts on your shared Mac. Only this way can you have different Preferences settings for sharing.
    Only, if you both sign into the Mac from different user accounts, but want to use the same iPhoto library, you need to move the iPhoto library to an external drive, see this link: 
    iPhoto: Sharing libraries among multiple users

  • Resource List Filter versus Portal Drive

    Hi all,
    i have created own resource list filter and i found out that the class receives wrong input data. The input list of resources doesn't contain resources created via Portal Drive. Has somebody same problem? Thanks in advance for whichever advice!
    Regards
    Zbynek

    Hi Zbynek,
    That sounds a bit strange. The resources are listed within the portal anyhow, but they are not passed to the filter implementation? I've never experienced that and I also have difficulties to imagine such a scenario.
    Anyhow, if it is true, you definitely should open an OSS message about it. But first, double-check your situation!
    Hope it helps
    Detlev

  • Multiple database patching in one go (sharing same oracle_home) ?

    hi,
    good day.
    did any one experience running "startup upgrade" for more 3 databases sharing same oracle_home?
    i mean, did any one tried to apply database patchset 3/4 (command-set given below) to more than one databases (sharing one oracle_home) at the same time to minimize the downtime?
    SQL> STARTUP UPGRADE
    SQL> SPOOL patch.log
    SQL> @?/rdbms/admin/catupgrd.sql
    SQL> SPOOL OFF
    or it can ONLY be done on one-by-one basis?
    database: 10.2.0.2
    plateform: hpux 11.31
    An earliest response will be highly oblidged..
    regards,
    X.

    Mr X wrote:
    hi andrewmy,
    you said, we can upgrade different databases simultanously in different telnet/ssh sessions after patching the oracle_home.
    hi chinar,
    i agree, we have to run catupgrd.sql script for every database. my question was that can we run multiple catupgrd.sql for multiple databases after patching oracle_home successfully?
    After patch installing you have run catupgrd.sql for multiple database only once time.For more information refer upgrade guide and note of this patch.
    so, finally, are you both agree that we can run multiple catupgrd.sql scripts for multiple databases concurrently?
    right ?
    Yes,you can execute these concurrently,but your server need more resource.
    did any one tried it before, is that speedy as compared to one by one db-upgrade procedure?
    The speed of upgrade depend your server resource CPU/RAM.

  • How can I move a task from a Summary Task to another Summary Task in the same task list?

    Hey, I tried to move tasks through the SP UI from one Summary Task to other in the same task list, but I didn't find possibility for it.
    Then I spent time to learn the SP Client Object Model and now I can read tasks form the list. I see every task has a "FileRef" and a "FileDirRef" field. If I think right these fields show the relation between list elements for example between
    a Task and a Summary Task elements.
    I changed these fields' values and I tried to Update the ListItem but I got this error message: "Invalid data has been used to update the list item. The field you are trying to update may be read only."
    I really need to move tasks what were created below a wrong Summary Task so please explain a method or pattern how I can do this. (I can create a new Task below to any Summary Task and I can set field values but I hope there is a way to really move tasks (I
    mean I should change the right field values somehow.).
    I can reach the Task List both on the server and client side so I'm very interested in every solution. PowerShell solution is also good for me.
    I'm using SharePoint 2010 SP2.
    Thank you for your answer and your time. :)
    Csaba Marosi

    Hi,
    According to your post, my understanding is that you want to move a task from one summary task to another in the same task list.
    We can do it like this:
    We can create a Gantt View for this task list, then copy your tasks inside a summary task, then navigate back to the other summary and paste, then go back to original and delete.
    Here is another way for your reference:
    SharePoint vs Powershell – Moving List Items between folders
    http://sharepointstruggle.blogspot.in/2010/07/sharepoint-vs-powershell-moving-list.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Need to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.

    Hi All
    I have one sharepoint list with huge data i.e with 20columns and more than 200 records with the fields .
    Suppose lets consider there are A,B,C,D,E,F,G,H columns.
    Now i want to create one form with the fields A,C,E.
    When the user enter the existing data of list for columns A,C..based on C value the E column value should change and update that particular item in the list.
    Please guide me without visual web part can we acheive this by Sharepoint designer 2013 or what would be the preferable solution.
    Please help me on this as it is very urgent from me..
    Thanks in Advance
    Sowjanya G

    Hi,
    According to your post, my understanding is that you wanted to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.
    I recommend to create workflow associated to the list and then start the workflow automatically when an item is changed.
    In the workflow, you can add condition and actions as below:
    If current item: C equal to Test1
         Set E to Test2
    Then the value of the filed E will be changed based on the value of the filed C.
    In addition, if you create the form using InfoPath, you can add rule to the filed C as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Two soa domain with same name "TestSOADomain" sharing same SOA schema ?

    I tried creating two soa domain with same name "TestSOADomain" (different path) sharing same SOA schema .However one domain came UP to Running mode and other domain going to AdminMode and "soa-infra" application of that domain is not active.
    I do want to understand can this be possible with SOA ,ie. two soa domain sharing same SOA schema ?
    If possible what are all the problems might come
    1. While executing soa composites with asyncronous behaviour ?
    2. How the polling services will work ?
    3. will the XREF_DATA table ROW_NUMBER column inserted uniquely while inserting data from two different domain into same SOA schema ?
    4. Other issues ?
    Thanks

    Each domain is expected to refer to its own unique database schema. Same SOA schema should not be shared by multiple SOA clusters/domains. It is technically possible though, I suppose, and still can run fine any one SOA environment at any given time with the other SOA environments/domains (sharing the same SOA schema) shutdown. It is not the general/recommended practice to share SOA schema across domains and there could be potential implications and unexpected behavior, particularly when the SOA environments pointing to the same schema are all running at a time.

  • Instead of creating new resource, recon is updating the same resource object for a user

    Hi,
    I created a DB target recon in OIM 11g. I ran recon and it created resource object. Resource is visible in Accounts tab.Now, I added one more entry with different description in DB. I ran the recon again. This time, instead of creating new resource object, recon linked it the same user with same resource object.
    My requirement is to create as many resource object as there are entries in DB table. The recon should not link all DB entries with same resource object in IDM. For every entry in DB, recon should create that many resource objects in accounts tab of user.
    Please let me know how to achieve the same.
    Regards,
    Kalpana.

    Hint is : Verify Reconciliation Key field mapping in Process definition
    Thanks,
    Pallavi

  • After clearing cache and cookies, my same dropdown list keeps returning when I log in to Facebook.

    After clearing cache and deleting cookies, my same dropdown list keeps on returning whenever I log in to Facebook. I need to know how to delete login history.

    That data is called Form History
    Options/Preferences > Privacy > Clear your recent history > Everything + Form history

Maybe you are looking for

  • Can't open NEF (Nikon Raw) photos in CS2

    Using CS2 on a Power Mac G5, running 10.5.8 with plenty of ram. Photos taken on a Nikon D700 in Raw format and transferred directly from camera to computer using Nikon Transfer. When I try to open a photo marked NEF in Photoshop's Bridge, I get a mes

  • Organizing photos on the fly on the Touch.

    Hello, I would like to know if anyone has figured a way to organize or at least mark specifiy photos on the Touch so that they are easier to find when browsing through them? I've got over 3000 pics on mine and it's a pain in the *** trying to recall

  • Can anyone explain me the SAP BPC?

    Can anyone explain me the SAP BPC?

  • Preloader and moviecliploader class

    Hello Firstly thanks to kglad for some advice yesterday. More needed I am using FlashMX 2004 Professional. I have been having problems with my preloader which i have placed as a movieclip at the start of the pertinent scenes where it is needed. The p

  • Problems in monitoring mbeans under Weblogic8.1

    Hi, all, I use JDMK5.1 to connect two Applications with JMX RmiConnector. The Applications run in WebLogic8.1.4. App1 is a normal application monitored by App2. App1 creates RMIConnectorServer and App2 creates RMIConnectorClient, an HtmlAdaptor liste