Templating config.xml

Hello all,
I am trying to port my application from 5.1 to 6.1. We
used to template our properties file by having place holders for certain
properties which would get filled when we installed WLS by an inhouse
install program. Is this an approach that is still recommended for 6.1
given the fact that BEA recommends that we do not modify config.xml ?
Can we template config.xml ? I agree it may not be valid xml.
Something like this
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="4"
LoginDelaySeconds="1" MaxCapacity="5" Name="thinPool"
Properties="user=adinakar" ShrinkPeriodMinutes="15"
ShrinkingEnabled="false" Targets="myserver" TestTableName="dual"
URL="jdbc:oracle:thin:@foo.com:1521:ora" />
with
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="4"
LoginDelaySeconds="1" MaxCapacity="5" Name="thinPool"
Properties="user=<database_username> " ShrinkPeriodMinutes="15"
ShrinkingEnabled="false" Targets="myserver" TestTableName="dual"
URL="jdbc:oracle:thin:@<database_server>:<database_port>:<database_sid>"
/>
The place holders get populated at run time by the install program.

Aswin
This is not recommended. Use the conversion utility provided or use the
console to enter the values.
yeshwant
Aswin Dinakar wrote:
Hello all,
I am trying to port my application from 5.1 to 6.1. We
used to template our properties file by having place holders for certain
properties which would get filled when we installed WLS by an inhouse
install program. Is this an approach that is still recommended for 6.1
given the fact that BEA recommends that we do not modify config.xml ?
Can we template config.xml ? I agree it may not be valid xml.
Something like this
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="4"
LoginDelaySeconds="1" MaxCapacity="5" Name="thinPool"
Properties="user=adinakar" ShrinkPeriodMinutes="15"
ShrinkingEnabled="false" Targets="myserver" TestTableName="dual"
URL="jdbc:oracle:thin:@foo.com:1521:ora" />
with
<JDBCConnectionPool CapacityIncrement="1"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="4"
LoginDelaySeconds="1" MaxCapacity="5" Name="thinPool"
Properties="user=<database_username> " ShrinkPeriodMinutes="15"
ShrinkingEnabled="false" Targets="myserver" TestTableName="dual"
URL="jdbc:oracle:thin:@<database_server>:<database_port>:<database_sid>"
/>
The place holders get populated at run time by the install program.

