I need detailed explanation of the OC4J config/*.xml files.

Anybody know where I can find good descriptions of the OC4J config files?? I've found some stuff on www.orionserver.com but they aren't good enough. Specifically, I have someone who wants a <lib> entry made for his app into the server.xml file. I want to know exactly what that tag means, how it is interpreted, etc... I want to have a complete understanding of all of the tags in all these files so I can deal with all the different methods of deploying applications...

Thanks, but I've seen those and they really don't help much. I've got a situation where many developers are deploying many different apps in different ways. One guy wants to add a <library> entry into server.xml for one of his application-specific jar files. I really think this is a bad idea but I can't say anything without documentation stating what the purpose of this tag in server.xml file is, and what the ramifications are if we mess with it. How might that affect the performance of OC4J, or how might it mess up other apps under OC4J?

Similar Messages

  • What belongs in the faces-config.xml file? Just bean and navigation info?

    I am looking for detailed information on the faces-config.xml file.
    I've used examples up to this point and I was wondering where the documentation for this configuration file was at.
    At this point, I know that bean management and navigation information is in this file, but are there other settings?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Pringi: The tag explantion information, why isn't that easily found on Sun's web site or document site?
    This has been the most frustrating part - finding pieces of information here and there... and not in one location.
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • The Managed Bean in the faces-config.xml File

    I am still very new to JSF. I am confused about the managed bean.
    For example, I have a button in my web page. A click on this button invokes an action; say, ListAction.java.
    In this ListAction class, I instantiate a business delegate; say, ListPersonnel.java and call a method in this business delegate to return an ArrayList: personnel. Of course, this business delegate goes through facade, DAO, etc. to populate the ArrayList. This ArrayList is a collecation of a JavaBean called PersonnelBean that gets and sets a number of personnel information; such as ssn, name, etc.
    Upon this ArrayList is successfully populated and received by the ListAction class, I am going to display a web page with a table. In JSF, it is <h:dataTable ...>.
    My questions are regarding the managed bean in the faces-config.xml file.
    1. Which one is my <managed-bean-class>? packageName.ListAction? or packageName.PersonnelBean? or something else?
    2. What should be my <managed-bean-name>? I guess that I can give a name I like. Is it right? What about xyz?
    3. Then, how do I specify the "value" attribute of my <h:dataTable ...> tag when I display a web page to show the data table? Is it correct to specify value="#{xyz.personnel}"? What is the correct specification if it is wrong?
    4. I guess that I can give any name to the "var" attribute in the <h:dataTable ...> tag. Is it right?

    1. Which one is my <managed-bean-class>?
    packageName.ListAction? or
    packageName.PersonnelBean? or something else?ListAction
    2. What should be my <managed-bean-name>? I guess
    that I can give a name I like. Is it right? What
    about xyz?Anything you like. xyz is OK.
    3. Then, how do I specify the "value" attribute of my
    <h:dataTable ...> tag when I display a web page to
    show the data table? Is it correct to specify
    value="#{xyz.personnel}"? What is the correct
    specification if it is wrong?xyz.personnel is OK assuming that ListAction class has a public
    method getPersonnel() which returns the ArrayList of PersonnellBeans.
    4. I guess that I can give any name to the "var"
    attribute in the <h:dataTable ...> tag. Is it right?Yes, you can give any name you like.

  • I am getting the following waring in the struts-config.xml file

    I am getting the following waring in the struts-config.xml file
    Warning(3,16): <Line 3, Column 16>: XML-24538: (Error) Can not find definition for element 'struts-config'
    Warning: Invalid value for property "property" on component "property": Another set-property element for this property already exists. Invalid value for property "property" on component "property":
    Another set-property element for this property already exists. Invalid value for property "property" on component "property":
    and the line 3 in the file is the tag <struts-config>
    has anyone encountered this problem or is there is solution to eliminate the warning, i have validated the xml file wihich is good, i have validated against DTD, which is also good.
    Thanks in advance
    Victor

    Hi Lee,
    I am working on Oracle ADF 10.1.2 and getting the same problem. The lines in my struts-config.xml are as below:
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsEditLink" path="/unitsEdit.do"/>
    </action>
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsCreateLink" path="/unitsCreate.do"/>
    </action>
    I have two lines with [action path="/unitsView"]. The reason why is that I want the user to go to the form create screen for the create button and form edit screen for the edit button. If this does not work, it seems to mean that only a single screen can be used for create/edit functions. However, the ADF editor diagram looks perfectly to point to create.uix and edit.uix respectively.
    Please shed some light.
    Thanks,
    Regards,
    Michael

  • How can the client know if the SSL certificate specified in the service-config.xml file is invalid/u

    Hi,
    How can the client know if the SSL certificate specified in the service-config.xml file is invalid/untrusted/expired? For example using iOS client, the trusted certificate will not work and the client has no way to know that the certificate is untrusted. Can the lcds server return any specific exceptions for SSL errors?
    Thanks,
    Swathi.

    We use a standard Java keystore and certificate validation can be handled as per standard best practices. At present we do not provide a hook point to validate the server certificate. However, you can register a bootstrap service which validates the certificate on system startup: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WSc3ff6d0ea77859461172e0811f00f 6fe7f-7ffeUpdate.html This would require you to pass another copy of the keystore configuration to you Bootstrap service and then you can inspect the certificate in the keystore and validate it.

  • Anchor names in the struts-config.xml file

    Hi,
    I'm trying to use anchor names in the <forward> tag of and <action> in the struts-config.xml. I using the following approach: <forward name="success" path="/client/clientInfo.jsp#details" redirect="true"/>
    I have declared the anchor name in my jsp as <a name="details"></a>.
    Although the page is presented, the anchor target is ignored.
    I already tried accessing the page directly from the browser address and the anchor name works fine. It's only ignored when I try to access it from the struts-config file.
    Any Idea?
    Thanks

    Hi Mary,
    It works fine with WebLogic 6.1 and Struts [a nightly build just before 1.1 release]
    <action path="/Action01"
              type="action.Action01"
              name="baseFormBean"
              scope="request">
         <forward name="success" path="/JSP/Test04.jsp#link1" redirect="true"/>
    </action>     
    in Test04.jsp
    Go to Link1
    <!--data -->
    <a name="link1">Link1</a>
    It went to "Link1" when the action was invoked.
    However, you do not need to convert every thing (all tags) to "struts" to incorporate/use struts features.
    Let me know you environment [App server, Struts version]
    Cheers,

  • No route to host:connect -- error in the struts-config.xml file

    hi all,
    acutally am doing a struts application in that i have written everything properly
    but getting this kinda no route to host:connect error
    my struts-config.xml file is like this...
    <struts-config>
    <form-beans>
    <form-bean name="myForm" type="MyForm">
    </form-beans>
    <action-mappings>
    <action path="/action"
                   name="myForm"
                   type="MyAction"
                   scope="request"
                   validate="true" >
                   <forward name="success" path="/success.jsp" />
                   <forward name="failure" path="/failure.jsp" />
         </action>
    </action-mappings>
    </struts-config>
    sikandar 

    Hi Lee,
    I am working on Oracle ADF 10.1.2 and getting the same problem. The lines in my struts-config.xml are as below:
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsEditLink" path="/unitsEdit.do"/>
    </action>
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsCreateLink" path="/unitsCreate.do"/>
    </action>
    I have two lines with [action path="/unitsView"]. The reason why is that I want the user to go to the form create screen for the create button and form edit screen for the edit button. If this does not work, it seems to mean that only a single screen can be used for create/edit functions. However, the ADF editor diagram looks perfectly to point to create.uix and edit.uix respectively.
    Please shed some light.
    Thanks,
    Regards,
    Michael

  • Problem trying to save the faces-config.xml file (ADF BC)

    When I try to save this file, I get the following error:
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.bm.diagrammer.shape.BaseDiagramEdge.startMove(BaseDiagramEdge.java:2721)
         at oracle.bm.diagrammer.track.MoveTracker.<init>(MoveTracker.java:215)
         at oracle.bm.diagrammer.track.SelectionTracker.mousePressed(SelectionTracker.java:754)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:191)
         at oracle.bm.diagrammer.track.SelectionTracker.processEvent(SelectionTracker.java:138)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:389)
         at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:719)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2904)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3090)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Also, a few of my navigations have the label of "!NLS Error"
    If anyone has any information to help me I would appreciate it, thank you.

    i replaced the "faces-config.oxd_faces" file. it is found under:
    C:\jdevadf\jdev\YourApplication\ViewController\model\public_html\WEB-INF
    if you have an older copy of this file, just replace it, your faces-config.xml file might get moved around, mine took me over an hour to rearrange my page flows but it did the trick.

  • [svn] 3025: Add libs/player/ 10 directory to the library path in the team apps flex-config.xml file.

    Revision: 3025
    Author: [email protected]
    Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
    Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
    Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
    Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
    blazeds/trunk/qa/features/full.properties
    blazeds/trunk/qa/features/httpService.properties
    blazeds/trunk/qa/resources/config/flex-config.xml
    Removed Paths:
    blazeds/trunk/qa/features/nist.properties
    blazeds/trunk/qa/features/webService.properties

    Revision: 3025
    Author: [email protected]
    Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
    Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
    Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
    Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
    blazeds/trunk/qa/features/full.properties
    blazeds/trunk/qa/features/httpService.properties
    blazeds/trunk/qa/resources/config/flex-config.xml
    Removed Paths:
    blazeds/trunk/qa/features/nist.properties
    blazeds/trunk/qa/features/webService.properties

  • Clarification on services-config.xml files for RemoteObject services

    I am currently preparing an AMFPHP environment for exchanging
    data with Flex and AIR applications. I can connect to the services
    via Netconnection, but using RemoteObject won't work.
    Documentation for the necessary configuration files
    (services-config.xml, remoting-config.xml and the like) is, um,
    sparse and seems to be slightly incorrect or misleading at times.
    So I'm looking for clarification about
    changes in the syntax of services-config.xml · in
    examples for Flex 2.01, there are "class" attributes with values
    beginning with "flex.", in Flex 3 examples the attribute name has
    changed to "type", values beginning with "flex." have mostly
    vanished and been replaced with similar looking values beginning
    with "mx.". Are "flex." and "mx." prefixes interchangable?
    correct syntax for linking other files into
    services-config.xml · the livedocs state that Adobe
    prefers linking files into services-config.xml (using something
    like <service-include file-path="remoting-config.xml"/>)
    instead of defining all service parameters there. But in the
    example from the Flex 2.01 livedocs, the root element of the
    service-config.xml file is <services> instead of
    <services-config>. Assuming that <services> is meant as
    a
    child of the <services-config> root element, there
    seems to be a mandatory <service> child element missing.
    That's either intended, illogical, and misleading, or simply
    erroneous.
    which classes are still valid in Flex 3, which have changed?
    · Most of the examples for using RemoteObjects out there are
    for FlexBuilder 2 (e.g.
    here)
    and don't seem to work with FlexBuilder 3 Beta 2. But there is no
    statement to be found in the Flex 3 documentation about what has
    changed.
    a meaningful example for services-config.xml · In the
    Flex 3 Beta 2 documentation here are plenty of references to using
    services-config.xml, as I can find even information about the
    ServerConfig class in the ActionScript 3 Language Reference, a sort
    of wrapper class for the information provided in
    service-config.xml, but there is no information about what
    constitutes a
    working service-config.xml configuration (which XML tags of
    what names containing what attributes need to be present).
    As I'd really like to create cutting-edge Flex and AIR OCC
    applications, I'm eager to have those ambiguities clarified.
    Best regards,
    Cathness

    From the docs it looks like this is used for web services as
    well:
    http://livedocs.adobe.com/flex/201/html/dataservices_config_100_3.html#260186
    If this isn't the right config file, which file should I be
    looking at?
    Mike

  • Auto update via Jabber-Config.xml file

    All,
         I wan't to force J4W updates via the jabber-config.xml file, but that's the only thing I want to do.  Can the jabber-config.xml file be populated only with the auto update option and nothing else so the user still has control over their own client's options?  Or, do the rest of the options need to be defined within the xml file as well?  The install guide seems to indicate that one can pick and choose the J4W options they want to globally set within the jabber-config.xml file, but it's not entirely clear.
    Thanks,
    Joe.

    Hi Joe,
    yes, you are right. You only have to define settings in the jabber-config.xml file that are not default. Everything else stays default.
    Regards
    Andre

  • Creating jsf faces-config.xml file

    Hello.
    I'm a newbee on Sun Java Studio Enterprice and have just converted from Borland Jbuilder.
    In borland, if I create a new "webmodule" and include the jfs library, Borland automaticaly creates the faces-config.xml file for me. The IDE then helps me keep this file up to date.
    After creating a new project in Sun Java Studio Enterprice I have gone into propereties and included the jsf-1_1_01.zip file (I googled jsf library and found this file. If I include this file I get access to the <h: -taglib etc so it seems to be working). But the IDE doesn't create the faces-config.xml file.
    Do I need to create this manually or what do I do wrong?

    As an alternative to Creator (which mostly implies WYSIWYG editing of JSP pages) you can consider NetBeans 5.0 or NetBeans 5.5 Beta. They also support JSF.

  • Navigation Rule not found in faces-config.xml file

    Hi All,
    I have a B2C custom Webshop application where in the startpage i have a client logo and when i click on that it will navigate to another page for that i have a header.xhtml page in that i have a code <h:link id="iLkL" outcome="toStartPage" value="#{i18n['main.ui.header.logo']}" styleClass="fw-header-logo"> but i was unable to find  <Navigation-rule> of  toStartPage which is mentioned in the outcome="toStartPage" in the faces-config.xml file. I have checked in the standard component also but didn't find anything. Please help me where can i find the toStartpage value.
    Regards,
    Rahul.

    Hi Rahul,
    As correctly mentioned by Steffen earlier, the navigation targets are maintained in the ui-repository.xml files (or navigation-rules.xml files) for each module. Since, you would like to see the definition of the target toStartPage (which is a target accessible and relevant throughout the application), it should be in the WEC main module's (wec/~/main/ui) ui-repository.xml file. Please note that sometimes, the targets are maintained in a file called navigation-rules.xml, which itself is then included into the ui-reppsitory.
    Please let me know if you got what you need here.
    Best Regards
    Pranshu Agarwal

  • ADF faces-config.xml file

    Hi ADF gurus,
    I am new to this technology and i have found in oracle developer's guide that "Registering managed beans within the faces-config.xml file is not recommended in a Fusion web application".
    URL : http://docs.oracle.com/cd/E28271_01/web.1111/e28164/web_getstarted.htm#CACCFIII
    Section: Using a Managed Bean in a Fusion Web Application
    My question is why this?
    Thanks & Regards,
    Sharmistha

    If you plan to use the ADF stack there are some enhancements added to the normal faces lifecycle like bounded task flows, pageFlowScope and some additional phases the normal faces lifecaycle doesn't have. This additions are handled in the adcf-config.xml. If you register your beans in the facces-config file they are not managed by the adf stack and therefore can't use the additions.
    So Oracle encourage you to use the adfc-config.xml instead of the faces-config.xml. There are a few special entries which still needed to be made in the faces-config file (e.g. skinning), butin general you use the adfc-config file is you use adf rich faces.
    Timo

  • "Error at Open" sturts-config.xml File

    Hi,
    I have totally “using JDG and the JAG” convert an oracle designer modules “that uses the CDM Rule frame” using the JHeadstart 10g under JDeveloper 10g.
    The generation was successful and there was no errors the runtime of the generated application.
    After that I have opened the struts-config.xml file, I hade an error messages showing that the all pages could not be found and all the Actions has “!NLS Error” message.
    I have looked over these “could not be found” pages and I didn’t find any of them in the hard disk “they have not been generated at all”.
    How can I open the struts-config.xml file and update it?
    Thanks

    Ibrahim,
    From the JHeadstart 9.0.5 installation guide:
    We have to disable the Struts Page Flow Diagram of JDeveloper 10 g, because it is currently unable to handle the kind of struts-config files that are created by JHeadstart (bug 3607211). See Suppressing the Struts Page Flow Diagram on OTN (http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.html) for information how to do that.
    Hope this helps,
    Sandra Muller
    JHeadstart Team

Maybe you are looking for

  • Slow printing

    Hi- I have a hp laserjet 100 color mfp m175a printer and I am using Mac OS 10.7. It takes a long time to print a document (approximatelly 45 or more seconds per page). Printing itself is fast, but the printer takes long time to load the document, and

  • Text of pdf, but no pdf icon appears in email

    I have received an email on my iPad with a pdf attachment. When I open the email, the whole text of the pdf appears in the body of the email, but there is no attachment icon anywhere to allow me to open the pdf and print it or send it to iBooks.  Is

  • New timing features and smoothcam

    I manipulated the speed of a clip with the new retiming tools in FCP. Some of the footage is a little shaky but I can't add the smoothcam filter to the clip. The clip highlights if I drop the filter on top of it but nothing happens beyond that. Any i

  • [QEMU/KVM] Use KVM switch to switch mouse/kayboard between host and VM

    I finally have my QEMU/KVM setup running and working as I want it, except for one thing. I have a KVM switch (a piece of hardware not the hypervisor ) to switch audio and video. It also offers the feature to switch mouse/keyboard between to Computers

  • Acl issue in L3 Switch SVI

    HI I hope might be a number of issues has reported like this, I am gettnig confused about the direction of an acl, when it is on a router's physical interface and when it is on a Layer Switch SVI interface, I think my understanidng about acl needs to