ConfigArchive FolderDisappears After config.xml Is Corrupted

Has anyone seen this problem (and know if this is a known bug)? This is easily
reproducible:
1. Verify that you have the configArchive folder with backup configs in them.
2. Shutdown managed servers and Admin server.
3. Edit the config.xml (intentionally corrupt it, we are just doing this to demonstrate
what may happen if it is corrupted).
3. Try starting up the servers. It will obviously fail.
4. Check to see if configArchive folder is there. It should still be there.
5. Edit the config.xml or restore your saved working copy.
6. Restart the servers.
7. Shut them down again in the correct sequence of course (managed first, then
admin).
8. Check the configArchive folder. This time it's gone! All your backups are
gone.
Has anyone run into this? Is this an expected outcome? I would expect the backup
folder to be there permanently when corruptions like this occur, and not disappear.
Please let me know if I am missing the point or the purpose of this backup folder.
Fred

Fred,
This feature will allow you to recover your configuration incase of a
server crash. Lets say you have started a server and made a lot of edits
to your configuration through the console or weblogic.Admin. Now for
some reason the server crashed and that corrupted your config.xml, what
would you do? You cannot start the server since the config.xml is
corrupt. All the edits that you made to your server are lost.
This feature will allow you to get back to the last configuration edit
that you have made to the server, you can pick the latest file from the
configArchive directory and replace your config.xml (which might be
currupt, because of server crash) and go from there.
Hope it helped .. :-).
Thanks,
-satya
Fred Shimaya wrote:
I contacted a BEA Tech Support rep concerning this issue. After some research,
she informed me that this has been brought to BEA's attention already, and that
it will be addressed in a future release.
Thanks.
Fred
"Fred Shimaya" <[email protected]> wrote:
If that's the case, then what value is there with the archive folder
that only
lasts for a single run? It's seems to me a pointless feature.
Thanks Satya for your prompt response
Fred
Satya Ghattu <[email protected]> wrote:
Fred,
This is not a bug. The configArchive is designed to work for one
weblogic instance run. This directory is deleted at each start of the
server and any edits to the configuration are backed up to the
configArchive directory.
Thanks,
-satya
Fred Shimaya wrote:
Has anyone seen this problem (and know if this is a known bug)? Thisis easily
reproducible:
1. Verify that you have the configArchive folder with backup configsin them.
2. Shutdown managed servers and Admin server.
3. Edit the config.xml (intentionally corrupt it, we are just doingthis to demonstrate
what may happen if it is corrupted).
3. Try starting up the servers. It will obviously fail.
4. Check to see if configArchive folder is there. It should stillbe there.
5. Edit the config.xml or restore your saved working copy.
6. Restart the servers.
7. Shut them down again in the correct sequence of course (managedfirst, then
admin).
8. Check the configArchive folder. This time it's gone! All yourbackups are
gone.
Has anyone run into this? Is this an expected outcome? I would expectthe backup
folder to be there permanently when corruptions like this occur, andnot disappear.
Please let me know if I am missing the point or the purpose of thisbackup folder.
Fred

