Failover server (using config.xml)

Hi ,
I am using weblogic server 7.0(1) installed in solaris . I installed a new server where i need to have same configuration as like (1) .
so i directly placed the config.xml of (1) in the second server domain by changing the IP address in config.xml.
I am getting the following at the start of server..
<May 23, 2009 11:15:36 AM IST> <Notice> <Management> <140005> <Loading configuration /ICICIprud/ICICIportal/weblogicnew/user_projects/iciciprulife/./config.xml>
<May 23, 2009 11:15:37 AM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:weblogic.management.configuration.ConfigurationException: Error parsing the configuration file: Could not perform unpadding: invalid pad byte. - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.performUnpadding(JA_PKCS5Padding.java:111)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(JG_BlockCipher.java:1112)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
at weblogic.management.internal.EncryptedData.decrypt(EncryptedData.java:45)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:652)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:322)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1348)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1838)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1207)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:227)
at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
at weblogic.management.AdminServer.configure(AdminServer.java:196)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Error parsing the configuration file: Could not perform unpadding: invalid pad byte. - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:243)
at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
at weblogic.management.AdminServer.configure(AdminServer.java:196)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.performUnpadding(JA_PKCS5Padding.java:111)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(JG_BlockCipher.java:1112)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
at weblogic.management.internal.EncryptedData.decrypt(EncryptedData.java:45)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:652)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:322)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1348)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1838)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1207)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:227)
at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
at weblogic.management.AdminServer.configure(AdminServer.java:196)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Error parsing the configuration file: Could not perform unpadding: invalid pad byte. - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:243)
at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
at weblogic.management.AdminServer.configure(AdminServer.java:196)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: weblogic.management.configuration.ConfigurationException: Error parsing the configuration file: Could not perform unpadding: invalid pad byte. - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.performUnpadding(JA_PKCS5Padding.java:111)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(JG_BlockCipher.java:1112)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:53)
at weblogic.management.internal.EncryptedData.decrypt(EncryptedData.java:45)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttributes(ConfigurationParser.java:652)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:322)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1348)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1838)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1207)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:227)
at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
at weblogic.management.AdminServer.configure(AdminServer.java:196)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Error parsing the configuration file: Could not perform unpadding: invalid pad byte. - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:243)
at weblogic.management.internal.xml.XmlFileRepository.createOrLoadDomain(XmlFileRepository.java:483)
at weblogic.management.internal.xml.XmlFileRepository.bootStrapAndLoadActiveDomain(XmlFileRepository.java:354)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:217)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:202)
at weblogic.management.AdminServer.configure(AdminServer.java:196)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:111)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
+ set +x
please help me to solve the above problem.
Thanks in advance,
Katheek.