Similar Messages

  • Problem weblogic 9.2 with quartz and log4j : url-template-config.xml

    Hello,
    I configure a Servlet Quartz to run when WebLogic 9.2 starts, but i have an exception, here is my log :
    2009-04-15 11:52:52,424 ERROR Logger.error(): Exception while loading URL templates, /WEB-INF/url-template-config.xml
    Throwable: javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
    Stack Trace:
    javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
         at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:131)
         at org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor.load(URLTemplateDescriptor.java:133)
         at org.apache.beehive.netui.pageflow.PageFlowContextListener.performInitializations(PageFlowContextListener.java:102)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.init(PageFlowActionServlet.java:120)
         at com.bea.console.internal.ConsoleActionServlet.init(ConsoleActionServlet.java:185)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at weblogic.servlet.AsyncInitServlet.initDelegate(AsyncInitServlet.java:94)
         at weblogic.servlet.AsyncInitServlet.init(AsyncInitServlet.java:78)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:493)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1688)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1665)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1585)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2678)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:874)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:326)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:114)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:25)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:176)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:347)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.activate(DeploymentAdapter.java:50)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:232)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:168)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: org.apache.xmlbeans.XmlException: error: The document is not a url-template-config: document element namespace mismatch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
         at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:449)
         at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:354)
         at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
         at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1254)
         at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
         at org.apache.beehive.netui.core.urltemplates.schema.UrlTemplateConfigDocument$Factory.parse(Unknown Source)
         at org.apache.beehive.netui.core.urltemplates.DefaultURLTemplateFileParser.parse(DefaultURLTemplateFileParser.java:34)
         at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:118)
         ... 43 more
    The problem may be a conflict with the different version. My versions are quartz-1.6.0.jar, log4j-1.2.15.jar.
    When i rename the file url-template-config.xml i don't have this exception but just a log4j Warning but i don't know if it's not dangerous for my application (run with WebLogic 9.2) if i rename this file.
    Can you give me a solution to remove this exception or tell me if rename this file it's not dangerous ?
    Thank you,
    MH.

    url-template-config.xml is part of Apache Beehive. This file is used to provide a template mechanism for URL's. Is your application using Apache Beehive purposefully?
    http://beehive.apache.org/docs/1.0.2/netui/apidocs/javadoc/org/apache/beehive/netui/core/urls/URLRewriterService.html
    If not, you may have inadvertently added a reference to Apache Beehive when you created the application and now there are references to the Apache Beehive shared libraries in either weblogic-applicaiton.xml or weblogic.xml

  • Url-template-config Error Deploying app in WLS9.1

    I am trying to deploy my application in WLS9.1 and using jdk1.5.0_08. I am getting url-template-config error. There is this file "url-template-config.xml"at
    \weblogic91\server\lib\consoleapp\webapp\WEB-INF which is where this error arises and inside that file the schema definition is:
    <url-template-config
    xmlns="http://www.bea.com/servers/weblogic/url-template-config/8.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/weblogic/url-template-config/8.0 url-template-config.xsd">
    Why is weblogic 9.1 using a 8.0 defined template and is this the main problem? Please do help me out.
    -Thanks

    Hi
    Did you get solution for url-template-config issue with weblogic 9.1 . Iam also getting the same error
    15:23:22,531 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR URLTemplateDescriptor:152
    - Exception while loading URL templates, /WEB-INF/url-template-config.xml
    Throwable: javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismat
    ch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
    Stack Trace:
    javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected
    "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
    at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:131)
    at org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor.load(URLTemplateDescriptor.java:133)
    at org.apache.beehive.netui.pageflow.PageFlowContextListener.performInitializations(PageFlowContextListener.java:102)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.init(PageFlowActionServlet.java:120)
    at com.bea.console.internal.ConsoleActionServlet.init(ConsoleActionServlet.java:185)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at weblogic.servlet.AsyncInitServlet.initDelegate(AsyncInitServlet.java:94)
    at weblogic.servlet.internal.WebAppServletContext$AsyncInitRequest.run(WebAppServletContext.java:1641)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Please let me knwo
    Thanks
    Binu

  • Office 2013 Setup Logging Template %hostname% Config.xml

    Hello,
    we want to deploy Office 2013 through SCCM with a Log-File which should be stored on a Server. To identify from which Computer the log file is, it should be named like the hostname.
    I have specifed the followig in the config.xml
    <Logging Type="verbose" Path="\\logserver\log\" Template="%hostname%.txt" />
    instead of translating the hostname there is only a %hostname%.txt on the logserver.
    Anyone an idea to solve this?
    Thanks.

    Glad to see you have your problem resolved. And thanks for sharing the workaround here, this should be helpful to other users who encounter the same problem.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Using ANT to create config.xml template

    Does anyone have an example on how to use ant to create a config.xml template?

    try this:
    <target
         description="Creates the config.xml file from the config-template.xml file"
         name="parseConfigXML">
         <copy
              file="config-template.xml"
              tofile="config.xml"
              overwrite="true"
         />
         <replace
         file="config.xml"
         value="defaultvalue"
         replacefilterfile="local.configtemplate.properties">
         </replace>
         <antcall target="parseSetDomainEnv" />
    </target>

  • Where is the template for config.xml

    when i modify settings using weblogic console, is config.xml changed
    according to a template?
    is the template available?

    Hi,
    Template files can be found under $ORACLE_HOME/appsutil/template (database) and $COMMON_TOP/clone/context/apps (application) directories.
    Note: 603104.1 - Troubleshooting RapidClone issues with Oracle Applications R12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=603104.1
    Regards,
    Hussein

  • Reference faces-config.xml file from java code.

    I would like to reference the navigation rules I have set up in my faces-config.xml file from inside my source code.
    For example:
    Navigation Rule:
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>pricingEngine</from-outcome>
    <to-view-id>/faces/template/t_pricing_engine.jsf</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    I would like do some sort of lookup by 'pricingEngine' and get '/faces/template/t_pricing_engine.jsf' back.
    Any ideas?

    I would like to reference the navigation rules I have set up in my faces-config.xml file from inside my source code.
    For example:
    Navigation Rule:
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>pricingEngine</from-outcome>
    <to-view-id>/faces/template/t_pricing_engine.jsf</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    I would like do some sort of lookup by 'pricingEngine' and get '/faces/template/t_pricing_engine.jsf' back.
    Any ideas?

  • Forward to Tiles definition from faces-config.xml

    Hello,
    can anybody explain me how to make a forward to a Tiles definition from the faces-config.xml file? I�m using MyFaces with Tomahawk and Tiles, but I also tried with Jsf without myFaces and lots of combinations but I can�t fix it.
    Here is my faces-config file:
    <faces-config>
    <navigation-rule>
    <from-view-id>/pages/JP000.jsp</from-view-id>
    <navigation-case>
    <from-outcome>loginFrm</from-outcome>
    <to-view-id>/JP002.tiles</to-view-id>
    </navigation-case>
    </navigation-rule>
    <application>
    <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler>
    </application>
    </faces-config>
    and this is the tiles-defs.xml:
    <tiles-definitions>
         <!-- === layouts === -->
         <definition name="general.menu"
              path="/pages/tiles/templates/general.menu.jsp">
              <put name="titleHTML" type="string"     value="mi_title" />
              <put name="menu" value="/pages/tiles/menu.jsp" />
         </definition>
         <!-- === pages === -->
         <definition name="JP002.tiles" extends="general.menu">
              <put name="titleHTML" type="string"     value="mi_title" />
              <put name="content" value="/pages/menus/JP002.jsp" />
              <put name="menu" value="0" />
         </definition>
    </tiles-definitions>
    Lots of thanks!!!!

    Today I downloaded tomahawk-examples-1.1.5-bin. (http://myfaces.apache.org/download.html). They have one example with tiles, and it works the way I want it to.
    I'm still trying to figure it out what is causing this behaviour.
    At least, I tried to change the value they're using for linkage between <to-view-id> and tiles definition, and found that JSF is still ignoring the real value in <to-view-id>
    : it was originally 'blah.jsp', but 'blah' or 'blah.tiles' worked the same way, while in tiles definition the corresponding name was always blah.tiles.
    It seems that they are looking into tiles definitions first with the key composed of the first part of the value in <to-view-id> (before the dot) concatenated with hardcoded '.faces'.
    I tried to change the key value in both config files to something like 'blah.ttt', and it did not work.
    I'm not sure at the moment if this would be a problem for me, I may use this framework, knowing the limitations.
    Also, I'll look into the code, if this may be altered and at what cost.
    Still, the basic jsf problem with always interpreting the value in <to-view-id> as blah.jsp remains.

  • Portal Domain creation - config.xml

    Folks,
    I created a portal domain using weblogic 8.1 GUI configuration wizard.It wlp.jar
    file as a template to create this one.
    After creating this, I opened config.xml file of new portal domain and it have
    JDBC connection pool setup for point database.I do not want to have this in my
    config.xml file and do not want to remove this manually because of our automation.
    How can I resolve this?
    Thanks
    - Spider

    if you don't want the JDBC Connection pool ion your domain ,
    please use the config Wizard to configure JDBC connection pool with database
    other that pointbase at the time of creation.
    otherwise using the wizard, you change the properties of exisiting domain.
    Karthi.
    "SpiderMan" <[email protected]> wrote in message
    news:3f74b601$[email protected]..
    >
    Folks,
    I created a portal domain using weblogic 8.1 GUI configuration wizard.Itwlp.jar
    file as a template to create this one.
    After creating this, I opened config.xml file of new portal domain and ithave
    JDBC connection pool setup for point database.I do not want to have thisin my
    config.xml file and do not want to remove this manually because of ourautomation.
    >
    How can I resolve this?
    Thanks
    - Spider

  • 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

  • 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

  • Modifying jag-config.xml

    In JHeadstart 11g I want to be able to modify some of the values in the jag-config.xml file (want to point to my custom common_labels template).
    Is is safe to edit this file directly ? I assume this will get overwritten if JHeadstart re-enabled on my application. I always ensure I use custom templates but in this case am not sure how to get the generator to use my common_lables template without editing the jag-config.xml ?
    Cheers,
    Brent

    Brent,
    You are correct, to use a custom macros file, you need to edit jag-config.xml. It is the only type of customization that needs to be re-applied after re-enabling JHeadstart.
    Steven Davelaar,
    JHeadstart Team.

  • Difference between wlexpress and wlserver (config.xml)

    Hello,
    com.bea.plateng.domain.TemplateBuilder's output seems to be interpreted
    differently on WL Express, but WL Server is happy with it. The difference is
    with the custom security providers. Any ideas?
    2004-05-27 12:43:59,202 ERROR [runScript]
    com.bea.plateng.domain.TemplateBuilder - unable to parse config.xml
    org.xml.sax.SAXException: unable to find FieldDescriptor for
    'com.encorus.pwm3.management.auth.userpass.UPAuthenticator' in
    ClassDescriptor of SecurityType
    at
    org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:97
    3)
    at
    org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
    at
    org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
    or.java:1284)
    at
    org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
    r.java:1806)
    at
    org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
    LDocumentScanner.java:1182)
    at
    org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
    java:381)
    at
    org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at
    org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:463)
    at
    org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:552)
    at
    com.bea.plateng.domain.DomainHelper.unmarshallXML(DomainHelper.java:691)
    at
    com.bea.plateng.domain.TemplateBuilder.parseConfig(TemplateBuilder.java:206)
    at
    com.bea.plateng.domain.TemplateBuilder.parseDomainTemplate(TemplateBuilder.j
    ava:465)
    at
    com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.j
    ava:1163)
    at
    com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.jav
    a:344)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.processRead(ScriptPa
    rser.java:536)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.execute(ScriptParser
    .java:442)
    at
    com.bea.plateng.domain.script.ScriptParser.parseAndRun(ScriptParser.java:171
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:134)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:98)
    at
    com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTa
    sk.java:214)
    at
    com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTas
    k.java:32)
    at java.lang.Thread.run(Thread.java:536)
    2004-05-27 12:43:59,202 ERROR [runScript]
    com.bea.plateng.domain.TemplateBuilder - failed to parse the template!

    Please disregard the post. The XML parser component of WL Server and WL
    Express is different, and that was the cause of the problem we encountered.
    (Using WL Server 8.1 SP2 and WL Express 8.1 SP1)
    Might be a target for correction, however. :)
    Gabor
    "Moos Gabor" <[email protected]> wrote in message
    news:40b5d403$1@mktnews1...
    Hello,
    com.bea.plateng.domain.TemplateBuilder's output seems to be interpreted
    differently on WL Express, but WL Server is happy with it. The differenceis
    with the custom security providers. Any ideas?
    2004-05-27 12:43:59,202 ERROR [runScript]
    com.bea.plateng.domain.TemplateBuilder - unable to parse config.xml
    org.xml.sax.SAXException: unable to find FieldDescriptor for
    'com.encorus.pwm3.management.auth.userpass.UPAuthenticator' in
    ClassDescriptor of SecurityType
    at
    org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:97
    3)
    at
    org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
    at
    org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
    or.java:1284)
    at
    org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
    r.java:1806)
    at
    org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
    LDocumentScanner.java:1182)
    at
    org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
    java:381)
    at
    org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at
    org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:463)
    at
    org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:552)
    at
    com.bea.plateng.domain.DomainHelper.unmarshallXML(DomainHelper.java:691)
    at
    com.bea.plateng.domain.TemplateBuilder.parseConfig(TemplateBuilder.java:206)
    >
    at
    com.bea.plateng.domain.TemplateBuilder.parseDomainTemplate(TemplateBuilder.j
    ava:465)
    at
    com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.j
    ava:1163)
    at
    com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.jav
    a:344)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.processRead(ScriptPa
    rser.java:536)
    at
    com.bea.plateng.domain.script.ScriptParser$StateMachine.execute(ScriptParser
    .java:442)
    at
    com.bea.plateng.domain.script.ScriptParser.parseAndRun(ScriptParser.java:171
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:134)
    at
    com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:98)
    at
    com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTa
    sk.java:214)
    at
    com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTas
    k.java:32)
    at java.lang.Thread.run(Thread.java:536)
    2004-05-27 12:43:59,202 ERROR [runScript]
    com.bea.plateng.domain.TemplateBuilder - failed to parse the template!

  • 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

  • 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

