Getting unactivated changes in a domain

I'm trying to use Weblogic JMX APIs to manage domain configuration as documented here. In particular, I'm trying to list any unactivated changes in the domain by accessing 'UnactivatedChanges' attribute of the 'ConfigurationManager' MBean. Here is my code:
MBeanServerConnection conn = m_wlsServer.getConnection();
ObjectName cfm =
            (ObjectName)conn.getAttribute(m_wlsServer.service,
                                          "ConfigurationManager");
return (Object[]) conn.getAttribute(cfm,
                                                  "UnactivatedChanges");
The last statement is intermittently throwing the following exception:
Caused by: weblogic.management.mbeanservers.edit.NotEditorException:
        at weblogic.management.mbeanservers.edit.internal.ConfigurationManagerMBeanImpl.getUnactivatedChanges(ConfigurationManagerMBeanImpl.java:332)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
Caused by: weblogic.management.provider.EditNotEditorException: Not edit lock owner
        at weblogic.management.provider.internal.EditAccessImpl.checkEditLock(EditAccessImpl.java:1573)
        at weblogic.management.provider.internal.EditAccessImpl.getUnactivatedChanges(EditAccessImpl.java:1081)
        at weblogic.management.mbeanservers.edit.internal.ConfigurationManagerMBeanImpl.getUnactivatedChanges(ConfigurationManagerMBeanImpl.java:323)
I'm using the username as 'weblogic' who is the default administrator that is created along with the weblogic installation.
Any ideas of what I'm doing wrong? Could this be a bug?
Thanks,
Venkat.

You need to give more details..
Are you loading data from a flat file..?
If yes, are you giving values DATETO and DATEFROM.
While giving them..Data range should not overlap.
I guess, you missed giving values for DATETO and DATEFROM
For eg:
M_NO  M_NAME M_GROUP
M100   X              MG10
M100   Y             MG20.
if we check M_GROUP attribute as Time dependent, then your master data tables looks like below
M_NO DATETO DATEFROM  M_NAME M_GROUP
M100    99991231  20080312    X             MG20
M100    200080311 19000101   X             MG10.
So, you have to provide the date ranges..I guess, as per the error msg..it looks you are not provided the date ranges..
Regards

