Create instance manually

1. My requirement is to create a database on a system, which has one instance already running.
2. How to create instance in LINUX(oradim = windows) or can I go directly and create database using the below procedure?
1.set variable
2. create file initsid.ora, orapwd
3. create database?
Please help

Unix like systems and windows work in different ways due to architecture differences. Oracle on windows requires the oradim command to be run prior to start up an instance. On unix like systems, since they don't require services, you can directly set the ORACLE_SID environment variable, have your parameter file (either pfile or spfile) properly configured and parameterized and startup your instace with the startup nomount command.
If you are planning to manually create a database with this procedure I suggest you to take a look at the CREATE DATABASE command, there are many more issues that go beyond the scope of a single post in a thread.
~ Madrid
http://hrivera99.blogspot.com/

Similar Messages

  • Connecting to new instance. to create DB manually

    can any body send me the commands to create and connect to idle instance to create DB Manually, setp by step plz......

    <sigh>
    Oracle missed out on that one. Should have included that in the doc right? I dont know why I could see all this in the doc that you couldnt.
    Step 1: Decide on Your Instance Identifier (SID)
    Step 2: Establish the Database Administrator Authentication Method
    Step 3: Create the Initialization Parameter File
    Step 4: Connect to the Instance
    Step 5: Create a Server Parameter File (Recommended)
    Step 6: Start the Instance
    Step 7: Issue the CREATE DATABASE Statement
    Step 8: Create Additional Tablespaces
    Step 9: Run Scripts to Build Data Dictionary Views
    Step 10: Run Scripts to Install Additional Options (Optional)
    Step 11: Back Up the Database.
    No offense, but when it comes to reliability, confidence & faith regarding Oracle Databases, I would prefer Oracle Documentation on others anytime. Having said that, you are free to follow the guidelines of any XYZ as long as they are reliable and you have faith in them.
    Your issue is resolved and that was important.
    Best of Luck!
    Rgds
    Adnan

  • Single-instance manual standby for a three-node RAC database

    Hi all,
    I am wondering how it is possible to create a manual standby database for a rac primary database.
    Oracle versione is standard edition 11.1.
    I have experience creating and managing manual standby for single-instance database; I am wondering if and how I can instruct the single-instance standby database to discover and apply the three redo threads that I will copy from the primary site to the standby site.
    Should I use rman to catalog all the archived log on the standby site ?
    Should I configure many LOG_ARCHIVE_DEST_n parameters to point to many different path, one for each primary instance (i.e. one for each redo thread), and let rman automagically discover all the archived logs ?
    Should I configure only LOG_ARCHIVE_DEST_1 , put archivelogs from all threads in the same folder, and let rman automagically discover all the archived logs ?
    Thanks for every answer!
    Andrea

    Hi,
    indeed i catalog all transfered archive logs in front of the recover process.
    During the tests i believe (iirc) i was unable to recover from transfered archivelogs without catalog them first. But this statement is out of my mind, i am not 100% sure for this, sorry.
    Some more details.
    Because it is a standard edition, i have to use on the RAC side ASM. So our normal scripts to transfer archivelogs from primary to standby are obsolete.
    So i decided to put the whole standby thing into the database. Now the primary database uses external scheduler jobs to do the work. The standby side is not using ASM, so there is no need to handle the logs in any special way.
    The steps are:
    1. Get SCN from primary and standby
    2. Transfer the logs for the gap from ASM to "normal" filesystem.
    3. Transfer (and compress, if not in LAN) to standby archive dest
    4. Catalog on standby side
    5. Recover on standby side
    6. Delete on normal filesystem (on both sides, but on standby with a delay of 2 days just to be sure)
    The steps on the standby side are both using the primary scn from step 1 as a parameter to avoid error messages during the catalog or recover call.
    Hth
    Joerg

  • I am not able to create database manually.unexpected error incountered why?

    I am not able to create database manually.unexpected error incountered why?
    Same step is worked in another system
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 97589952 bytes
    Fixed Size 453312 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE DATABASE icici
    2 LOGFILE GROUP 1 ('F:\oracle\oradata\icici\logfile\redo01.log') SIZE 10M,
    3 GROUP 2 ('F:\oracle\oradata\icici\logfile\redo02.log') SIZE 10M,
    4 GROUP 3 ('F:\oracle\oradata\icici\logfile\redo03.log') SIZE 10M
    5 MAXLOGFILES 5
    6 MAXLOGMEMBERS 5
    7 MAXLOGHISTORY 1
    8 MAXDATAFILES 10
    9 MAXINSTANCES 1
    10 CHARACTER SET US7ASCII
    11 NATIONAL CHARACTER SET AL16UTF16
    12 DATAFILE 'F:\oracle\oradata\icici\datafile\system01.dbf' SIZE 100M REUSE
    EXTENT MANAGEMENT LOCAL
    13 DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE 'F:\oracle\oradata\icici\d
    atafile\temp01.dbf' SIZE 100M REUSE
    14 UNDO TABLESPACE undotbs DATAFILE 'F:\oracle\oradata\icici\datafile\undot
    bs01.dbf'SIZE 100M REUSE
    15* AUTOEXTEND ON NEXT 5120K MAXSIZE 300M
    SQL> /
    CREATE DATABASE icici
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

    Check the alert log. Paste the end of the file over here.
    Yoann.

  • Error in creating DB manually

    Hi All,
    OS:Solaris
    DB:10G
    When i am trying to create database manually over putty i am facing the below mantioned error:
    SQL> CREATE DATABASE ettest>2 USER SYS IDENTIFIED BY ****
    >3 USER SYSTEM IDENTIFIED BY *****
    >4 LOGFILE GROUP 1 ('/11g/oradata/admin/data/logfiles/redo01.log') SIZE 50M,
    >5 GROUP 2 ('/11g/oradata/admin/data/logfiles/redo02.log') SIZE 50M,
    >6 GROUP 3 ('/11g/oradata/admin/data/logfiles/redo03.log') SIZE 50M
    >7 MAXLOGFILES 5
    >8 MAXLOGMEMBERS 5
    >9 MAXLOGHISTORY 1
    >10 MAXDATAFILES 100
    >11 MAXINSTANCES 1
    >12 CHARACTER SET US7ASCII
    >NATIONAL CHARACTER SET AL16UTF16
    >13 14 DATAFILE '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
    >15 EXTENT MANAGEMENT LOCAL
    >16 sysaux datafile 'D:\oracle\databases\ora10\sysaux.dbf'
    >17 size 10M autoextend on next 10M maxsize unlimited
    >18 DEFAULT TEMPORARY TABLESPACE tempts1
    >19 TEMPFILE '/vobs/oracle/oradata/mynewdb/temp01.dbf'
    >20 UNDO TABLESPACE undotbs
    >21 DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
    >22 SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED;
    CREATE DATABASE ettest
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forcedThis seeems to be a generic error, kinldy help.
    Regards,
    Sphinx
    Edited by: $phinx19 on Oct 28, 2012 8:54 PM

    Hi SB,
    Well i did try this earlier also, here is the o/p of alert:
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /data3/ora10/dbs/arch
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
    processes = 150
    control_files = /11g/oradata/admin/data/controlfiles/control01.ctl, /11g/oradata/admin/data/controlfiles/control02.ctl
    db_block_size = 8192
    compatible = 10.2.0.1.0
    undo_management = AUTO
    undo_tablespace = undotbs
    cursor_sharing = FORCE
    background_dump_dest = /11g/oradata/admin/ettest/bdump
    user_dump_dest = /11g/oradata/admin/ettest/udump
    core_dump_dest = /11g/oradata/admin/ettest/cdump
    db_name = ettest
    open_cursors = 300
    PMON started with pid=2, OS id=16987
    PSP0 started with pid=3, OS id=16989
    MMAN started with pid=4, OS id=16991
    DBW0 started with pid=5, OS id=16993
    DBW1 started with pid=6, OS id=16995
    LGWR started with pid=7, OS id=16997
    CKPT started with pid=8, OS id=16999
    SMON started with pid=9, OS id=17001
    RECO started with pid=10, OS id=17003
    MMON started with pid=11, OS id=17005
    MMNL started with pid=12, OS id=17007
    ^[Mon Oct 29 09:46:14 2012
    CREATE DATABASE ettest
       USER SYS IDENTIFIED BY ****USER SYSTEM IDENTIFIED BY ****LOGFILE GROUP 1 ('/11g/oradata/admin/data/logfiles/redo01.log') SIZE 50M,
               GROUP 2 ('/11g/oradata/admin/data/logfiles/redo02.log') SIZE 50M,
               GROUP 3 ('/11g/oradata/admin/data/logfiles/redo03.log') SIZE 50M
       MAXLOGFILES 5
       MAXLOGMEMBERS 5
       MAXLOGHISTORY 1
       MAXDATAFILES 100
       MAXINSTANCES 1
       CHARACTER SET US7ASCII
       NATIONAL CHARACTER SET AL16UTF16
       DATAFILE '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
       EXTENT MANAGEMENT LOCAL
       sysaux datafile 'D:\oracle\databases\ora10\sysaux.dbf'
       size 10M autoextend on next 10M maxsize unlimited
       DEFAULT TEMPORARY TABLESPACE tempts1
       TEMPFILE '/vobs/oracle/oradata/mynewdb/temp01.dbf'
       UNDO TABLESPACE undotbs
       DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
          SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Oct 29 09:46:14 2012
    Database mounted in Exclusive Mode
    Mon Oct 29 09:46:16 2012
    Successful mount of redo thread 1, with mount id 4239425638
    Assigning activation ID 4239425638 (0xfcb08066)
    Thread 1 opened at log sequence 1
      Current log# 1 seq# 1 mem# 0: /11g/oradata/admin/data/logfiles/redo01.log
    Successful open of redo thread 1
    Mon Oct 29 09:46:16 2012
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Oct 29 09:46:16 2012
    SMON: enabling cache recovery
    Mon Oct 29 09:46:16 2012
    create tablespace SYSTEM datafile  '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
      EXTENT MANAGEMENT LOCAL online
    Mon Oct 29 09:46:18 2012
    Completed: create tablespace SYSTEM datafile  '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
      EXTENT MANAGEMENT LOCAL online
    Mon Oct 29 09:46:18 2012
    create rollback segment SYSTEM tablespace SYSTEM
      storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
      storage (initial 50K next 50K)
    Mon Oct 29 09:46:41 2012
    CREATE UNDO TABLESPACE UNDOTBS DATAFILE  '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
          SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Oct 29 09:46:43 2012
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE UNDOTBS DATAFILE  '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
          SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    Mon Oct 29 09:46:43 2012
    create tablespace SYSAUX datafile  'D:\oracle\databases\ora10\sysaux.dbf'
       size 10M autoextend on next 10M maxsize unlimited
      EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO online
    ORA-1119 signalled during: create tablespace SYSAUX datafile  'D:\oracle\databases\ora10\sysaux.dbf'
       size 10M autoextend on next 10M maxsize unlimited
      EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO online
    Mon Oct 29 09:46:43 2012
    Errors in file /11g/oradata/admin/ettest/udump/ettest_ora_17008.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\databases\ora10\sysaux.dbf'
    ORA-27038: created file already exists
    Additional information: 1
    Mon Oct 29 09:46:43 2012
    Errors in file /11g/oradata/admin/ettest/udump/ettest_ora_17008.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 5801
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\databases\ora10\sysaux.dbf'
    ORA-27038: created file already exists
    Additional information: 1
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Instance terminated by USER, pid = 17008
    ORA-1092 signalled during: CREATE DATABASE ettest
       USER SYS IDENTIFIED BY ****USER SYSTEM IDENTIFIED BY ****LOGFILE GROUP 1 ('/11g/oradata/admin/data/logfiles/redo01.log') SIZE 50M,
               GROUP 2 ('/11g/oradata/admin/data/logfiles/redo02.log') SIZE 50M,
               GROUP 3 ('/11g/oradata/admin/data/logfiles/redo03.log') SIZE 50M
       MAXLOGFILES 5
       MAXLOGMEMBERS 5
       MAXLOGHISTORY 1
       MAXDATAFILES 100
       MAXINSTANCES 1
       CHARACTER SET US7ASCII
       NATIONAL CHARACTER SET AL16UTF16
       DATAFILE '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
       EXTENT MANAGEMENT LOCAL
       sysaux datafile 'D:\oracle\databases\ora10\sysaux.dbf'
       size 10M autoextend on next 10M maxsize unlimited
       DEFAULT TEMPORARY TABLESPACE tempts1
       TEMPFILE '/vobs/oracle/oradata/mynewdb/temp01.dbf'
       UNDO TABLESPACE undotbs
       DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
          SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED...
    Regards,
    Sphinx                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • B2B not creating instance in SOA

    hello,
    I am not able to create instance in my SOA composite. B2B console shows me the message as below:-
    ***Document Type     InvoiceUBL2***
    ***Document Definition     InvoiceUBL2_def***
    ***Document Protocol Name     InvoiceUBL2***
    ***Document Protocol Version     InvoiceUBL2***
    ***Refer To Application Message Id     Refer To Application Message Id***
    ***App Conversation Id     ***
    ***App Message property     {ACTION_NAME=null, Protocol Version=1.0, Recepient=b2buser, Endpoint=aq://IP_IN_QUEUE, Protocol=AQ}***
    ***Direction     INBOUND***
    ***State     MSG_COMPLETE***
    The irony is, that all other interface which work on the same console and the same configuration are running successfully. Therefore, i dont understand where the problem lies exactly. I am the only one who is using that particular B2B defination. Please help me solve this issue.
    Regards,
    Shreya.

    Hello Anuj/Venkatesh,
    When i try to read the file using the Invoice UBL-2 standard Xsd, SOA cannot create an instance. So i tried reading it with the opaque schema and that create an instance in SOA. But the data comes in 64 bit binary. Is it possible that i can remove the BOM character before it reaches SOA i.e using callouts in the B2B console? because parsing 64bit binary into XML format is posing a problem now because the Invoice UBL-2 xsd comes with a lot of reference xsds. Kindly help.
    Anuj- Yes, when I manually change the encoding of the file to ANSI or UTF-8 without BOM via Notepad++, an instance is created in SOA.
    Regards,
    Shreya.
    Edited by: 918008 on Dec 29, 2012 8:37 AM
    Edited by: 918008 on Dec 29, 2012 8:39 AM

  • Create database manually.unexpected error incountered

    I am not able to create database manually.unexpected error incountered why?
    Same step is worked in another system
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 97589952 bytes
    Fixed Size 453312 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    SQL> create dtabase;
    create dtabase
    ERROR at line 1:
    ORA-00901: invalid CREATE command
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE DATABASE icici
    2 LOGFILE GROUP 1 ('F:\oracle\oradata\icici\logfile\redo01.log') SIZE 10M,
    3 GROUP 2 ('F:\oracle\oradata\icici\logfile\redo02.log') SIZE 10M,
    4 GROUP 3 ('F:\oracle\oradata\icici\logfile\redo03.log') SIZE 10M
    5 MAXLOGFILES 5
    6 MAXLOGMEMBERS 5
    7 MAXLOGHISTORY 1
    8 MAXDATAFILES 10
    9 MAXINSTANCES 1
    10 CHARACTER SET US7ASCII
    11 NATIONAL CHARACTER SET AL16UTF16
    12 DATAFILE 'F:\oracle\oradata\icici\datafile\system01.dbf' SIZE 100M REUSE
    EXTENT MANAGEMENT LOCAL
    13 DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE 'F:\oracle\oradata\icici\d
    atafile\temp01.dbf' SIZE 100M REUSE
    14 UNDO TABLESPACE undotbs DATAFILE 'F:\oracle\oradata\icici\datafile\undot
    bs01.dbf'SIZE 100M REUSE
    15* AUTOEXTEND ON NEXT 5120K MAXSIZE 300M
    SQL> /
    CREATE DATABASE icici
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

    I'll lay odds that the problem is that you've asked this database to use an UNDO tablespace called UNDOTBS, but that in your spfile (or init.ora) you've specified UNDO_TABLESPACE=UNDOTBS01 (or something similar).
    If the parameter file specifies an undo tablespace which doesn't exist, the instance blows up.
    The advice to read the alert log would be useful at this point, because the mismatch of undo tablespace names is always recorded properly there (which always makes me annoyed that the original error message can't be a bit more precise!)

  • Creating a manual tabular form on an empty table

    Hi all,
    I am trying to create a manual tabular form on an empty table. Is it possible to display textboxes and column headers, when I run the report I get "no data found".
    Regards,

    Hi Denes and thank you for your valuable input.
    My problem is in fact that, I have created the tabular form by using a report region with a SQL query, something like,
    select apex_item.display_and_save(1, p.bolge) bolge,
    apex_item.display_and_save(2, p.hafta) hafta,
    apex_item.display_and_save(3, p.yil) yil,
    apex_item.display_and_save(4, p.mamul) mamul,
    apex_item.display_and_save(5, p.tahmin1) tahmin1,
    apex_item.display_and_save(6, p.tahmin2) tahmin2,
    apex_item.display_and_save(7, p.tahmin3) tahmin3,
    apex_item.display_and_save(8, p.tahmin4) tahmin4,
    apex_item.display_and_save(9, p.tahmin5) tahmin5,
    apex_item.display_and_save(10, p.tahmin6) tahmin6,
    apex_item.display_and_save(11, p.revize4) revize4,
    apex_item.display_and_save(12, p.revize5) revize5,
    apex_item.display_and_save(13, p.revize6) revize6
    from portal_link.v_planlama p
    The problem is that, since there is no data in the table, when I run the page, I cant get the form to be rendered, and I get a nice "no data found". There should be a way to get the form rendered, hence making it available for data input.
    Regards,
    Onur

  • Error while creating database manually

    hi guru's i am getting error while creating database manually
    my sql is SQL>create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
                group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      character set          WE8ISO8859P1
      national character set utf8
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'
                size 50M
                autoextend on
                next 10M maxsize unlimited
                extent management local
      sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf'
                size 10M
                autoextend on
                next 10M
                maxsize unlimited
      undo tablespace undo
                datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'
                size 10M
      default temporary tablespace temp
                tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf'
                size 10M;and i am getting following error
    create database lily
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\LILY\CONTROL01.CTL'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    code}
    Edited by: CHETAN YADAV on Jul 19, 2011 6:55 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
              group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'  size 150M
    sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf' 150 M
      undo tablespace undo  datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'  size 10M
    default temporary tablespace temp tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf' size 10M;
    remove the SQL> from the a.sql script also change the system datafile size to minimum of 100mb size
    ALSO check/change the undotablespace name with your init parameter file it should match as it is in the init parameter file
    Edited by: rajeysh on Jul 19, 2011 6:59 PM

  • Trying to access methods from a .class file by creating instance of class

    Hey all,
    I'm hoping you can help. I've been given a file "Input.class" with methods such as readInt(), readString(), etc. I have tried creating instances of this class to make use of it, but I receive the error "cannot find symbol : class Input".
    If you could help at all, I would greatly appreciate it.
    Here's my code. The first is the base program, the second is the driver.
    import java.util.*;
    public class CarObject
         private String makeType = "";
         private String modelType = "";
         private int yearOfRelease = 0;
         private double numOfMiles = 0.0;
         public void setFilmTitle(String make)
              makeType = make;
         public void setMediaType(String model)
              modelType = model;
         public void setYearOfRelease(int year)
              yearOfRelease = year;
         public void setNumOfMiles(double miles)
              numOfMiles = miles;
         public String getMakeType()
              return makeType;
         public String getModelType()
              return modelType;
         public int getYearOfRelease()
              return yearOfRelease;
         public double getNumOfMiles()
              return numOfMiles;
    The program is used by a rental car company and the object takes on desired attributes.
    import java.util.*;
    public class TestCarObject
         static Scanner keyboard = new Scanner(System.in);
         public static void main(String[] args)
              System.out.println("Please answer the following questions regarding your rental car order.");
              Input carinput = new Input();
              String makeType = carinput.readString("Enter your desired make of car: ");          
              String modelType = carinput.readString("Enter your desired model of car: ");
              int yearOfRelease = carinput.readInt("Enter the oldest acceptable year of release to rent: ");
              double numOfMiles = carinput.readDouble("Enter the highest acceptable number of miles: ");
              System.out.println("Make: " + makeType);
              System.out.println("Model: " + makeType);
              System.out.println("Year: " + makeType);
              System.out.println("Mileage: " + makeType);
    }

    No, I don't know the package name....Is there a way
    to import the Input.class by itself without importing
    the entire packge?
    I tried extending the driver program too...It didn't
    work either...
    Message was edited by:
    BoxMan56How do you know you have a class called Input.class ?
    You got a jar file which contains it ? or just a simple .class file ?
    You have to set the classpath in either case.
    But for the former, you should also need to explicitly telling which package containing the class file you looking for (i.e. Input.class)
    e.g. java.util.Vector which is a class called Vector inside java.util package.
    You don't have to import the whole package, but you should tell which package this class belongs to.

  • How to Create Instances in the Transient Root Node and Sub Nodes from Root Node Query Method ?

    Hi All,
    I am Creating a BOPF BO with 3 Nodes,
    Node 1) ROOT -- > contains a query,
    using Root Node I have created Search UIBB Configuration in FBI.
    In testing -- > when i enter Data in the Search Criteria Fields am able to get the details in to the query method
    from Imporing parameter : 'IT_SELECTION_PARAMETERS'.
    HERE I am fetching data from a standard table and trying to fill the data in the Node : 'MNR_SEARCH_RESULT'.
    How to Append data to the Sub node 'MNR_SEARCH_RESULT' when there is no Node instance created in the ROOT Node ?
    For This  I have created an instance in the ROOT Node and Using that I tried to create Instance in the Sub Node 'MNR_SEARCH_RESULT'.
    Below is my code which i have placed in the Query method ..
    DATA : LR_DATA TYPE REF TO ZBO_S_ROOT1.
    DATA : LR_SEARCH_RES TYPE REF TO ZBO_S_MNR_SEARCH_RESULT.
    DATA : LO_CI_SERVICE_MANAGER TYPE REF TO /BOBF/IF_TRA_SERVICE_MANAGER,
            LO_TRANSACTION_MANAGER TYPE REF TO /BOBF/IF_TRA_TRANSACTION_MGR.
       LO_CI_SERVICE_MANAGER = /BOBF/CL_TRA_SERV_MGR_FACTORY=>GET_SERVICE_MANAGER( IV_BO_KEY = ZIF_BO_TEST_PO_C=>SC_BO_KEY ).
       LO_TRANSACTION_MANAGER = /BOBF/CL_TRA_TRANS_MGR_FACTORY=>GET_TRANSACTION_MANAGER( ).
    CREATE DATA LR_DATA.
    LR_DATA->KEY = LO_CI_SERVICE_MANAGER->GET_NEW_KEY( ).
    LR_DATA->ROOT_KEY   = IS_CTX-ROOT_NODE_KEY.
    LR_DATA->PIPO_MAT_ID = '100100'.
    LR_DATA->PIPO_MAT_DESC = 'MATERIAL'.
    LR_DATA->PIPO_SPRAS = 'E'.
    LR_DATA->PIPO_MATL_TYPE = 'ZPMI'.
    LR_DATA->PIPO_MATL_GROUP = 'ZKK'.
         DATA lt_mod      TYPE /bobf/t_frw_modification.
         DATA lo_change   TYPE REF TO /bobf/if_tra_change.
         DATA lo_message  TYPE REF TO /bobf/if_frw_message.
         FIELD-SYMBOLS: <ls_mod> LIKE LINE OF lt_mod.
        APPEND INITIAL LINE TO lt_mod ASSIGNING <ls_mod> .
        <ls_mod>-node        =   ZIF_BO_TEST_PO_C=>sc_node-ROOT.
        <ls_mod>-change_mode = /bobf/if_frw_c=>sc_modify_create.
        <ls_mod>-key         = LR_DATA->KEY.
        <ls_mod>-data        = LR_DATA.
    DATA : LT_CHG_FIELDS TYPE /BOBF/T_FRW_NAME.
    DATA : LS_CHG_FIELDS LIKE LINE OF LT_CHG_FIELDS.
    DATA : LV_KEY TYPE /BOBF/CONF_KEY.
    CALL METHOD IO_MODIFY->CREATE
       EXPORTING
         IV_NODE            = ZIF_BO_TEST_PO_C=>sc_node-ROOT
         IV_KEY             = LR_DATA->KEY
         IS_DATA            = LR_DATA
         IV_ROOT_KEY        = IS_CTX-ROOT_NODE_KEY
       IMPORTING
         EV_KEY             = LV_KEY .
    CREATE DATA LR_SEARCH_RES.
    LR_SEARCH_RES->KEY           = LO_CI_SERVICE_MANAGER->GET_NEW_KEY( )..
    LR_SEARCH_RES->PARENT_KEY    = LV_KEY.
    LR_SEARCH_RES->ROOT_KEY    = LV_KEY.
    LR_SEARCH_RES->MATNR    = '123'.
    LR_SEARCH_RES->ERSDA    = SY-DATUM.
    LR_SEARCH_RES->ERNAM    = SY-UNAME.
    **LR_SEARCH_RES->LAEDA    = .
    **LR_SEARCH_RES->AENAM    = .
    **LR_SEARCH_RES->VPSTA    = .
    *LR_SEARCH_RES->LVORM    = .
    LR_SEARCH_RES->MTART    = 'ZPI'.
    LR_SEARCH_RES->MBRSH    = 'ZTP' .
    LR_SEARCH_RES->MATKL    = 'MAT'.
    **LR_SEARCH_RES->BISMT    = ''
    **LR_SEARCH_RES->MEINS    =
    CALL METHOD io_modify->create
               EXPORTING
                 iv_node            = ZIF_BO_TEST_PO_C=>sc_node-MNR_SEARCH_RESULT
                 is_data            = LR_SEARCH_RES
                 iv_assoc_key       = ZIF_BO_TEST_PO_C=>sc_association-root-MNR_SEARCH_RESULT
                 iv_source_node_key = ZIF_BO_TEST_PO_C=>sc_node-root
                 iv_source_key      = LV_KEY
                 iv_root_key        = LV_KEY.
    I am Unable to set data to the Node . I did not get any error message or Dump while executing . when i tried to retrive data I got the details from the node but am unable to view those details in the FBI UI and BOBT UI while testing .
    Please provide your valuable Suggestions.
    Thanks in Adv.
    Thanks ,
    Kranthi Kumar M.

    Hi Kranthi,
    For your requirement you need only two nodes. Root Node and Result node. Use the same structure for both.
    To create Instance while search.
    Create Query method with input type which has the required fields for selection criteria.
    Fetch the data and create instance in the root node.
    Pass the new instance key as exporting parameter form Query Method.
    To Move data from ROOT to Result.
    Create a action at root node.
    Write a code to create new entries in Result node.
    Then configure the Search UIBB and display result in List UIBB. Add button and assign the action MOVE_MAT_2_RESULT.
    Create another List uibb to display data from Result node.
    Connect the UIBBs using wire schema. SEARCH -> LIST(ROOT) ---> LIST(RESULT).
    Give src node association for ROOT to RESULT Configuration.
    Regards,
    Sunil

  • Error creating instances in Business Process Workspace

    i have the following error:
    oracle.bpm.web.exception.WapiOperationException: Error creating instance for target process Serv_M/Proj_V!76.0*/EV.
    Caused by: BPM-70204
    Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process Serv_M/Proj_V!76.0*/EV.
    exception.70204.fix: Verify server log to find the problem cause.
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1036_WLStub.createProcessInstanceTask(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy413.createProcessInstanceTask(Unknown Source)
    at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
    ... 101 more
    Caused by: ORABPEL-02023
    Cannot activate block.
    failure to activate the block "EV" for the instance "30037"; exception reported is: .
    This error contained the exceptions thrown by the underlying routing system.
    Contact Oracle Support Services. Provide the error message, the composite source and the exception trace in the log files (with logging level set to debug mode).
    Help me please!
    Regards

    Hi Chris
    If you are trying to create a LOV and use that as a parameter, then you need to create LOV as Dynamic Cascading values. Once created then you can use that LOV in the Crystal Reports.    
    This is the best way to get dynamic cascading prompts in Crystal reports.
    Please refer to Business View Admin guide for more information.
    Hope this helps!!
    Regards
    Sourashree

  • Error Installing OFM 11.1.1.1 Creating Instance AS

    HI.
    I have a problem installing OFM11g 11.1.1.1 in Windows XP 32 bits.
    The problem is that in the step 12 of 13, when is "Creating instance AS", the installation crash.
    In the log file, the error is:
    opmnctl start: opmn failed to start.
    "C:\Oracle\Middleware\as_1\opmn\bin\opmn.exe" -M: unexpected exit: code 0
    java.lang.Exception: oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:218)
         at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:126)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:82)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:876)
         at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:214)
         ... 12 more
    Caused by: oracle.as.provisioning.engine.CfgWorkflowException
         at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:175)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:114)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:521)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:437)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:870)
         ... 13 more
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error al crear la instancia de AS asinst_1.
    Cause:
    Fallo en la operación interna: Error in starting opmn server
    Operation aborted because of a system call failure or internal error
    Action:
    Consulte los logs para obtener más información.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:306)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:163)
         ... 17 more
    Caused by: oracle.as.management.opmn.optic.OpticException: Error in starting opmn server
    Operation aborted because of a system call failure or internal error
         at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:255)
         at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:251)
         ... 18 more
    progress in calculate progress4
    I don´t any idea what is the problem.
    Thanks.

    Hi Adama,
    you can check the install log first (under Program Files\Oracle\Inventory\Logs) ,If log file appears "PermGen space" error ,then you try to change MEM_ARGS to -Xms512m unger \MidXXX\wlserver_10.3\common\bin\CommEnv.cmd
    Good Luck
    Allen

  • Menus created using manual won't link to other Pages

    Created a site and had a menu created using manual which was linked to sub pages within the site. The menu was for specific pages not requiring access from the sites top level menu.
    The menu was working but now it is not possible to edit or replace the menu as there does not seem to be any way of adding the link to the required page. The dropdown box to the side of hyperlink stays greyed out and can't be accessed. This is only happening to links added using the menu widget under manual, ordinary text links seem to be OK.

    Welcome to the Apple Discussions. Confirm that there are no objects overlaying the navbar. How did you change the background, from the Inspector/Page/Layout pane?
    Happy New Year

  • Using Class and Constructor to create instances on the fly

    hi,
    i want to be able to create instances of classes as specified by the user of my application. i hold the class names as String objects in a LinkedList, check to see if the named class exists and then try and create an instance of it as follows.
    the problem im having is that the classes i want to create are held in a directory lower down the directory hierarchy than where the i called this code from.
    ie. the classes are held in "eccs/model/behaviours" but the VM looks for them in the eccs directory.
    i cannot move the desired classes to this folder for other reasons and if i try to give the Path name to Class.forName() it will not find them. instead i think it looks for a class called "eccs/model/behaviours/x" in the eccs dir and not navigate to the eccs/model/behaviours dir for the class x.
    any ideas please? heres my code for ye to look at in case im not making any sense:)
    //iterator is the Iterator of the LinkedList that holds all the names of the
    //classes we want to create.
    //while there is another element in the list.
    while(iterator.hasNext())
    //get the name of the class to create from the list.
    String className = (String) iterator.next();
    //check to see if the file exists.
    if(!doesFileExist(className))
    System.out.println("File cannot be found!");
    //breake the loop and move onto the next element in the list.
    continue;
    //create an empty class.
    Class dynamicClass = Class.forName(className);
    //get the default constructor of the class.
    Constructor constructor = dynamicClass.getConstructor(new Class[] {});
    //create an instance of the desired class.
    Behaviour beh = (Behaviour) constructor.newInstance(new Object[] {});
    private boolean doesFileExist(String fileName)
    //append .class to the file name.
    fileName += ".class";
    //get the file.
    File file = new File(fileName);
    //check if it exists.
    if(file.exists())
    return true;
    else
    return false;
    }

    ok ive changed it now to "eccs.model.behaviours" and it seems to work:) many thanks!!!
    by the following you mean that instead of using the method "doesFileExist(fileName)" i just catch the exception and throw it to something like the System.out.println() ?
    Why don't you simply try to call Class.forName() and catch the exception if it doesn't exist? Because as soon as you package up your class files in a jar file (which you should) your approach won't work at all.i dont think il be creating a JAR file as i want the user to be able to create his/her own classes and add them to the directory to be used in the application. is this the correct way to do this??
    again many thanks for ye're help:)

