System.setProperty(key,value )

Where do i find information about diffrent keys (name of system properties )
i am using following once but where do i find all the listings.
System.setProperty ("http.proxyHost", "myserver");
System.setProperty ("http.proxyPort", "8080");
Vijay

I get this output not htto.* properties
java.runtime.name
sun.boot.library.path
java.vm.version
java.vm.vendor
java.vendor.url
path.separator
java.vm.name
file.encoding.pkg
user.country
sun.os.patch.level
java.vm.specification.name
user.dir
java.runtime.version
java.awt.graphicsenv
java.endorsed.dirs
os.arch
java.io.tmpdir
line.separator
java.vm.specification.vendor
user.variant
os.name
sun.java2d.fontpath
java.library.path
java.specification.name
java.class.version
java.util.prefs.PreferencesFactor
os.version
user.home
user.timezone
java.awt.printerjob
file.encoding
java.specification.version
user.name
java.class.path
java.vm.specification.version
sun.arch.data.model
java.home
java.specification.vendor
user.language
awt.toolkit
java.vm.info
java.version
java.ext.dirs
sun.boot.class.path
java.vendor
file.separator
java.vendor.url.bug
sun.cpu.endian
sun.io.unicode.encoding
sun.cpu.isalist
vijay

Similar Messages

  • Unable to syndicate same Remote System with differnt value

    Hi,
    I am working on MDM 7.1 SP05 and I have the following issue with syndication:
    I have a remote system table (Key Enabled) with System as Non-Qualifier and value as Qualifier and I have values in the MDM Datamanager as
    MDM ID, Remotesystem (Multivalue Qualifier Table with Key Enabled)
    111,((Qual1-Key,Val1),(Qual1-Key,Val2),(Qual1-Key,Val3))
    When I syndicate I see only one value as 111, (Qual1,Val3)... But I want to have all the Qualifiers-Key with multiple values.. Where as in MDM 5.5 I can see all the Qualifiers with out any issues..Is this a restriction in MDM 7.1?
    If I map System instead of Remote Key of Qualifier Table then I can see multiple times of same remote system with appropriate values.. But If I map remote key then I see the consolidated/the latest system-remote key wiht value... But I want system-remote key value appear multiple times...
    Thanks alot
    Rajeev

    I am using customised...
    Did you tried syndicating Remote key of that table or the field of the Qualifer table?
    I am able to syndicate out with the system field and values.. But I want to syndicate out the multiple values wiht remote key of the table..
    As mentioned Remote keys are AAA and BBB for System Sys1 and Sys2..
    First I imported remote system table with Sys1 and Sys2 with remote Keys as AAA and BBB. then along wiht main table record I imported Sys1 and Sy2...
    While Syndicating I want to syndicate AAA and BBB values along with Value field...
    Suppose:
    I have data :
    MDM ID, RemoteSystem(System, Value)
    111, ((Sys1,Val1),(Sys1,Val2),(Sys1,Val3),(Sys2,Val1))
    Remote Keys for Sys1AAA and Sys2BBB
    In the Syndication Manager I mapped as below: RemoteSystems RemoteKey and value are mapped to target...
    RemoteSystem
    --RemoteKey
    System(DFNQ)
    --Value(Qualifier)
    I mapped RemoteKey and Value to the target fields.. Which is a XML output..
    <REMOTE_SYSTEM>
    - <Z_MDM_REMOTE_SYSTEM >
    <Z_MDM_SYSTEM_NAME>AAA</Z_MDM_SYSTEM_NAME>
    <Z_MDM_VALUE>Val3</Z_MDM_VALUE>
    </Z_MDM_REMOTE_SYSTEM>
    - <Z_MDM_REMOTE_SYSTEM >
    <Z_MDM_SYSTEM_NAME>BBB</Z_MDM_SYSTEM_NAME>
    <Z_MDM_VALUE>Val1</Z_MDM_VALUE>
    </Z_MDM_REMOTE_SYSTEM>
    </REMOTE_SYSTEM>
    Where I need the following Output:
    <REMOTE_SYSTEM>
    - <Z_MDM_REMOTE_SYSTEM >
    <Z_MDM_SYSTEM_NAME>AAA</Z_MDM_SYSTEM_NAME>
    <Z_MDM_VALUE>Val1</Z_MDM_VALUE>
    </Z_MDM_REMOTE_SYSTEM>
    - <Z_MDM_REMOTE_SYSTEM >
    <Z_MDM_SYSTEM_NAME>AAA</Z_MDM_SYSTEM_NAME>
    <Z_MDM_VALUE>Val2</Z_MDM_VALUE>
    </Z_MDM_REMOTE_SYSTEM>
    - <Z_MDM_REMOTE_SYSTEM >
    <Z_MDM_SYSTEM_NAME>AAA</Z_MDM_SYSTEM_NAME>
    <Z_MDM_VALUE>Val3</Z_MDM_VALUE>
    </Z_MDM_REMOTE_SYSTEM>
    - <Z_MDM_REMOTE_SYSTEM >
    <Z_MDM_SYSTEM_NAME>BBB</Z_MDM_SYSTEM_NAME>
    <Z_MDM_VALUE>Val1</Z_MDM_VALUE>
    </Z_MDM_REMOTE_SYSTEM>
    </REMOTE_SYSTEM>
    Any inputs.
    Thanks
    Rajeev

  • VB Script to accept PC names in text file and get registry key value out of those systems

    Hi All,
    My task: Create VB script to accept PC names from a text file, process each host name to get Registry key value of individual host name and finally export them to a text file or an excel sheet having registry key value against each pc.
    I want to pull key value of LSFORCEHOST located in HKCU/Environment of each PC and export this value against each pc in a text or Excel file.
    What I achieved: I am able to process against single pc name but failed to process 3000+ systems listed in a text file which I tried to process through VB script. I am not pro and learning the VBS and cant write complex code.
    My VBS code written so far(It failed many time with issue):
     Option Explicit
     Const HKEY_CURRENT_USER = &H80000001
     Dim oFSO, sFile, oFile, sText, strComputer,oReg, strKeyPath, strValueName, strValue, objFSO, objFile, strContents
     Set oFSO = CreateObject("Scripting.FileSystemObject")
     sFile = "test.txt"
     If oFSO.FileExists(sFile) Then
      Set oFile = oFSO.OpenTextFile(sFile, 1)
       Do While Not oFile.AtEndOfStream
        sText = oFile.ReadLine
         If Trim(sText) <> "" Then
    strComputer = sText
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
        strComputer & "\root\default:StdRegProv")
    strKeyPath = "Environment"
    strValueName = "LSFORCEHOST"
    oReg.GetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue
    Const ForReading = 1
    Const ForWriting = 2
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile("C:\destination.txt",1, ForReading)
    strContents = strValue
    Set objFile = objFSO.OpenTextFile("C:\destination.txt",2, ForWriting)
    objFile.Write strContents
    objFile.Close
    End If
    Loop
    oFile.Close
    End If
    I think when I tried to process each PC name from text file against registry key value, above code not working. As per my knowledge some issue in loop. Do I need to add FOR EACH feature? 
    Please help to correct it. Thanks in advance.

    I think when I tried to process each PC name from text file against registry key value, above code not working. As per my knowledge some issue in loop. Do I need to add FOR EACH feature? 
    Please help to correct it. Thanks in advance.
    Your code contains numerous errors. Furthermore you make things difficult for yourself by giving similar names to the objects used for your input and output. If you are a systems administrator then your best bet is to make an effort to learn the language
    instead of grabbing a few code fragments from here and there and hoping that somehow they will work.
    Try the cleaned up code below for this particular project. Note the consistent code indentation. It helps you enormously when trying to understand the structure of the code. Remember also that you must fully qualify all file paths. Writing to "Destination.txt"
    will cause endless confusion because you never know for sure where this file will reside.
     Const HKEY_CURRENT_USER = &H80000001
     Set oFSO = CreateObject("Scripting.FileSystemObject")
     sKeyPath = "Environment"
     sValueName = "LSFORCEHOST"
     sFile = "D:\Test.txt"
     If oFSO.FileExists(sFile) Then
       Set oInput = oFSO.OpenTextFile(sFile, 1)
       Do While Not oInput.AtEndOfStream
         sComputer = oInput.ReadLine
         If Trim(sComputer) <> "" Then
           Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
             & sComputer & "\root\default:StdRegProv")
           oReg.GetStringValue HKEY_CURRENT_USER,sKeyPath,sValueName,sValue
           Set oOutput = oFSO.OpenTextFile("D:\destination.txt",8, True)
           oOutput.WriteLine sValue
           oOutput.Close
        End If
      Loop
      oInput.Close
    End If

  • System error occurred (RFC call),key value exists in duplicate

    hi bw expert ,
    i happen the error report.
    "system error occurred (RFC call).
    key value exists in duplicate (Not allowed by the ODS object type).
    Activation of data records from ODS object Z08TRFKP terminated.
    No confirmation for request odsr_80p13w4lqhnib3g9tiflvth56 when activating ODS object Z08TRFKP.
    Request REQU_EVZB7CK82H7YMS13X3G42GKQY , data package 000001 contains errors with status 5 .
    Request REQU_EVZB7CK82H7YMS13X3G42GKQY , data package 000001 not correct.
    Inserted records 1- ; Changed records 1- ; Deleted records 1-
    pls, help me .
    thanks.

    hi experts,
    the first, i initial update the data from r3 to bw ods, it is successful. the second, the system automatic touch off delta update from r3 to bw ods. it is false. now i have deleted the false delta update and repeat extractive. but it is also error.
    please help me again.
    thanks.

  • How can I make "F5" key value to System

    subject : How can I make "F5" key value to System
    I like to refresh web page automatically.
    so I have to input "F5" key value of keyboard to local system.
    How can I do this job ?

    Thank you so much !
    I solved the problem thanks to your advice .
    Thank you again~

  • System.setProperty() doesn't seem to take new keystore

    Hi,
    I've spent a few hours hunting around on google and can't seem to find a solution to my problem so hopefully someone here can help.
    I've written a simulator for people at work that tests HTTPS connections using .jks keystores. Each time they make a request they pass in a few basic variables like IP Address and Port number etc but also the keystore file to use.
    The first HTTPS request always works fine, assuming they've passed in the correct keystore, but if they then change the keystore and point to another server it fails even if using the correct keystore. Here is the part of the code where the keystore is set.
    public HttpsURLConnection getHTTPSRequest(URL url) throws IOException {
              System.setProperty("javax.net.ssl.trustStore", ToolWindow.sHTTPSKeystoreLocation);
              System.setProperty("javax.net.ssl.keyStoreType", "JKS");
              System.out.println(ToolWindow.sHTTPSKeystoreLocation);
              System.out.println(System.getProperty("javax.net.ssl.trustStore"));
              HttpsURLConnection httpsURL = (HttpsURLConnection)url.openConnection();
              httpsURL.setHostnameVerifier(new HostnameVerifier()
                   public boolean verify(String hostname, SSLSession session)
                        return true;
              httpsURL.setRequestProperty("Content-Type","text/xml");
              httpsURL.setDoOutput(true);
              httpsURL.setDoInput(true);
              httpsURL.setConnectTimeout(iConnectTimeout);
              httpsURL.setReadTimeout(iReadTimeout);
              return httpsURL;
         }The System.out.println output always shows the correct keystore that's being passed in but the following exception gets thrown:
    nested exception is:
         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    I know the path and certificate are good because if I restart the application and put in the same values it works but each time I change the keystore it stops working. It seems like System.setProperty() isn't using the new keystore supplied when making the connection but then my System.out.println output would show that surely.
    Any help would be appreciated.
    Thanks.

    Hi ejp,
    Thanks for pointing me in the right direction. I eventually found a solution which I will share here in case anyone else has a similar problem. The reason why I couldn't put all private keys into a single keystore is that the tool I'm writing is for our Operations team to be able to test keystores that we give out to individual customers. From a security point of view it wouldn't be a good idea to give out every customers keystore to everyone else.
    Here is how I did my implementation.
    In my original class that creates the HttpsURLConnection only line changed as follows:
    public HttpsURLConnection getHTTPSRequest(URL url, SSLSocketFactory sslSF) throws IOException { // pass in SSLSocketFactory
         HttpsURLConnection httpsURL = (HttpsURLConnection)url.openConnection();
         httpsURL.setSSLSocketFactory(sslSF); // set SSLSocketFactory
         httpsURL.setHostnameVerifier(new HostnameVerifier()
              public boolean verify(String hostname, SSLSession session)
                   return true;
         httpsURL.setRequestProperty("Content-Type","text/xml");
         httpsURL.setDoOutput(true);
         httpsURL.setDoInput(true);
         httpsURL.setConnectTimeout(iConnectTimeout);
         httpsURL.setReadTimeout(iReadTimeoutDefault);
         return httpsURL;
    }and here is the code I added to build the SSLSocketFactory...
    KeyStore ks = KeyStore.getInstance("JKS"); // create new KeyStore object and pass in instance to constructor
    ks.load(new FileInputStream(ToolWindow.getHTTPSKeystoreFile()), ToolWindow.getKeystorePassword()); // load keystore file and password in to KeyStore instance
    KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); // create a new KeyManagerFactory object and pass in instance to constructor
    kmf.init(ks, ToolWindow.getKeystorePassword()); // initialize the KeyManagerFactory and pass in the KeyStore object and keystore password as variables
    TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509"); // create a new TrustManagerFactory object and pass in instance to constructor
    tmf.init(ks); // initialize the TrustManagerFactory and pass in the KeyManagerFactory object as a variable
    SSLContext c = SSLContext.getInstance("SSL"); // create a new SSLContext object and pass in instace to constructor
    c.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null); // initialize SSLContext and pass in Trust/KeyManagerFactory as variables
    SSLSocketFactory sf = c.getSocketFactory(); // create my SSLSocketFactory to be passed in to HttpsURLConnection
    HttpsURLConnection urlc = getHTTPSRequest(url,sf); // create a HttpsURLConnection by calling my method listed at the top of this post and passing in the variables I have herby described.Hope this helps someone else who runs into the same problem as me!

  • Remote Key values in one file

    Hi,
    Is there anyway to get the multiple remote key values(different remote systems) for a single record in a single XML file?
    Regards
    Nisha

    Hi Nisha,
    you can do this with Syndicator. Asuming that you have defined a XSD for your desired XML format, you can create a syndication map that uses the remote keys for all remote systems. The tab "Map Properties" has a property named "Remote Key Override". This property allows you to select the remote systems that you want to include in syndication. If you add all existing remote systems and set the property flag "Suppress records without key", syndicator creates an XML containing all remote keys.
    A suitable XML format could be something like
    <Root>
      <Record>
        <MdmId />
        <RemoteSystemCode />
        <RemoteKey />
      </Record>
    </Root>
    Record is the repeatable node.
    Use MdmId to identify the record in the repository (this is optional of course).
    Use RemoteSystemCode and RemoteKey to syndicate the key mapping.
    Best regards
    Michael

  • How can we export the Primary key values (along with other data) from an Advantage database?

    One of our customers is moving from our application (which uses Advantage Database Server) to another application (which uses other database technology). They have asked us to help export their data, so that they can migrate it to another database system. So far, we have used the Advantage Data Architect (ARC32) "Export Table Structures as Code" functionality to generate SQL. We used the "Include existing data" option. The SQL contains the necessary code to recreate the tables and indexes. The customer's IT staff will alter the SQL statements as necessary for their new system.
    However, there is an issue with the Primary Keys in these table. The resulting INSERT statements use AutoInc as the type for the Primary Key in each Table. These INSERT statements contains "DEFAULT" for the value of each of these AutoInc fields. The customer would like to output an integer value for each of these Primary Key values in order to maintain referential integrity in their new system.
    So far, I have not found any feature of ARC32 that allows us to export the Primary Key values. We had been using an older version of ARC32, since our application does not use the latest version of ADS. I did download the latest version of ARC32 (11.10), but it does not appear to include any new functionality that would facilitate doing this sort of export.
    Can somebody tell me if there is such a feature in ARC32?
    Or, is there is another Advantage tool to facilitate what we are trying to accomplish?
    If there are no Advantage tools to provide such functionality, what else would you suggest?

    George,
      It sounds like the approach you are using is the correct one. This seems to be the cleanest solution to me especially since the customer is able to modify the generated SQL statements for their new system.
      In order to preserve the AutoInc values I would recommend altering the table and changing the field datatype from AutoInc to Integer. Then export the table as code which will export the actual values. After the tables have been created on the new system they can change the field datatype back to an AutoInc type if necessary.
    Regards,
    Chris Franz

  • Exchange Connector 3.0 (Hotfix Release) Error - Error Message=The key value of an object cannot be changed.

    Hello,
    I am running Service Manager 2012 with the Exchange Connector 3.0 RTM (Re-release Version).  The issue I have is that when an e-mail is processed that is trying to update the status or event log of an incident, the Exchange Connector encounters an error
    and will not update the object.  The Operations Manager log denotes: 
    Exchange Connector: Unable to process mail item. Subject="Close Ticket: [IRXXXXX]", Error Message=The key value of an object cannot be changed.
    This will happen on a seemingly random selection of Incident work items.  I cannot correlate them with a specific template, exchange connector, or incident tier queue that could be causing the issue.  I can recreate the way a specific ticket
    was created and update it through e-mail without issue, and the next ticket can cause the error to trigger. 
    I have already opened a Microsoft Support Case using our Software Assurance agreement.  After a few months of troubleshooting the issue and trying different fixes, Microsoft support said they were unable to fix the problem and that we would need to
    purchase Premier support to go further. At this point I thought I would reach out to the community for ideas.
    The setup I have for the Exchange connectors is as follows.
    I have three separate Exchange connectors set up to three different mailboxes.  One Exchange connector processes external support tickets and applies a specific template.  Another processes client support tickets and applies a different template. 
    And the last Exchange connector processes internal tickets and also processes the updates of tickets created by the other two exchange connectors. 
    Here are the fixes I've attempted so far:
    1.  Changed the templates that each Exchange connector applies.
    2.  Changed the management pack that each template is stored in.
    3.  Checked my management pack(s) for extended classes by searching for Extension="true" (This was also checked by Microsoft support)
    4.  Deleted each Exchange connector and recreated each connector
    5.  Deleted each Exchange connector, deleted the management pack, and reinstalled the management pack and connectors
    6.  Repeated Step 5, deleted Microsoft.SystemCenter.ExchangeConnector.dll and Microsoft.SystemCenter.ExchangeConnector.resources.dll and then installed the Exchange connector Re-release version 3.0 Published 10/7/2013 (which is supposed to address this
    issue)
    7.  Deleted the HealthServiceState folder and restarted the Management Service
    I'm not really sure what to do at this point.  I've put many hours into customizing my installation to get it working for my organization so reformatting and starting from scratch would be a nightmare scenario.  This environment is in production.
    I do have a band-aid in place using Orchestrator.  Basically I have a monitor task searching for the error message and when it finds one it searches the mailbox for the offending e-mail and applies either the Resolve or Close status change that is requested
    from the user.  However, I do not have it working to update the ticket if a comment is applied to the incident.  If anyone is in this position and needs to know how to apply this Orchestrator task I am willing to provide my workflow.
    I am new to the community and am already impressed with the amount of help and effort there is in this forum.  I appreciate in advance any help that is provided and am open to any ideas at this point.  I can post more information as needed.
    Thank you,
    John

    Yes that is the whole template.  However, I did confirm that this is only happening to incidents where either of two situations triggers a runbook to fire and modify the incident.  When I remove the activity from the incident it does clear the
    issue.  For some background the first Runbook Activity set's the first response date when an incident is resolved if the first response value is null.  The second assigns the incident to a user upon creation if the title contains assignto:username;
    1.)
    <ObjectTemplate ID="Template.d33b5bbcaf3c49b18d8b72bc1e5e1ee4" TypeID="IncidentManagement!System.WorkItem.Incident.ProjectionType">
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/Escalated$">False</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/NeedsKnowledgeArticle$">False</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/HasCreatedKnowledgeArticle$">False</Property>
    <Object Path="$Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' TypeConstraint='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity']$">
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/RunbookId$">4085f0da-ab83-48e5-bbe3-1f3b5fa2dc4a</Property>
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/TemplateId$">Template.d33b5bbcaf3c49b18d8b72bc1e5e1ee4</Property>
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/IsReadyForAutomation$">True</Property>
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/PropertyMapping$">&lt;?xml version="1.0" encoding="utf-16"?&gt;
    &lt;ParameterMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;ParameterList&gt;
    &lt;RunbookParameterItem&gt;
    &lt;Name&gt;Get RA Guid&lt;/Name&gt;
    &lt;Id&gt;344b15effc1a44528e517c5b4227179c&lt;/Id&gt;
    &lt;Type&gt;String&lt;/Type&gt;
    &lt;Value&gt;Generic::Id&lt;/Value&gt;
    &lt;Direction&gt;In&lt;/Direction&gt;
    &lt;ContextInfo /&gt;
    &lt;/RunbookParameterItem&gt;
    &lt;/ParameterList&gt;
    &lt;RunbookId&gt;4085f0da-ab83-48e5-bbe3-1f3b5fa2dc4a&lt;/RunbookId&gt;
    &lt;/ParameterMapping&gt;</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/ChildId$">1906</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$">$MPElement[Name='CustomSystem_WorkItem_Activity_Library!ActivityStatusEnum.Active']$</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Skip$">False</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Title$">Set First Response on Resolve</Property>
    </Object>
    </ObjectTemplate>
    2.)
    <ObjectTemplate ID="Template.b311e1f9126e4e19bbbbeb65ddb220ba" TypeID="IncidentManagement!System.WorkItem.Incident.ProjectionType">
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/Escalated$">False</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/Status$">$MPElement[Name='CustomSystem_WorkItem_Incident_Library!IncidentStatusEnum.Active']$</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/NeedsKnowledgeArticle$">False</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Incident_Library!System.WorkItem.Incident']/HasCreatedKnowledgeArticle$">False</Property>
    <Object Path="$Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' TypeConstraint='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity']$">
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/RunbookId$">ca88b13b-861a-4d39-a3cb-fd912d951e35</Property>
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/TemplateId$">Template.b311e1f9126e4e19bbbbeb65ddb220ba</Property>
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/IsReadyForAutomation$">True</Property>
    <Property Path="$Context/Property[Type='CustomMicrosoft_SystemCenter_Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/PropertyMapping$">&lt;?xml version="1.0" encoding="utf-16"?&gt;
    &lt;ParameterMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;ParameterList&gt;
    &lt;RunbookParameterItem&gt;
    &lt;Name&gt;RA Activity GUID&lt;/Name&gt;
    &lt;Id&gt;5677d117a0294a2c898a695032f26c72&lt;/Id&gt;
    &lt;Type&gt;String&lt;/Type&gt;
    &lt;Value&gt;Generic::Id&lt;/Value&gt;
    &lt;Direction&gt;In&lt;/Direction&gt;
    &lt;ContextInfo /&gt;
    &lt;/RunbookParameterItem&gt;
    &lt;/ParameterList&gt;
    &lt;RunbookId&gt;ca88b13b-861a-4d39-a3cb-fd912d951e35&lt;/RunbookId&gt;
    &lt;/ParameterMapping&gt;</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/ChildId$">1120</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Status$">$MPElement[Name='CustomSystem_WorkItem_Activity_Library!ActivityStatusEnum.Active']$</Property>
    <Property Path="$Context/Property[Type='CustomSystem_WorkItem_Activity_Library!System.WorkItem.Activity']/Skip$">False</Property>
    <Property Path="$Context/Property[Type='WorkItem!System.WorkItem']/Title$">Execute Orchestrator IR - Autoassign</Property>
    </Object>
    </ObjectTemplate>

  • Db adaptor for insert- SQLException: [SQL0803] Duplicate key value specified

    While invoking db adaptor for insert on table 1 selecting values form another table, i am gtting error ; before3 insert i am updating table 2nd using db adaptor
    QUERY insert into CRPDTA.F5504579 (SELECT * FROM CRPDTA.F5504571 WHERE PAHDC=#v_updatedRecord_HDC)
    Error :
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert_Ledger_F5504579' failed due to: Pure SQL Exception. Pure SQL Execute of insert into CRPDTA.F5504579 (SELECT * FROM CRPDTA.F5504571 WHERE PAHDC=?) failed. Caused by java.sql.SQLException: [SQL0803] Duplicate key value specified.. The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "--803" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>[SQL0803] Duplicate key value specified.</detail></part><part name="code"><code>-803</code></part></bindingFault></bpelFault>
    Please suggest....

    Easter1976 wrote:
    Hi please can you help me. I think I am having problems with tranactions. I am deleting from a table and then inserting in the same table with the same key that I have just deleted. Simple then - don't do that. It suggests a flaw in the design. Either use a new key or do an update.
    Note that you would get a duplicate key error if the table is set up such that it doesn't
    actually delete but doesn't something such as creating a log entry with a delete flag set.

  • How do I let user enter a primary key value on a form

    I'm creating my first APEX application. I have a simple table called HOSTS with 2 columns HOSTNAME and IP_ADDRESS. HOSTNAME is the primary key for the table. HOSTNAME is a perfectly acceptable primary key and I don’t wish to create an additional column to be populated by a sequence.
    What are my options for creating a form on the table without using "Existing trigger", "Custom PL/SQL function" or "Existing Sequence" to populate the primary key column, i.e. HOSTNAME, so that the user can enter a value for the primary key?
    Any assistance greatly appreciated.
    Gavin

    The debate about natural keys versus surrogate keys
    will no doubt continue with advocates for both sides.
    However there is also a difference between
    'making your life easier' for APEX development and
    'making your life more difficult' by having to
    analyse, implement and deploy a surrogate key only
    approach to an existing database which employs both
    natural keys and surrogate keys.
    hould we be forced to change the database design
    because a development tool does not cater for natural
    primary keys?The application development product is TRYING to save you from shooting yourself in the foot. The idea is to separate the primary key from being accessed by the user or ANY carbon based unit.. The key is mainly used by the system to join and lookup data rows, not for people to change whenever they decide that the key is WRONG.
    Think about this, if you use Last Name as a key in your system (a bad idea to begin with since this is NOT a unique id when you have two Smiths). When a person needs to change this because Jimmy Smith is NOT the only Smith working for Acme Toys, you have to cascade that change through all the child tables related to the main person table.
    If instead you use a system generated key, no change will be required since the key has NO relation to the data other than it represents a pointer to that row of data.
    Works for me, since I do not want to write all the supporting code when APEX builds it for you...
    Thank you,
    Tony Miller
    UTMB/EHN

  • System.setProperty not being recognised by JVM

    Hi,
    I am trying to change my heap size for an Applet without having to
    get my users to set -Xmx in their plugIns.
    To do this I am trying to set the System Parameter javaplugin.maxHeapSize programmatically using:-
    System.out.println("MaxHeapSIze = " + System.getProperty("javaplugin.maxHeapSize"));
    System.setProperty("javaplugin.maxHeapSize", "100m");
    System.out.println("MaxHeapSIze = " + System.getProperty("javaplugin.maxHeapSize"));
    This appears to work in that it prints out a trace to say heap was 64m
    before and 100m after the setProperty. However the JVM is still using
    a heap of 64m as I get an OutOfMemory Error when the heap gets to 64m.
    Presumable this is because the JVM is still using the value it had at
    start-up.
    Is there a way to tell it to use the new value ?
    Sue

    Shouldn't the user have their own local timezone value
    where the applet is downloaded to?Yes they do, but since we have server side code in a different timezone from some of our clients, any Date objects passed from server to client are interpreted incorrectly on these clients. I figured that setting the timezone on the client to be equal to the server's timezone would solve this problem (I'm talking JVM timezone here, not OS timezone).
    SecurityException - if a security manager exists and
    its checkPermission method doesn't allow setting of
    the specified property. Yes, but it doesn't seem to be throwing any exceptions when I call setProperty. Plus, when I call getProperty to inspect the value I just set, it shows the new value. However, the JVM still behaves as if the old value was still in use.
    Alternatively, is it possible to set JVM parameters such as "-Duser.timezone = xxxx" from within the APPLET tag on the HTML page, so I don't have to use setProperty at all in the code?
    Thanks,
    Ken

  • Inventory management process key values plz

    Hi gurus,
    can anyone help me with the process key values
    in my update rules i have this for issues
    process keys= 100,101,104,105,106,110
    and for receipts 000,001,004,005,006,010
    what do they mean i am using the standard update rules
    its very urgent becoz i am getting the stock values wrong
    thanks and regards
    neelu

    hi Neel,
    check oss note 352344 - Process key + reversals in Inventory Management ?
    Symptom
    This note is a consulting note and describes the use of the process key (0PROCESSKEY) in Inventory Management (MSEG). It focusses on the way the system deals with reversed transactions for DataSources 2lis_40_s279 and 2lis_03_bf.
    To be able to use theses DataSources, you ABSOLUTELY MUST activate the transaction key generation (process key, PROCESSKEY) using Transaction MCB_ (from the OLTP IMG for BW: SBIW) (standard, retail or consumption goods).
    The following transaction keys are available
    (PROCESSKEY/Appl. Component/Description):
    000/MM        Misc. receipts
    001/MM        Goods receipt / vendor
    004/MM        Article transfer posting receipt
    005/MM        Stock correction inventory +
    006/MM        Stock correction other +
    007/IS-R      Receipt value-only article (single article
                  posting)
    010/MM        Receipt from stock transfer
    002/IS-R      Merchandise clearing receipt
    003/IS-R      GR from DC
    100/MM        Misc. issues
    101/MM        Returns / Vendor
    104/MM        Article transfer posting issue
    105/MM        Stock correction inventory -
    106/MM        Stock correction other -
    107/IS-R      Issue value-only article (single article
                  posting)
    110/MM        Issue from stock transfer
    102/IS-R      Merchandise clearing issue
    103/IS-R      GI from DC
    450/IS-R      Generic Article (not relevant)
    Remark: Transaction keys 002/003, 102/103 break down the core keys 010/110 in more detail with respect to retail processes. They are only available in an R/3 Retail.
    As you can see in the overview, the transaction keys can be divided according to receipts and issues in Inventory Management. Furthermore, the transaction keys are displayed according to reversed and regular transactions.
    A regular receipt has a debit/credit indicator "S" (SHKZG, 0DCINDIC), whereas a regular issue has a debit/credit indicator "H".
    For reverse transactions the opposite is true.
    Transaction                            D/C ind.   D/C ind.
                                            S          H
    RECEIPTS
    0 Misc. receipts                        regular    reversed
    1 Goods receipt / vendor               regular    reversed
    2 Merchandise clearing receipt        regular    reversed
    3 GR from DC                            regular    reversed
    4 Article transfer posting receipt    regular    reversed
    5 Stock correction inventory +        regular    reversed
    6 Stock correction other +            regular    reversed
    7 Receipt value-only article          regular    reversed
    10 Receipt from stock transfer        regular    reversed
    ISSUES
    100 Misc. issues                       reversed   regular
    101 Returns / vendor                   reversed   regular
    102 Merchandise clearing issue        reversed   regular
    103 GI from DC                         reversed   regular
    104 Article transfer posting issue    reversed   regular
    105 Stock correction inventory -      reversed   regular
    106 Stock correction other -          reversed   regular
    107 Issue value-only article          reversed   regular
    110 Issue from stock transfer         reversed   regular
    Note: You can also recognize a reversal for DataSource 2lis_03_bf by means of the entry 0STORNO = ´X´. The fields that are marked with X in the table are then transferred with negative +/- sign. This was not the case with DataSource 2LIS_40_S279!!! In the case of DataSource 2LIS_40_S279 more logic was required in the BW update rules to make sure that key figures were updated correctly.
    Example:
    In the delivered InfoCubes 0CP_IC_C1 (CP) and 0RT_C01 (Retail), for example in key "Stock correction +", transaction keys 5 and 6 were grouped together. Furthermore, distinction is to be made between the different stock types. Depending on which stock types you want to distinguish between in different key figures, you must use a corresponding condition (IF statement) in the update rules in the BW.
    Example (pseudo source code):
    Updating Routine "stock adjustment +" for 2lis_02_bfIF ( STOCKCAT is initial ) AND         "Evaluated stocks ( PROCESSKEY = 5 OR PROCESSKEY = 6 )._  RESULT = TRANS_AMOUNT.  RETURNCODE = 0.    "Updating Key figureELSE.  RETURNCODE = 4.    "No Updating of KeyfigureENDIF.
    The pseudo source code for 2LIS_40_S279 read as follows:
    Updating Routine "stock adjustment +"  for 2lis_40_s279IF  ( STOCKCAT is initial ) AND         "Evaluated stocks  ( PROCESSKEY = 5 OR PROCESSKEY = 6 ).    IF DCINDIC = 'S'.      RESULT = TRANS_AMOUNT.    "regular    ELSE.      RESULT = -1 * TRANS_AMOUNT.    ENDIF.    RETURNCODE = 0.    "Updating Key figureELSE.     RETURNCODE = 4.    "No Updating of KeyfigureENDIF.
    Here, the debit/credit indicator must be checked in accordance with the table above. Transactions 5 and 6 are receipts in Inventory Management. As the debit/credit indicator is set to "S", it is a regular transaction whose value(TRANS_AMOUNT) is assigned to the key figure. In the other case (debit/credit indicator = "H") it is a reversal, that is, the transaction should reverse a transaction that has already been updated. For this, the value is multiplied by -1 so that a corresponding decrease/reduction of this key figure is achieved during the update of the key figure in the InfoCube.
    This logic is no longer required for the 2LIS_03_BF (see first pseudo source code), because the reversed quantity and values are automatically provided as negative with the help of the 0STORNO field.
    Using this DataSource 2LIS_03_BF, it is for example possible to create a key figure such as "Reversed receipts", which is not a part of the Business Content delivered. The following pseudo source code of an update routine makes this clear:
    Update routine "Reversed receipts"
    IF ( PROCESSKEY = 1 ) AND   (STORNO = ´X` )  "Reverse     RESULT = -1 * TRANS_AMOUNT.     RETURNCODE = 0.ELSE.     RETURNCODE = 4.      "no update of key figure!ENDIF.
    Note:  For DataSource 2LIS_40_S279 the pseudo source code read as follows:
    Update routine "Reversed receipts"
    for 2LIS_40_S279IF ( PROCESSKEY = 1 ) AND   ( DCINDIC = H )  "Reverse     RESULT = TRANS_AMOUNT.     RETURNCODE = 0.ELSE.   RETURNCODE = 4.      "no update of key figure!ENDIF.
    To be able to understand the overall scheme more comprehensively, you should have a look at the update rules of the Standard Business Content for retail or consumption goods (for example InfoCubes 0RT_C01 or 0CP_IC_C1).

  • Application specific key-value pairs in jndi.properties

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

    We have a similar problem.
    We would like to configure our PROVIDER_URL for a specific web application - not
    for the entire server. Since the URL should be different in development, test
    and production environments, we would prefer to just set it in the deployment
    descriptor. And we have a lot of code that just uses
    ctx = new InitialContext();
    when looking up EJBs, queues etc.
    Actually, to take the problem one step further, it should be expected that later
    we will have EJB's deployed on different machines/clusters - so we will actually
    need specific urls for each EJB.
    Is there a good way to do this? Or will we have to custom-develop our own jndi
    configuration standard using application parameters to set which JNDI provider
    each EJB should be looked up with?
    Alternativaely, can we "import" the JNDI trees of the app server in the JNDI tree
    of the web servers?
    So, how should we go about this?
    Robert Patrick <[email protected]> wrote:
    Vasim wrote:
    Hi Robert,
    You are right. But The object "myVar" which I am trying to look upis not in
    the JNDI tree nor am I interesed in binding it . But my requirementis that
    I have one application specific variable which I am trying to lookup and I
    dont want to have a separare config file for this..and hence the question..So, put the properties you want in the jndi.properties file and load
    the properties
    file from your code by doing something like this:
    Properties props = new Properties();
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    if (cl == null)
    cl = System.getSystemClassLoader();
    InputStream is = cl.getResourceAsStream("jndi.properties");
    props.load(is);
    Personally, I would not use this file and would create an application-specific
    file
    or, as Daniel suggested, define your properties as a System property
    and use
    System.getProperty("myVar").
    btw, is jndi.properties only for those objects which are bound to jnditree?
    jndi.properties is only used for creating the JNDI InitialContext. The
    whole idea
    of this file is that in remote client code (without the jndi.properties
    file), you
    need to do something like this to tell the JNDI classes how to connect
    to the JNDI
    provider:
    Properties props = new Properties();
    props.put(Context.PROVIDER_URL, "t3://myservername:7001");
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    InitialContext ctx = new InitialContext(props);
    but inside the server, you only need to do this because the server is
    the provider
    and already knows how to connect to itself:
    InitialContext ctx = new InitialContext();
    Therefore, the jndi.properties file allows you to externalize this property-setting
    code that sets up the properties to be passed to the InitialContext constructor
    so
    that the remote client code can now look exactly like the code inside
    the server.
    The InitialContext constructor will look for this jndi.properties file
    in your
    classpath and load it to get the necessary configuration information
    to determine
    how to connect to the JNDI provider.
    Hope this helps,
    Robert

  • Java Install,  Cannot insert a key value pair into the secure store fails,

    Dear All,
    I'm doing Java Intallaion in BI7 on CI and in the midle of installtions we encounter,
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.secureStore.cannotInsertIntoSecureStore:
    Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    ERROR      2008-04-23 11:36:21
               CJSlibModule::writeError_impl()
    CJS-30051  Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2008-04-23 11:36:21 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step insertAdminDataInSecStore with step key |NW_Addin_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|8|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|insertAdminDataInSecStore was executed with status ERROR .
    TRACE      [iaxxgenimp.cpp:719]
               showDialog()
    There's any want in here can help us Please,
    Thanks and Best Regards,
    Chrisna

    The clean way to Uninstall JAVA is through SAPINST. 
    Make user you drop only the JAVA Schema ID (SAPSR3DB)
    If you want to uninstall manually, follow as mentioned below :
    1. Stop the central services instance and all dialog instances of your SAP system:
    a) Log on to the corresponding instance host as user <sapsid>adm.
    b) Execute the following commands:
       To stop the central services instance:
                 stopsap r3 <SCSinstanceName>
       To stop a dialog instance:
                stopsap r3 <DialogInstanceName>
    2. Stop the J2EE Engine of the central instance:
    a) Log on to your SAP system.
    b) Call transaction SMICM.
    c) Choose Administration J2EE Instance (local) Send Hard Shutdown
    2. Drop the J2EE DB schema (the db schema for this one SAP SID) BE VERY CAREFUL, do not drop the DB schema for another existing system or
    the ABAP schema.
    a. Log on as user ora<dbsid>.
    b. Start sqlplus and connect to the database. Enter:
    sqlplus /nolog
    c. SQLPLUS>connect / as sysdba
    d. Enter the following command to delete the database objects of the database schema:
    SQLPLUS> drop user SAP<SCHEMA_ID>DB cascade;
    e. Enter the following command to get the file name of the corresponding data file in the file system:
    SQLPLUS> select file_name from dba_data_files where \
    tablespace_name = ’PSAP<SCHEMA_ID>DB’;
    f. Enter the following command to delete the tablespace of the database schema:
    SQLPLUS> drop tablespace PSAP<SCHEMA_ID>DB including contents;
    g. Exit sqlplus:
    SQLPLUS> exit
    3. Remove folder "data" at: /sapmnt/QO1/global/security/data
    4. Remove folder "SDM" at: /usr/sap/<sid>/<Central instance>/SDM
    5. Remove folder "j2ee" at:  /usr/sap/<sid>/<Central instance>/j2ee
    6. Revert CI instance profile to their original state (backup copies should exist) # they should be in the state before the start of the JavaAdd In
    7. If lines beginning with the following parameters appear, delete these lines from the default profile, /usr/sap/<SAPSID>/SYS/profile/DEFAULT.PFL:
    j2ee/dbname =
    j2ee/dbtype =
    j2ee/dbhost =
    j2ee/dbadminurl =
    j2ee/scs/host =
    j2ee/scs/system =
    j2ee/ms/port =
    8. If lines beginning with the following parameters appear, delete these lines from the central instance pro?le and from all dialog instance pro?les,
    /usr/sap/<SAPSID>/SYS/profile/<SAPSID>_<INSTANCE_NAME>_<host_name>:
    exe/j2ee =
    exe/jlaunch =
    rdisp/j2ee_start_control =
    rdisp/j2ee_start =
    rdisp/j2ee_timeout =
    rdisp/j2ee_libpath =
    rdisp/frfc_fallback =
    jstartup/trimming_properties =
    jstartup/instance_properties =
    jstartup/protocol =
    jstartup/vm/home =
    jstartup/max_caches =
    jstartup/release =
    j2ee/dbdriver =
    9. Delete the central services instance
    10. Restart ABAP and Install JAVA Add-in
    Edited by: Shaji Jacob on Apr 27, 2008 11:46 AM

Maybe you are looking for