Changelog maxage attribute - recommended value

What is the SUN recommended value for this attribute?
We notice a large number of entries (500 000) in the MetaDirectory directory changelog where we have a comparatively small number of entries in our MV
Does Meta ever purge the changelog?

I think it depends on how often you run Meta-Directory. So, if you sync every night, you need 2d, if you sync every week, 8d will be enough.

Similar Messages

  • Changelog maxage  recommended value

    Is there any recommended value for this attribute, if it is added?
    We notice 500 000 entries in the changelog and our directory has only 20 000 user entries.
    What performance issues are there if I use 14d rather than 7d
    Any hints accepted.

    I think it depends on how often you run Meta-Directory. So, if you sync every night, you need 2d, if you sync every week, 8d will be enough.

  • VMM 2012 R2 - Create or Update Run As Account Failure: The specified directory service attribute or value does not exist

    VMM 2012R2 UR4 - Version 3.2.7768.0
    Not sure when this started happening since I haven't had to update or create a new RunAs account in VMM in some time, but every time I do, either through the console or through PowerShell it throws an error about The specified directory service attribute
    or value does not exist.  The VMM Service account is the same as it always has been, and other than this issue everything with VMM is working fine.  The full text of the error message is below.
    I am hoping someone has some ideas because I don't have any more at this point.
    ------------------- Error Report -------------------
    Error report created 12/22/2014 9:43:33 AM
    CLR is not terminating
    --------------- Bucketing Parameters ---------------
    EventType=VMM20
    P1(appName)=vmmservice.exe
    P2(appVersion)=3.2.7768.0
    P3(assemblyName)=Microsoft.Cryptography.DKM.dll
    P4(assemblyVer)=3.2.7510.0
    P5(methodName)=Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys
    P6(exceptionType)=System.Runtime.InteropServices.COMException
    P7(callstackHash)=d0d2
    SCVMM Version=3.2.7768.0
    SCVMM flavor=C-buddy-RTL-AMD64
    Default Assembly Version=3.2.7768.0
    Executable Name=vmmservice.exe
    Executable Version=3.2.7768.0
    Base Exception Target Site=140712994535888
    Base Exception Assembly name=System.DirectoryServices.dll
    Base Exception Method Name=System.DirectoryServices.DirectoryEntry.Bind
    Exception Message=The specified directory service attribute or value does not exist.
    EIP=0x00007ffa67d15bf8
    Build bit-size=64
    ------------ exceptionObject.ToString() ------------
    System.Runtime.InteropServices.COMException (0x8007200A): The specified directory service attribute or value does not exist.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_IsContainer()
       at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
       at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.FindNewestKey()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy)
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext)
       at Microsoft.VirtualManager.Engine.DKMUtil.Protect(Byte[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(Char[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(SecureString data)
       at Microsoft.VirtualManager.DB.RunAs.RunAsDBAccess.UpsertRunAsAccount(RunAsAccountData data, SqlContext context, Boolean isAdd, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.AddOrUpdateObjectInDB(SqlContext context, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.UpdateDB(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.Update(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetRunAsAccountTask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    --------------- exception.StackTrace ---------------
    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_IsContainer()
       at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
       at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.FindNewestKey()
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy)
       at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext)
       at Microsoft.VirtualManager.Engine.DKMUtil.Protect(Byte[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(Char[] data)
       at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(SecureString data)
       at Microsoft.VirtualManager.DB.RunAs.RunAsDBAccess.UpsertRunAsAccount(RunAsAccountData data, SqlContext context, Boolean isAdd, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.AddOrUpdateObjectInDB(SqlContext context, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.UpdateDB(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.Update(SqlContext ctx, Boolean setCredential)
       at Microsoft.VirtualManager.Engine.AuthorizationManager.SetRunAsAccountTask.RunSubtask()
       at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
    ------------- StackTrace from handler --------------
    This is the call stack from where the exception was caught, not where it was thrown.
    at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
       at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    -------------------- Assemblies --------------------
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
        Module=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
        Version=4.0.30319.34014
        BuildType=retail
        Product=Microsoft® .NET Framework
    VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
        Version=4.0.30319.34003
        BuildType=retail
        Product=Microsoft® .NET Framework
    TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Skuhelper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Remoting, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
        Version=4.0.30319.34230
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
        Version=4.0.30319.33440
        Product=Microsoft® .NET Framework
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
        Version=4.0.30319.34230
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.Adhc.Operations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.TaskRepository, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ImgLibEngine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VmmHelperHost, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VirtualizationInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    NetworkServiceInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    ClusterUtil, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    VMWareImplementation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.AuthorizationManagerTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Backup, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.BitBos, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
        Version=6.3.9600.17090
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    WsManWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    SqmWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Deployment, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement.ResourceModel, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ImgLibOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
        Version=4.0.30319.34230
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.CustomProperties, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.VmOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.MomDal, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    Engine.PxeServer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Placement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.P2VCommon, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    PatchExtractor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
    Engine.ConfigurationProviders, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GatewayInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
        Version=6.3.9600.16384
        BuildType=retail
        Product=Microsoft (R) Windows (R) Operating System
    Microsoft.CapacityManager.Modeling.Store.ModelLibrary, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CustomPropertyTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.UMOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.Tasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.ServiceOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    GoalState, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
        Version=3.2.7768.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    Engine.CloudService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
        Version=3.2.7672.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    WSManAutomation, Version=3.2.7768.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
    wmiWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
        Version=3.2.7510.0
        BuildType=retail
        Product=System Center Virtual Machine Manager 2012 R2
    System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
        Version=4.0.30319.33440
        Product=Microsoft® .NET Framework
    System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
        Version=4.0.30319.33440
        BuildType=retail
        Product=Microsoft® .NET Framework
    --------- Extra Data for Watson Report -------------
    Error Reporting Enabled=True
    *** Extra Data ***
    Process ID = 4356 (0x1104)
    Managed Thread ID = 18
    Native Thread ID = 5520 (0x1590)
    MCITP | VCP4 | VCP5

    Hi,
    You want userPrincipalName, not userPrincipleName.
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms680857%28v=vs.85%29.aspx
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Not able to import Attribute Text Values in Taxonomy table

    Hi Experts,
    I have an excel file with 54K records of Attribute text values need to import in to taxonomy table. my excel file has 3 fields like ID, Name, Text Values. While mapping the fields in feild mapping grid, I have mapped ID field with Attribute Alias, Name with Attribute name, Text Value with Text Value and clone field of Text Value with [Text Value Remote Key]. Based on the field mapping I was trying to map values for ID filed with Attribute Alias field. Here I found Attribute Alias field has values in destination grid which were imported before for Attribute Name ID's in to the Alias field for attribute names.
    Here I found these values are different when I tried to map these values and the Value map buttons(Automap/Map/Add) were disabled.
    in the same way I tried with out maping the values for Attribute value id and selected the Attribute Alias field as value mapping field. but here in the import actions tab the records are active and disabled the import action option.
    so I have executed the import process, but no attribute text values were imported in to Taxonomy table.
    I am using the MDM 7.1 with build version 7.1.01.46.
    Please let me know if anyone came across this situation.
    Thanks,
    RDNPrasad

    problem solved

  • Category attributes default values updating

    Hi,
    I'm developing an application that, upon upload of a file to the specified root folder(through the application), reads some values from a file, creates a folder structure based on those values, and moves the file in the bottom folder. Now, a predefined category should be attached to the file, to enable search by category attributes. My idea is to set the category as required on that bottom folder (or the first), and modify it's attribute default values, so that the file inherits them when moved in it. I have found mshannon's examples in some other thread ( Updating a document with category metadata using updateDocument(): error! ), the first one works only with files, not folders, and the second one doesn't work for me at all, I get an error:
    javax.faces.el.EvaluationException: ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError
    here is my code:
    public static void updateAttributes() throws FdkException, RemoteException{
    login();
    FileManager fm = s_WsCon.getFileManager();
    Item fajl = fm.resolvePath(prop.getProperty("userhome") + "/root folder/folder1/readme1.txt",
    null);
    long docID = fajl.getId();
    NamedValue[] catInstAtr = new NamedValue[] {
    new NamedValue("CUSTOM_138297", "changed value for att1"),
    new NamedValue("CUSTOM_138299", "changed value for att2")
    NamedValue[] catDef = new NamedValue[] {
    new NamedValue(Options.UPDATE_CATEGORY_ID,new Long(139054)),
    new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, catInstAtr)
    NamedValue[] docDef = new NamedValue[] {
    new NamedValue(Options.CATEGORY_DEFINITION, catDef)
    AttributeRequest[] reqAtr = new AttributeRequest[]{
    new AttributeRequest(Attributes.DESCRIPTION, null)
    fajl = fm.updateDocument(docID, docDef, reqAtr);
    logut();
    This example is (I think) only for updating on document level, but I could use a solution for folder-level updating, as I explained before. Can anyone help me?
    Thanks,
    Pedja

    Pedja,
    Here is my code to get category from Folder this is updated version from sample code TestCategory2.java
    1. It will get the required category of a folder.
    2. gets the internal category attribute names
    3. get Category id if uploading file along with category attribute values OR
    updating file and also updating previous category instance values..
    package oracle.ifs.examples.content.testcases;
    import java.util.Map;
    import java.util.Properties;
    import java.util.*;
    // Facade Objects
    import oracle.ifs.fdk.AttributeRequest;
    import oracle.ifs.fdk.Attributes;
    import oracle.ifs.fdk.FdkConstants;
    import oracle.ifs.fdk.FdkErrorCodes;
    import oracle.ifs.fdk.FdkException;
    import oracle.ifs.fdk.FdkExceptionEntry;
    import oracle.ifs.fdk.Item;
    import oracle.ifs.fdk.Options;
    import oracle.ifs.fdk.NamedValue;
    import oracle.ifs.fdk.NamedValueSet;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import HTTPClient.HttpOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.URL;
    // Web Services Managers
    import oracle.ifs.fdk.CategoryManager;
    import oracle.ifs.fdk.CommonManager;
    import oracle.ifs.fdk.FileManager;
    // Framework
    import oracle.ifs.examples.content.fdk.FdkSession;
    import oracle.ifs.examples.content.fdk.FdkUtils;
    import oracle.ifs.examples.content.fdk.Managers;
    import oracle.ifs.examples.content.fdk.constants.ItemAttributes;
    import oracle.ifs.examples.content.fdk.constants.NamedValueConstants;
    import oracle.ifs.examples.content.testcases.AbstractTest;
    public class TestCategories3
    implements ItemAttributes, NamedValueConstants
    public TestCategories3()
    public static void main(String[] args)
    TestCategories3 tc3= new TestCategories3();
    tc3.getCatinfo();
    * This is where you write your test program.
    public void getCatinfo()
    log(this.getClass().getName()+": starting");
    FdkSession session = null;
    try
    AttributeRequest[] requestedAttributes = null;
    NamedValue[] sortOptions = null;
    Map returnedAttrs = null, map = null;
    log("\nAuthenticating as regular test user ...");
    session = new FdkSession("http://xxx.com:8320/content/","anakkala","sample");
    CommonManager commonM = Managers.getCommonManager(session);
    CategoryManager categoryM = Managers.getCategoryManager(session);
    FileManager fileM = Managers.getFileManager(session);
    // save this attribute request so that it can be used later
    AttributeRequest[] AR_CATEGORY_CONFIGURATION_ATTRIBUTES =
    FdkUtils.newAttributeRequestArray(Attributes.CATEGORY_CONFIGURATION,
    FdkUtils.newAttributeRequestArray(new Object[]
    // Is the category configuration enabled
    FdkUtils.newAttributeRequest(Attributes.CONFIGURATION_ENABLED),
    // Can the category configuration be overridden or is it final
    FdkUtils.newAttributeRequest(Attributes.CONFIGURATION_FINAL),
    // What are the required categories for the category configuration
    FdkUtils.newAttributeRequest(Attributes.REQUIRED_CATEGORIES,
    // for the required categories ...
    FdkUtils.newAttributeRequestArray(new Object[]
    // What is the category classobject display name
    FdkUtils.newAttributeRequest(Attributes.DISPLAY_NAME),
    // get attributes inherited and introduced by category object
    FdkUtils.newAttributeRequest(Attributes.METADATA_ATTRIBUTES,
    // get full settings for each of these attributes
    FdkUtils.newAttributeRequestArray(METADATA_ATTRIBUTE_ATTRIBUTES)
    // Are there any attribute overrides for this category config?
    FdkUtils.newAttributeRequest(Attributes.ATTRIBUTE_OVERRIDES,
    // get full settings for each of these attribute overrides
    FdkUtils.newAttributeRequestArray(ATTRIBUTE_OVERRIDE_ATTRIBUTES))
    log("\nLooking up folder /d-rco/C1/L1/folder1 ...");
    // convert attribute request map to AttributeRequest[]
    requestedAttributes = AR_CATEGORY_CONFIGURATION_ATTRIBUTES;
    Item folder =fileM.resolvePath(
    "/d-rco/C1/L1/folder1",
    requestedAttributes);
    log("folder id is="+folder.getId());
    log("\nProcessing requested attributes - goal: generate override ...");
    //returns a map
    returnedAttrs = FdkUtils.getAttributesMap(folder);
    Item categoryConfig = (Item)
    returnedAttrs.get(Attributes.CATEGORY_CONFIGURATION);
    returnedAttrs = FdkUtils.getAttributesMap(categoryConfig);
    // is CategoryConfiguration enabled?
    Boolean ccEnabled = (Boolean) returnedAttrs.
    get(Attributes.CONFIGURATION_ENABLED);
    // is CategoryConfiguration final? false=subfolders can override
    Boolean ccFinal = (Boolean) returnedAttrs.
    get(Attributes.CONFIGURATION_FINAL);
    // what are the attribute overrides for this category configuration
    log("\nAttribute overrides ...");
    Item[] attributeOverrides = (Item[]) returnedAttrs.
    get(Attributes.ATTRIBUTE_OVERRIDES);
    FdkUtils.log(attributeOverrides);
    // what are the requred categories for this category configuration
    log("\nRequired categories ...");
    Item[] reqCategories = (Item[]) returnedAttrs.get(Attributes.REQUIRED_CATEGORIES);
    FdkUtils.log(reqCategories);
    log("After printing required categories");
    if(ccEnabled.booleanValue() && !ccFinal.booleanValue()
    && reqCategories != null && reqCategories.length >= 1)
    // Folder /<domain>/<basecontainer>/L1/F3.EC has an enabled category
    // configuration that can be overridden and has required categories
    // present ...
    Item category = null;
    for (int i=0; i < reqCategories.length; i++)
    returnedAttrs = FdkUtils.getAttributesMap(reqCategories);
    log( "xxx name="+((String) returnedAttrs.get(Attributes.DISPLAY_NAME) ));
    if ( ((String) returnedAttrs.get(Attributes.DISPLAY_NAME)).
    equals("BG_Serv_Req"))
    category = reqCategories[i];
    break;
    log("category id="+category.getId());
    if (category != null)
    NamedValue[] internalCategoryAttrs = null;
    try {
    internalCategoryAttrs =getInternalCategoryAttrNames("BG_Serv_Req",session);
    }catch(Exception e)
    log("error getting internal names");
    e.printStackTrace();
    log("Category Attribute internal Name ="+ (String)internalCategoryAttrs[0].getValue());
    log("Category Attribute internal Name ="+ (String)internalCategoryAttrs[1].getValue());
    NamedValue[] categoryInstanceAttributes = new NamedValue[] { 
    // use the internal attribute name for all attributes
    new NamedValue((String)internalCategoryAttrs[0].getValue(), "XNXNXNXN 234"),
    new NamedValue((String)internalCategoryAttrs[1].getValue(), "SNKKSKSK 1234")
    NamedValue[] categoryDef = new NamedValue[] { 
    // the id of the category object class for which this new category will be an
    //instance of
    new NamedValue(Options.CATEGORY_CLASS_ID, new Long(category.getId())),
    // the updated values of the category instance
    new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
    String sourceFile="test.doc";
    String folderPath = "C:\\upload";
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    Item doc = fileM.resolveRelativePath(folder.getId(),sourceFile, requestedAttributes);
    log("START ORACLE TEST CODE FROM TAR");
    // this will get the category instance id
    AttributeRequest categoryAR = new AttributeRequest();
    categoryAR.setAttributeName(Attributes.CATEGORIES);
    AttributeRequest[] attrRequests = new AttributeRequest[]
    { categoryAR};
    Item myDoc = commonM.getItem(doc.getId(), attrRequests);
    NamedValue[] requestedAttributesNV = myDoc.getRequestedAttributes();
    int length = requestedAttributesNV == null ? 0 :
    requestedAttributesNV.length;
    Item[] itemCategories = null;
    log("length="+length);
    for (int i = 0; i < length; i++)
    log("requestedAttributesNV[i].getName()="+requestedAttributesNV[i].getName());
    if(requestedAttributesNV[i].getName().equals(Attributes.CATEGORIES))
    itemCategories = (Item[]) requestedAttributesNV[i].getValue();
    length = itemCategories == null ? 0 : itemCategories.length;
    log("length="+length);
    long categoryInstanceId = 0;
    for (int i = 0; i < length; i++)
    log("Category instance " + itemCategories[i].getName() + " has id " +
    itemCategories[i].getId());
    categoryInstanceId = itemCategories[i].getId();
    log("END ORACLE TEST CODE FROM TAR");
    /* If the document does not exist in OCS */
    if (doc == null) {
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    NamedValue[] nvdoc = FdkUtils.newNamedValueArray(
    new Object[][] { { Attributes.NAME,sourceFile} }
    Item def = fileM.createDocumentDefinition(nvdoc,requestedAttributes);
    int uploadStatusCode = uploadContent(
    session,
    getSampleFileStream(sourceFile,folderPath),
    (String) FdkUtils.getAttribute(def,Attributes.URL)
    log("Upload Status to definition file: "+uploadStatusCode);
    nvdoc = FdkUtils.newNamedValueArray(
    new Object[][]
    { Attributes.NAME,sourceFile},
    { Options.USE_SAVED_DEFINITION, new Long(def.getId())},
    { Options.DESTFOLDER, new Long(folder.getId()) },
    // apply category instance informationnew
    { Options.CATEGORY_DEFINITION, categoryDef }
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    doc = fileM.createDocument(nvdoc,null,requestedAttributes);
    }else /* if document already exist in OCS */
              log(sourceFile+" file exists so updating ...");
    int uploadStatusCode = uploadContent(
    session,
    getSampleFileStream(sourceFile,folderPath),
    (String) FdkUtils.getAttribute(doc ,Attributes.URL)
    log("uploadStatusCode="+uploadStatusCode);
    FileInputStream fi= getSampleFileStream(sourceFile,folderPath);
    log("category id using in update="+ category.getId());
    NamedValue[] updatecatdef = new NamedValue[] {
    //new NamedValue(Options.UPDATE_CATEGORY_ID, new Long(category.getId())),
    new NamedValue(Options.UPDATE_CATEGORY_ID, new Long(categoryInstanceId)),
    new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES,
    new NamedValue[] {
    new NamedValue((String)internalCategoryAttrs[0].getValue(), "AH234 V2"),
    new NamedValue((String)internalCategoryAttrs[1].getValue(), "SNHGZ12 V2")
    NamedValue[] nv = FdkUtils.newNamedValueArray(
    new Object[][]
    { Attributes.NAME,sourceFile},
    { Attributes.DESCRIPTION,"Sample file"},
    //{Options.CONTENTSTREAM, fi},
    { Options.CATEGORY_DEFINITION, updatecatdef }//Newly added for category upload
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    // THIS IS WHERE WE ARE GETTING ERROR
    fileM.updateDocument(doc.getId(),nv,requestedAttributes);
    System.out.println("doc = fm.updateDocument is complete ........." );
    } // end if (Document Confidentiality category present)
    } // end if category configuration enabled / overridable etc
    catch (FdkException fe)
    FdkUtils.log(fe);
    fe.printStackTrace();
    catch (Exception e)
    // java.net.MalformedURLException;
    // java.rmi.RemoteException;
    // javax.xml.rpc.ServiceException;
    // org.apache.axis.AxisFault
    log("Fatal exception occurred in run():");
    e.printStackTrace();
    finally
    if (session != null)
    session.disconnect();
    log("\n"+this.getClass().getName()+": ending");
    private FileInputStream getSampleFileStream(String filename,String path)
    throws FileNotFoundException
    FileInputStream stream = null;
    if (filename != null && filename.length() >= 1)
    if (path.length() >=1 && !path.endsWith("/"))
    path += "/";
    stream = new FileInputStream(new File(path+filename));
    return stream;
    public int uploadContent(
    FdkSession session,
    InputStream inputStream,
    String destinationURL
    throws Exception
    int statusCode = -1;
    if (inputStream == null) return statusCode;
    HTTPConnection conn = null;
    try
    URL url = new URL(destinationURL);
    conn = session.getHttpConnection(url);
    byte[] buffer = new byte[8192];
    int count=0;
    HttpOutputStream outputStream = new HttpOutputStream();
    HTTPResponse response = conn.Put(url.getFile(), outputStream);
    try
    while ((count = inputStream.read(buffer)) != -1)
    outputStream.write(buffer, 0, count);
    finally
    outputStream.flush();
    outputStream.close();
    statusCode = response.getStatusCode();
    finally
    if (inputStream != null)
    inputStream.close();
    if (conn != null)
    conn.stop();
    conn = null;
    return statusCode;
    // Handle the response. Note that a successful response may not be
    // 200, but may also be 201 Created, 204 No Content or any of the other
    // 2xx range responses.
    public void log(String s)
    System.out.println(s);
    public NamedValue[] getInternalCategoryAttrNames(String categoryName,FdkSession session) throws Exception
    NamedValue[] returnNV = null;
    Map attmap = new HashMap();
                   attmap.put(Attributes.METADATA_ATTRIBUTES,
                   FdkUtils.newAttributeRequestArray(
                   new String[] { Attributes.ATTRIBUTE_NAME,
                   Attributes.DISPLAY_NAME }));
                   AttributeRequest[] request = FdkUtils.getAttributeRequestArray(attmap);
                   Item cat = FdkUtils.getCategoryObject(session, null, categoryName, request);
    log("inside method cat id="+cat.getId());
    /** ANAKKALA START **/
    NamedValue[] catNV = cat.getRequestedAttributes();
    if( catNV != null && catNV.length >0)
    for (int i=0; i<catNV.length; i++)
    if(catNV[i].getName().equals("METADATA_ATTRIBUTES"))
    //log("** CatNV.getName="+catNV[i].getName()+" value="+catNV[i].getValue());
    Item[] meta = (Item[]) catNV[i].getValue();
    log("meta length="+meta.length);
    returnNV = new NamedValue[meta.length];
    for (int j=0; j<meta.length; j++)
    log("--Item getname="+meta[j].getName()+" value="+meta[j].getId()+" gettype="+meta[j].getType()+" gettypedesc="+meta[j].getTypeDesc());
    returnNV[j] = new NamedValue(meta[j].getName(),meta[j].getName());
    NamedValue[] metaNV = meta[j].getRequestedAttributes();
    log("---metaNV length="+metaNV.length);
    for(int k=0; k<metaNV.length; k++)
    log("------metaNV.getName="+metaNV[k].getName()+" value="+metaNV[k].getValue());
    /** ANAKKALA END **/
    //NamedValue[] ret = null;
    return returnNV;

  • Setting custom table attribute set value in region item table

    Dear all
    I am working on oracle application customization and extension in
    oracle JDeveloper R12. I am finding a difficulty in an query region of
    a OA framework page
    My Entity object is on the table FWK_TBX_ADDRESS table
    and VO objects has the fields or columns
    AddressName, AddreessId, TownC-OrCity
    what I am doing shown in the following steps
    1-I select region using wizard option
    2-select my AM and VO
    3-select table as style
    4-shuttle all attributes associated with VO
    5-in region items table , select the Attribute set field for AddressName attribute and click the serach flashligh icon
    6-After that select the browse button , using the package browser , expand down to oracle > apps > fnd> framwork > toolbox > attributesets, then oK
    7-select the serach control , and then it list all the attributes set related to fwkTbxEmployees table like the following
    /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    Now the problem which I am facing now is that if I have custom table suppose "xxEmployees" and have attributes or column
    for example employeeId, employee_name, email etc. what would I do to search these attributes when I come to step number 6 which
    I mentioned above. from where in which package I can find these attributes to set attributesset value. in above i find these attributes
    in /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    but in my case for attribute lie employeeId or employee_name from where I can get this how can I set the value of attribute set field in regin item
    table in step 5
    Noman

    I dont know what u trying to ask
    My problem is just that I want to set the attribute set value of my attribute employee_name, same is AddressId in fwk_tbx_address
    ame is AddressId in fwk_tbx_address found on
    /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    where can I find my attribute employee_name
    in jdeveloper

  • VSC 4.2.1 on vSphere 5.5 U2 fails to 'Set Recommended Values'

    I have three ESXi 5.5 U2 hosts and each time I click on 'Set Recommended Values' I get the following:
    "You have selected one or more hosts that the Monitoring and Host Configuration is unable to set the recommended values for."
    Can you guys think of a reason?
    Picture attached.

    From memory, VSC service account didn't have propagated permissions at the root of vCenter hierarchy. I was added ok but the checkbox to propagate perms down wasn’t ticked. Give it a go and see what happens

  • Upgrade from 11.5.10.2 to 12.1.3-Recommended Values for "Number of Workers"

    Hi,
    Please find below our configuration (PRODUCTION Machines) :
    - AppsTier (1 Node) :
    - O.S : Linux RedHat 5 (64 Bits)
    - 16 CPU
    - 4 Processors QuadCore
    - Total Memory : 18 Gb
    - DBTier (1 Node) :
    - O.S : HP-UX Itanium (64 Bits) - 11.31
    - 4 Processors QuadCore
    - Total Memory : 128 GB
    During the Upgrade from 11.5.10.2 to Release 12.1.3 , what are the recommended values for "Number of Workers" regarding this configuration ?
    Regards,

    Hi;
    Please review:
    How to Set Contingent Worker Numbering Within the Employee Numbering Sequence [ID 290750.1]
    How Does Adpatch Determine The Number Of Workers To Recommend? [ID 800024.1]
    How To Select Number of Workers Based on Number of CPUs When Running ADPATCH [ID 226191.1]
    Regard
    Helios

  • Remove XML attribute and value

    Hi All,
    I require to delete the attribute and value in xml structure.
    Below code is not working due to ":" (aid:cstyle) between attribute name.
    JS code is:
    evaluateXPathExpression("//typestyle[@aid:cstyle = 'bold']")
    If I remove colon and change it to aidcstyle than it is working. How to read : (colon)?
    Also it is showing alert message again and again.
    Please help.
    Chang.

    for the first problem there are two fixes:
    first one (simple, normal, no ideea why it's not there already) declare your aid (and aid5) namespaces in your xml. For example:
    <Root xmlns:aid=”http://ns.adobe.com/AdobeInDesign/4.0/”
    xmlns:aid5=”http://ns.adobe.com/AdobeInDesign/5.0/”>
    second one: more advanced xpath, if it works, using local_name() and namespace-uri(). My xpath-expert is not at work right now, so i can't help you more with this until he's back.
    second problem... no real fix for now. some characters that indesign uses (indentToHere and rightIndentTab, as far as I know, but may be others too) have no UTF equivalent, so you get that warning. you can eitehr ignore it, or, as I do, before doing anything with XML in scripting, i change the said characters to some marking (##RIT## and ##ITH##), and change them back after changing the XML

  • Inconsistent Behavior : error code 20 - attribute or value exists

         We are getting "error code 20 - attribute or value exists" randomly when we try to create a new user in the LDAP system. This error is thrown so randomly that it is really driving us crazy. With same values for all other mandatory fields and with just a different userId, this error is thrown for some cases and not for others. The entry is also NOT getting created in LDAP. We are able to create the same entry directly at the LDAP through jXxplorer.
    Stack Trace:
    Caused By: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=sdoc,cn=Users,dc=xxx,dc=xxx'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3051)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
        at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:791)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
        at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
    Is is a bug in rt.jar? We are using JRE1.6.45. Is there anyway we can increase the logging at the rt.jar?
    Is there anyway we can bypass this error?
    Your help is highly appreciated.

    I found out the reason already. The schema was not configured properly :)

  • Override attribute label values?

    Hi!
    I want to override view attribute label default values and replace them with translations that I get from a database table.
    I've made custom classes TranslateViewDefImpl (overriden function 'getAttributeDefImpls') which extends ViewDefImpl, TranslateViewObjectImpl (overriden 'getViewAttributeDefImpls') extends ViewObjectImpl, TranslateViewRowImpl (overriden 'createViewRowAttrHints' following this post) extends ViewRowImpl where I try to override attribute definitions.
    I used 'setProperty' method on attribute definitions to set 'AttributeHints.ATTRIBUTE_LABEL' and at first everything seemed fine - the right attribute translation appeared. But the problem is when we have two or more clients with different locale using the same page. In overriden methods using 'adi.setProperty(AttributeHints.ATTRIBUTE_LABEL, labelTranslation)', label gets set to the right client's (A) locale translation, but the problem is when another client B with different locale accesses the same page. At first he sees the right translations, but when the first client A refreshes the page, all attribute label translations are in the wrong locale (using client B's locale). When client A refreshes the page again, labels are in the right locale again, but when client B refreshes, he sees client A's locale translations.
    It looks like these overriden classes are all static for the whole application and when a property gets set, all clients are using the same property, adi.getProperty(AttributeHints.ATTRIBUTE_LABEL) returns the same value for all clients using the application.
    Then I stumbled accross this next post. At first I thought I've found the solution, but when I tried this approach it didn't work. This is the code:
    AttributeDefImpl at = (AttributeDefImpl) vo.getAttributeDef(0); 
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",  
                        "VEmployees.Id_LABEL"); 
         at = (AttributeDefImpl) vo.getAttributeDef(1); 
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",  
                        "VEmployees.LastName_LABEL"); 
         ViewDefImpl viewDef = (ViewDefImpl) ((ViewObjectImpl) vo).getDef(); 
         //Create custom properties bundle definition 
         PropertiesBundleDef rb = new PropertiesBundleDef(viewDef); 
         rb.setPropertiesFile("com.cs.blog.dynamicbundle.model.VEmployeesBundle"); 
         viewDef.setResourceBundleDef(rb); 
    I can't find anywhere documentation using "_ResId" with AttributeDefImpl.ATTRIBUTE_LABEL and setting my own resource bundle (that gets all translations from a database source). When I use this approach, attribute label values are not changed and have their default value.
    Please help. Is my approach way off? How did you translate view attribute labels using database translations?
    I'm using JDevelper 11.1.2.3.0

    Marko,
    All you need is:
    1. Your EO to point towards a ListResourceBundle class, instead of the default property bundle, as I described above.
    2. Each EO attribute to have the right name for the label:
        <Attribute
              Name="CountryNo"
              Precision="22"
              ColumnName="CountryNo"
              SQLType="NUMBER"
              Type="java.math.BigDecimal"
              ColumnType="NUMBER"
              IsPersistent="false"
              IsUpdateable="false">
            <Properties>
                <SchemaBasedProperties>
                    <LABEL
                          ResId="COUNTRY_NO_LABEL"/>
                    <FMT_FORMATTER
                          ResId="DefaultNumberFormatter_FMT_FORMATTER"/>
                    <FMT_FORMAT
                          ResId="MASK_NUMBER_1"/>
                </SchemaBasedProperties>
            </Properties>
        </Attribute>
    Here, you will need COUNTRY_NO_LABEL to be a key in your  dynamic resource bundle .
    As for my last comments, I am just pointing out that if you will add your labels through JDeveloper UI (through UI Hints tab), JDeveloper might try to change your code from ListResource class. Is why is better to do it manually, I think.
    Hope this helps,
    Florin

  • How to get zclass attribute's value inside  "Execute_default" method

    Hi all,
    I am displaying a link in UD step under "Objects & Attachmnents".I am using zclass. I created a attribute in zclass and i am creating a instance (background task) before this UD step and i will be setting a attribute of the zclass inside this create instance method.
    My problem is, if i click the link, this method "BI_OBJECT~EXECUTE_DEFAULT_METHOD" is getting executed but i am not able to get the attribute value inside this method, eventhough i am setting the attribute value before the UD step.
    Pls let me know, how to get the attribute's value inside "Execute_default" method, as i need to process further using this attribute.
    P.S: I tried with both static & instance attribute. I can achieve the same using ZBO but my client needs to use only class.
    -Vinoth
    Edited by: S Vinoth on Jan 29, 2010 7:23 AM

    Lei,
    If you are concerned only about a couple of attributes, then you can manage with a separate copy of the data. But if the data is in bulk, better leave it to pl/sql side of validation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Maintain Free Texts as Attribute Text Values

    Hi Friends,
    Is there a way to maintain random text values in an MDM Taxonomy Attribute. I understand that Attributes are designed to handle pre-defined values, but do we have a work-around to maintain free texts as Attribute Text Values.
    Any help would be appreciated.
    Regards,
    Anil Madhavan

    Hi Anil
    To add- we can also define new values from Data manager in record mode. Suppose we have attribute Nationality with text values maintained as Indian and German. While editing/creating a record in Data manager we need to enter a new value as Chinese this can be done by right clicking on attribute value cell and select Modify text attribute value list.
    This way we can add new values on ad hoc basis.
    hope this helps-
    Ravi

  • Node attributes - inputField value

    A couple of days ago I tried to connect the attribute "Projects.NAME" to a inputfield. But, when I executed the application, the input stay grey. (seems disabled)
    When I tried to connect a field to a context attribute ("NAME"), the form is OK.
    Did someone know why, and, how to fix this?

    Hi Adri,
    When create a context attribute say 'NAME' the access to it is available by default. But when you need to access the attribute that is bound inside a Node, it depends on the cardinality property. Only when an open element is available you can access the node attribute. If you want to access the node attribute then set the cardinality property of the node holding the attribute as 1...1 or 1...n  (OR) create an element and then try accessing it (when cardinaility is set to 0...1 or 0...n), i.e.,
    <b>IPrivate<View Name>.I<Node Name>Element<Element Name>=wdContext.node<Node Name>().create<Node Name>Element();
    Now you can access the element using the code as follows:
    <Element Name>.set<Attribute Name>(<Value>);
    Data Type <Variable> = <Element Name>.get<Attribute Name>(<Value>);</b>
    Regards,
    Mathan MP

  • Is it required to enter Attribute sets values?

    I am doing tutorials and it mentions to enter attribute set values for the fields. Is this required? Will the tutorial work If I do not enter this?

    Its not necessary to set Attribute sets values.
    Attribute set value is a set of properties for an item or regioni.
    Hence when we set attribute value for some item, it sets other properties of that item like colour, promt and such other properties.
    In short, if you dont want to manually set all properties, just specify the attribute set value, you may see that all other properties are also set.
    Abdul Wahid

Maybe you are looking for

  • Computer just beeps when it's turned on

    My computer screen went black: My screen goes black every time I turn it on I tried a bunch of things but it didn't work. I think the screen was just broken. It seemed to be coming on like normal, just without a screen. Then I really messed it up. I

  • Synchronizing on Process Instance Object

    Hi, We have a process web service, which is used to create, notify and update BPM process instances. This process web service is accessed from Java code. The java code uses a re-try mechanism to talk to the process web service. We want this to be cha

  • Can't uninstall/reinstall itunes on ipod.

    Hi, Can anyone help me? My iPod got left in the sun at the weekend and now wont turn on - it goes to the apple logo and then to the "folder + exclamation mark" screen that directs you to the support pages. I followed the instructions I found there -

  • AIX 9.0.1 archives seem to be corrupt?

    I am trying to download/install 9.0.1 for AIX, and am having trouble extracting the archives. I download the *.cpio.gz files fine, and i can extract the *.cpio archives without a problem. When I attempt to extract files from within the cpio archive I

  • CVS and any other???

    Hii, I heard about Concurrent Version System (CVS), and it is platform independent. Is there any other tool better than this????????? Visual Source Safe is one from microsoft...but, only with windows...so, forget it. Can somebody help me getting the