Maybe you are looking for

  • Apple fan... upset with apple marketing tricks for iphone 5

    hii guys i am a diehard fan of apple... own all its products from ipod to macbook... when the new iphone 5 came out i was unable to go to the store and buy it outright the same day.... n whenevver i have gone after that... they r always unavailable..

  • Repository Creation Utility installation

    Hello, I have downloaded BIPublisher_11.1.1.3_Desktop and want to install it on my machine (windows 32bit). in the tutorial, it is sad that before installing BI Publisher I have to execute the Repository Creation Utility ( RCU) scripts in Oracle Data

  • Export of application will not include users

    If export an application the export doesn't seem to include all the users I have created for the application or really the workspace. Is there a way to export those users and import them into another workspace (same name and same number) Andy

  • Facebook tags in uploaded album not linked to profile

    I saw a lot of threads on this subject but nothing really solved my problem. Also they all seem rather out-dated, so maybe there are some new tricks I don't know of. I spent hours over hours tagging faces in iPhoto after syncing my facebook account,

  • Replenishment entry not flowing to COPA

    When reconciling the value field VVV52 " DM Cons st" it appears that repenishment orders are not booking any entry in COPA . for example a delivery xxxx should transfer 100 $ to COPA on acount no. yyyy. but none of that kind of delivery is posted to