Maybe you are looking for

  • Fastest square root algorithm

    I was looking for a fast algorythm for integer square roots and I found this one http://medialab.freaknet.org/martin/src/sqrt/. The algorithm comes from a book by Mr C. Woo on how to do maths on an abacus. I post the javaized version here in case any

  • Unable to install Flash 10.0.2 update on Windows 7

    Hi to all, Recently I installed a fresh copy of Windows 7 32 bit on my HP laptop, and installed all the CS4 applications of Design Premium. The installation went fine, and almost all the updates (Photoshop  11.0.1, InDesign 6.0.4, etc..) installed wi

  • Personal Oracle 8i & D2K Rel 1.3.2

    I have installed Personal Oracle 8i Ver 8.1.7 & D2K Release 1.3.2. When I try to connect Forms/Reports/SQL the following error appears: ERROR: ORA-09352: Windows 32 bit Two-Task driver unable to spawn new Oracle task Please help. P. A. RAFEEQ [email 

  • Blue screen freeze at start up desparate dad pleads for help..

    It's been a longgg time... My kids use my old G4 AGP "Sawtooth" with a CPU upgrade and a SATA card for it's hard drive. I have 10.4.11 installed. Of course, my daughter has her homework and other data on teh hard drive without backup... (yeah, I know

  • Need help linking old Apple ID to new iCloud account.

    I recently closed my iCloud account, which was the same email address for my Apple ID for personal reasons.  I was forced to use a new email to open a new iCloud account.  Now I cannot link the two because when I try to add my original Apple ID email