Loading initialization parameters

I am trying to load parameters from web.xml in the init() method. But, in vain.
What's wrong with the following code?
package test;
public class TestServlet extends HttpServlet{
     public void init(ServletConfig config) throws ServletException {
          super.init(config);
          String param1 = config.getInitParameter("param1");
          //For test,
          System.out.println(param1); //wrongly shows null.
     }web.xml contains:
    <servlet>
        <servlet-name>TestServlet</servlet-name>
        <servlet-class>test.TestServlet</servlet-class>
        <init-param>
          <param-name>param1</param-name>
          <param-value>test string</param-value>
        </init-param>
    </servlet>I access the servlet as http://localhost/servlet/test.TestServlet.
The servlet works fine, except for the parameters read from web.xml.
I am not using any <servlet-mapping> element in web.xml because am testing from ROOT.
Someone please guide me. Thanks.

I am still stuck with this.
Can't read init. parameters. What am I missing here?
One book says this : "You never use default URLs of the form http://..../servlet/ServletName when using init parameters". I don't get why it is so. Is this a recommendation for deployment scenario, or is it just plain illegal to try to use init parameters with the default URL? I am using the default URL because that's easy for me in the learning phase.
Thank you.

Similar Messages

  • 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

  • RSPC Variant does not exist - Could not find or load print parameters

    We are on BI 7.0 (support pack SAPKW70017).  We recently freshed test system from production.   After the refresh, we have problems opening all the process chains.  
    1. When I go to RSPC to open a process chain, I get many messages like this:
    Variant &0000000067180 does not exist (there are different variant numbers)
    Message no. DB612
    Diagnosis
    You selected variant &0000000067180 for program RSPROCESS.
    This variant does not exist.
    2. When I go to SM21 to check the system log, it displays many entries like below:
    EJ  F Could not find or load print parameters for step 1, job BI_PROCESS_TRIGGER/09134500
    Documentation for system log message EJ F :                                                                               
    An error occurred during loading of the print parameters for a        
    background job step.                                                  
    The print parameter record may have been deleted even though there was
    a still a step that needed that data. This is an error as the         
    reorganization of the print parameters should prevent this from       
    happening.                                                            
    To fix the problem, edit the step and save it, copy the job, or       
    schedule a new job. The print parameters will be regenerated in all   
    these cases.    
    3. I applied the OSS note 1169659 - Correction: Process variants not entered by BDLS.   The Basis rerun BDLS.  But it did not fix the problem.
    Would appreciate if someone could provide any help.
    Thank you.

