How to set a context init parameter

Hello,
Can anyone tell me how to set the following context init parameter. "javax.faces.application.CONFIG_FILES" on a windows configuration. I haven't got a clue how to do that and would be very grateful for your help.
Thanks,
Alexandre.

There is no difference on how to set this context init parameter based on OS platform.
The paramter value should always be a comma-delimited list of context-relative paths under the web application (ex. /WEB-INF/app-config.xml).

Similar Messages

  • How to set portal context using Java/JPDK api.

    Hi,
    I am in the process of converting pl/sql based database provider contect portlets to Java based JPDK. I ran into issue where the database provider portlet users were getting context auto matically. Now with Java/JPDK portlets , I am receiving no data found error, since the context is not set. The pl/sql is setting wwctx_private_api.set_context ('portal') to set the context. From Java if we call this api, it is taking a toll on the performance and the portlet times out.
    Can any help how to set the context for a web provider using JPDK or any other better solution. Any immediate help is highly appreciated.
    Thanks,
    Rav.

    Hi
    We are trying to access content views for e.g portal.wwsbr_all_items s, portal.wwsbr_all_content_areas c,portal.wwsbr_all_folders f, from aweb provider portlet. When we do a select on those objects , we are getting java sql exception saying "ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1745
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1579
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "PORTAL.WWCTX_SSO", line 1834
    ORA-06512: at "PORTAL.WWCTX_API", line 199
    We need to know how to accesss the above views from a jsp based portlet.
    A

  • How to set a context of "/" ??

    How can i set a context of either "" or "/" such that when i call the
    URL
    htpp://localhost:7001/
    I go to the location specified for that context ?
    Is this possible ?
    Srini

    <url-pattern>*</url-pattern>
    Gene
    "Srini Kurella" <[email protected]> wrote in message news:[email protected]..
    How can i set a context of either "" or "/" such that when i call the
    URL
    htpp://localhost:7001/
    I go to the location specified for that context ?
    Is this possible ?
    Srini

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • How to set the Context path to AAA/BBB in Weblogic 5.1?

    Hi folks,
              I want to deploy a web application and set the servlet context as:
              AAA/BBB. Put more simply, my application should be accessible via the
              following:
              http:localhost:7001/AAA/BBB/main.jsp
              where http://localhost:7001/AAA/BBB maps to my document root.
              One work around is to set the context to AAA:
              weblogic.httpd.webApp.AAA=WebAppLocation
              And in the deployment descriptor (web.xml) to register all servlets
              with a BBB/ prepended to the desired alias:
              <servlet-mapping>
              <servlet-name>main</servlet-name>
              <url-pattern>BBB/main.jsp</url-pattern>
              </servlet-mapping>
              But this solution does not work for me. Parts of the application refer
              the context root (AAA) and create URLs relative to that. These URLs
              will not have the BBB part. Searching for it in the code and replacing
              it is not desirable (we do not own the code). Does anyone have any
              suggestions?
              Thanks in advance,
              Musafir
              

    What you have done for changing the context root to "/" is all fine but it is important to know that there is a ROOT.war in the deploy folder of JBoss which by default gets bound to "/" context. You must be getting the error message like "Web mapping already exists for deployment" when you would be starting your JBoss server after changing your context root to "/". So either you can completely remove the ROOT.war from the deploy folder or change the context-root of ROOT.war by updating its web.xml like:
    <web-app>
    <display-name>Welcome to JBoss</display-name>
    <description>
    Welcome to JBoss
    </description>
    *<context-param>*
    *<param-name>context-root</param-name>*
    *<param-value>/jboss-root</param-value>*
    *</context-param>*
    <servlet>
    <servlet-name>Status Servlet</servlet-name>
    <servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
    </servlet>
    </web-app>
    and also update the jboss-web.xml of ROOT.war:
    <jboss-web>
    <security-domain>java:/jaas/jmx-console</security-domain>
    *<context-root>/jboss-root</context-root>*
    </jboss-web>
    I hope this serves your purpose.
    There can be a workaround also by modifying the index.html of ROOT.war in the deploy folder of your server and redirect request to your web application using meta refresh like:
    <meta http-equiv="refresh" content="0;URL='/store'">

  • How to set the JMX Engine parameter in Process Administation?

    Hi, All,
    I installed OBPM10gR3 over WLS 10gR3 clusting environment. OBPM Engines started successfully.
    There is one admin server running on localhost: 10101, one manager server running on localhost:10103, another managed server running on localhost:10105.
    I wonder how to set the JMX Engine configuration in Process Administration. How about the port? 10101 or 10103,10105? How about the Credentials, weblogic as the default user?
    I'm appreciated you can share me the JMX Engine configuration in Process Administation for weblogic clusting. Thanks in advance.
    Best Regards,
    Bill

    Hi, All,
    Here is more detail error when I set the JMX host/port to weblogic admin server/port, actually the BPM server is started, and the status of engine in process administation is started and I can run the process normally. I don't know why there is "null" url:
    [<D> 0518 16:22:32.930] Main (<3> http-8686-Processor15): should not recreate if it has not been disconnected
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): JspLocationStatus:fuego.jsfcomponents.ui.JspLocationStatus@18a270a
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): ---------------------- UILocation ------------------------------------
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): jspNode label Edit Engine {0} NODE LABEL = Edit Engine {0}
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): HelpRenderer.encodeEnd
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): 1. rendered = null
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): 2. renderedObj = true
    [<D> 0518 16:22:32.944] Main (<3> http-8686-Processor15): href = http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/admin_guide/index.html?t=modules/proc_adm_ref/c_Engines.html
    [<W> 0518 16:22:32.945] Main (<3> http-8686-Processor15): Error BPM-1242665762773
    [     (cont)     ] Main: Error
    [     (cont)     ] Main: Caused by: Cannot reach engine 'OBPMClusterEngine' at URL: 'null'.
    [     (cont)     ] Main: Caused by: ALBPM.mami.ServerManagement:type=Server,server=OBPMClusterEngine,*
    [     (cont)     ] Main: fuego.mami.exception.MAMIException: Error
    [     (cont)     ] Main:      at fuego.mami.exception.MAMIException.wrap(MAMIException.java:48)
    [     (cont)     ] Main:      at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getEngineManagement(J2EEAdminEngineAccessImpl.java:72)
    [     (cont)     ] Main:      at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getEngineManagement(J2EEAdminEngineAccessImpl.java:88)
    [     (cont)     ] Main:      at fuego.mami.Engine.getEngineManagement(Engine.java:1391)
    [     (cont)     ] Main:      at fuego.mami.Engine.updateEngineProperties(Engine.java:1327)
    [     (cont)     ] Main:      at fuego.webconsole.model.J2EEJSFEngine.applyPropertiesAction(J2EEJSFEngine.java:150)
    [     (cont)     ] Main:      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [     (cont)     ] Main:      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [     (cont)     ] Main:      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [     (cont)     ] Main:      at java.lang.reflect.Method.invoke(Unknown Source)
    [     (cont)     ] Main:      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    [     (cont)     ] Main:      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
    [     (cont)     ] Main:      at javax.faces.component.UICommand.broadcast(UICommand.java:312)
    [     (cont)     ] Main:      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
    [     (cont)     ] Main:      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
    [     (cont)     ] Main:      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    [     (cont)     ] Main:      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    [     (cont)     ] Main:      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    [     (cont)     ] Main:      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    [     (cont)     ] Main:      at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    [     (cont)     ] Main:      at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    [     (cont)     ] Main:      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    [     (cont)     ] Main:      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    [     (cont)     ] Main:      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    [     (cont)     ] Main:      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    [     (cont)     ] Main:      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    [     (cont)     ] Main:      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    [     (cont)     ] Main:      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    [     (cont)     ] Main:      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    [     (cont)     ] Main:      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    [     (cont)     ] Main:      at java.lang.Thread.run(Unknown Source)
    [     (cont)     ] Main: Caused by: fuego.papi.impl.EngineNotAvailableException: Cannot reach engine 'OBPMClusterEngine' at URL: 'null'.
    [     (cont)     ] Main:      ... 36 more
    [     (cont)     ] Main: Caused by: javax.management.InstanceNotFoundException: ALBPM.mami.ServerManagement:type=Server,server=OBPMClusterEngine,*
    [     (cont)     ] Main:      at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getJmxEngineManagement(J2EEAdminEngineAccessImpl.java:147)
    [     (cont)     ] Main:      at fuego.mami.engine.j2ee.J2EEAdminEngineAccessImpl.getEngineManagement(J2EEAdminEngineAccessImpl.java:68)
    [     (cont)     ] Main:      ... 35 more
    [     (cont)     ] Main:
    Thanks in advance.
    Best Regards,
    Bill

  • How to set a boolean webservice parameter to null

    Hi all,
    is it possible to set a boolean input parameter of a webservice to null?
    False and true works well, but is there also the posibility of setting it to null?
    Greetings
    Florian

    I will try to explain.
    Our webservice has a boolean input parameter. And it acts like the follwing pseudo-code:
    IF bool_arg == null
       action1;
    ELSE IF bool_arg==false
       action2;
    ELSE IF bool_arg==true
       action3;
    ENDIF;
    With the value NULL i mean that the input paramter is not in the SOAP-XML.
    But with Visual Composer i only manage to set the value to true or false.
    I cannot find a way to set it to null (which means it is not in the SOAP-XML).
    Edited by: Florian Kandlinger on May 27, 2008 12:14 PM

  • How to set up context parameter of a web application

    Hi,
    I am tring to deploy a ear file to J2EE Engine 7.1
    with the help of import feature of NWDS.
    Is there any option to set the value of the context parameters defined in web.xml inside the ear.
    Regards,
    Chitra

    Thanks for your response.
    Th e version no. of IE Tab is 4.0.20130422 and it is from https://addons.mozilla.org/en-US/firefox/addon/ie-tab/
    Look forward your reply.Thank you in advance.

  • How to set no_value to Optional parameter in XI 3.0 by OpenDoc URL linking

    I found in "BusinessObjects XI 3.0 Viewing reports and documents using URLs Howto.doc"
    "You can remove an optional parameter from the prompt by setting it to no_value in the OpenDocument query string."
    I tested: response.sendRedirect("/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AaVxpKuKNBxKnHUJCqwuRi0&lsSCountry=""no_value""&token=" + logonToken);
    But it will filter no data, because no country call "no_value". I still need to delete the value, and click Apply, to get all data.
    I wonder how to achieve optional parameter via opendocument linking, to get a report with "full data set".
    Any one can help?
    Thanks in advance!
    Jennie

    Hi Jennie,
    I'm wondering if "1203675 - Cannot specify an empty string for an optional string parameter through the refresh prompts page which displays "no value" unlike the parameter panel" is related to this.
    Instead of using no value or empty string, how about if you use ALL value for the parameter to bring full data? Check "1218621 - Option "All" in list of values for a dynamic prompt in XI"
    Hitomi

  • How to set Processes and Session parameter

    Hi All,
    I have to check the optimal value for the Parameter "processes" and "session" for my database server,
    existing value for Processes is 500 and sessions is 1000.
    Oracle application: 12.0.6
    database 10.2.0.4 2 node RAC.
    and i wanted to know how many " jdbc connection" can be done for the 12GB RAM and Quad core two CPU machine,
    Pl let us know any doc/Thumb rule to set the above.
    Thanks and Regards
    Vasu

    Hi,
    I wanted to check what is the maximum limit of the "processes" for my existing resource. is my 500 processes itself is exhasted the resources.The maximum limits are mentioned in the database reference manual.
    Process and Runtime Limits
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits004.htm#i288165
    Oracle 10g Documentation Library
    http://www.oracle.com/pls/db102/homepage
    Kindly let me know any SQL query or supporting document to set the processes and session parameters.Did you review the initialization document referenced above? I believe it shows the value you need to set for processes and session parameters. For the query, you can query v$parameter or issue "show parameter <parameter name>" from SQL*Plus.
    Regards,
    Hussein

  • How to set Query SQL Statement parameter dynamically in Sender JDBCAdpter

    Hi All,
    I have one scenario in which we are using JDBC Sender Adapter.
    Now in this case,we need to set Query SQL Statement with a SELECT statement based on some fields.
    This SQL statement is not constant, it would need to be changed.
    Means sometimes receiver will want to execute SQL statement with these fields and sometimes they will want to execute it with different fields.
    We can create separate channels for each SQL statement but again that is not an optimum solution.
    So ,I am looking out for a way to set these parameters dynamically or set SQL statement at Runtime.
    Can you all please help me to get this?

    Shweta ,
    <i>Sometimes receiver will want to execute SQL statement dynamically</i>....
    How you will get the query dynamically? Ok Let me assume, consider they are sending the query through file, then its definitely possible. But u need BPM and also not sender JDBC receiver adapter instead, receiver JDBC adapter.
    SQL Query File ->BPM>Synchronous send [Fetch data from DB]--->Response -
    >...............
    Do u think the above design will suit's ur case!!!!
    Best regards,
    raj.

  • How to set CALC_BREAKDOWN_ID context in a simple FF

    Hi All,
    I am facing an issue when i am trying to call Net_PAY_REL_RUN in FF, when the quickpay or payroll is run , it errors out with  (FORMULA_ERROR_TEXT=Context CALC_BREAKDOWN_ID was not set when used at line 28 of formula
    All i am trying is to handle Negative net pay, when the NET Pay becomes negative, i would offset the amount to make net pay zero and follwoing the FF. This formula is attached to an Information element defined at payroll relationship Level.
    Hope somebody have encountered this issue already and have some resolution available , any pointers would be of great help.
    Thanks
    Sudhir
    DEFAULT FOR NET_PAY_REL_RUN IS 0
    l_net_adjust = 0
    IF NET_PAY_REL_RUN < 0
    THEN
       l_net_adjust = NET_PAY_REL_RUN
       l_mesg = 'Net Pay is adjusted in this period -'
    RETURN l_net_adjust
          ,l_mesg

    Hi,
    an action listener is a server side component that write from a source to a target, whic can be pageflow scope, a session scope or managed bean. The action listener doesn't surface as a UI component on the client but as functionality
    Frank

  • How to set  Non Cumulative Init flag for Generic datasource

    Hi all,
       I need to create a generic datasource which can be used to initialize the Non Cumulative Cube. Eg. setting the opening balance.
       The STOCKUPD field in the ROOSOURCE should be set to X so that the infopackage will have the "Generate Initial Status" option. But there is no interface available in R/3 pluggin to do this.
    How can this be done? Or is it not allowed for generic datasources as it is only valid of 2LIS_03_BX datasource
    for stock updation.
      Will there be other issues if I change the table entry for STOCKUPD in roosource table for my datasource?
    regs
    Anoop

    Hello,
      any idea on this?
    regs
    Anoop

  • How to set default values with parameter ID EVO

    Hi I need to set price adoption as ''do not copy'' in purchasing default values for buyer(OMFI) and need to assign this default value to the user using the EVO parameter.
    I can not see the parameter ID in dropdown list in maintain user screen.
    Can any one help me in this regard?
    Thank you,

    Just addition to Charlie's suggestion, make sure that you put the same value as used while creating parameter ID. if EVO key is created with Z1 and you put z1 then it wont work, you must put the same value Z1.
    Regards
    Arif Mansuri

  • ORDS 3.0 - How to set VPD Context before executing SQL Template?

    I need to set a couple of attributes in an Oracle Session Context before the SQL/PLSQL template handler is executed, as we rely on Oracle VPD/Row-Level-Security for the data access.
    Is there a hook/functionality in ORDS 3.0 where I can register a PL/SQL (e.g. set_security_context(authenticated_user)) procedure, so this 'set_security_context' procedure is executed before and for each execution of a SQL/PLSQL template handler?

    I tried to log the request at Oracle REST Data Services (ORDS) but I could only start a new discussion: Possibility to register Pre-/Post-Procedures for an SQL Template Handler
    As I mentioned there, the PL/SQL handler approach works for me as long as I have no or only little data to send back to the client (e.g. put/post/delete succeeded or an error message why the call failed).
    If I need to return a lot of data from the PL/SQL handler I would need to, as far as I understand, to marshal the data to JSON and write it to the response body in the PL/SQL handler.
    I don't want to do the marshaling, because ORDS does it better.
    However, this works for me:
    I write a pipelined stored procedure that takes as input the attributes I need to set in the session context. I then can reference it in the SQL handler:
    select * from table(my_pipelined_function(:USER, ....)
    Now the JSON/HTTP response is created by ORDS again.
    I still needed to code a couple of lines, but it is way better than duplicating the functionality already existing in ORDS.
    With the hooks it would be perfect because I would not have to write any code (apart from the procedure to set the session context attributes), just configure the REST services in ORDS.

Maybe you are looking for

  • Install windows 7 on my macbook pro with bootcamp.

    I am trying to install Windows 7 off of a dvd version of windows on my macbook pro with bootcamp. I have gotten to the installer screen of windows 7 and each time I proceed, I get an error message saying it does not recognize my drivers. I installed

  • Optical Drive set to region 6 from factory?

    I got one of the new MBP 2010 15" iCore 7;s from apple.com. I went to play a DVD today and a notice came up saying that my region is already set to 6 and would I like to change the region. I have seen a couple postings of others experiencing the same

  • File dp.dbxml has LSN 17/1055014, past end of log at 17/678058

    There are many many posts in forum with similar questions on why this happens. I know how to recover from the condition but looking for potential reasons why this happens. We open env using following flags: DB_CREATE | DB_RECOVER | DB_INIT_LOCK | DB_

  • Solaris10 x86 lot of  "driver not attached"

    I downloaded and installed Solaris10 on my x86 system. Installation process occured without any error. But my ethernet adapter does not work. After prtconf there was a lot of devices without driver attached to it. In fact, there was attached driver o

  • Embedding Captivate in Flex

    So, the list of new features for Captivate 4 had a biggie that caught my attention: "Take advantage of ActionScript® 3.0 publishing to bring Adobe Flex® content into your Adobe Captivate projects, and to embed Adobe Captivate movies in your Flex cont