Setting tangosol.coherence.clustername isn't setting my cluster name

I'm starting my node with:
set java_opts=%java_opts% -Dtangosol.coherence.clustername=my_devand then I'm running
System.out.println("name='"+CacheFactory.getCluster().getClusterName()+"'");but I'm getting:
name='cluster:0xD3FB'I can see that incorrect name is being displayed when i start up. Is there something different I need to do to specify the cluster name?
Thanks!
Andrew
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
2009-11-10 10:52:54.830/0.642 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational configuration from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2009-11-10 10:52:54.835/0.647 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational overrides from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2009-11-10 10:52:54.835/0.647 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
2009-11-10 10:52:54.838/0.650 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.5.2/463
Grid Edition: Development mode
Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
2009-11-10 10:52:55.007/0.819 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/C:/coherence/lib/coherence.jar!/reports/report-group.xml"
2009-11-10 10:52:55.019/0.831 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/C:/coherence/cache-config-dev.xml"
2009-11-10 10:52:55.239/1.051 Oracle Coherence GE 3.5.2/463 <D4> (thread=main, member=n/a): Specified local address "" is a loopback address; switching to the 'localhost' instead; for single-machine mode you must also specify a TTL of 0
2009-11-10 10:52:55.325/1.137 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2009-11-10 10:52:58.525/4.337 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0xD3FB" with Member(Id=1, Timestamp=2009-11-10 10:52:55.255, Address=192.168.10.167:8091, MachineId=25255, Location=machine:box2,process:5600, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) UID=0xC0A80AA700000124DF032357
2009-11-10 10:52:58.541/4.353 Oracle Coherence GE 3.5.2/463 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2009-11-10 10:52:58.613/4.425 Oracle Coherence GE 3.5.2/463 <D5> (thread=OptimisticCache:ReplicatedCache.Optimistic, member=1): Service ReplicatedCache.Optimistic joined the cluster with senior service member 1
2009-11-10 10:52:58.718/4.530 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:DistributedExecutionsCache, member=1): Service DistributedExecutionsCache joined the cluster with senior service member 1
2009-11-10 10:52:58.729/4.541 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
2009-11-10 10:52:58.743/4.555 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:DistributedOrdersCache, member=1): Service DistributedOrdersCache joined the cluster with senior service member 1
2009-11-10 10:52:58.749/4.561 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=1): Started DefaultCacheServer...
SafeCluster: Name=cluster:0xD3FB
Group{Address=224.3.5.2, Port=35463, TTL=4}
MasterMemberSet
  ThisMember=Member(Id=1, Timestamp=2009-11-10 10:52:55.255, Address=192.168.10.167:8091, MachineId=25255, Location=machine:box2,process:5600, Role=CoherenceServer)
  OldestMember=Member(Id=1, Timestamp=2009-11-10 10:52:55.255, Address=192.168.10.167:8091, MachineId=25255, Location=machine:box2,process:5600, Role=CoherenceServer)
  ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2009-11-10 10:52:55.255, Address=192.168.10.167:8091, MachineId=25255, Location=machine:box2,process:5600, Role=CoherenceServer)
  RecycleMillis=120000
  RecycleSet=MemberSet(Size=0, BitSetCount=0
Services
  TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.10.167:8091}, Connections=[]}
  ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.5, OldestMemberId=1}
  InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
  Optimistic{Name=ReplicatedCache.Optimistic, State=(SERVICE_STARTED), Id=2, Version=3.0, OldestMemberId=1}
  DistributedCache{Name=DistributedExecutionsCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
  DistributedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
  DistributedCache{Name=DistributedOrdersCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
  )

Hi Andrew,
The default system property name is tangosol.coherence.cluster :
    <member-identity>
      <!--
      Note: All members of the cluster must specify the same cluster name in
      order to be allowed to join the cluster.
      -->
      <cluster-name system-property="tangosol.coherence.cluster"></cluster-name>
      <site-name    system-property="tangosol.coherence.site"></site-name>
      <rack-name    system-property="tangosol.coherence.rack"></rack-name>
      <machine-name system-property="tangosol.coherence.machine"></machine-name>
      <process-name system-property="tangosol.coherence.process"></process-name>
      <member-name  system-property="tangosol.coherence.member"></member-name>
      <role-name    system-property="tangosol.coherence.role"></role-name>
      <priority     system-property="tangosol.coherence.priority"></priority>
    </member-identity>Regards,
Dimitri

Similar Messages

  • Can i make iphone 4 ring in silent mode so i can find it? I installed find my iphone but it isn't set up yet

    can i make iphone 4 ring in silent mode so i can find it? I installed find my iphone but it isn't set up yet

    No.
    If you have not set up and enabled Find My iPhone on your iPhone, you cannot access/use any Find My iPhone functions with your iPhone.

  • Some of my contacts entered in my mac addressbook (ios7.5) aren't appearing on my iphone 5.  Calendar entries appear so the problem isn't that i cloud isn't set up properly.

    Some of the contacts entered in my mac addressbook (ios7.5) aren't appearing on my iphone 5.  Calendar entries appear so the problem isn't that i cloud isn't set up properly.  Any solutions?

    What I finally did was to log into my icloud account online.  I saw that all my contacts were properly synced from my MacBook Pro - so I unchecked "contacts" under iCloud preferences on my phone.  Then I rechecked it and asked it to sync again.  All the contacts from my MacBook Pro are now on my phone.  Thanks for your help!

  • Can u find a stolen ipod if icloud isn't set up?

    can u find a stolen ipod if icloud isn't set up?

    Only the old fashioned way, like if your wallet/purse wass stolen.
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have to iPod play a sound via iCloud.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing
    Reporting a lost or stolen Apple product                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • DefaultCacheServer not loading tangosol-coherence-override.xml file in eclipse

    I am unable to start the DefaultCacheServer on eclipse. It doesnot start/join the cluster.I get the following :-
    ava version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
    2013-08-28 13:21:09.258/0.328 Oracle Coherence 3.6.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2013-08-28 13:21:09.273/0.343 Oracle Coherence 3.6.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "file:/C:/Cache/bin/tangosol-coherence-override.xml"
    2013-08-28 13:21:09.273/0.343 Oracle Coherence 3.6.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/cluster-config.xml" is not specified
    2013-08-28 13:21:09.273/0.343 Oracle Coherence 3.6.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    2013-08-28 13:21:09.273/0.343 Oracle Coherence 3.6.1.0 <D6> (thread=main, member=n/a): Loaded edition data from "jar:file:/C:/coherence/lib/coherence.jar!/coherence-grid.xml"
    Oracle Coherence Version 3.6.1.0 Build 19636
    Grid Edition: Development mode
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    2013-08-28 13:21:09.507/0.577 Oracle Coherence GE 3.6.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/C:/Cache/src/config/product-config-coherence-cache-config.xml"
    2013-08-28 13:21:09.507/0.577 Oracle Coherence GE 3.6.1.0 <Info> (thread=main, member=n/a):
    Services
    Started DefaultCacheServer...
    I am using coherence - 3.6. Eclipse - Juno Release. JDK - 1.6 . The classpath setting in order is Project,JRE libraries, coherence.jar. Project has folder 'config' which has the XML files.
    I am able to start the client using the same tangosol-coherence-override.xml. Below is the XML file,

    <?xml version='1.0'?>
    <coherence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
       xsi:schemaLocation="http://xmlns.oracle.com/coherence/
       coherence-operational-config coherence-operational-config.xsd">
       <cluster-config xml-override="/cluster-config.xml">
       <member-identity> 
       <cluster-name>ProductConfig</cluster-name>
       <role-name>PC1</role-name> 
        </member-identity>   
    <!--  Enable Single Server mode, as we have only one JVM. -->
          <unicast-listener>
           <address system-property="tangosol.coherence.localhost">127.0.0.1
          </address>
          </unicast-listener>
          <multicast-listener>
          <time-to-live system-property="tangosol.coherence.ttl">0</time-to-live>
          </multicast-listener>  
        </cluster-config>     
        <configurable-cache-factory-config> 
           <init-params> 
              <init-param> 
                 <param-type>java.lang.String</param-type>
                 <param-value system-property="tangosol.coherence.cacheconfig"> 
                   config/product-config-coherence-cache-config.xml
        </param-value> 
              </init-param> 
           </init-params> 
       </configurable-cache-factory-config>
    </coherence>
    This is the VM arguments I am passing.
    -showversion -Dtangosol.coherence.override=tangosol-coherence-override.xml

  • Why does Test-EcpConnectivity throws a warning regarding the internal URL property not being set, when in fact it is set?

    Hello,
    I have setup an Exchange 2013 CU6 environment which contains the following:
    1 machine with client access role
    3 machine with mailbox role
    1 machine with both client access and mailbox server role.
    When I run the Test-EcpConnectivity against the machine which has both roles I get the following:  
    WARNING: The test couldn't test the internal URL of this virtual directory, because the InternalURL property isn't set.
    But when I run "Get-EcpVirtualDirectory|fl" against the same machine, it shows that internal url property is set.
    Why is this happening and how can it be solved?

    Hi,
    The Test-OwaConnectivity cmdlet has been deprecated. It is recommended to use the
    Get-ServerHealth cmdlet to monitor server state.
    Regarding the parameter of Get-ServerHealth
    http://technet.microsoft.com/en-SG/library/jj218703(v=exchg.150).aspx
    Refer to this similar thread
    https://social.technet.microsoft.com/Forums/en-US/e952a854-647e-4f88-b54c-449c82c1c82e/testowaconnectivity-fails-cannot-find-internalurl-property?forum=exchangesvrdeploy
    Best Regrads.

  • Not printing text-only graphics on Canon. Not printer problem-print ok on Brother and another network Apple prints ok on Canon. Believe a computer setting was inadvertently reset. What setting and how do I reset?

    Not printing text only on Canon--grahics print ok.  Not printer problem.  Prints ok on a Brother and another network Apple prints ok on Canon.  Believe a computer setting was inadvertently reset.  What setting and how do I reset?

    Without your printer model numbers, readers can only give you vague general directions.
    System Preferences > Print&Fax > ...
    ... shows a list of all set-up printers.
    If you are having serious problems, it makes sense to "Reset the Printing System" (which also removes all printer set-ups) and add back each printer. It only takes a few minutes.
    Mac OS X 10.6 Help: Resetting the printing system

  • Setting value for attribute  'PO_NUMBER_SOLD'  using setter method

    Hi Experts,
    I need to set the value of a screen field according to some condition. I am using setter method of this attribute to set the value but it is not getting changed.
    I have written following code in DO_PREPARE_OUTPUT method of implementation class ZL_ZZBT131I_ZCREDITCHECK_IMPL using setter method of attribute
    Get Referral Authorization Code
          lv_val1 = me->typed_context->crechkresph->get_po_number( attribute_path = 'PO_NUMBER' ).
          me->typed_context->crechkresph->set_po_number( attribute_path = 'PO_NUMBER'
                                                            value     = ' ' ).
    while debugging I found that in method set_po_number set_property method has been used:--
    current->set_property(
                          iv_attr_name = 'PO_NUMBER_SOLD' "#EC NOTEXT
                          iv_value     = <nval> ).
    In set_property method  following code is getting executed
    if ME->IS_CHANGEABLE( ) = ABAP_TRUE and
               LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY.
              if <VALUE> ne IV_VALUE.
                if ME->MY_MANAGER_ENTRY->DELTA_FLAG is initial.
                first 'change' -> proof that entity is locked
                  if ME->MY_MANAGER_ENTRY->LOCKED = FALSE.
                    if ME->LOCK( ) = FALSE.
                      return.
                    endif.
                  endif.
                flag entity as modified
                  ME->MY_MANAGER_ENTRY->DELTA_FLAG = IF_GENIL_CONTAINER_OBJECT=>DELTA_CHANGED.
                endif.
                ME->ACTIVATE_SENDING( ).
              change value
                <VALUE> = IV_VALUE.
              log change
                set bit LV_IDX of ME->CHANGE_LOG->* to INDICATOR_SET.
              endif.
            else.
            check if it is a real read-only field or a display mode violation
              assert id BOL_ASSERTS subkey 'READ-ONLY_VIOLATION'
                     fields ME->MY_INSTANCE_KEY->OBJECT_NAME
                            IV_ATTR_NAME
                     condition ME->CHANGEABLE = ABAP_TRUE.
            endif.
    and in debugging I found that if part ( ME->IS_CHANGEABLE( ) = ABAP_TRUE and
               LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY) fails and hence else part is getting executed and hence my field a real read-only field or a display mode violation is happening according to comments in code.
    What shall I do so that I would be able to change the screen field value?
    Any help would be highly appreciated.
    Regards,
    Vimal

    Hi,
    Try this:
    data: lr_entity type cl_crm_bol_entity.
    lr_entity = me->typed_context->crechkresph->collection_wrapper->get_current( ).
    lr_entity->set_property( iv_attr_name = 'PO_NUMBER' value = '').
    Also, make sure the field is not read-only.
    Regards
    Prasenjit

  • I have 2 questions regarding the iphone 5. 1 How do i get my yahoo mail set up. I tried the setting it up as both a yahoo mail and other mail. 2. I seem to have lost my notes on my iphone 5 but I have them on my ipad. How can I use cloud to sync my notes?

    I have 2 questions regarding the iphone 5. 1 How do i get my yahoo mail set up. I tried the setting it up as both a yahoo mail and other mail. 2. I seem to have lost my notes on my iphone 5 but I have them on my ipad. How can I use cloud to sync my notes?

    I will address your second question.
    First, make sure your iPhone and iPad have absolutely identical Apple IDs.  If they do, use that Apple ID in Settings > iCloud on your iPhone to select the "Notes" option.  Lo and behold, all your iCloud notes should appear on your iPhone.

  • How can I set up a RAID 1 disc set

    How can I set up a RAID 1 disc set using my existing Time Machine backup disk plus another HDD without loosing my backup?
    Thanks

    TM is the worst, most cantankerous Backup App I've ever encountered... I'd pride myself if I could come up with a worse one!
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/tribackup.html

  • Question about email setting: how  do i change the setting so i need to login to check my email. Currently it automatically come to the inbox without the need to log in. Thanks

    Question about email setting: how  do i change the setting so i need to login to check my email. Currently it automatically come to the inbox without the need to log in.

    You don't. Email comes in either by push or when you invoke the email app. Ther is no password except when you first set up the account. If your iPad is not being used as your personal device and you need to shield emails from other users, then don't use the email app.  Instead, use web mail if available from your provider.

  • In sets (t-code GS01-04): How to change Field name

    HI,
    I have created sets for rule in validation by t-code GS01. Where I have given Tbale name BSEG and Field name KOSTL(Cost Center No). Now, I want to change field name SAKNR (GL NO) instead of cost center. When I am trying to change field name t-code GS02, there is field name is in display mode and no way to change it.
    As I have lot of entries in each set, so that creation of new sets is very hard job again. Further when I trying to create new sets by reference it didnt change the table name and field name.
    Please provide me a solution.
    Khalid

    Hi,
    Hope it is not possible, logically total field is changing and the dependent entrie will not stay as it is. I don't think this is possible.
    Eventhough the values are same but the fields are different.
    VVR

  • CS6 Camera Raw - I can now only crop using aspect ratio in the custom crop setting rather than being able to set the dims in cm and inches? anyone know how to revert? ever since installing new mac operating system things have been strange!

    CS6 Camera Raw - I can now only crop using aspect ratio in the custom crop setting rather than being able to set the dims in cm and inches? anyone know how to revert? ever since installing new mac operating system things have been strange!

    Hi Kglad.
    I have looked at all of my settings both in Bridge and CS6 Photoshop regarding Camera Raw. I am at a loss how to set the crop tool in cm or inches as I once did - now the only option is to crop using ratios of 1:1 etc etc - This is infuriating as lots of my square crops I could set at 10" x 10'' specifically to print one to one to fit frame and mount size -
    Now if cropping using bloody aspect ratio of 1:1 (square) the actual dims of the crop are roughly 4.25 inches x 4.25 inches. this means I then have to open the whole image in photoshop in order to crop at the dims I have set! It was so much quicker in terms of batch cropping in camera raw being able to set dims in centimetres and inches but they have gone and mucked around with it, with the new bloody update! Unless you are an absolute genius and know how I can go back to having an option of CM, Inches and aspect ratio within the custom crop settings? (Please say you do)
    here is the new tutorial for CC -  my guess is they have scrapped the control we had over the custom crop settings
    Cropping Images In Adobe Camera Raw 8

  • I accidentally set up my new ipad in itunes under the name of my existing ipad and need to set it up as a new device. Help. I cannot find a way to start fresh.

    I accidentally set up my new ipad in itunes under the name of my existing ipad and need to set it up as a new device. Help. I cannot find a way to start fresh.

    That's probably not a good idea to try to share apps since you will have to switch ID's each time you update apps and sync apps from iTunes.
    And technically - according to Apple's terms - you cannot share apps using different ID's. You can actually lock yourself out of an ID for 90 days if you switch ID's and if you associate the iPad with another ID.
    The bold type is a copy and paste from the site that I referenced below.
    When you turn on iTunes Match or Automatic Downloads, or when you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID. This article describes how to manage these associations.
    http://support.apple.com/kb/ht4627

  • Set "peoples or groups" field with current user "login name" in sharepoint list form using javascript

    hi friends
    i am trying to set peoples or groups field in sharepoint  list form with current user login name
    here my code
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    $(document).ready(function NewItemView () {
    var currentUser;
        if (SP.ClientContext != null) {
          SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
        else {
          SP.SOD.executeFunc('sp.js', null, getCurrentUser);
        function getCurrentUser() {
          var context = new SP.ClientContext.get_current();
          var web = context.get_web();
          currentUser = web.get_currentUser();
          context.load(currentUser);
          context.executeQueryAsync(onSuccessMethod, onRequestFail);
        function onSuccessMethod(sender, args) {
          var account = currentUser.get_loginName();
          var accountEmail = currentUser.get_email();
          var currentUserAccount = account.substring(account.indexOf("|") + 1);
        SetAndResolvePeoplePicker("requester",account);
    // This function runs if the executeQueryAsync call fails.
        function onRequestFail(sender, args) {
          alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     function SetAndResolvePeoplePicker(fieldName, userAccountName) {
       var controlName = fieldName;
        var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
        var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
        var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
        peoplePickerEditor.val(userAccountName);
        spPeoplePicker.AddUnresolvedUserFromEditor(true);
    </script>
    but it is not working
    please help me

    Hi,
    According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
    To set "peoples or groups" field with current user "login name”,  you can use the below code:
    <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
    <script type="text/javascript">
    function SetPickerValue(pickerid, key, dispval) {
    var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
    xml = xml + PreparePickerEntityXml(key, dispval);
    xml = xml + '</Entities>';
    EntityEditorCallback(xml, pickerid, true);
    function PreparePickerEntityXml(key, dispval) {
    return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
    function GetCurrentUserAndInsertIntoUserField() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    this._currentUser = web.get_currentUser();
    context.load(this._currentUser);
    context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
    Function.createDelegate(this, this.onFailure));
    function onSuccess(sender, args) {
    SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
    this._currentUser.get_title());
    function onFaiure(sender, args) {
    alert(args.get_message() + ' ' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
    </script>
    More information:
    http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Dynamic Lookup in OWB 10.1g

    Can we execute dynamic lookup in OWB 10.1g? I want update the columns of the target table, based on the previous values of the columns. Suppose there is a record in the target table with previous status and current status columns. The source table co

  • Problem in charging

    I'm using iPad 4G for last 7 month, recently I noticed that iPad does not charge from lighting plug at all to start charging need to shift lighting plug lift-right-up-down sides to find position to start charging. Last week the worst happened no matt

  • Flash plugin will not load

    i go to the website, i download the stupid thing but the weird thing is that when i try to get the plugin to download from firefox, it won't pull up the liscence and then fail to load it saids i have no flash plug in

  • How to tell what  files have NOT been Javadoc'd.

    Is there a way to generate a list of filenames that lists out what has not been Javadoc'd? I have tons of Java files, and I need to produce a list to give back to the developers, that tells that what they haven't Javadoc'd. Thanks.

  • Clarification on the enhancement HRPBAS01, in that INCLUDE ZXP02U01 .

    Hi SAP Community, I need clarification on the USEREXIT. i think u people may know this. In SMOD i have given one enhancement which is HRPBAS01 and the check on the component and display. We will find one exit as EXIT_SAPLRPIN_001, then double click o