    Hi Rebecca.
    1) Please verify if exist process types called 'unknown job'. If exist:  delete process types called 'unknown job' in your process chain. To do that please remove the chain from scheduling (menu bar > process chain > remove from schedule), afterwards switch the detail view on (menu bar >  view) > right mouse click on the process type "unknown job" > displaying scheduled jobs > delete that job. After deletion of the 'unknown jobs' activate and schedule your process chain again.
    2) After the removal of the 'unknown jobs' please check if the error messages with the missing variants pop up when calling your process chain disappears. If not, please implement and execute the attached report Z_FIND_JOBS_WITHOUT_VARIANT which deletes the jobs without variants.
    I have already attached report as Report Z_FIND_JOBS_WITHOUT_VARIANT, you can download and create the report accordingly.
    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    REPORT  Z_FIND_JOBS_WITHOUT_VARIANT.
    data: l_t_job type table of tbtcp with header line,
          l_s_varsel    TYPE rsvar,
          l_t_variant   TYPE TABLE OF rsparams.
    parameters: delete type rs_bool.
    select * from tbtcp as job into table l_t_job
                        where progname = 'RSPROCESS'
                        and   exists ( select * from tbtco
                              where jobname = job~jobname
                              and   jobcount = job~jobcount
                              and   status = 'S' ).
    loop at l_t_job.
      l_s_varsel-report  = l_t_job-progname.
      l_s_varsel-variant = l_t_job-variant.
      CALL FUNCTION 'RS_VARIANT_CONTENTS'
        EXPORTING
          report               = l_s_varsel-report
          variant              = l_s_varsel-variant
          execute_direct       = 'X'
        TABLES
          valutab              = l_t_variant
        EXCEPTIONS
          variant_non_existent = 1
          variant_obsolete     = 2
          OTHERS               = 3.
      if sy-subrc <> 0.
        write: / l_t_job-jobname, l_t_job-jobcount.
        if delete = 'X'.
          CALL FUNCTION 'BP_JOB_DELETE'
            EXPORTING
              JOBCOUNT = l_t_job-jobcount
              JOBNAME  = l_t_job-jobname
            EXCEPTIONS
              OTHERS   = 1.
          IF SY-SUBRC <> 0.
            write 'not deleted'.
          else.
            write 'successfully deleted'.
          ENDIF.
        endif.
      endif.
    endloop.
    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    I hope I can be helpful.
    Thanks,
    Walter Oliveira.

  • 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

  • SQL*Loader-951: Error calling once/load initialization

    Dear all,
    11g on solaris 10.
    Dear all,
    When loading data using the below :
    sqlldr username/password@db control=data.ctl direct=true errors=10000 readsize=1048576 log=databill.log
    data loading successful.
    but when am speeding up the same and trying to load as below :
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true bindsize= 5048576 multithreading=true log=databill.log
    SQL*Loader-951: Error calling once/load initialization
    ORA-26002: Table username.table has index defined upon it.
    If I drop index, and run the same it works fine.. is there way I can speed up the insert (append) using the above
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true bindsize= 5048576 multithreading=true log=databill.log
    control file :
    UNRECOVERABLE
    LOAD DATA
    INFILE "databill.dat" "str X'0c'"
    BADFILE "databill.bad"
    DISCARDFILE "databill.dis"
    APPEND
    PRESERVE BLANKS
    INTO TABLE username.databill_TEST
    FIELDS TERMINATED BY X'07' TRAILING NULLCOLS
    Thanks
    Kai

    Thanks ,
    when using ,
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true readsize=1048576 bindsize= 5048576 multithreading=true log=databill.log
      12048217 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       424
       Hits    :  81540372
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:      12048217
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:     3767
    Total stream buffers loaded by SQL*Loader load thread:    11300
    Run began on Thu Dec 17 19:36:01 2009
    Run ended on Thu Dec 17 19:42:16 2009
    Elapsed time was:     00:06:14.25
    CPU time was:         00:02:29.55when using
    sqlldr username/password@db control=data.ctl direct=true errors=10000 readsize=1048576 log=databill.log
      12048217 Rows successfully loaded.
      0 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
      Date cache:
       Max Size:      1000
       Entries :       424
       Hits    :  81540372
       Misses  :         0
    Bind array size not used in direct path.
    Column array  rows :    5000
    Stream buffer bytes:  256000
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:      12048217
    Total logical records rejected:         0
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:     3767
    Total stream buffers loaded by SQL*Loader load thread:    11300
    Run began on Thu Dec 17 04:29:05 2009
    Run ended on Thu Dec 17 04:37:04 2009
    Elapsed time was:     00:07:58.95
    CPU time was:         00:03:04.94How can I acheive maxium loading performance, what do I have to add to this :
    sqlldr username/password@db1 control=databill.ctl direct=true errors=10000 Parallel=true readsize=1048576 bindsize= 5048576 multithreading=true log=databill.log
    Please guide
    Kai

  • 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.

  • 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

  • Minimum initialization parameters that need to be specified

    During Database Creation, will specifying these initialization parameters be enough:
    db_name= mydb
    control_files = ("C:\ORACLE\PRODUCT\10.2.0\ORADATA\MYDB\CONTROL01.CTL","C:\ORACLE\PRODUCT\10.2.0\ORADATA\MYDB\CONTROL02.CTL","C:\ORACLE\PRODUCT\10.2.0\ORADATA\MYDB\CONTROL03.CTL")
    db_block_size=8192
    undo_management=AUTO
    Also, is there an order in which these need to be specified ?
    ramya
    Edited by: Ramya Reddy on Feb 26, 2009 8:17 PM

    Ramya,
    Here is an example of working init.ora file created using default. I am marking all parameter which can be speficied later enclosed between "+"
    dss.__db_cache_size=599785472
    dss.__java_pool_size=4194304
    dss.__large_pool_size=4194304
    dss.__shared_pool_size=264241152
    +dss.__streams_pool_size=8388608+
    +*.audit_file_dest='C:\oracle\product\10.2.0\admin\DSS\adump'+
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\DSS\bdump'
    *.compatible='10.2.0.3.0'
    *.control_files='C:\u01\oradata\DSS\DSS\control01.ctl','C:\u01\oradata\DSS\DSS\control02.ctl','C:\u01\oradata\DSS\DSS\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\DSS\cdump'
    *.db_block_size=16384
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='DSS'
    +*.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'+
    +*.db_recovery_file_dest_size=16917725184+
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DSSXDB)'
    *.job_queue_processes=10
    +*.log_archive_dest_1='LOCATION=C:/u01/oradata/ArchiveLogs'+
    *.log_archive_format='ARC%S_%R.%T'
    *.open_cursors=300
    *.pga_aggregate_target=209715200
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=886046720
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\DSS\udump'Regards
    Edited by: OrionNet on Feb 26, 2009 11:32 PM

  • "All Initialization Parameters" - Error

    When I click "All Initialization Parameters" in "Administration" section of OEM this error apearses:
    oracle.sysman.emSDK.admObj.AdminObjectException: java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP1
    Could you help me fix this?

    It's rather imposible...
    Select     Name [Sorted in ascending order]      Size (MB)     Used (MB)     Used (%)     Free (MB)     Status     Datafiles     Type     Extent Management     Segment Management
         TEMP1     10.0     1.0     [Used (%)] [Used (%)] [Used (%)] 10.0     9.0     [Status]      1     TEMPORARY     LOCAL     MANUAL
    This is from "Tablespaces" in OEM. Only 10% of TEMP1 tablespace is used.

  • 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!

  • Passing Runtime initialization parameters to a Servlet

    Hi all.
    Plz.let me know, how do you pass runtime initialization parameters to a Servlet. Also, when do we need this approach. Thank You.

    Global parameters that may change should be passed as parameters so that the servlet doesn't have to be recompiled to make the change.
    Here a global parameter is used to store a timeOut value. This value is written to every web page to force the page to refresh.
    <web-app>
        <servlet>
            <servlet-name>
                KioskServlet
            </servlet-name>
            <servlet-class>
                KioskServlet
            </servlet-class>
            <init-param>
                <!-- number of seconds of inactivity until timing out -->
                <!-- 300 = 5 minutes -->
                <param-name>timeoutValue</param-name>
                <param-value>300</param-value>
            </init-param>
         </servlet>
    </webapp>

  • 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

  • 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

  • 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 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

  • Trouble with PDF created with Captivate 6

    I have been using Captivate since version 4 and this is the first time I have had this problem. The generated PDF (which is the expected file size) displays a blank page with only the TOC button which sits there flashing rapidly. I have tried changin

  • Forms and ipad

    I created a fill-in form in LC in adobe 8 using one of the provided templates. It has drop down lists, date fields and 1 sub-total field for user entered expenditures. When I export it to an Ipad, the drop downs function perfectly, but the date field

  • Compiling my first servlet page

    Hi, Im not able to compile my servlet.The servlet code is in desktop\java.The servlet.jar is in c:\program files \ apache tomcat 4.0\common\lib when i give this command javac HelloServlet.java -classpath " c:\--------" it is not working.I dont know w

  • -2038 - Internal error (-2038) occurred : on 19/05/2011 10:04:34

    Usind DI API for SAP 8.8 PL20 There's no entry in the Event Viewer obviously it's something wrong in SAP. How can I know what's the problem ? The application that is using DI API, is performing it's job every minute of every day without any trouble u

  • Comparing two column values with multiple Parameter in VC (Indicator)

    Hello VC experts, GM I would like to know about how to indicate multiple parameter with different colour in same column and also comparing value with adjucent column. Eg. Parameters     ,,           Column1      ,,              Column 2       ,,