Initialization Parameters for JSPs ??

Hi All,
          Is there any way to provide Initialization Parameters for JSP ??
          If so how should it be done on Weblogic ??
          Thanx In Advance,
          Navaneeth.
          

Hi Navaneeth ,
          If we want to provide Initialization parameters for jsp , we need to register a JSP as a servlet using the <servlet> element.
          Registering a JSP as a servlet allows you to specify the load order, initialization attributes, and security roles for a JSP, just as you would for a servlet.
          <servlet>
          <servlet-name>MainServlet</servlet-name>
          <jsp-file>/myapplication/critical.jsp</jsp-file>
          <init-param>
          <param-name>Name of the Parameter</param-name>
          <param-value>Value of the Parameter</param-value>
          </init-param>
          </servlet>
          go through the link ,you will find the documentaion on this
          http://e-docs.bea.com/wls/docs81/webapp/components.html#100437
          http://e-docs.bea.com/wls/docs81/perform/AppTuning.html
          -----Anilkumar kari

Similar Messages

  • Access Initialization Parameters using jsp

    Hi All,
    Now I'm learning JSP . I want to access the initialization parameters using jsp. How to do it. I used the following code , but it shows null
    initparameter.jsp
        <html>
         <body>
              <h1>
                   <%
                        out.println("InitParameter Checking");
                        out.println(application.getInitParameter("param1"));
                   %>
              </h1>
         </body>
    </html>I configured the following tags in my web.xml.
            <servlet>
              <servlet-name>initparameter</servlet-name>
              <jsp-file>/initparameter.jsp</jsp-file>
            <init-param>
                    <param-name>param1</param-name>
                    <param-value>value1</param-value>
                </init-param>
         </servlet>
                    Help me to resolve this problem
    Thanks in advance,
    mahes

    try overriding the jspInit method and then call getServletConfig() method and call getInitiParameter() on that ..infact the config implicit object would iachieve the same .i don't understand why it's printing null in your case .let me test and see

  • Initialization Parameters for Servlet

    I am working with Tomcat Apache server 6.0
    I am not able to pass initialization parameters to my servlet program.
    Please tell me how to do it.
    Thanks.

    use <init-param> in <servlet> tags
    it is set in the web.xml which is located in the directory of "webapps/yourwebapp/web-inf/"!
    If you want to get more informations about its setting, google it with "init-param web.xml"
    Best regards!

  • Recommended database initialization parameters databases for OBIEE

    Hi ,
    We are implementing OBIEE. We created 11gR1 (11.1.0.7) databases - one for datawarehouse and second for ETL repository. Can anyone please suggest the recommended database initialization parameters for the same. I searched metalink and got for EBS (11i/R12) and not for OBIEE.
    Also, if you have any best practices documents for OBIEE, please provide the link.
    Thanks in advance for your help

    You need to look for OBIA (Apps) not OBIEE:
    [http://download.oracle.com/docs/cd/E14847_01/bia.796/e14843/anyinstadmpreinstall.htm#g1125320]
    - Section 3.1, "General Guidelines for Setting Up Oracle Business Analytics Warehouse"
    - Section 3.2, "IBM DB2 UDB-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.3, "IBM DB2 UDB zOS and OS/390 and z/OS-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.4, "SQL Server-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.5, "Teradata-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.6, "Oracle-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.7, "Additional Suggestions for Optimizing Oracle Performance in Oracle Business Analytics Warehouse"
    - Section 3.8, "Partitioning Guidelines For Large Fact Tables"
    - Section 3.9, "Miscellaneous Information About Oracle BI Applications Deployments"
    Cheers,
    C.

  • Database Initialization Parameters Removal list 9iR2

    I have seen Oracle Metalink Document: Database Initialization Parameters and Configuration for Oracle Applications Release 11i Doc ID: Note:216205.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:654135795036791041::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,216205.1,1,1,1,helvetica#9iR2
    This document has a removal list and states that these parameters should be removed from the database initialization parameters file for 9iR2, while I can see some of the parameters being used which are hash_area_size, sort_area_size and optimizer_mode.
    Please clarify.
    Thank you
    Adith

    You would need to set "hash_area_size" and "sort_area_size" if you have 8.1.7.X database. For 9i and 10g you do not need to set them, and this is exactly what is mentioned in the note.
    If you check "Release-specific database initialization parameters for 9iR2 (9.2.0.X)", you will find the following:
    As of 9i, the automatic memory manager is used. This avoids the need to manually tune sort_area_size and hash_area_size

  • Unable to compile class for JSP

    Please can anyone help me to solve this.
    Actually,this is the condition.
    In my db,there is a table called UserPassword, which has 4
    fields(empNo,UserName,password,level). Now I want to do these things:
    When the user submits the data to create a new account via HTML form, it submits the data to the file called CreateAcc.jsp. In this file it perform some logic,here are they.
    1)To check the empNo,if it is already exist in the DB,
         if empNo =exist then display error.(record already exist)
         if empNo =notexist then do task 2).
    2)check the UserName,if it is already exist in the db,
         if UserName=exist then display error.(because it's a primary key)
         if UserName=notexist then do task 3).
    3)Create a new user account and save it to the db.
    To do these tasks,I never create a new objects for the tasks 1) and 2).
    only for task 3)create an object.
    Is it the right way?
    Here is the file CreateAcc.jsp
    <%@ page language="java" %>
    <%@ page import="core.UserAccManager" %>
    <%@ page import="data.UserPassword" %>
    <jsp:useBean id="UserAccManager" class="core.UserAccManager" scope="session"/>
    <jsp:setProperty name="UserAccManager" property="*"/>
    <jsp:useBean id="UserPassword" class="data.UserPassword" scope="session"/>
    <jsp:setProperty name="UserPassword" property="*"/>
    <%
    String nextPage ="MainForm.jsp";
    if(UserPassword.verifyEmpno()){
         if(UserPassword.verifyUsername()){
              if(UserPassword.createAcc()) nextPage ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>The directory structure:
    UserPassword.java- F:/Project/core/data/UserPassword.java
    UserAccManager.java - F:/Project/core/UserAccManager.java
    Now both are compiling.I put the class files into the TOMCAT,as follows.
    UserAccManager.class - webapps/mySystemName/WEB-INF/classes/core/
    UserPassword.class - webapps/mySystemName/WEB-INF/classes/core/data/
    Here is the full code of the file UserAccManager.java.
    package core;               //Is this right?
    import data.UserPassword;     //Is this right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public final class UserAccManager{
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
       private static PreparedStatement pstmt2;     
       private static PreparedStatement pstmt3;     
       private UserAccManager(){
       // Initializes the connection and statements
       public static void initConnection() {
          if (connection == null) {
             try {
                String sql;
                // Open the database
                Class.forName(DRIVER).newInstance();
                connection = DriverManager.getConnection(URL);
                // Prepare the statements
               sql = "SELECT * FROM UserPassword where empNo= ?";
               pstmt1 = connection.prepareStatement(sql);
                sql = "SELECT UserName FROM UserPassword where UserName= ?";
                pstmt2 = connection.prepareStatement(sql);
             sql ="INSERT INTO UserPassword VALUES(?,?,?,?)";
             pstmt3 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public  void closeConnection() {
          //same as previous
       public static boolean verifyEmpno(int empno) {
          boolean emp_no_select_ok = false;
          int emp = -1;
          initConnection();
         try {
          pstmt1.setInt(1, empno);
             ResultSet rs1 = pstmt1.executeQuery();
         while(rs1.next()){
              emp=rs1.getInt("empNo");
         if(emp>0)
              emp_no_select_ok = false;
         } else{
              emp_no_select_ok = true;     
            rs1.close();
         pstmt1.close();     
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return emp_no_select_ok;
       public static boolean verifyUsername(String username) {
          boolean user_name_select_ok = false;
          String user = "xxxx";
          initConnection();
          try {
          pstmt2.setString(1, username);
             ResultSet rs2 = pstmt2.executeQuery();
            while(rs2.next()){
              user=rs2.getString("UserName");
               if(!user.equals("xxxx"))
              user_name_select_ok = false;
            } else{
              user_name_select_ok = true;     
           rs2.close();
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return user_name_select_ok;
         public static boolean createAcc(int empno, String username, String password, int
    level){
              boolean create_acc_ok = false;
              initConnection();
              try{
                      //create a new object,from the UserPassword table.
                   UserPassword useraccount = new UserPassword();
                   useraccount.setEmpno(empno);
                   useraccount.setUsername(username);
                   useraccount.setPassword(password);
                   useraccount.setLevel(level);
                   //assign value for ???
                   pstmt3.setInt(1, useraccount.getEmpno());
                   pstmt3.setString(2, useraccount.getUsername());
                   pstmt3.setString(3, useraccount.getPassword());
                   pstmt3.setInt(4, useraccount.getLevel());          
                   if(pstmt3.executeUpdate()==1) create_acc_ok=true;
                   pstmt3.close();
                           //con.close();
                catch(SQLException e2){
                           System.err.println(e2.getMessage());
              return create_acc_ok;
    }here is the bean (part of it)
    package data;               //is it right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UserPassword
         private int empno;
         private String username;
         private String password;
         private int level;
         // Constructor
         public UserPassword()
              this.empno = empno;
              this.username = username;
              this.password = password;
              this.level = level;
         // setters and getters are here.
    //     public boolean verifyEmpno() {
    //               return UserAccManager.verifyEmpno(empno);
    //       public boolean verifyUsername(String username) {
    //            return UserAccManager.verifyUsername(username);
         // These 2 methods not compile with or without para's.So I leave that job for the      
         //controll class UserAccManager.java.
    Now my problem is this: When I submit data, there is an error;org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:8:
    cannot access core.data.UserPassword
    bad class file: C:\Program Files\Apache Group\Tomcat
    4.1\webapps\HRM\WEB-INF\classes\core\data\UserPassword.class
    class file contains wrong class: data.UserPassword
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import core.data.UserPassword;
    ^
    1 error
    Are there any mistakes? If so tell me where is it and how to change them.Please help.

    I try it that way, but it don't compile.
    Error:core\data\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    core\data\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Then it compile well.I goto the directory to get the .class files.
    But there is only UserPassword.class inside the data folder. There is not
    UserAccManager.class in the core folder.
    Then I try this way,I put my 2 java files in to a new folder,
    F:\SystemName\com
    When I try it that way, but it don't compile.
    javac -classpath . -d . com\*.javaError:com\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    com\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Now both are compiling well.There was 2 class files.
    I put them in to the WEB-INF/classes/com directory.
    Start the server.But it gave errors:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserPassword.verifyEmpno(empno)){
                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: non-static method
    verifyUsername(java.lang.String) cannot be referenced from a static context
         if(UserAccManager.verifyUsername(username)){
                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: non-static method
    createAcc(int,java.lang.String,java.lang.String,int) cannot be referenced from a static
    context
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                     ^
    8 errorsTo solve the problem non-static method,I goto the UserAccManager.java file and do these
    things.
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;               //otherwise it tells an error.(package           
                                  //javax.servlet does not exist)
    //import javax.servlet.http.*;
    public  class UserAccManager {
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
        private static PreparedStatement pstmt2;
          private static PreparedStatement pstmt3;
       private UserAccManager() {
       // Initializes the connection and statements
       private static void initConnection() {
             //same
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public static void closeConnection() {
         //same
       public static boolean verifyEmpno(int empno) {
          // same.
       public static boolean verifyUsername(String username) {
         //same.
         public static boolean createAcc(int empno, String username, String password, int      
    level){
              //same
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;
    //import javax.servlet.http.*;
    public class UserPassword {
         // same
    Again compile those files and put .class filses into the WEB-INF/classes/com directory.
    When i submits the data via the form it generates an error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserAccManager.verifyEmpno(empno)){
                                  ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    6 errorshere is the CreateAcc.jsp file
    <%@ page language="java" %>
    <%@ page import="com.UserAccManager" %>
    <%@ page import="com.UserPassword" %>
    <jsp:useBean id="userPassword" class="com.UserPassword" scope="request"/>
    <jsp:setProperty name="userPassword" property="*" />
    <%
    String nextPage ="MainForm.jsp";
    if(UserAccManager.verifyEmpno(empno)){
         if(UserAccManager.verifyUsername(username)){
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>Please, anyone know how to send these parameters to the java file.
    Thanks.

  • Question about the Initialization Parameters Information in the Alert.log

    Hi, All -
    What is the correct answer for the following question.
    Specifically, what information does Oracle provide you with in the alert.log regarding initialization parameters?
    a. Values of all initialization parameters at startup
    b. Values of initialization parameters modified since last startup
    c. Values of initialization parameters with non-default values
    d. Only values of initialization parameters that cannot be modified dynamically.
    I think the answer should be B, but I would like to confirm.

    The answer is C
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#sthref1633
    The alert log is a special trace file. The alert log of a database is a chronological log of messages and errors, and includes the following items:
    All internal errors (ORA-600), block corruption errors (ORA-1578), and deadlock errors (ORA-60) that occur
    Administrative operations, such as CREATE, ALTER, and DROP statements and STARTUP, SHUTDOWN, and ARCHIVELOG statements
    Messages and errors relating to the functions of shared server and dispatcher processes
    Errors occurring during the automatic refresh of a materialized view
    The values of all initialization parameters that had nondefault values at the time the database and instance start
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • How to set default encoding and charsets for jsp and servlets.

    Hi,
    Is there any possibility to set default encoding or charset for jsps and servlest (for both request and response)?
    For example in Weblogic such parameters can be set in weblogic specific configuration files (weblogic.xml).
    Thanks in advance.

    Hi,
    I created one request with logo in the header an page in the footer etc. and called StyleSheet. After you can import this formats by each request.
    You can do this in compound layout.
    Regards,
    Stefan

  • Regarding initialization parameters

    Hai all,
    Can anybody please help me regarding this initialization parameters like
    1.what is correct value (how to find)
    2. indetail about each parameter
    1._optimizer_mjc_enabled
    2.max_dump_file_size
    3.optimizer_index_caching
    4.optimizer_index_cost_adj
    5.parallel_execution_message_size
    6.parallel_max_servers
    7.parallel_threads_per_cpu
    8.processes
    9.sessions
    10.shared_pool_reserved_size

    Following link would be the best place to get the details about all initialization parameters.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_2013.htm#i2154767
    As regards to the best value, most of them would be your database specific. Start from oracle defaults for hints and go from there.

  • Session parameters / initialization parameters

    what are session parameters? What are initialization parameters?
    When we do: alter system set....., does need a restart of the machine? of Oracle instance?
    thx

    Initialization parameters are those defined in your pfile or spfile (init.ora).
    Some of these parameters can be redefined at session level:
    see http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96536/ch14.htm#1014104
    To get the parameter values, you can for example, run
    show parameter <parm>
    When we do: alter system set....., does need a restart of the machine? No
    of Oracle instance?Yes if the parameter is static, no if the parameter is dynamic.
    Message was edited by:
    Pierre Forstmann

  • Some initialization parameters

    hi masters,
    i was looking for documentation on some initialization parameter,
    complexview_merging
    pushjoin_union_view
    but i didn't get a good one..
    i would like to know for what purpose '_complex_view_merging' is used? as we all know that pushjoin_union_view
    is used if your statement is having 'union all' clause..
    i have to set these parameters for oracle 10g R2 on RHEL 4.7
    do i need to set them?? or oracle 10g supports them?
    any suggestions??
    thanks and regards
    VD

    Paraphrased from "Cost-Based Oracle Fundamentals":
    "_COMPLEX_VIEW_MERGING controls whether or not views are merged. By default, 9i merges the views without considering the cost, while 10g calculates the cost before considering the merge."
    If you wish to understand the internals of Oracle's optimizer, the book mentioned above will be very helpful. The book is also very helpful in determining what to expect when moving from one release of Oracle to another.
    Setting the parameter to false may have been an attempt to return to the behavior of Oracle 8i in regard to how views are optimized. The parameters beginning with _ should not be changed without the authorization of Oracle support (as already stated in this thread).
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Jan 31, 2009 9:02 AM
    If memory serves me correct, in the above the term "view" is likely related to the handling of subqueries in the WHERE clause, and whether or not Oracle automatically transforms those subqueries into an equivalent form.

  • New Initialization Parameters introduced in Oracle 11G

    May I know where can i get list of all new Initialization Parameters introduced in Oracle 11G?
    In upgrade document i found deprecated and obolete parameters, but not all new parameters which are introduced in 11G
    Thanks
    Sarayu

    Hi;
    I belive below thread will answer your question
    evolution of init.ora parameters
    evolution of init.ora parameters
    Also Please check below notes:
    Oracle® Database Upgrade Guide 11g Release 1 (11.1)<< part Adjust the Initialization Parameter File for the New Release
    Oracle® Database New Features Guide
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28279/chapter1.htm
    Regard
    Helios

  • Initialization error for 0FI_AA_11

    Gurus,
    While trying to initialize the request for the datasource 0FI_AA_11, I am getting the following error. Has anyone seen this error before or could suggest what should be done for this. I have already loaded the master data for asset accounting and have deleted any ealier init requests. Thanks for your help in advance.
    Venkat
    No init. is green for DataSource 0FI_AA_11 from source system BKNCLNT010
        Message no. RSM1094
    Diagnosis
        The prerequisite for the update of delta data in an ODS object is at
        least one successful initialization request (status green) from source
        system BKNCLNT010 to DataSource 0FI_AA_11.
        The request must have the status green in the monitor.
    Procedure
        o   In the monitor and scheduler, (menu entry: Initialization Selection
            for Source System), check whether there are initializations for this
            DataSource/source system combination.
       o   Find out why existing initializations do not have the status green.
       o   Use the QM action (button All on the monitor tab page Status) to
           green or carry out the initialization again.

    Hi Venkat
    This datasource 0FI_AA_11,gives the afterimage,hence it supports only loading to ODS.
    Can you let me know what is flow you are using for this datasource.
    Are you loading directly to cube or ODS.
    Check this for more info.,
    FI-AA: Transactions  Technical name: 0FI_AA_11
    Application Component
    Asset Accounting (FI-AA)
    Available as of OLTP Release
    4.6B
    Available as of Plug-In Release
    2003.1
    RemoteCube-Enabled
    No
    Prerequisites
    Before you can use the delta extraction, you have to activate the FIAA_BW_DELTA_UPDATE BAdI. This BAdI ensures that the change tables u2013 BWFIAA_AEDAT_TR, BWFIAA_AEDAT_AB and BWFIAA_AEDAT_AS u2013 are updated when you update transactions, or create and change master data and annual values for assets.
    Use
    This DataSource supplies the transaction data and annual plan values for fixed assets.
    Delta Update
    Afterimages using extractor
    Extractor Features
    The extractor reads any new transactions since the last run from table BWFIAA_AEDAT_TR. This table also contains the keys of any new or changed annual values, which are also read using this extractor.
    The transaction type for the transaction determines which fields of the extraction structure are supplied with values. The posting amount (ANBTR) is converted, dependent on whether it is, for example, for manual depreciation or an acquisition, so that the transaction type no longer needs to be interpreted in BW. In a similar way, the annual values from table ANLC are converted to pseudo-transactions (using transaction type PLN for planned values and transaction type *** for cumulative annual values).
    The delta process is related to the extraction of data from the general ledger (for example, 0FI_GL_4). For more information, see Financial Accounting: Line Item Extraction Procedure.
    http://help.sap.com/search/highlightContent.jsp
    Regards
    Jagadish
    Edited by: Jagadish Sanker on Mar 10, 2009 8:00 AM

  • Initialization Flags deleted from Initialization options for Source System

    Hi BW Experts,
    We have loaded PCA data in Infocube last week with Fiscal Year/Period Selection Parameters like
    001.2004 to 016.2004
    001.2005 to 016.2005
    001.2006 to 016.2006
    001.2007 to 016.2050
    So we got 4 Initialization flags in Initialization options for Source System in SCHEDULER.
    After this we are running Deltas daily
    Accidentally All Initialization Flags deleted from SCHEDULER yesterday that we did not know yesterday.
    Deltas did not run today.
    Please can anyone tell me the solution for this.
    I have to run the Delta today. How can i get the yesterday records in my Data Target,
    Thanks & Regards,
    Anjali
    Message was edited by:
            Anjali

    Hi Anjali,
    Please delete the Init Request from your data target performed for Selection 001.2007 to 2050.
    Also delete <b>only those deltas request</b> from your Data target <b>which were performed after the above mentioned Init.</b>
    And then Re-Init with Selections on Fiscper - 001.2007 to 2050.
    Thanks
    CK
    Highlighted
            Chitrarth Kastwar

  • Initialization parameters not getting populated correctly during DBCA

    This problem is observed on Oracle 10.2.0.1 Linux x86 and RedHat Enterprise Linux 4 ES Update 5.
    I tried to use DBCA template file to create an Oracle database (see below for the template file content). The DB creation was successful, but the initialization parameters did not get populated into /oracle/u01/app/oracle/admin/ora10g/pfile/init.ora the way I would expect.
    ora10g.dbt template - file content
    ========================
    <DatabaseTemplate name="ora10g" description="" version="10.2.0.0.0">
    <CommonAttributes>
    <option name="ISEARCH" value="false"/>
    <option name="OMS" value="false"/>
    <option name="JSERVER" value="true"/>
    <option name="SPATIAL" value="false"/>
    <option name="ODM" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="IMEDIA" value="false"/>
    <option name="XDB_PROTOCOLS" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="ORACLE_TEXT" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="SAMPLE_SCHEMA" value="false"/>
    <option name="CWMLITE" value="false">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="EM_REPOSITORY" value="true">
    <tablespace id="SYSAUX"/>
    </option>
    <option name="HTMLDB" value="false"/>
    </CommonAttributes>
    <Variables/>
    <CustomScripts Execute="false"/>
    <InitParamAttributes>
    <InitParams>
    <initParam name="audit_file_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump"/>
    <initParam name="background_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/bdump"/>
    <initParam name="compatible" value="10.2.0.1.0"/>
    <initParam name="control_files" value="(&#8220;/u01/oradata/{DB_UNIQUE_NAME}/control01.ctl&#8220;, &#8220;/u02/oradata/{DB_UNIQUE_NAME}/control02.ctl&#8220;, &#8220;/u03/oradata/{DB_UNIQUE_NAME}/control03.ctl&#8220;)"/>
    <initParam name="core_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/cdump"/>
    <initParam name="cursor_sharing" value="EXACT"/>
    <initParam name="db_block_size" value="16384"/>
    <initParam name="db_cache_size" value="1" unit="GB"/>
    <initParam name="db_domain" value=""/>
    <initParam name="db_file_multiblock_read_count" value="16"/>
    <initParam name="db_name" value="ora10g"/>
    <initParam name="job_queue_processes" value="10"/>
    <initParam name="large_pool_size" value="0" unit="MB"/>
    <initParam name="java_pool_size" value="0" unit="MB"/>
    <initParam name="log_buffer" value="64000000"/>
    <initParam name="open_cursors" value="300"/>
    <initParam name="pga_aggregate_target" value="1" unit="GB"/>
    <initParam name="processes" value="300"/>
    <initParam name="recyclebin" value="off"/>
    <initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
    <initParam name="sessions" value="335"/>
    <initParam name="sga_target" value="1600" unit="MB"/>
    <initParam name="shared_pool_size" value="128" unit="MB"/>
    <initParam name="sort_area_size" value="4194304"/>
    <initParam name="transactions" value="610"/>
    <initParam name="undo_management" value="AUTO"/>
    <initParam name="undo_retention" value="10800"/>
    <initParam name="undo_tablespace" value="UNDOTBS1"/>
    <initParam name="user_dump_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/udump"/>
    </InitParams>
    <MiscParams>
    <databaseType>MULTIPURPOSE</databaseType>
    <maxUserConn>20</maxUserConn>
    <percentageMemTOSGA>80</percentageMemTOSGA>
    <customSGA>false</customSGA>
    <characterSet>WE8ISO8859P1</characterSet>
    <nationalCharacterSet>AL16UTF16</nationalCharacterSet>
    <archiveLogMode>false</archiveLogMode>
    <initParamFileName>{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
    </MiscParams>
    <SPfile useSPFile="false">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
    </InitParamAttributes>
    <StorageAttributes>
    <ControlfileAttributes id="Controlfile">
    <maxDatafiles>100</maxDatafiles>
    <maxLogfiles>16</maxLogfiles>
    <maxLogMembers>3</maxLogMembers>
    <maxLogHistory>1</maxLogHistory>
    <maxInstances>8</maxInstances>
    <image name="control01.ctl" filepath="/u01/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control02.ctl" filepath="/u02/oradata/{DB_UNIQUE_NAME}/"/>
    <image name="control03.ctl" filepath="/u03/oradata/{DB_UNIQUE_NAME}/"/>
    </ControlfileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf">
    <tablespace>SYSAUX</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">500</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/system01.dbf">
    <tablespace>SYSTEM</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">500</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">10240</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/temp01.dbf">
    <tablespace>TEMP</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">100</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">640</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <DatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf">
    <tablespace>UNDOTBS1</tablespace>
    <temporary>false</temporary>
    <online>true</online>
    <status>0</status>
    <size unit="MB">100</size>
    <reuse>true</reuse>
    <autoExtend>false</autoExtend>
    <increment unit="KB">5120</increment>
    <maxSize unit="MB">-1</maxSize>
    </DatafileAttributes>
    <TablespaceAttributes id="SYSAUX">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="SYSTEM">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>-1</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>false</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/system01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="TEMP">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>true</temporary>
    <defaultTemp>true</defaultTemp>
    <undo>false</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>2</allocation>
    <uniAllocSize unit="KB">1024</uniAllocSize>
    <initSize unit="KB">64</initSize>
    <increment unit="KB">64</increment>
    <incrementPercent>0</incrementPercent>
    <minExtends>1</minExtends>
    <maxExtends>0</maxExtends>
    <minExtendsSize unit="KB">64</minExtendsSize>
    <logging>false</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/temp01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <TablespaceAttributes id="UNDOTBS1">
    <online>true</online>
    <offlineMode>1</offlineMode>
    <readOnly>false</readOnly>
    <temporary>false</temporary>
    <defaultTemp>false</defaultTemp>
    <undo>true</undo>
    <local>true</local>
    <blockSize>-1</blockSize>
    <allocation>1</allocation>
    <uniAllocSize unit="KB">-1</uniAllocSize>
    <initSize unit="KB">512</initSize>
    <increment unit="KB">512</increment>
    <incrementPercent>50</incrementPercent>
    <minExtends>8</minExtends>
    <maxExtends>4096</maxExtends>
    <minExtendsSize unit="KB">512</minExtendsSize>
    <logging>true</logging>
    <recoverable>false</recoverable>
    <maxFreeSpace>0</maxFreeSpace>
    <autoSegmentMgmt>true</autoSegmentMgmt>
    <bigfile>false</bigfile>
    <datafilesList>
    <TablespaceDatafileAttributes id="/u01/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf">
    <id>-1</id>
    </TablespaceDatafileAttributes>
    </datafilesList>
    </TablespaceAttributes>
    <RedoLogGroupAttributes id="1">
    <reuse>false</reuse>
    <fileSize unit="KB">1048576</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo01.log" filepath="/u01/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="2">
    <reuse>false</reuse>
    <fileSize unit="KB">1048576</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo02.log" filepath="/u02/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    <RedoLogGroupAttributes id="3">
    <reuse>false</reuse>
    <fileSize unit="KB">1048576</fileSize>
    <Thread>1</Thread>
    <member ordinal="0" memberName="redo03.log" filepath="/u03/oradata/{DB_UNIQUE_NAME}/"/>
    </RedoLogGroupAttributes>
    </StorageAttributes>
    </DatabaseTemplate>
    Right after DB creation using DBCA, I would expect to see the following initialization paramaters populated in /oracle/u01/app/oracle/admin/ora10g/pfile/init.ora file that match the values I specified in the template file, but it appears that some initialization parameters are either not populated or incorrectly populated.
    db_cache_size=1g
    (this parameter entry is missing, not getting popultated at all)
    sga_target=1600m
    (sga_target populated with 1211105280)
    pga_aggregate_target=1g
    (pga_aggregate_target populated with 403701760)
    shared_pool_size=128m
    (this parameter entry is missing, not getting popultated at all)
    large_pool_size=0
    (this parameter entry is missing, not getting popultated at all)
    java_pool_size=0
    (this parameter entry is missing, not getting popultated at all)
    log_buffer=64000000
    (this parameter is correctly populated)
    transactions=610
    (this parameter is correctly populated)
    recyclebin=OFF
    (this parameter entry is missing, not getting popultated at all)
    cursor_sharing=EXACT
    (this parameter is correctly populated)
    Does anyone know why some initialization parameters did not get populated or incorrectly populated into init.ora?
    Thanks in advance.
    Ken

    Likely dbca currently uses the spfile to store the parameters, as you should do too.
    Apart from that the pfile Oracle uses is located in $ORACLE_HOME/dbs/init<sid>.ora
    It is possible this file is soft-linked to the file you mention.
    If it isn't the file you mention is not being used at all.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for