Similar Messages

  • ConfigArchive Directory Disappears After config.xml Becomes Corrupt

    This posting is duplicated in weblogic.developer.interest.management
    Has anyone seen this problem (and know if this is a known bug)? This is easily
    reproducible:
    1. Verify that you have the configArchive folder with backup configs in them.
    2. Shutdown managed servers and Admin server. 3. Edit the config.xml (intentionally
    corrupt it, we are just doing this to demonstrate what may happen if it is corrupted).
    3. Try starting up the servers. It will obviously fail. 4. Check to see if configArchive
    folder is there. It should still be there. 5. Fix the config.xml or restore your
    saved working copy. 6. Restart the servers. 7. Shut them down again in the correct
    sequence of course (managed first, then admin). 8. Check the configArchive folder.
    This time it's gone! All your backups are gone.
    Has anyone run into this? Is this an expected outcome? I would expect the backup
    folder to be there permanently when corruptions like this occur, and not disappear.
    Please let me know if I am missing the point or the purpose of this backup folder.
    Fred

    I contacted a BEA Tech Support rep concerning this issue. After some research,
    she informed me that this has been brought to BEA's attention already, and that
    it will be addressed in a future release.
    Thanks.
    Fred
    "Fred Shimaya" <[email protected]> wrote:
    >
    This posting is duplicated in weblogic.developer.interest.management
    Has anyone seen this problem (and know if this is a known bug)? This
    is easily
    reproducible:
    1. Verify that you have the configArchive folder with backup configs
    in them.
    2. Shutdown managed servers and Admin server. 3. Edit the config.xml
    (intentionally
    corrupt it, we are just doing this to demonstrate what may happen if
    it is corrupted).
    3. Try starting up the servers. It will obviously fail. 4. Check to see
    if configArchive
    folder is there. It should still be there. 5. Fix the config.xml or restore
    your
    saved working copy. 6. Restart the servers. 7. Shut them down again in
    the correct
    sequence of course (managed first, then admin). 8. Check the configArchive
    folder.
    This time it's gone! All your backups are gone.
    Has anyone run into this? Is this an expected outcome? I would expect
    the backup
    folder to be there permanently when corruptions like this occur, and
    not disappear.
    Please let me know if I am missing the point or the purpose of this backup
    folder.
    Fred

  • Looking for sample config.xml

    After some changes config.xml is corrupted. Need a config.xml with following descriptors -
    <admin-server-name>
    <app-deployment>
    <jms-server>
    <mail-session>
    <jms-system-resource>
    <jdbc-system-resource>

    If you had configuration auditing enabled, you'd have backup copies in a configArchive folder. You should enable this; by default it is not.
    You can create a configuration quickly by just using the configuration builder script in linux ( common/bin/config.sh ) or the configuration wizard in windows.

  • Weblogic Server config.xml

    When does the Config.xml gets corrupted???. The weblogic server failed to start because of the corrupted config.xml file. I saw the config file its was empty. I replaced it with config.xml.booted and it worked fine. Can anybody explain in what circumstances does this file gets corrupted.

    Hi Krishna,
    Which version and service pack of Workshop and WLS 8.1 are you using ? Also can you attach the corrupt config.xml file ?
    Did the server restart successfully ?
    Was there anything abnormal in the last the shutdown prior to the corruption ?
    Thanks
    Raj

  • Apex-config.xml is broken after password change with encryption

    Greetings,
    I am using Apex Listener 1.1 with Oracle GlassFish Open Source Edition 3.1.
    I found something strange when changing the connection password in apex-config.xml.
    If I change the password to keep it plain text like the following, it works fine.
    <entry key="apex.db.password">my_password</entry>
    But if I change the password to a value to be encrypted, the new password is accepted but the configuration file get messed up.
    <entry key="apex.db.password">!my_password2</entry>
    After restarting the listener, I get the following content in my apex-config.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <comment> Updated: Mon Mar 14 10:58:16 EDT 2011 Version: 1.1.0.60.10.38 </comment>
    </properties>
    Needless to say that after the next restart nothing works. Am I missing something, or is this a bug?

    You have corrupted your web.xml somehow, repeat the steps making sure the web.xml is well formed.

  • After upgrading a domain I am getting .....config.xml not found error

    upgraded domain from 10.3.0 to 10.3.2
    while upgrading one message was..
    "no servers are detected under this directory"
    and now after my upgrade is successfully done its showing me that "the config.xml not found"...

    If you live near an Apple Store, make a Genius Bar appointment to have the computer tested. Supposedly there is no charge for testing. Use 2nd link if not near an Apple Store or aren’t in the US.       Hardware Repair - Keeping Confidential Data Safe
    Genius Bar Reservation US
    Authorized Service Provider

  • Changing faces-config.xml after deploying ear file

    Hi,
    What would be the steps to follow if we want to change contenets of web application configuration files (for example, faces-config.xml) after app.ear file has been deployed?
    The app.ear file contains the faces-config.xml, and we are using Oracle AS 10.1.3.
    Thanks,
    Jean

    see my answer at
    Change web app config file of deployed app

  • Jabber-config.xml no longer UTF-8 after TFTP Server upload?

    I have a good jabber-config.xml I edited in Notepad++ and saved (UTF-8) and I upload it to TFTP via CMPlatform on CCM 9.1.2.11900-12.  I've done this in the past a lot with 8.6.2, never had any issues.
    I then restart CUCM TFTP services and download;
    C:\>tftp 10.7.8.3 GET jabber-config.xml
    Transfer successful: 2390 bytes in 1 second(s), 2390 bytes/s
    I then open up my downloaded jabber-config.xml in Notepad++ and it says the file format is UCS-2 Litle Indian and not UTF-8 and looks like the attached photo.  Greek.  I tried in Notepad++ to convert.
    I then setup a different test PC with Windows XP, etc. Same issue, also note that plain notepad sees the same problem.   Why is the jabber-config.xml file getting corrupted by the TFTP server?

    ChojinDSL wrote:Do you have a firewall running on that server?
    Are your clients also using systemd?
    Yes I do have a firewall, iptables, and it's the same configuration from before the migration to systemd.  Also note that I can access the shares when explicitly defining the path whether that's in a File Manager, cli or other so access isn't being blocked.  For lack of a better explanation the whole thing gives the appearance that although the Share is active it's just not broadcasting it's existence like it should be.
    I have two PC's, both Arch, one with Openbox and one running KDE that I have migrated to systemd.  Both can access the Share when the path is explicitly defined but don't see it when trying to just browse for the the Share.  I have a Xoom tablet, running Android Jelly Bean, that exhibits the same behavior.  I also have two media players, one an older WD LiveTV Plus model the other a newer WD LiveTV model, neither of which can see the share and browsing is the only option for those devices.  So I've got a pretty good assortment of devices and operating systems that could see the share when browsing previously but can not see the same share by browsing since the migration to systemd on the file server.
    Thank you.

  • Adf-config.xml file gets corrupted

    Hello,
    I have observed in many instances that adf-config.xml file get corrupted in the sense it looses (wipes out) mds conenction string and as a result the projects won't compile or you will not be able to fecth anything from MDS like wsdls ect. Making this file as read only or backing it up seems to be the work around. I have seen this in 11.1.1.3.0 version.
    But can you please suggest why this happens and any permanent solution to fix this?
    Thanks
    SathyaP

    In your adf-config.xml the password property is not properly closed and your property name is incorrect.
    Replace following:
    <property name="password" value="p$ssword1"*with this in your adf-config.xml
    <property name="jdbc-password" value="p$ssword1"/>

  • Missing config.xml after unpacking

    Hi, I installed 11g on two machines. I'm following the steps on the wonderweblogic post mostly except that instead of copying the whole directory, I wanted to use the pack utilities. When I setup the domain, I created a cluster of two machines. Then I used pack.sh and passed it -managed=true. Then I unpacked it on my second machine. The directory structure looks ok. When I try to start up the second machine with startManagedWeblogic.sh server2, I get:
    weblogic.management.ManagementException: [Management:141249]The configuration directory /home/weblogic/test/config is missing the file config.xml and the admin server is not available to download it.
    at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:213)
    There isn't a config.xml on this machine but there is a config_bootstrap.xml that looks correct..similar to the config.xml from the first machine. The first machine's admin server and managed server are both running correctly. What did I do wrong? thanks.

    I use this sort of syntax, explicitly giving the domain directory.
    ./pack.sh -managed=true -domain=/orclapps/oracle/middleware/user_projects/domains/SOADomain -template=/tmp/soa_domain_template.jar -template_name=soa_domain_template
    and then on the 2nd node ( after copying the template jar )
    ./unpack.sh -domain=/orclapps/oracle/middleware/user_projects/domains/SOADomain -template=/tmp/soa_domain_template.jar

  • Config.xml file missing after using pack/unpack (WebLogic 12c)

    Hi,
    When I use the utilities pack/unpack to "copy" a domain from one physical server to another one, I end up with the config directory where there is no config.xml file while on the source physical there is of course this file.
    If I use the scp command (I work under Linux) to "copy" the domain I do not encounter problem and I can start the Node Manager and the WebLogic server.
    Did someone faced this situation?
    How did you solved it? Or, is there something that I am missing?
    Kind Regards.

    Hi all!
    I am having the same problem with WebLogic Workshop 8.1 SP4.
    Any idea?
    Thanks in advance.

  • Missing config.xml.booted

    1)I have started up my Admin server and the log shows its started in running mode
    2)I can access the admin console via my web browser.
    In the 9.2 edocs, (cluster.pdf) ...
    "Each time the Administration Server starts successfully, a backup configuration file named
    config.xml.booted is created in the domain directory. In the unlikely event that the
    config.xml file should be corrupted during the lifetime of the server instance, it is possible to
    revert to this previous configuration.
    I cannot find the config.xml.booted on my server. Instead, i fould config.lok. I am using WL 9.2 MP02. Is there a problem somewhere in my setup?

    I use this sort of syntax, explicitly giving the domain directory.
    ./pack.sh -managed=true -domain=/orclapps/oracle/middleware/user_projects/domains/SOADomain -template=/tmp/soa_domain_template.jar -template_name=soa_domain_template
    and then on the 2nd node ( after copying the template jar )
    ./unpack.sh -domain=/orclapps/oracle/middleware/user_projects/domains/SOADomain -template=/tmp/soa_domain_template.jar

  • Office 2013 - OSD - Specify different config xml

    Hi Guys
    I want to deploy Office 2013 in different languages to different users. It seems there are a few ways to do this. But I am thinking I want to package all languages I need into one Office install package and then in the task sequence have groups for countries.
    Each country has a variable to specify which config.xml to use. Is this possible or is there a better way?
    (I just need to know how to point to the correct xml in the package, kind of like the unattend file) I know the rest if this is the way.
    ie.
    -France
    ---ConfigFR.xml
    -Germany
    ---ConfigGe.xml
    Sweden
    ---ConfigSE.xml
    Thanks
    NN

    Hi
    I know the original question has been answered, but I have a follow up question.
    I am deploying Windows 8.1 Update using custom variables to install Windows language packs and Office Language packs dynamically based on rules. Running just one language works fine. But if I have a multiple language package deployed to Windows the
    Office DTs do not pick this up (each DT is currently working of one language per DT and using operating system language to install the correct xml).
    See here:
    These are the DTs
    After doing a bit more reading. I now know I need to setup the rules differently. Can I set the rules to be English and Swedish install DT1, and English and Romanian install DT 2, English alone install DT 3 etc?
    I basically need an "AND" rule.
    thanks again
    NN
    *you may have to zoom to see the larger image.

  • Multiple Apex Listeners on one server trouble with apex-config.xml

    I'm using 0C4J to deploy apex on a windows server. I want to be able to have multiple instances of OC4J running pointing to different databases. I've read through documentation and forum posts and this looks simple enough.
    I've got one instance running at E:\OC4J and working fine. I've to added a second OC4J instance at E:\OC4J2. I've rebuilt and redeployed the apex.war file after editing web.xml to specify a new location for apex-config.xml. I'm trying to specify the config directory as E:\OC4J2\config but can't seem to get the syntax right, because it keeps picking up the default file the first OC4J instance is using.
    <context-param>
    <param-name>config.dir</param-name>
    <param-value>E:\oc4j2\config</param-value>
    </context-param>
    I've tried multiple versions of the path E:\oc4j2\config, E:/oc4j2/config, /oc4j2/config, \oc4j2\config but none seem to work.
    Could anybody confirm the proper syntax for specifying the path to apex-config.xml in web.xml on a windows server?
    Thanks in advance

    Got it working
    Had the syntax right.
    <context-param>
    <param-name>config.dir</param-name>
    <param-value>E:\oc4j2\config</param-value>
    </context-param>
    Issue seems to be if there is an apex-config.xml file at C:\Users\username\AppData\Local\Temp\apex it picks up on it first.
    Once I had both web.xml files specified to different directories for the config file and I deleted the one at C:\Users\username\AppData\Local\Temp\apex things worked as expected.
    Thanks

  • Error message in adf-faces-config.xml file in myEclipse

    hello,
    i'm trying to customize appearance of my JSF/ADF Faces app (which worked fine until now), and tried to insert a adf-faces-config.xml file in my WEB-INF directory, this is it (copied from a tutorial) :
    <?xml version="1.0"?>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <!-- Enable debug output -->
    <debug-output>true</debug-output>
    <!-- Pick accessibility options based on a per-user managed bean -->
    <accessibility-mode>#{user.accessibilityMode}</accessibility-mode>
    <!-- A silly use of EL: English users get one appearance, -->
    <!-- others get another -->
    <skin-family>
    #{view.locale.language=='en' ? 'minimal' : 'oracle'}
    </skin-family>
    </adf-faces-config>
    after saving the file (in myEclipse) i get the following error message on the second line :
    cvc-elt.1 : Cannot find the declaration of element 'adf-faces-config'
    what does that mean and what should i do ?
    thx...

    hello,
    i'm trying to customize appearance of my JSF/ADF
    Faces app (which worked fine until now), and tried to
    insert a adf-faces-config.xml file in my WEB-INF
    directory, this is it (copied from a tutorial) :
    <?xml version="1.0"?>
    <adf-faces-config
    xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <!-- Enable debug output -->
    <debug-output>true</debug-output>
    <!-- Pick accessibility options based on a per-user
    managed bean -->
    <accessibility-mode>#{user.accessibilityMode}</accessi
    bility-mode>
    <!-- A silly use of EL: English users get one
    appearance, -->
    <!-- others get another -->
    <skin-family>
    #{view.locale.language=='en' ? 'minimal' : 'oracle'}
    </skin-family>
    </adf-faces-config>
    after saving the file (in myEclipse) i get the
    following error message on the second line :
    cvc-elt.1 : Cannot find the declaration of element
    'adf-faces-config'
    what does that mean and what should i do ?
    thx...Hello again,
    i'm still stuck with this, could somebody PLEASE give me a hint ?
    thx,
    dom.

Maybe you are looking for

  • Deleting rows in Numbers without resorting?

    I have about ten thousand items in a Numbers spreadsheet. In one column, I have a formula that, in the third column, writes "Same" if the numbers being compared in the first two columns for a row are the same, and "Different" if they're different. I

  • Not working Manage bean

    Dear experts, Im using JDeveloper 11.1.2.2.0 I created manage bean for cetain command button in my jsf page. This is the code of MB: package common.model.view; import javax.faces.event.ActionEvent; public class abc { public abc() { public void getSel

  • AMD Catalyst Install

    completed loading Windows 8 program but lost AMD Catalyst 

  • HT1386 I don't have a ringtone folder

    Why do I not have a ringtone folder in itunes on my iphone? I am trying to move a ringtone file to my phone and it is not working

  • Removing toolbar when PDF is opened?

    I have a form accessed through a web page. The user's adobe reader will open the form within the browser... which looks a little cluttered. Is there a way to script the PDF to tell the Adobe reader to hide the toolbar, menu, status bar, etc... ?? tha