Recreating the target.xml file in oracle_home/sysman/emd in windows7

Hi All,
My sysman user got expired and I was trying to create the new password for the user.I am using oracle 11.2.0 in windows 7 OS. I was following the steps in the
http://thetendjee.wordpress.com/2006/07/19/changing-sysman-and-dbsnmp-passwords-it-aint-that-easy/
I realised that target.xml file in the ORACLE_HOME/sysman/emd is blank. I tried to create the target.xml file by using the steps in
http://oraclestore.blogspot.com/2008/09/how-to-recreate-targetsxml-file-and.html
However, it seems that ORACLE_HOME/bin/./agentca -d command does not work for windows OS. I could not see the agentca file in C:\app\TL\product\11.2.0\dbhome_1\bin. All i could find is agtctl application file.
Is there a different command in windows environment to recreate the target.xml file .
Thanks,
Virat

https://forums.oracle.com/forums/message.jspa?messageID=10796815#10796815
DUPLICATE thread!
do NOT multi-post

Similar Messages

  • Can an iPhoto library that does not exist be recreated from the AlbumData.xml file?

    Our iMac hard drive recently got corrupted and we hadn't backed up. (I know, I know, stupid, stupid, stupid. Won't make that mistake again!) The comptuer folk we took it too were able to recover most of the data on the drive, but my iPhoto library was not one of them.  I don't have the library - the file is gone. But I do have the AlbumData.xml file.  Is there any way to recreate the library from that file alone? I've tried it with iPhoto Library Manager and it wants me to have a default library for which this file is associated. I don't have that.  Is there any way to get this data back?  Some friends had trusted us with their wedding pictures. (I know, I know, stupid, stupid, and again, stupid. They won't make that mistake again!) I'd really, really, love to get them back if it's at all possible from this one file I do have.
    Thanks in advance for any help!

    No
    iPhoto is a SQL database and you can only create the database (the iPhoto library) using a SQL editor - using iPhoto is the best
    The database has many components and all of them must be there with exact names and in an exact structure to work
    The only way you could rereate the library is from the photos (depending on the version of iPhoto you had they would have been in the originals or masters folder)
    And yes - it is unfortuante but you have learned the most simple and basic lesson of computers - If you do not have a good current backup (I have multiple daily backups plus occasional offsite backups) you will eventually lose all of your data including your photos
    LN

  • What are files in $AGENT_HOME/sysman/emd/state/statemgmt/oracle_home

    Greetings.
    I have found my OEM 12c, 12.1.0.1 reporting on some targets which don't exist ad some which are reported incorrectly. Some poking around on a particular host for which this behavior is exhibited (this host is a member of a two node cluster) lead me to the directory $AGENT_HOME/sysman/emd/state/statemgmt/oracle_home on that host. In that directory I find the files -
    agent12c1_8_hammer
    cmdevel.ucdavis.edu_cmdevel1_oracle_database_home
    cmupg.ucdavis.edu_cmupg1_oracle_database_home
    hammersteele_cluster_home
    LISTENER_SCAN10_hammersteele_oracle_listener_home
    LISTENER_SCAN2_hammersteele_oracle_listener_home
    cmupg is a database which does not exist, It may have existed at one point but if it did was removed some time ago.
    LISTENER_SCAN10 is a non-existent scan listener.
    ./emctl config agent listtargets lists both of those tqargets -
    mytest1:product/agent12g/agent_inst/bin->./emctl config agent listtargets
    Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    [hammer.ucdavis.edu, host]
    [hammer.ucdavis.edu:3872, oracle_emd]
    [LISTENER_SCAN10_hammersteele_oracle_listener_home, oracle_home]
    [LISTENER_SCAN2_hammersteele_oracle_listener_home, oracle_home]
    [cmdevel.ucdavis.edu_cmdevel1_oracle_database_home, oracle_home]
    [cmupg.ucdavis.edu_cmupg1_oracle_database_home, oracle_home]
    [LISTENER_SCAN3_hammersteele, oracle_listener]
    [LISTENER_hammer.ucdavis.edu, oracle_listener]
    [+ASM1_hammer.ucdavis.edu, osm_instance]
    [agent12c1_8_hammer, oracle_home]
    [LISTENER_SCAN2_hammersteele, oracle_listener]
    [has_hammer.ucdavis.edu, has]
    (some data deleted by me)
    My question is, can anyone explain to me where those files come from, how the OEM uses them and should I clean that up? I did see SCAN_LISTENER10 reported by the console but I manually deleted it form the console.
    Another interesting observation is that there are three SCAN_LISTENERS on this cluster, 1, 2 & 3. The console reports only LISTENER_SCAN2 as being up, the others are reported as being down. COuld this have some bearing on it. SCAN_LISTENER1 is running on the other node and the file LISTENER_SCAN1_hammersteele_oracle_listener_home exists in the analocous directory on the other cluster.
    I'm puzzled. If anyone can help me out I would be most appreciative.
    Thank you.
    Bill Wagman

    Courtney,
    That makes sense and in fact the 11.2.0.2 installation was upgraded to 11.2.0.3 and 11.2.0.2 was not uninstalled so these entries from the targets.xml make sense -
    <HOME NAME="Ora11g_gridinfrahome1" LOC="/usr/local/oraGrid/product/11.2.0.2-grid" TYPE="O" IDX="1">
    <NODE_LIST>
    <NODE NAME="hammer"/>
    <NODE NAME="steele"/>
    </NODE_LIST>
    </HOME>
    <HOME NAME="OraDb11g_home1" LOC="/usr/local/oracle/product/11.2.0.2/dbhome_1" TYPE="O" IDX="2">
    <NODE_LIST>
    <NODE NAME="hammer"/>
    <NODE NAME="steele"/>
    </NODE_LIST>
    Now, on to the next question. In the statemgmt/oracle_home directory I see these files (among others) -
    cmupg.ucdavis.edu_cmupg1_oracle_database_home
    LISTENER_SCAN10_hammersteele_oracle_listener_home
    cmupg is a database which no longer exists and LISTENER_SCAN10 no longer exists. Where do those files come from? The database cmdevel does exist and I see the file -
    cmdevel.ucdavis.edu_cmdevel1_oracle_database_home
    there are three other databases on this cluster, why are there not files for these other databases? I'm very confused and appreciate your help.
    Thank you.
    Bill Wagman

  • Receiver determination based on the filename of the incoming xml file

    hi folks,
    is it possible to base the receiver determination from the filename (pattern) of the incoming xml file?
    suppose, if the filename is partner1.xml, then the receiver determination has a condition of partner1.  in this case, the message is received by partner1.
    any advise please?
    thanks!
    -lex

    Hi Lex,
    You can use Enhanced Receiver Determination for this. Do your normal mapping from source to target. And another mapping for the receiver determination. In that mapping you can use the UDF for Dynamic Configuration and set the filename as the receiver service name.
    Use the following blog for Enhanced Receiver Determination:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    This blog explains the usage of Dynamic Configuration:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Sanjeev.

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How open and edit the coherence.xml file?

    How can I open and edit the coherence.xml file?
    I cannot find the coherence.xml file in the coherence.jar package.
    Thank you,
    June

    If you are intent on changing the coherence.xml file, then you could use the JAR command (that comes with Java) to extract the coherence.xml file from coherence.jar and the later repackage the coherence.jar file using the udpated coherence.xml file, e.g.:
    C:\java\opt\coherence-331\lib>jar -xvf coherence.jar tangosol-coherence.xmlextracted: tangosol-coherence.xml>
    Instead of using JAR, on Windows you can associate the .JAR, .WAR and .EAR extensions with WinZip and use it to access / modify the contents of JAR files.
    However, the suggested approach is as follows, and does not include any changes to the tangosol.jar file:
    The tangosol-coherence-override-dev.xml file can be found in the coherence.jar file. After editing this file (in this case to define a unique value for the port system-property value for the multicast listener), save the file and add it to the server's classpath. When the server is executed, the values in the tangosol-coherence-override-dev.xml file will override any corresponding settings in the tangosol-coherence.xml file.Peace,
    Cameron Purdy | Oracle Coherence

  • Numbers 09 not working - I can open the program but only a few files are available, missing blank, checklist and many others. e.g  when I click on a file I get this error: The document "nmbtemplate is invalid. The index.xml file is missing. help.

    Please let me know what I can do to get my Numbers (iWork 09) working properly again.
    Here is what is going on:
    Numbers in iWork 09 not working can't access Blank, Checklist and many other files within Numbers.   I can open the program but only a few files are available. When I click on the file (which also has no icon just the name of the file) this warning appears:
    The document "Blank.nmbtemplate" is invalid.  The index.xml file is missing.
    I recently had to get a new hard drive installed and had the system upgraded and more memory put in by a Mac certified specialist recommended to me from the Apple store in Northbrook because this was the 3rd time my drive went bad but this time it was to old (I got the IMAC- in 2007) and the Apple store could no longer work on it this time so they recommended a few places that had certified Mac specialists.  Since then Numbers is not working right.
    I'm sure it's something simple to fix, but I've tried re installing it and that didn't work.  Appreciate any help.
    Thanks
    AppMare

    There is one way its getting fixed. Once I update my Adobe Illustrator CC to Adobe Illustrator CC 2014 it is further allowing me to go into the system folder and allocate the font to the file so that it can replace it. My only concern now is that our MAC partners who will receive these files back from us have Adobe CS6. We will down save it to CS6 but I hope they won't experience any font issues because of us using CC 2014? Any light you can shed on this?

  • How can I load the selected XML File (Selected from a Listview) into the correct Textboxes?

    Right, so I have a windowsform with lots of Textboxes, where the user can type in Information, and then hit "Save", once its saved it goes into a sortof XML Format 
    <?xml version="1.0" encoding="utf-8"?>
    <!--Database-->
    <Case>
      <Person>l<Driver></Driver><License-Holder></License-Holder><Address></Address><Phone></Phone><Date-of-Birth></Date-of-Birth><Registration></Registration>
    Like that.
    Now, on my Startup Form (The main form) there is a Listview that I gave the name Objectlist1. This list displays ANY file located in a specific folder on my computer. This is also where the Saved files appear.
    The list also updates every 5th second so after you save it appears quickly.
    Now, the Files are saved using the content or Value of the first Textbox:
    Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Firsttextbox.Text, settings)
    So it appears in the folder and on the list with the value inserted in the first Textbox.
    My problem comes when I want to load this back (Or reverse the function if you will)
    Where I can go to the Objectlist1/Listview, either doubleclick a file or Mark a file, and hit my button "Retrieve"
    I want the Form where you could input all the values to show - which it does
    And the information from the XML/File saved to appear where it once was typed or inserted.
    Here is an example of the code used to save the values from the Textboxes;
    Private Sub Savebutton_Click(sender As Object, e As EventArgs) Handles Savebutton.Click
            If IO.File.Exists(Pholderbox.Text) = False Then
                Dim settings As New XmlWriterSettings()
                settings.Indent = True
                Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Pholderbox.Text, settings)
                With XmlWrt
                    ' Write the Xml declaration.
                    .WriteStartDocument()
                    ' CLIENT
                    ' Write a comment.
                    .WriteComment("Database")
                    ' Write the root element.
                    .WriteStartElement("Case")
                    ' Start our first person.
                    .WriteStartElement("Person")
                    .WriteString(Textbox1.Text)
                    ' The person nodes.
                    .WriteStartElement("Driver")
                    .WriteString(Textbox2.Text)
                    .WriteEndElement()
    I've tried multiple codesamples but they all give either "XML Not found" or such Overloads.
    This is the current code I used when trying to make it work
    Private Function ReadSettingsXML(ByVal path As String) As MySettings # On Debug It marks here and tells me it wasn't found.
            Dim thisSettingsInfo As New MySettings
            If My.Computer.FileSystem.FileExists(Objectlist1.SelectedItems.ToString) Then
                Dim settingsInfo = XElement.Load(Objectlist1.SelectedItems.ToString)
                If settingsInfo IsNot Nothing Then
                    For Each mainGroup As XElement In settingsInfo.Elements
                        If mainGroup.Name = "<Database>" AndAlso mainGroup.HasElements Then
                            For Each subGroup As XElement In mainGroup.Elements
                                If subGroup.Name = "<Person>" Then
                                    thisSettingsInfo.Textbox1 = subGroup.Value
                                ElseIf subGroup.Name = "<Driver>" Then
                                    thisSettingsInfo.Textbox2 = subGroup.Value
                                ElseIf subGroup.Name = "<Address>" Then
                                    thisSettingsInfo.Textbox3 = subGroup.Value
                                End If
                            Next
                        End If
                    Next
                Else
                    thisSettingsInfo = Nothing
                    Throw New Exception("The settings XML file is corrupt and cannot be read.")
                End If
            Else
                thisSettingsInfo = Nothing
                Throw New Exception("The settings XML file could not be located.")
            End If
            Return thisSettingsInfo
        End Function
        Private Sub LoadXML_Click(sender As Object, e As EventArgs) Handles LoadXML.Click
            Dim settings As New MySettings
            settings = ReadSettingsXML(Objectlist1.SelectedItems.ToString)
            If settings IsNot Nothing Then
                Dim sb As New System.Text.StringBuilder
                With settings
                    Caseworker.Textbox1.Text = .Person
                    Caseworker.Textbox2.Text = .Driver
                    Caseworker.Textbox3.Text = .Address
                End With
            End If
        End Sub
    Also, the "Caseworker" is the form where all the textboxes are located.
    Been stuck on this for two working days, so any help is highly appreciated 
    Codesamples are also highly welcome so I can see what the heck you did and find and answer to my problems.

    I found a code that might be close to what I'm looking, but as of this code used here, it looks for a static document that already exist and is located in the code.
    See this one here, checks for the XML file, and since I can't link one program to 1 file, when its gonna have and use 100's of files.
            If (IO.File.Exists("MyXML.xml")) Then
                Same here with the static document.
                Dim document As XmlReader = New XmlTextReader("MyXML.xml")
                While (document.Read())
                    Dim type = document.NodeType
                    'if node type was element
                    If (type = XmlNodeType.Element) Then
                        If (document.Name = "FirstName") Then
                            TextBox1.Text = document.ReadInnerXml.ToString()
                        End If
                        If (document.Name = "LastName") Then
                            TextBox2.Text = document.ReadInnerXml.ToString()
                        End If
                    End If
                End While
    Am I at least close here, people? 
    Can anyone help with the now critical issue I got?
    I basically need to change these two;
     If (IO.File.Exists("MyXML.xml")) Then
                Same here with the static document.
                Dim document As XmlReader = New XmlTextReader("MyXML.xml")
    To whatever value, so they read from the file SELECTED in my Listview
    Cos the program saves files according to the info inserted in textboxes, so it can have whatever name you can think of, I need the program to "find and load" that file, once its selected, and then once I hit Retrieve or LOAD or whatever button, it
    injects the info from the File to the correct Textboxes.
    And I think this will work to get the info in the right boxes;
     If (document.Name = "FirstName") Then
                            TextBox1.Text = document.ReadInnerXml.ToString()
                        End If
                        If (document.Name = "LastName") Then
                            TextBox2.Text = document.ReadInnerXml.ToString()
    Any good advise? I'm stranded here.

  • Error while saving the FM8 XML file

    Hello,
    While saving the FM8 XML file, an error message appears (see attached screen shot).
    Is there a solution to resolve this issue? Please suggest.

    Hi,
    This type of error is non-descript and could be caused by any number of things. It is impossible to troubleshoot from here based solely on that message. Let me ask a couple of questions, though:
    - Are you using structured FrameMaker? If so, are you using a structured app that has worked successfully before? In other words, did this just suddenly start happening to an otherwise-stable process?
    - Is there anything unusual about your layout; that is, anything other than a single text flow with graphics?
    Russ

  • The Open XML file cannot be opened?

    Hello there,
    I tried to open my novel that I had been writing on Word Document but I cannot. A box pops up with this wording...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    And then when I click 'OK', another message pops up...
    Word found unreadable content in Villain.docx.
    Do you want to recover the contents of this document? If you trust the source of this document, click Yes.
    But just as I begin to think I have solved it...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    Location: 2
    I don't understand this! What does it mean? And how can I re-open it? I can't lose this data!

    So... nobody knows how to possibly fix this?

  • Possible elements in the instanceconfig.xml file for presentation services

    g'day
    Has anyone here come across a list of all the possible elements that can be put in the configuration file for a presentation service, instanceconfig.xml ?<P>
    I have found next to nothing in the documentations, about what can be configured there.<P>
    What I am specifically after is: How can I change the default listening port for the Presentation Service? The default port is 9710 and I want to move to another port.<P>
    Also, how can I move the JavaHost from the default port 9810? I can change the file <i>OracleBI/web/javahost/config/config.xml</i> to reflect the change. Once the JavaHost has been restarted it starts up on the expected port, but the Presentation Service still tries to communicate over RPC to port 9810. How do I configure the presentation service to search for the JavaHost on a non-default port?<P>
    I have boiled it down to my original question: What are the possible values I can configure in the instanceconfig.xml file?<P>
    Any comments here would be great.<P>
    Cheers,<br>
    Borkur

    So, I had a little breakthrough here.
    I found in the OBIEE deployment guide, page 142:
    To change the Presentation Services listener port
    1 Open the instanceconfig.xml file for editing.
    2 Locate the <WebConfig> element.
    3 Within the <WebConfig> tags, create the element <RPC> and assign it the RPC Listener Port
    value for the BI Presentation Services instance, as shown in the following example.
    <WebConfig>
    <ServerInstance>
    <RPC>
    <Listener port="9715" />
    </RPC>
    </ServerInstance>
    </WebConfig>
    NOTE: In the preceding example, the RPC Listener port for the BI Presentation Services instance
    has been changed to port 9715 from the default of 9710.
    4 Save changes to the file.
    This almost works. The RPC element has been deprecated, as was reported in the sawserver.out.log:
    The configuration entry 'RPC/Listener' is deprecated. Please refer to the admin guide for more information.
    What I then did was to just remove the RPC elements and leaving the Listener element straight under there ServerInstance element. This seems to have solved the problem.
    I still have to figure out how to let the Presentation Service know that I have moved the JavaHost to antoher port ...
    Cheers,
    Borkur

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • "Document name invalid.  The index.xml file is missing"

    I have OSX Yosemite 10.10 and am having a problem just today in Numbers.  A file that I have saved to my desktop and opened daily to input data since the first of November won't open.  It gives me a message that the file is invalid, the "index.xml file is missing"   Running Numbers '09 version 2.3   Have been run ing Yosemite 10.10 for quite some time.  How can I open/retrieve the file?

    I am having the same problem.  I am also running Yosemite 10.10.  The last I accessed the file was on November 13, 2014. I have been noticing that the layout /view of the file with the program has been a little different for about a week before then.  I have not upgraded to the newer version although it is constantly asking to upgrade. Still running Number '09, Version 2.3. I am very concerned as the file I am accessing contains critical records that go back for several years. I am not having problems opening .numbers files that are a couple of years old. Thanks for any help.

  • "Document name is invalid.  The index.xml file is missing

    I have OSX Yosemite 10.10 and am having a problem just today in Numbers.  A file that I have saved to my desktop and opened daily to input data since the first of November won't open.  It gives me a message that the file is invalid, the "index.xml file is missing"   Running Numbers '09 version 2.3   Have been run ing Yosemite 10.10 for quite some time.  How can I open/retrieve the file?

    An original Numbers ’09 v2.3 document will save as a compressed zip archive that has its extension renamed .numbers. It contains an index.xml file. If you double-click this Numbers ’09 document, it will open in Numbers ’09 v2.3. This is contrary to how Pages v5.5.1 handles Pages ’09 documents.
    You have to explicitly open a Numbers ’09 v2.3 document in Numbers v3.5. When you make a change, Numbers v3.5 will drop a sheet dialog that is very clear in its portent:
    Would you like to upgrade this Numbers '09 spreadsheet?
    Edit a Copy
    Cancel
    Upgrade
    When you choose either the Edit a Copy, or Upgrade — and save your changes, the resulting document is now in the new document architecture whose structure no longer uses the index.xml file. Double-clicking this new document format will now default to Numbers v3.5 on open, not Numbers '09 v2.3. You have to explicitly choose Open with Numbers (2.3) from the contextual menu to get the pop-op below because Pages v5.5.1, Numbers v3.5, and Keynote 6.5 documents are not backwards compatible.

  • Where can I find the config.xml file for my Edge project?

    Or is that a nonsensical question?
    Basically, I am producing a very simple iPad app using Edge and PhoneGap Build. It's all good to go apart from the orientation - I want to be able to lock it to portrait. On researching, it appears that I need to specify the web build/app as portrait in the config.xml file - so where would I find this?
    Thanks!

    I am not familiar with the phonegap process but I suspect the file you should be attempting to modify is called manifest.xml.
    Example, see someone else's solution posted here. jQuery Mobile lock orientation - Stack Overflow
    hth
    Darrell

