Info needed config.xml and weblogic 10.3 startup scripts

Hello

Please explain what is the difference between startManagedWebLogic.cmd and startWebLogic.cmd in Weblogic 10.3.

Can I have tuning parameters to set in the config.xml file and all settings to configure startup for Weblogic for performance in general scripts.

Thank you

Hello

startWebLogic.sh is a Script that we had to start the administration server. Usually this script without any Arguments after the name of the script.

startManagedWebLogic.sh is the Script we use to start managed servers from the 'ManagedServerName' and the 'adminURL' as an argument after the name of the Script to the Shell prompt.

Basically 'startManagedWebLogic.sh' series the name of the managed server and AdminServer URL inside of her, then he calls the "startWebLogic.sh»

Example: startManagedWebLogic.sh MS1 t3: / / localhost:7001

If you want to set some JAVA_OPTIONS and the Classpath of the admin console, then your managed server must be started with "Nodemanagers" then only it takes arguments jvm and Classpath settings of the "config.xml"... like following:
http://WebLogic-wonders.com/WebLogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/

.
.
Thank you
Jay SenSharma

Tags: Fusion Middleware

Similar Questions

  • Difference between prefer application-packages in weblogic.xml and weblogic application. XML?

    Hello!

    When you deploy a WAR for WebLogic 10.3.5, what is the difference between the prefer-application-package element in the weblogic.xml and weblogic application files. XML?

    In my WARs WEB-INF/lib / I have a JAR that contains classes that are already provided by the container (but older versions).

    If I do not prefer-application-packages use my application gets then the classes provided by the container.

    If I use prefer-application-packages in weblogic.xml can I get classes in WAR/WEB-INF/lib, which is expected.

    But if I use prefer application-packages in weblogic - application.xml, then I get the versions of container. Why?

    Is there a difference between these two options?

    The exact data that I use are:

    (foo.bar. * is the name of the conflicting package;) Add or remove the linex tagged XXXX)

    WEB-INF/weblogic.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
        xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
        <wls:container-descriptor>
            <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled>
            <wls:prefer-application-packages> <!-- XXXX -->
                <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX -->
            </wls:prefer-application-packages> <!-- XXXX -->
            <wls:prefer-application-resources>
                <wls:resource-name>META-INF/services/some....</wls:resource-name>
                <wls:resource-name>META-INF/services/unrelated...</wls:resource-name>
                <wls:resource-name>META-INF/services/stuff...</wls:resource-name>
            </wls:prefer-application-resources>
        </wls:container-descriptor>
        <wls:jsp-descriptor>
            <wls:page-check-seconds>-1</wls:page-check-seconds>
            <wls:precompile>true</wls:precompile>
            <wls:precompile-continue>true</wls:precompile-continue>
            <wls:keepgenerated>true</wls:keepgenerated>
        </wls:jsp-descriptor>
        <wls:session-descriptor>
            <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type>
        </wls:session-descriptor>
    </wls:weblogic-web-app>
    

    META-INF/weblogic - application.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-application
        xmlns="http://xmlns.oracle.com/weblogic/weblogic-application"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">
        <application-param>
            <param-name>webapp.encoding.default</param-name>
            <param-value>UTF-8</param-value>
        </application-param>
    
        <xml>
            <parser-factory>
                <saxparser-factory>
                    org.apache.xerces.jaxp.SAXParserFactoryImpl
                </saxparser-factory>
                <document-builder-factory>
                    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
                </document-builder-factory>
                <transformer-factory>
                    org.apache.xalan.processor.TransformerFactoryImpl
                </transformer-factory>
            </parser-factory>
        </xml>
    
        <prefer-application-packages>
            <package-name>foo.bar.*</package-name> <!-- XXXX -->
            <package-name>javax.jws.*</package-name>
            <package-name>javax.xml.ws.*</package-name>
            <package-name>org.apache.cxf.*</package-name>
            <package-name>antlr.*</package-name>
            <package-name>org.xmlsoap.schemas.wsdl.*</package-name>
        </prefer-application-packages>
    </weblogic-application>
    

    WebLogic - application.xml has no meaning in wars, it is only used in the ears.

  • Beehive netui - config.xml and the ampersand problem

    <>url-config
    < url-encodes-URL > false < / url-encodes-URL >
    < html-amp-entity > false < / html-amp-entity >
    < / url-config >

    I added the following lines in the Beehive netui - config.xml, but getting these errors saying entered invalid, we use WLP 10.2, any help at this very appreciated


    java.lang.IllegalStateException: has not been initialized in /WEB-INF/beehive-netui-config.xml
    at org.apache.beehive.netui.pageflow.internal.PageFlowInitialization.performInitializations(PageFlowInitialization.java:95)
    at org.apache.beehive.netui.pageflow.PageFlowContextListener.contextInitialized(PageFlowContextListener.java:47)
    to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:458)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    Truncated. check the log file full stacktrace
    org.apache.beehive.netui.util.config.ConfigInitializationException: Validation errors occurred parsing the configuration file "/WEB-INF/beehive-netui-config.xml". Cause: org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    to org.apache.beehive.netui.util.config.parser.NetUIConfigParser$ 3.error(NetUIConfigParser.java:171)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:175)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace
    org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace


    e < 28 October 2008 9:40:50 PM PDT > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1225255174548 'for task ' 0'. Error: ' weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:975)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    to 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)
    Truncated. check the log file full stacktrace
    org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace


    < 28 October 2008 9:40:50 PM PDT > < error > < hats > < BEA-149202 > < encountered an exception while trying to commit the task 9 for the application "PortalEar". >
    < 28 October 2008 9:40:50 PM PDT > < WARNING > < hats > < BEA-149004 > < failures have been detected all by initiating the task to redeploy to app "PortalEar" >.
    < 28 October 2008 9:40:50 PM PDT > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:975)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    to 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)
    Truncated. check the log file full stacktrace
    org.xml.sax.SAXParseException: cvc-complex - type. 2.4.d: invalid content were found starting with the element "url-config". No child element is planned at this stage.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    to com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (XMLSchemaValidator.java:429)
    Truncated. check the log file full stacktrace


    < 28 October 2008 9:40:51 PM PDT > < WARNING > < hats > < BEA-149252 > < no deployment "PortalEar" found to stop operation. >

    Looks like you added the config url entry in the wrong place in the config file, so it fails to analyze. Looking at the diagram of the Beehive netui config, the elements in the netui-config element must be in the following sequence:













    So "url-config" should come before "iterator-factories" and after 'jsp-tag-config' in the config file.

    Jeff

  • Encrypt the password weblogic in the config.xml file

    Hi friends,

    I get the below error. while trying to start the administration server.

    < 17 November 2015 14:18:09 IST > < opinion > < Log Management > < BEA-170019 > < server log file /u01/app/orawls/product/fmw11g/user_projects/domains/ClassicDomain/servers/AdminServer/logs/AdminServer.log is open. All events in the log server-side will be written to this file. >

    < 17 November 2015 14:18:09 IST > < critical > < WebLogicServer > < BEA-000386 > < server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy._invokeServiceMethod (DescriptorManager.java:175)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy.decrypt (DescriptorManager.java:192)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl.decrypt (DescriptorManager.java:114)

    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1092)

    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:737)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy._invokeServiceMethod (DescriptorManager.java:173)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.security.internal.encryption.EncryptionServiceException

    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:139)

    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:187)

    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    Truncated. check the log file full stacktrace

    I searched the support of oracle in this regard. In one mentioned to modify the config.XML and add either encrypted or clear text.

    I don't know how to change the file and that all entries have to be changed. I enclose the config file. Could you please suggest me.

    Kind regards

    Prates

    What doc id you are referring to? If you need to replace the password encrypted with password plain text in the config.xml file, just edit it with a text editor and replace the values starting with {ESA}.

  • vWorkspace 8.6.1 connector self-configuring config.xml

    We have just upgraded to the server vWorkspace v8.6.1. When we used 8.0.1, we had connectors 8.0.1 windows that would automatically get "'vworkspace.somedomain/config.xml ' and automatically configure the VDI settings clients." I've updated the client to v8.6.309.4062 and this time I'm just introduced to enter 'Web site or e-mail address' in the text box. Here, at the University, we loved this feature because it that VDI has been automatically configured and students do not have to enter the URL. Who feature has been removed from this version?

    Hello

    I believe it has been deleted, but several alternatives have been introduced.

    I know that the reg key to set the path always exists HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Provision Networks\Provision - Client\AutoConnectURL IT and still works with this version of vWorkspace.

    This is a string value that contains the path to your broker (if you use the new connector management functionality) or to your file config.xml if you use the old style.

    With the new direction of connector, the intention was to make it easier for new users. Everything they need to do is go to a (properly configured) Web site and it will install the connector for them and configure it automatically.

    If you don't want to use this option, you can either 1, use the URL of automatic connection mentioned above. 2, teach them the URL to download the config 3, create a DNS entry to use the E-mail address configuration option.

    Thank you, Andrew.

  • How to make an html application in the config.xml file

    not able to config.xml five for my application

    Take a look at the start for a sample config.xml and guide instructions on creating your own file config.xml https://developer.blackberry.com/html5/documentation/working_with_config_xml_file_1866970_11.html

  • Invalid application - cannot find the config.xml file archive

    I'm new to webworks development... I created a sample config.xml and index.html in the folder Helloworld and made a Zip file...

    Then using ripple I packed up the app and the. Cod files are generated correctly...

    But I was not able to pack and sign using ripple, if I had the signature keys added to the bin folder of the SDK correctly...

    So I tried bbwp command line argument to achieve the same... But it has ended up with the error "Invalid application archive - cannot find the file config.xml.

    What is the problem that I do with the archieve file?

    How to use eclipse for development for the Webworks 2.3.1.5 sdk?

    My guess is that you have a HelloWorld inside your zip file and the file config.xml and index.html are inside this folder. The config.xml file must be in the root and must reference the index.html file, wherever it is in the zip directory structure.

  • v shud add cachesettings in content compulsorly - config.xml for cachepurpose

    I HAV added p13n-content - config.xml and also changed the time to live in the properties Advanced dettings in the administration console.
    It is now that i shud add details hidden content-file config.xml also for her effective b.
    If so, shud I just copy what p13n-content-config and paste in content-config.

    In general, I would recommend to put the cache configuration in p13n-cache-config. XML (with the exception of binary-max-entry-the cache size).

    Here is an example of content file - config.xml with this setting:




    WLP_Repository
    Test repository
    com.bea.content.spi.internal.RepositoryImpl
    Bea.WLP.Content.Repository

    Data source defined for the repository of Test Portal
    CM_DATA_SOURCE
    contentDataSource


    Disable repository for research events.
    cm_fireRepositoryEvents
    fake


    The class object of webdav when this Jack in pension is used with webdav
    WEBDAV_TYPE
    webdav_type

    fake
    1024
    true
    fake

    I did not understand your question about p13n-cache - config.Xml. If you are looking to change the cache settings at run time, you can do so via the portal administration tools (Administration of Service page).

    Cache (not just caches CM) configuration is cached p13n - config.xml, not content-config. XML (with the exception of binary-max-entry-the cache size)

    -Steve

  • Problem with InDesign startup script does not import XML images

    I'm doing an XML import automatically from a startup script when a document is loaded. I managed to get most of the content to fill, but the images are ignored. Everything works, including images, when I do a manual 'Import XML' through the user interface or a manual script.

    Here's my manual script:

    var myDocument = app.activeDocument;
    var xmlFile = File('/c/Full/Path/To/data.xml');
    
    myDocument.importXML(xmlFile);

    But the goal is to do at startup. Here's my startup script:

    #targetengine "session"
    
    app.addEventListener('afterOpen', function(myEvent) {
       if (myEvent.target.constructor.name !== 'Document') {
       return;
       }
    
       var myDocument = myEvent.target;
       var xmlFile = File('/c/Full/Path/To/data.xml');
    
      myDocument.importXML(xmlFile);
    });

    Here is the XML tag for the image:

    <Image href="file:///C:/Full/Path/To/Image/02.png" />

    I wonder there is a problem with the 'afterOpen' event reminder, and it is the reason why it works manually using the same method, but not in the startup script.

    I solved it by avoiding the event quite listener:

    main();
    
    function main () {
    
        // create a path for a file object
        var curFile = File('/c/Path/To/file.indd);
        var xmlFile = File('/c/Path/To/data.xml');
    
        // close app if files don't exist
        if (!curFile.exists || !xmlFile.exists) {
            app.quit(SaveOptions.NO);
        }
    
        // open the file
        var curDoc = app.open(curFile);
    
        // import the xml
        curDoc.importXML(xmlFile);
    
        // create a new file object
        var pdfFile = new File(curFile.parent + '/' + curFile.name + '.pdf');
    
        // export to pdf
        curDoc.exportFile(ExportFormat.PDF_TYPE, pdfFile);
    
        // close app
        app.quit(SaveOptions.NO);
    
    }
    
  • If I configure the weblogic using staticport.ini, do I need to use it when I start nodemanager and weblogic.

    If I configure the weblogic using staticport.ini, do I need to use it when I start nodemanager and weblogic. If so, what would the command.

    Hello

    As far as I know, you only use this file during installation only. Then the values of ports configured in the file will be used by the Setup program to configure port appropriate for each component values. These port values would be stored in the files of each component configuration, so ultimately, you won't need to staticport.ini after a successful installation.

    Kind regards

    White

  • need a sample of weblogic - application.xml for weblogic 10.3.5

    Hello

    Could someone please provide a weblogic - application.xml for weblogic 10.3.5 sample?

    Thank you

    "http://xmlns.Oracle.com/WebLogic/WebLogic-application" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" "xsi: schemaLocation ="http://xmlns.oracle.com/weblogic/weblogic-applicationhttp://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">..." "

    Examples can be found here: extracts of Middleware: the class loading and packaging of the Application

    Description of all items can be found here: Enterprise Application Deployment Descriptor éléments.

  • Trinidad - config.xml, number-grouping-separator and decimal separator

    Hello

    Depending on my location of the application, the numbers are formatted into 1.234,56
    Now, I want numbers to shape US flavor: 1,234.56

    Here's my content in the file config.xml - Trinity :

    <? XML version = "1.0" encoding = "windows-1252"? >
    < trinidad-config xmlns = "http://myfaces.apache.org/trinidad/config" >
    mySkin < skin-family > < / skin-family >
    < number-grouping-separator >, < / number-grouping-separator >
    > decimal separator <. < / decimal separator >
    < / Trinity-config >

    The file above is declared in the file web.xml (although I'm not sure this is really necessary):

    < context-param >
    javax.faces.CONFIG_FILES < param-name > < / param-name >
    /Web-INF/Trinidad-config.XML < param-value > < / param-value >
    < / context-param >

    And an example of digital input text:

    < af:inputText value = "#{row.bindings.Salary.inputValue}" label = "#{bindings. EmployeesView3.hints.Salary.label}.
    required = "#{bindings." EmployeesView3.hints.Salary.mandatory} "columns =" #{bindings. "." EmployeesView3.hints.Salary.displayWidth}.
    maximumLength = "#{bindings." EmployeesView3.hints.Salary.precision}"shortDesc =" #{bindings. " EmployeesView3.hints.Salary.tooltip}.
    ID = "it5" >
    < f: validator binding="#{row.bindings.Salary.validator}"/ >
    < af:convertNumber pattern = "#{bindings." EmployeesView3.hints.Salary.format}"/ >
    < / af:inputText >

    Where the model is defined at the level of the Entity object: EO employees > attribute salary > UI tips > Format: #, # 0.00

    But it does not work. I don't know what I'm missing... Help, please!
    JDev 11.1.1.3.0

    Marge,

    A number of things I found after I played with him (very simple example: HR schema / table Employees / salary attribute):

    (a) the docs are wrong - there should be trinidad-config. XML
    (b) no matter what I did with the af: convertNumber and the Trinity-config-xml delimiters picked up from my locale
    (c) until... I took the advice of of EO (type attribute set to "" format) and then things started working - even deleted the attribute of the af model: convertNumber did not help. So, remove the tips of the EO and put "#, # 0.00" in the attribute of the af model: convertNumber and everything is good. I dropped an e-mail to someone at Oracle to report the bug in the documentation as well as the apparent bug that conversion does not work correctly if there is a hint of control on the attribute.

    John

  • Need help to read a _fmb. XML and write the properties of the element to a table

    We want to retrieve all the properties of elements of forms at a table.
    Table has this format:
    Describing oracle_forms_item_list....
    NAME                            Null?     Type
    ------------------------------- --------- -----
    FORM_NAME                       NOT NULL  VARCHAR2(100)
    ITEM_NAME                       NOT NULL  VARCHAR2(50)
    ITEM_TYPE                       NOT NULL  VARCHAR2(50)
    PROPERTY                        NOT NULL  VARCHAR2(50)
    PROPERTY_VALUE                            VARCHAR2(500)
    We want to get all D_e_p_a_r_t_m_e_n_t_s.fmb items (blocks, paintings, text etc.). So first convert us it to XML and we get the D_e_p_a_r_t_m_e_n_t_s_fmb.xml file which is shown below.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <Module version="101020002" xmlns="http://xmlns.oracle.com/Forms">
       <FormModule Name="D_E_P_A_R_T_M_E_N_T_S" ConsoleWindow="WINDOW1" DirtyInfo="true" MenuModule="DEFAULT&amp;SMARTBAR" Title="MODULE5">
          <Coordinate CharacterCellWidth="7" CoordinateSystem="Real" CharacterCellHeight="14" RealUnit="Point" DefaultFontScaling="true"/>
          <Alert Name="ALERT6" DirtyInfo="true" DefaultAlertButton="Button 2" AlertMessage="Do you want to save ???" Button2Label="No" AlertStyle="Caution" Title="Saving........................... &lt;>" Button1Label="Yes"/>
          <Block Name="DEPT" ScrollbarTabPageName="" DirtyInfo="true" QueryDataSourceName="dept" ScrollbarWidth="14" ScrollbarYPosition="39" ShowScrollbar="true" ScrollbarCanvasName="CANVAS4" ScrollbarLength="70" RecordsDisplayCount="5" ScrollbarXPosition="237">
             <Item Name="DEPTNO" DirtyInfo="true" Height="14" PromptAlign="Center" XPosition="14" Width="27" ColumnName="DEPTNO" DataType="Number" YPosition="39" PromptDisplayStyle="First Record" ItemsDisplay="0" MaximumLength="3" PromptAttachmentEdge="Top" ItemType="Text Item" TabPageName="" CanvasName="CANVAS4" Prompt="Deptno"/>
             <Item Name="DNAME" DirtyInfo="true" Height="14" PromptAlign="Center" XPosition="41" Width="101" ColumnName="DNAME" YPosition="39" Tooltip="Dep name goooes here." DataLengthSemantics="BYTE" Hint="Entter the department name" PromptDisplayStyle="First Record" ItemsDisplay="0" MaximumLength="14" PromptAttachmentEdge="Top" ItemType="Text Item" TabPageName="" CanvasName="CANVAS4" Prompt="Dname"/>
             <Item Name="LOC" DirtyInfo="true" Height="14" PromptAlign="Center" XPosition="142" Width="95" ColumnName="LOC" YPosition="39" DataLengthSemantics="BYTE" PromptDisplayStyle="First Record" ItemsDisplay="0" MaximumLength="13" PromptAttachmentEdge="Top" ItemType="Text Item" TabPageName="" CanvasName="CANVAS4" Prompt="Loc"/>
             <DataSourceColumn Type="Query" DSCType="NUMBER" DSCNochildren="false" DSCLength="0" DSCPrecision="2" DSCName="DEPTNO" DSCScale="0" DSCMandatory="false"/>
             <DataSourceColumn Type="Query" DSCType="VARCHAR2" DSCNochildren="false" DSCLength="14" DSCPrecision="0" DSCName="DNAME" DSCScale="0" DSCMandatory="false"/>
             <DataSourceColumn Type="Query" DSCType="VARCHAR2" DSCNochildren="false" DSCLength="13" DSCPrecision="0" DSCName="LOC" DSCScale="0" DSCMandatory="false"/>
          </Block>
          <Canvas Name="CANVAS4" ViewportHeight="324" DirtyInfo="true" Height="324" WindowName="WINDOW1" Width="540" ViewportWidth="540" CanvasType="Content">
             <Graphics Name="FRAME5" GraphicsText="" FrameTitleOffset="14" Height="108" VerticalMargin="14" GraphicsFontColor="" GraphicsFontSpacing="Ultradense" Width="251" GraphicsFontSize="0" GraphicsFontWeight="Ultralight" StartPromptOffset="7" FillPattern="none" GraphicsFontColorCode="0" HorizontalObjectOffset="0" EdgeBackColor="white" FrameTitle="Departments" ShowScrollbar="true" RecordsDisplayCount="5" LayoutStyle="Tabular" DirtyInfo="true" XPosition="7" Bevel="Inset" GraphicsFontStyle="0" ScrollbarWidth="14" HorizontalMargin="7" FrameTitleSpacing="7" EdgePattern="solid" YPosition="15" GraphicsType="Frame" GraphicsFontName="" LayoutDataBlockName="DEPT"/>
          </Canvas>
          <ProgramUnit Name="ASK_FROM_USER" ProgramUnitType="Function" ProgramUnitText="FUNCTION ask_from_user RETURN BOOLEAN IS&amp;#10; v_button number;&amp;#10;BEGIN&amp;#10;  v_button := SHOW_ALERT('ALERT6');&amp;#10;  &amp;#10;  if v_button = ALERT_BUTTON2 THEN&amp;#10;       RETURN false;&amp;#10;  ELSE&amp;#10;       RETURN TRUE;&amp;#10;  END IF;&amp;#10;END;"/>
          <Trigger Name="POST-DATABASE-COMMIT" TriggerText="/*&amp;#10;   Created by ABC de Silva&amp;#10;   &lt;&lt;&lt;&lt;&lt;..>> &amp;#10;   testing for special characters &lt; rock &amp; roll &amp;#10;*/&amp;#10;BEGIN&amp;#10;     MESSAGE('*** Records successfully &lt;&lt;&lt;> commmited to the DB. ***');&amp;#10;     PAUSE;&amp;#10;END;" DirtyInfo="true"/>
          <Window Name="WINDOW1" Height="324" Width="540"/>
       </FormModule>
    </Module>
    Now, we want to read this file with UTL_FILE (in a PL/SQL stored procedure) and fill in the chart above like this:
    FORM_NAME                  ITEM_NAME   ITEM_TYPE  PROPERTY         PROPERTY_VALUE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
    ----------------------------------------------------------------------------------------------------------
    D_e_p_a_r_t_m_e_n_t_s.fmb  ALERT6      Alert      Title            Saving........................... <>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    D_e_p_a_r_t_m_e_n_t_s.fmb  DEPTNO      Text Item  Prompt           Dname                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    D_e_p_a_r_t_m_e_n_t_s.fmb  DEPTNO      Text Item  MaximumLength    3                                                                                                                                                                                                                                                                                                                                     
    It's, I went through Google, nobody can give a complete solution. All are partial solutions.

    Any help will greatly be apprectiated.

    Published by: Channa on 30 Sep 2011 06:31

    Here goes:

    select x1.item_name
         , x1.item_type
         , x2.property
         -- to convert back entities such as 
     to their character values :
         , utl_i18n.unescape_reference(x2.property_value) as property_value
         -- parent information :
         , x1.parent_item_name
         , x1.parent_item_type
    from xmltable(
           xmlnamespaces(default 'http://xmlns.oracle.com/Forms', 'http://xmlns.oracle.com/Forms' as "def")
         , 'for $i in /Module/descendant::*[@def:Name]
            return element item {
              attribute item_name {data($i/@def:Name)}
            , attribute item_type {local-name($i)}
            , attribute parent_item_name {data($i/parent::*/@def:Name)}
            , attribute parent_item_type {local-name($i/parent::*)}
            , $i
            }'
           passing xmltype(bfilename('TEST_DIR','module2.xml'), nls_charset_id('AL32UTF8'))
           columns item_name         varchar2(50) path '@item_name'
                 , item_type         varchar2(50) path '@item_type'
                 , parent_item_name  varchar2(50) path '@parent_item_name'
                 , parent_item_type  varchar2(50) path '@parent_item_type'
                 , item              xmltype      path '.'
         ) x1
       , xmltable(
           xmlnamespaces(default 'http://xmlns.oracle.com/Forms', 'http://xmlns.oracle.com/Forms' as "def")
         , 'for $i in /item/*/attribute::def:*
            let $propname := local-name($i)
            where $propname != "Name"
            return element p {
              element name {$propname}
            , element value {data($i)}
            }'
           passing x1.item
           columns property       varchar2(50)  path 'name'
                 , property_value varchar2(500) path 'value'
        ) x2
    ;
    

    To make it easier, instead of calculating an ID, the information of the parent are given as (parent_name, parent_type).

  • How to get the ripple working, config.xml is not found

    Here a load of resources for getting started, but I just can't get anything to work as stated in the documentation, or the youtube video shows.

    I have various things installed, NodeJS, JVM, BlackBerry WebWorks 2.0.0.71, ripple in Chrome.

    To begin with when you use 'create cordova' layer of the project is different, cordova 3.4.0 I get:

    hooks /...

    mergers /...

    config. XML

    www/js /...

    www/img /...

    www/css /...

    www/index.html

    But information to addresses such as https://developer.blackberry.com/bbos/html5/documentation/creating_hello_world.html don't show this provision.

    I'm supprised when I open the config.xml file in Chrome that it does not detect the XML XSD and ripple offers to launch itself.  If I navigate to file:///C:/Users/Username/RippleSites/myproject/ www/index.html can activate ripple but she complains the file config.xml in lack.  Services of ripple Start' provides no clue as to any error and no TCP server listening on port 9910.

    I guess BB10 doesn't work with a specific version of cordova, which uses a different type of layout of project that one 3.4.x uses.  How can I fix the environment to use the correct versions and also automatically prevent the upgrade within this environment?  Because I want to obviously NPM allows management version of the future module updates.

    How C:\Users\Username\WebWorks Project\project interacts with the ripple need to use a specific home project directory as well?

    See the Option #1 here for more information about enabling access to the local files for Chrome/ripple:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/solution-ripple-launch-is-INTERR...

    That being said, the that training has been designed to be an emulator for the WebWorks 1.0 SDK, it relies on the features that have changed in WebWorks 2.0. For example, we leverage is no longer webworks.js, but cordova.js and webworksready changed to deviceready. In the end, there may be still some differences in the APIs, if efforts have been made to minimize any impact as he.

    BlackBerry 10 works with Cordova 3.1.0 and above (it may have been a few versions ago, but I don't remember exactly). Stay up to date with Cordova and use the latest version through the Museum is my personal recommendation.

    Note that if you use Cordova, you also need to install the NDK BlackBerry properly configure your environment variables.

    Note that the link to the above documentation referred BBOS, which is the platform of the inheritance (BBOS 5, 6, 7). BlackBerry 10 documentation can be found here:
    http://developer.BlackBerry.com/HTML5/documentation/V2_0/

    The www folder is root of your project that will contain all the files of HTML5. The other files are related to Cordoba and used for packing and manage your application is built.

  • Build an html5 app, I only .html, .js, images, css file folder files / files. How to build a web app/html5 app in that if I did not file config.xml?

    Build an html5 app, I only .html, .js, images, css file folder files / files. How to build a web app/html5 app in that if I did not file config.xml?

    I downloaded the game codes and try to build games using these codes, but I had only

    data folder

    image folder

    js file with .js files

    file .html

    main.js file

    In this case, how build/package web app /html5 app if no config .xml given?

    You will need create your own file config.xml. There are samples and documentation on each of the items on our microsite here:
    https://developer.BlackBerry.com/HTML5/documentation/gold/working_with_config_xml_file_1866970_11.ht...

    Note that all the elements in the samples are not necessary. For each piece, make sure that you actually need in the config.xml file. For example, most web game conversions will not need elements (using the old SDK) since they make use of BlackBerry-specific APIs.

Maybe you are looking for

  • Recommendations in part

    I'm looking to upgrade both machines - a CQ62-209WM and a Pavilion 2000 laptop computer Series (TPN-l108). I was hoping that someone could help me with the numbers of reference recommended for compatible RAM 4 GB cards. Also, I may be mistaken, but a

  • Why can't I access my cd drive.

    Unable to use my cd player to load or play cds. the ststus drive is ok.

  • Choose a device for 30 MB lease line

    Hi, we have a new line of lease for connecting HQ Office and branch recently. I want to choose a device (router / layer 3 switch / FW) for this. Here is some basic information: 1. the line is 30 MB bandwidth. 2. the line is just for the branch to con

  • BlackBerry smartphones HELP! Locked out!

    So this is my first Blackberry - I have always been a user of Palm (Boo to the PALM).  I was set up on my new curve and be conditioned as I was in the past with my Palm Treo - I put in place a lock code on my curve. The first time that it is locked,

  • CRA geometries give error in CDO_CS. TRANSFORM

    Seems that SDO_CS has problems in the transformation of the geometries of the CRA:-LINE geometry works very well SELECT SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(geom,0.01) val        ,SDO_CS.TRANSFORM(geom,4326) trafo FROM (SELECT sdo_geometry (2002,