This error is due to SerializedSystemIni.dat not being available. I would recommend reading up on this file, as it is important for any weblogic admin to understand its function. Check these out:
[http://connectionserver.blogspot.com/2009_05_01_archive.html|http://connectionserver.blogspot.com/2009_05_01_archive.html]
[http://e-docs.bea.com/wls/docs81/secmanage/passwords.html|http://e-docs.bea.com/wls/docs81/secmanage/passwords.html]
[http://weblogic.sys-con.com/node/42929|http://weblogic.sys-con.com/node/42929]

Similar Messages

  • Upgrade Office 2010 Standard to Office 2010 Pro Plus using Config.xml

    Hello,
    I am upgrading Office 2010 Standard to Office 2010 Pro Plus. But after using the below config  pro plus did get installed but both versions of Office 2010 ( Stand and Plus ) show up on the machines. I want only Office Pro plus to appear.
    The second issue is that even after uninstalling  Office 2010 Standard from the Control panel the Office shows activation of both ( Going to --File ---Help)
    How can I edit this config.xml to remove office 2010 Standard first and then upgrade to Office 2010 Pro Plus?
    <Configuration Product="ProPlus">
     <Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
     <!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" /> -->
     <!-- <USERNAME Value="Customer" /> -->
     <PIDKEY Value="aaaa-aaa-aaa-aaa" />
     <COMPANYNAME Value="XYZ Co." />
     <Setting Id="AUTO_ACTIVATE" Value="1" />
     <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->
     <!-- <LIS CACHEACTION="CacheOnly" /> -->
     <!-- <LIS SOURCELIST="\\server1\share\Office;\\server2\share\Office" /> -->
     <!-- <DistributionPoint Location="\\server\share\Office" /> -->
     <!-- <OptionState Id="OptionID" State="absent" Children="force" /> -->
     <!-- <Setting Id="SETUP_REBOOT" Value="IfNeeded" /> -->
     <!-- <Command Path="%windir%\system32\msiexec.exe" Args="/i
    \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> -->
    </Configuration>

    Hi,
    Here is not a Config.xml solution, but we can use it as a workaround, basically automate the uninstallation of Office 2010, reboot the computer and then deploy Office 2010. You may find the following article useful if you need more info on that.
    http://blogs.technet.com/b/odsupport/archive/2011/04/06/how-to-perform-an-uninstall-upgrade-to-office-2010.aspx
    Regards,
    George Zhao
    TechNet Community Support

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    I guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
    To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
    YY

  • Merge config.xml

    Hi,
    WLS 6.1
    Is there a xsl stylesheet that merges two config.xml files?
    The idea is the following:
    We have a master config.xml, configuring the admin server and the core of
    our product.
    For each optional part of our product, we have a specific config.xml file,
    defining servers, connection pools, JMS pool, and so on. Some of these
    configuration files might reference the same server.
    We would like to include each of those specific config.xml into the main
    one, avoiding duplication of server definitions, pools, etc...
    It seems that a xsl stylesheet could do that (at least for one specific
    config.xml), but I did not find anything. Does anyone have any idea on how
    to do this?
    Thanks,
    Patrick

    Remove duplicate server from config.xml with xslt:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output encoding="ISO-8859-1" version="1.0" method="xml" />
    <xsl:template match ="/">
    <xsl:for-each select="//server[not(preceding::server/@name=@name)]">
    <xsl:copy-of select="*" />
    </xsl:template>
    </xsl:stylesheet>
    "Patrick Martin" <[email protected]> wrote:
    Thank you for your (very) fast answer.
    I'm wondering if this will avoid duplicate server entries though.
    For example, if server A is defined in config1.xml and in config2.xml,
    I
    guess I'll have it defined twice in the reulting xml document.
    Is that correct? Does WLS handle this easily?
    "Deepak Vohra" <[email protected]> wrote in message
    news:3f783e0f$[email protected]..
    Merge xml documents with the xslt document() function.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet
    version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" />
    <xsl:template match="/">
    <xsl:copy-of select="*"/>
    <xsl:copy-of select="document('Config2.xml')"/>
    </xsl:template>
    </xsl:stylesheet>
    "Patrick Martin" <[email protected]> wrote:
    Hi,
    WLS 6.1
    Is there a xsl stylesheet that merges two config.xml files?
    The idea is the following:
    We have a master config.xml, configuring the admin server and the
    core
    of
    our product.
    For each optional part of our product, we have a specific config.xml
    file,
    defining servers, connection pools, JMS pool, and so on. Some of these
    configuration files might reference the same server.
    We would like to include each of those specific config.xml into themain
    one, avoiding duplication of server definitions, pools, etc...
    It seems that a xsl stylesheet could do that (at least for one specific
    config.xml), but I did not find anything. Does anyone have any ideaon
    how
    to do this?
    Thanks,
    Patrick

  • [svn:bz-trunk] 8910: Bug: LCDS-936 - Should have better error message in servlet log if server in services-config .xml is configured to use wrong class.

    Revision: 8910
    Author:   [email protected]
    Date:     2009-07-29 14:22:26 -0700 (Wed, 29 Jul 2009)
    Log Message:
    Bug: LCDS-936 - Should have better error message in servlet log if server in services-config.xml is configured to use wrong class.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/LCDS-936
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBrokerServlet.java

    After many hard working days.i finally found the error cause,i needed to make weblogic datasource also ADF doesnt work on internet explorer browser,it works on safary.hope it helps somebody

  • 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

  • Using an XML file for server URL instead of hard coding

    I can't find a good example.
    Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?
    This works and i can trace the xml file but how do i access the individual xml data nodes?
    protected function initApp():void
         var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
         loader.addEventListener(Event.COMPLETE,configLoadComplete);
    private function configLoadComplete(event:Event):void
         trace(event.target.data);

    Hi,
    <a href="foobar.xml">right click and select save as from the context menu</a>
    or
    write your xml data or a copy of it with a different extension (text) so that it is not parsed as application/xml-xhtml
    or
    Use AJAX to retrieve the xml file and display it as the textContent of a <textarea>
    window.open wraps the xml markup in html tags for display purposes.
    Rob^_^

  • How to use URL in actionscript  Instead of services-config.xml?

    Hi Alls,
    I would like to set my service's url in actionScript (I don't
    want to use compiler option -services witch need to recompile swf
    if you change service's url).
    I search for a long time on google but I found nothing, and
    adobe documentation isn't very clear.
    Thank for help!!!

    If you are relying on a services-config.xml file, then this
    must be provided
    at compile time because the compiler uses it to generate
    code.
    If you're not using <mx:DataService>, you can actually
    avoid compiling against
    a services-config.xml file. This is because for the other
    services, such
    as <mx:RemoteObject> or <mx:WebService
    useProxy="true"> or <mx:HTTPService
    useProxy="true">, the main thing the compiler does from
    services-config.xml
    is to generate the code to instantiate the set of channels
    that should be
    used to contact a destination in LCDS.
    Well... you can do that programmatically in ActionScript...
    something like
    this:
    import mx.messaging.ChannelSet;
    import mx.messaging.channels.AMFChannel;
    private function channelInit():void
    var channelSet:ChannelSet = new ChannelSet();
    var channel:AMFChannel = new AMFChannel(null, "
    http://{server.name}:{server.port}/mycontext/messagebroker/amf");
    channelSet.addChannel(channel);
    myRemoteObject.channelSet = channelSet;
    Just make sure you call this initialization code before you
    make any service
    requests. If you're proxied WebServices, be sure that you use
    the ActionScript
    API instead of the MXML tag so that you can delay when
    loadWSDL() is called
    because you'll want to setup the channelSet first.
    Regards,
    Pete
    Hello FredFlex,
    > Hi Alls,
    >
    > I would like to set my service's url in actionScript (I
    don't want to
    > use compiler option -services witch need to recompile
    swf if you
    > change service's url).
    >
    > I search for a long time on google but I found nothing,
    and adobe
    > documentation isn't very clear.
    >
    > Thank for help!!!
    >

  • Which generic-searchbackend-config.xml file to be used..?

    Hi,
    I need to make some changes to generic-searchbackend-config.xml.
    There are 2 generic-searchbackend-config.xml files available.
    1. sap.com\crm\isa\web\b2b\_comp\*webContent*\WEB-INF\xcm\sap\modification\generic-searchbackend-config.xml
    2. sap.com\crm\isa\web\b2b\_comp\WEB-INF\xcm\sap\modification\generic-searchbackend-config.xml
    I already made some changes in File No 1 and they were reflecting perfectly.
    My Basis team restarted the server today and I noticed that none of these changes I made in file no 1 are working now.
    Later I tried making some changes to file NO 2 and surprisingly they are reflecting.
    My question(s):
    1.which is the correct file to be used?
    2.what is the diff between the two
    3.why are my changes in file 1 not reflecting now even though code changes are present?
    Thanks,
    Pat

    Actually neither of them.
    You need to have a "customer" version of the XML which contains the changes you do specific to your application. The path of this file would be something like
    crmtcwebappbasesap.com/src/packages/WEB-INF/xcm/customer/modification/generic-searchbackend-config.xml
    Inside that one, you include the standard like this:
    <xi:include href="$/modification/generic-searchbackend-config.xml#xpointer(backendobject/*)"/>
    Then you put in your changes like the example below:
         <configs isa:extends="../configs[@id='crmdefault']">
              <config id="javabasket_javatemplate_forCRM">
                   <property-group name="salesdoc_resultlist_B2C">
                        <property name="STATUS"
                             columnTitle="b2c.orderlist.order.status"
                             cssClassName="showfiguresright"/>
                        <property name="STATUS_SYSTEM"
                             columnTitle="b2c.orderlist.order.status_system"
                             cssClassName="showfiguresright"/>
                        <property name="PROCESS_TYPE" type="hidden"/>
                   </property-group>
              </config>
         </configs>
    Pradeep

  • Persisting Configuration in Config.xml, Using Administration MBeans

    Dear Friends,
    I am facing a problem on persisting the configuration, using the administration
    Mbeans.
    I am using weblogic 6.1 sp1 version. And i am running weblogic in production mode.
    i have made the AutoDeployEnabled=false in my config.xml file.
    In my program i am setting a target to one my EJB component. But the entry in
    the config.xml is not happening.
    If anyone could help me in this problem, it would be greatful, thanx in advance.
    I am attaching my code with here below.
    import javax.naming.Context;
    import java.util.Set;
    import java.util.Iterator;
    import java.util.Vector;
    import weblogic.jndi.Environment;
    import weblogic.management.MBeanHome;
    import weblogic.management.WebLogicMBean;
    import weblogic.management.WebLogicObjectName;
    import weblogic.management.runtime.ServerRuntimeMBean;
    import weblogic.management.configuration.ApplicationMBean;
    import weblogic.management.configuration.ServerMBean;
    import weblogic.management.configuration.ComponentMBean;
    import weblogic.management.configuration.RepositoryMBean;
    import weblogic.management.configuration.AdminMBean;
    public class ListAllMbean{
    public static void main(String args[]) {
    String url = "t3://localhost:7001";
    String username = "system";
    String password = "security";
    try {
    //Obtaining an MBeanHome Using JNDI
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    ServerMBean serverMbean = null;
    Set targetMBeans = home.getMBeansByType("Server");
    for (Iterator itr = targetMBeans.iterator(); itr.hasNext(); ) {
    serverMbean = (ServerMBean)itr.next();
    Set allMBeans = home.getMBeansByType("Application");
    for (Iterator itr = allMBeans.iterator(); itr.hasNext(); ) {
    ApplicationMBean application = (ApplicationMBean)itr.next();
    // Getting all the components in the application
    ComponentMBean comp[] = application.getComponents();
    for ( int i = 0; i < comp.length; i++ ) {
    // Setting the target, to deploy the component
    if(comp.getName().equalsIgnoreCase("startup_ejbs_1")){
    comp[i].addTarget(serverMbean);
    // Using the repositaryMBean to persist, not sure this the right way
    RepositoryMBean repositorymbean = (RepositoryMBean)home.getMBean("Default",
    "Repository", "weblogic");
    repositorymbean.saveDomain(home.getActiveDomain().getName()) ;
    }catch(Exception e){
    System.out.println(e);
    Regards,
    Karthickraj.

    Hi Karthik,
    Why don't you post your question at http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.management.general_and_jmx&utag=
    This is a portal server group and a remote chance of getting reply on JMX here.
    Cheers
    Syed
    "Karthikraj" <[email protected]> wrote:
    >
    Dear Friends,
    I am facing a problem on persisting the configuration, using the administration
    Mbeans.
    I am using weblogic 6.1 sp1 version. And i am running weblogic in production
    mode.
    i have made the AutoDeployEnabled=false in my config.xml file.
    In my program i am setting a target to one my EJB component. But the
    entry in
    the config.xml is not happening.
    If anyone could help me in this problem, it would be greatful, thanx
    in advance.
    I am attaching my code with here below.
    import javax.naming.Context;
    import java.util.Set;
    import java.util.Iterator;
    import java.util.Vector;
    import weblogic.jndi.Environment;
    import weblogic.management.MBeanHome;
    import weblogic.management.WebLogicMBean;
    import weblogic.management.WebLogicObjectName;
    import weblogic.management.runtime.ServerRuntimeMBean;
    import weblogic.management.configuration.ApplicationMBean;
    import weblogic.management.configuration.ServerMBean;
    import weblogic.management.configuration.ComponentMBean;
    import weblogic.management.configuration.RepositoryMBean;
    import weblogic.management.configuration.AdminMBean;
    public class ListAllMbean{
    public static void main(String args[]) {
    String url = "t3://localhost:7001";
    String username = "system";
    String password = "security";
    try {
    //Obtaining an MBeanHome Using JNDI
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    ServerMBean serverMbean = null;
    Set targetMBeans = home.getMBeansByType("Server");
    for (Iterator itr = targetMBeans.iterator(); itr.hasNext();
    serverMbean = (ServerMBean)itr.next();
    Set allMBeans = home.getMBeansByType("Application");
    for (Iterator itr = allMBeans.iterator(); itr.hasNext(); ) {
    ApplicationMBean application = (ApplicationMBean)itr.next();
    // Getting all the components in the application
    ComponentMBean comp[] = application.getComponents();
    for ( int i = 0; i < comp.length; i++ ) {
    // Setting the target, to deploy the component
    if(comp.getName().equalsIgnoreCase("startup_ejbs_1")){
    comp[i].addTarget(serverMbean);
    // Using the repositaryMBean to persist, not sure this the right
    way
    RepositoryMBean repositorymbean = (RepositoryMBean)home.getMBean("Default",
    "Repository", "weblogic");
    repositorymbean.saveDomain(home.getActiveDomain().getName())
    }catch(Exception e){
    System.out.println(e);
    Regards,
    Karthickraj.

  • 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.

  • 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.

  • 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

  • Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin

    Hi ,
    We have a catalog that defines 2 types of products (they have too many different properties), so wanted to keep them on two different MDEX engines and serve the applications requests. Here DB catalog and front end ATG application is same for both the MDEX instances.
    Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin?
    Thanks
    Dev

    Hi, also have had some problem some monthes ago - I created separete component ProductCatalogSimpleIndexingAdminSecond. After that one of my colleage gave me some advice:
    The creating separate component like ProductCatalogSimpleIndexingAdmin for the second IOC is possible way for resolving your situation. But I afraid that this way will be required creating mane duplicates for already existed components.
    In my opinion the better way is the following:
    starting from AssemblerApplicationConfiguration and ApplicationConfiguration component. It contains details for connecting between ATG and Endeca. Of course you should configure different components for different Endeca Apps.
    After that:
    Find all components that uses AssemblerApplicationConfiguration and ApplicationConfiguration. Customize these components for using one or another  *Configuration component depending on what index works. (many variants released it: the most simple global custom component with flag.)
    Then customize the existed ProductCatalogSimpleIndexingAdmin. Using one or another IOC  and setting the flag in global custom component when index started. You can add some methods into your custom ProductCatalogSimpleIndexingAdmin like:
    Execute baseline index for both IOC (one by one)
    Execute baseline for IOC 1
    Execute baseline for IOC 2.
    Note: you should be afraid about incremental (partial) index in this configuration. But resolving conflicts in incremental index should be done after full implementation these changes.
    Regards

  • Can create new cache with new cache config xml to existing cache server?

    Hi,
    I have a question regarding coherence cache.
    currently there is coherence cache server running with its own cache config file.
    Can I create another cache with new cache config file?
    If so, do I need add my own cache config file and pof file to the server?
    so during cache server start up, it can load cache config and pof config file?
    Thanks for the help.
    Regards
    Julia

    Yes, when you want to load your own cache configuration you can use something like
    export CLASSPATH=coherence.jar
    java -Xms512m -Xmx512m -Dtangosol.coherence.cacheconfig=my-cache-config.xml com.tangosol.net.DefaultCacheServerby using the system parameter tangosol.coherence.cacheconfig you can add your own cache configuration. Note that
    the POF configuration is loaded when you are referring to it in your cache configuration.

Maybe you are looking for