Maybe you are looking for

  • End Routine ABAP running slow

    We have written the following end routine but performance is too slow because of the number of loops. We have introduced the third loop since we need the records in the specific order to populate ZCUST.  Can someone advise on how we can optimize Than

  • I can no longer edit my custom content management system using Firefox

    Hello, I work for the University of North Carolina. We have a very old custom content management system that is built in Oracle (UCM). When logged in, it has little edit buttons that allow you to click on items and launch edit windows. I don't know w

  • Need help regarding "Macbook Pro Distorted Video or No Video issues"

    Hi there, I'm new and I'm kinda need help or opinion from all of you Mac users. I have a MPB which is the first generation released 2005-2006, which its 4 years back. Now, the main problem is after 4 years of non-graphic problems, I encounter the NVI

  • Authentication Properties button not functional for 802.1x authentication

    With version 4.52 for Windows XP, Build 7TCX26WW of ThinkVantage Access Connections, the 'Authentication Properties' button doesn't work for 802.1x for Ethernet.  Has anyone else been experiencing this?  Had to work-around by using the Windows Networ

  • Multiple Database Connectivity

    How do we establish connectivity to multiple databases from within one Java Application. And how do we so without any File DSN? We are developing an application which requires dynamic changing of databases located at remote locations. Please help.