Similar Messages

  • Windows 7 or Windows Server 2008 R2 domain join displays error "Changing the Primary Domain DNS name of this computer to "" failed...."

    Hi,
    Windows 7 or Windows Server 2008 R2 domain join displays error "Changing the Primary Domain DNS name of this computer to "" failed...."
    DC:windows Server 2008 R2
    Domain functional level:Windows Server 2003
    When Winxp join domain, have no this error message.
    I checked http://support.microsoft.com/kb/2018583?wa=wsignin1.0 does't work.
    There have 3 suggestion in this article:
    1.The "Disable NetBIOS over TCP/IP" checkbox has been disabled in the IPv4 properties of the computer being joined.
    Doesnt's work.
    2.Connectivity over UDP port 137 is blocked between client and the helper DC servicing the join operation in the target domain.
    On my DC, I run netstat -an, reslut as below:
     UDP    192.168.20.3:137       *:*
    3.The TCP/IPv4 protocol has been disabled so that the client being joined or the DC in the destination domain targeted by the LDAP BIND is running TCP/IPv6 only.
    We are not using IPV6.
    This server recently updated from Windows Server 2003 to Windows Server 2008 R2. Before upgrade, when Win7 and Win2008 join this domain, also have the same error message.
    Please help to check this issue.
    Thank you very much.
    BR
    Guo YingHui 

    Hi Guo Ying,
    I have faced this critical error which makes over-writes the host names in the domain when you join.
    For example: Already you had a host name called as PC.domain.com in the domain.com Domain.
    When you try to add the another host name called as PC in the domain.com Domain, it doesn't give you the duplicate name error on the network it does over-write the existing host name called as PC.domain.com & it will add the new host name into the domain.
    Host name which got over-written will get removed from the domain. I faced this issue in my project. My DPM host name got removed from the Domain & new host name got joined into the domain which halted my backups for one day.
    Final Resolution is as follows:
    You need to start the dns console on the DC & drop down the domain name.
    Select the _msdcs when you click on _msdcs it will show the Name Server's list on the right hand side.
    You need to add the Domain Naming Master under the _msdcs or add all the domain controllers which you had.
    After you add the Name server's try joining the PC OR Laptop to the domain which is successfully joins it.
    Regards
    Anand S
    Thanks & Regards Anand Sunka MCSA+CCNA+MCTS

  • Changing the internal domain to a subdomain -- Help!

    Hello, so I have a huge project coming up and i was wondering if someone had some experience on this that could give me some advice.
    So,  started working on this company that has an internal domain called.. lets say abc.com  and external alphabetaghama.org   ..  the problem we have is that we cannot get certs for our internal domain for public access like our exchange
    server fqdn for example is exchange.abc.com ... Someone else owns abc.com which prompted my new boss to fix this and now i have a project to change our internal domain to match our external but I know that the best practice is to have a
    subdomain as the internal domain and I think that's the route my boss wants to go with..  which brings me to my question.
    What will I have to do to get this accomplished... our external domain name is really just a forward zone and i dont have a forest so does that mean that i will have to build a alphabetaghama.org forest and add a subdomain like corp.alphabetaghama.org 
    for our internal and then migrate everything over? 
    We currently have exchange 2007 with 2008R2 DC's..  our new domain would be on 2012R2 DCs with the same exchange server..
    Sorry if something doesn't make sense, I'm a little new to a major project like this...

    Hi,
    This really depends on the requirements. As the Domain restructure is a huge project, we'd better have some experts with good experenses at hand. And if the problem (to get public access) is solved,  it is recommended to have a good consideration
    if the rebuilding is needed.
    Regarding the internal domain name, maybe you want to have a look into the below MS article:
    How Domain Rename Works
    http://technet.microsoft.com/en-us/library/cc738208(v=WS.10).aspx
    For your reference:
    ADMT Guide: Migrating and Restructuring Active Directory Domains
    http://technet.microsoft.com/en-us/library/cc974332(v=WS.10).aspx
    One thing to mind is ADMT tool may cannot
    be installed on a Windows Server 2012 DC, so please make sure in the target domain we have a Windows Server 2008 DC to be the ADMT server.
    ADMT 3.2 and PES 3.1 installation errors on Windows Server 2012
    http://support.microsoft.com/kb/2753560
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • What would be the impact of changing Enterprise and Domain admin password

    Hello,
    I'm planning to change the Enterprise/Domain Admin's password for some security reasons. I do not know what all will fail, what are all the process is going to be impacted. Actually I don't want to see the bigger impact after changing
    the password.
    I've gone thru' few articles but it's in Powershell where I have the limited knowledge & can't customize the script.
    Is there a tool or a way to scan the LAN/Servers and get a clear output where these users accounts (Domain & Enterprise Admin) being used, especially windows services wise, and all other dependencies?
    Can anybody help?
    Regards,
    MSK

    Hello
    As far as I have experienced by changing the enterprise admin password there will be no impact on the environment, not event on
    Services.msc console. But resetting an account is a different story. If you change the user account, services which relies on the user will be updated automatically but by resetting the password you have to manually enter the password on each
    service.
    Also I am thinking about if you use remote desktop with saved credentials to connect to DC's as enterprise admin, you may experience account lockout problems. So wise move is to create another account as member of enterprise admins group and keep it safe
    with a strong password and save it for a rainy day. In that case if the original enterprise admin locked out due to incorrect logons you have a gold key to overcome the situation.
    Regards.
    Mahdi Tehrani Loves Powershell
    Please kindly click on Propose As Answer or to mark this post as
    and helpfull to other poeple.

  • How can I get and change the values of Withholding tax grid in MIRO trx

    Hi everyone,
    I have a requirement where I need to get and change WT_WITHCD field in MIRO's Withholding tax grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi doesn't have this value.
    Do you have any idea?
    Thanks in advance!
    Regards.
    Leo.

    Hello Leonardo,
    You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
    LOOP AT ti_drseg INTO ls_drseg. 
      lv_index = sy-tabix.
      LS_DRSEG-MWSKZ = 'I0' . " < For example
      MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
    ENDLOOP.
    FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
    ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
    <drseg> = ti_drseg[].  " this will modify the data in MIRO with your modified data
    Regards,
    Naimesh Patel

  • How can I get and change the items grid of MIRO trx

    Hi everyone,
    I have a requirement where I need to get and change the tax code field in MIRO's item grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi only allows read but not change them.
    Do you have any idea?
    Thanks in advance!
    Regards.
    Leo.

    Hello,
    You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
    LOOP AT ti_drseg INTO ls_drseg. 
      lv_index = sy-tabix.
    ***... do your processing
      MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
    ENDLOOP.
    FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
    ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
    <drseg> = ti_drseg[].  " this will modify the data in MIRO with your modified data
    Regards,
    Naimesh Patel

  • HOW CAN I GET MY CHANGE IN PROCESSING(got it)?

    Hi all....
       please understand my requiement and get back with your valueble answers...
    iam having one table control in one of my screen....
    in that....table control it contains three fields.... so as we know three columns...
    middle column is for second field...
      here i am changing first entry ( 1st row of second column) manually... and clicking one push button of my screen to do some caluclation part combine with table control entries...
    ex: table controls looks like.....(before)
         1   100 ab
         2   200 gh
         3   300 vf
         4   400 fh
         .. .... ......  etc
    now manual i changed above like....(after)
         1   150 ab       <------ only change
         2   200 gh
         3   300 vf
         4   400 fh
         .. .... ......  etc
    So... here my problem is iam getting my caluculation part with that field as 100 only.... not as 150,
    even i debug this variable with defferent conditions like......
       READ TABLE ITAB WHERE ITAB-F1 = 1.
    SO HOW CAN I GET MY CHANGE IN PROCESSING? WHERE I HAV TO MODIFY MY PROGRAM?
    (edited: prevoius ly this value is capturing correctly...because that calculation part is in the module which is added between chain and endchain)
    Expect Max marks,
    Thanks,
    Naveen
    Edited by: Naveen Inuganti on May 27, 2008 11:57 AM
    dont worry guys i got the answer.... we have to catch that varible in the chain and endchain operater.... by using module.....
    thank you all...
    bye...
    Edited by: Naveen Inuganti on May 27, 2008 3:41 PM
    Edited by: Naveen Inuganti on May 27, 2008 4:00 PM
    Edited by: Naveen Inuganti on Jun 13, 2008 11:44 AM

    Hi,
    I think f2 is a key field in table.So 150 considered as new entry.this case you have to keep 100 for delete from table then add 150 entry.i think you are getting update in itab.But not in table.If you  are not getting itab, post your code to check

  • How to get the Change node in Production Server!!!!!

    Hi Guys,
    Kindly let me know how to get the Change node in Production Server for the Transaction Code Pe03 for generating the Acknowledgement No for the year 2008 .
    Plz provide me the steps how to get the Change Node for Acknowledgement No so tat i can get the configuration done.
    Regards
    Ansuman Mohanty.

    Hi Mr!
    If you want to generate the e-file feature 40ACK, do it in our Customization client box (Golden box) & save the request & move to Quality & production.
    Still if you need to workout only in Production, than with the help of Basis people you can get the Production change mode for 5 to 10 min time & can generate it. But mostly Basis people wont give us change mode for Production box ... with ur request they can do..try it.
    Did u collected 4 quarter TAN no's for 2008 Quarter...if not collect it & generate it at a time.
    All the best:-)
    Kind Regards,
    Saisree.S

  • Get the pc name with domain name and add it to my properties file using commands

    i want to get the pc name with domain name and add it to my properties file using powershell  .
    sid

    function Get-Environment{
    [environment]|Get-Member -Static -MemberType Properties |
    ForEach-Object{
    if($_.Name -ne 'StackTrace'){
    $v=[scriptblock]::Create("[environment]::$($_.Name)").Invoke()
    New-Object PsCustomObject -Property ([ordered]@{Name=$_.Name;Value=$v[0]})
    Get-Environment
    Get-Environment | Out-String | Out-File environment.txt
    ¯\_(ツ)_/¯

  • I ordered Illustrator for another user.  I received an invitation that was accepted, logged in and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person?

    I ordered Illustrator via creative cloud for another user.  I received an invitation that was accepted  and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person? 

    Cloud as a Gift https://forums.adobe.com/thread/1665610

  • Changing the default domain name of the server.

    I know this is not the correct title for the topic. but its the best word i could found on my voculabary.
    here's my problem.
    Im using Sun App Server 9. the server is installed in the local machine. for testing purposes client access from the local server is sufficient. I deployed a web service using net beans 5.5. My problem is that the WSDL file is generated (by server) uses a fully qualified domain name rather than localhost. for example it uses http://mlb.stdmlb.sliit.lk:8080. When i try to create a client using netbeans it tries to access the server using this address (the one in the WSDL) but the firewall denies access to port 8080. Therefore i want to use the server to use localhost rather than the long domai name. (at least http://mlb) Can anyone tell me how to configure this?
    Lahiru

    These are the steps for changing domain name & IP address without reinstall
    a) Stop the Gateway and Server .
    b) Export the profile server database to a flat ldif file:
    # /opt/netscape/directory4/slapd-host_name/db2ldif /temp/profile.ldif
    c) Use awk, perl, or vi, to change every instance of the system domainname in the ldif file to that of the new system.
    d) Import the edited ldif file into the profile server on the new machine:
    # /opt/netscape/directory4/slapd-/ldif2db -i /temp/profile.ldif
    e) edit etc/opt/SUNWips/platform.conf and change all the domain name & Ip address
    f) edit /etc/opt/SUNWips/properties.file change the domain name
    g) Start the platform server and gateway on the new machine.

  • How to change the Credential domain Value in XML gateway?

    How to change the Credential domain Value in XML gateway?
    configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
    <Header>
    <From>
    <Credential domain="olgridap1.lan">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>
    Desired XML header
    <Header>
    <From>
    <Credential domain="DUNS">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>

    You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.

  • How to refresh VO to get the changed value in other AM or backend database

    one VO is refrenced by two AMs, when i insert or update data by VO in one AM, how to get the changed data in another AM ?
    another case is i have updated some attributes of the record in database by SQL statement ,but the client can not get the updated value at once .
    i have tried to use executeQuery() ,but it does not work. now i always do a rollback method ,a bad idea.:)
    pls help me ! thanks
    Message was edited by:
    Guo Qinghua

    Mind that ADF BC (probably like any other persistence framework) caches data. So when you update something in the database other than via ADF BC, you then have in the ADF BC cache what is called 'stale data'. When you try to commit that nevertheless, the database will tell ADF BC that the record in the database has been updated by another user, and a rollback will be done. That is all to be expected.
    You can find some more info on how this works here:
    http://download-uk.oracle.com/docs/html/B25947_01/bcvoeo007.htm
    It also explains how to clear the cache and enforce that data will be read from the database.
    Jan Kettenis

  • How to get the Change Document Header details for a given date

    Hi All,
    Can anyone help me on this Change Document Header details(CDHDR).
    Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
    So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
    Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
    Thanks in advance
    Regards
    Chakri

    HI,
    Go through the documenattion of the FM u can get the details.. and also where used list
    Regards,
    Nagaraj

  • Changing the host domain in XI Server

    Could anyone tell me if it is possible to change the domain of the server where is SAP XI installed?
    Is a great effort to change configuration files? It's very risky?
    It's better to do a new installion with the server in new domain?
    Thanks in advance,
    Maria

    I have heard of hostname change but not domain name change.
    There is a OSS note 8307 for hostname change. This is what I would do to change the domain name.
    First shutdown the server and make an image of the server.
    Then change the domain name in your <b>hosts</b> file, <b>instance profile</b>, <b>exchange profile</b>, wherever you have it.
    Regards
    Shravan

Maybe you are looking for