Install scripts for Oracle

Hello,
I'm having trouble getting the mybuybeans example to work with WLCS
2.0.1 and my Oracle 8.1.6 database. I created a user and then ran the
script to create the tables. The install documentation said to have the
server down while running DataLoader.bat. The first part (Loading Rules)
ran fine, but the next two (Loading Shipping Methods and Items) didn't
work because the server wasn't running. So I started the server and then
Shipping Methods worked but Items failed loading HJJ-001.
I can't come up with a username/password combination that gets me in to
the demo, but I can see three users in the Oracle WLCS_USER table (demo,
acme, visitor).
What am I missing?
How can I hand off my portal and portlet definitions to a separate QA
group if they are stored in Oracle tables? Is there a handy utility to
save them in a format that is easy to reload?
Thanks,
Leila

You were using an older version of the documentation with a typo. The
latest WLCS 2.0.1 documentation is at
http://e-docs.bea.com/wlcs/install/config.htm#1027241
In this section, you will see that the server is supposed to be running when
you run DataLoader.bat:
6.Populate the remainder of the tables by performing the following steps:
a.Start WebLogic Server.
b.Run DataLoader.bat (<install-dir>\bin\win32 for NT) or DataLoader.sh (<install-dir>/bin/solaris2 for UNIX systems) from the
appropriate directory to populate the tables.
c.Restart WebLogic Server.
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com
[att1.html]

Similar Messages

  • 10g Install Scripts for OS X

    Does anyone have a set of GOOD install scripts for 10g on OS X? I'm in the process of TRYING to install it and am moving incredibly slow. I've spent 99% of my time editing their files just to change the paths for various UNIX commands and scripts.
    Thanx,
    Fred

    While I don't have any install scripts per se, you may want to check out the Oracle 10g Installation Errata Information and Tools page ( see http://www.crispdata.com/oracle_osx/ ), posted by Crisp Data Solutions.
    This site lists some tips for installing Oracle 10g on Mac OS X.
    -- DekuDeku

  • Error in Installing RCU for Oracle Webcenter Content Imaging

    Hi,
    I am comming across this error while installing RCU for Oracle Webcenter Imaging with Mircosoft SQL 2005 as the backend database. I am pasting the IPM.log file below which shows the error during the installation. Please help me from this.
    JDBC SQLException - ErrorCode: 102SQLState:HY000 Message: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'Rem'.
    Error encountered executing SQL statement  FileName: 'D:\Oracle\middleware\RepositoryCreationUtility\rcuHome\\rcu\integration\\ipm\sql\createschema_ipm_sqlserver.sql' LineNumber: '18'
    SQL Statement: [execute as login = '$(SCHEMA_USER)'
    Rem Copyright (c) 2007, 2013, Oracle and/or its affiliates.
    Rem All rights reserved.
    CREATE TABLE DEFINITION (DEFINITION_ID NUMERIC(19) NOT NULL, DEFINITION_VERSION NUMERIC(19) NOT NULL, DEFINITION_TYPE $(RCU_VARCHAR)(16) NULL, DESCRIPTION $(RCU_VARCHAR)(1000) NULL, NAME $(RCU_VARCHAR)(200) NULL, PRIMARY KEY (DEFINITION_ID, DEFINITION_VERSION));
    CREATE TABLE DEFINITION_SECURITY (RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, DEFINITION_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, DEFINITION_VERSION NUMERIC(19) NOT NULL, CAN_DELETE SMALLINT NULL, CAN_GRANTACCESS SMALLINT NULL, CAN_MANAGE SMALLINT NULL, CAN_MODIFY SMALLINT NULL, CAN_VIEW SMALLINT NULL, PRIMARY KEY (RID, DEFINITION_ID, DEFINITION_VERSION));
    CREATE TABLE AUDIT_HISTORY (AUDITID NUMERIC(19) NOT NULL, AUDIT_DATE DATETIME NULL, PARAM1 $(RCU_VARCHAR)(255) NULL, PARAM2 $(RCU_VARCHAR)(255) NULL, SUBJECTID NUMERIC(19) NULL, AUDIT_TYPE $(RCU_VARCHAR)(32) NULL, USERNAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (AUDITID));
    CREATE TABLE APP_PROPERTIES (FASTCHECKIN BIT default 0 NULL, FULLTEXTSEARCH BIT default 0 NULL, APP_ID NUMERIC(19) NOT NULL, NEXTFIELDID NUMERIC(19) NULL, APP_VERSION NUMERIC(19) NOT NULL, REPOSITORY_ID NUMERIC(19) NULL, REPOSITORY_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_FIELDDEFINITION (FIELD_ID NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NOT NULL, INDEXED BIT default 0 NULL, LENGTH INTEGER NULL, NAME $(RCU_VARCHAR)(50) NULL, REQUIRED BIT default 0 NULL, SCALE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, APP_VERSION NUMERIC(19) NOT NULL, DEFAULTVALUE_TYPE $(RCU_VARCHAR)(255) NULL, DEFAULTVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (FIELD_ID, APP_ID, APP_VERSION));
    CREATE TABLE APP_PICKLIST (PICKLIST_ID NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NOT NULL, FIELD_ID NUMERIC(19) NOT NULL, APP_VERSION NUMERIC(19) NOT NULL, ITEMVALUE_TYPE $(RCU_VARCHAR)(255) NULL, ITEMVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PICKLIST_ID, APP_ID, FIELD_ID, APP_VERSION));
    CREATE TABLE APP_LIFECYCLEPOLICY (APP_ID NUMERIC(19) NOT NULL, RETENTIONPOLICY $(RCU_VARCHAR)(255) NULL, VOLUME_NAME $(RCU_VARCHAR)(200) NULL, APP_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_BPELCONFIG (COMPOSITE $(RCU_VARCHAR)(255) NULL, ENABLED BIT default 0 NULL, APP_ID NUMERIC(19) NOT NULL, SERVICE_OPERATION $(RCU_VARCHAR)(255) NULL, SERVICE $(RCU_VARCHAR)(255) NULL, APP_VERSION NUMERIC(19) NOT NULL, CONNECTION_ID NUMERIC(19) NULL, CONNECTION_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APP_ID, APP_VERSION));
    CREATE TABLE APP_BPELPAYLOADITEM (PAYLOAD_KEY $(RCU_VARCHAR)(255) NOT NULL, APP_ID NUMERIC(19) NOT NULL, MAPPINGFUNCTION $(RCU_VARCHAR)(32) NULL, PAYLOAD_VALUE $(RCU_VARCHAR)(255) NULL, APP_VERSION NUMERIC(19) NOT NULL, XMLTYPE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PAYLOAD_KEY, APP_ID, APP_VERSION));
    CREATE TABLE APP_STORAGESTAGE (SEQNUM NUMERIC(19) NOT NULL, DURATION INTEGER NULL, DURATIONUNIT $(RCU_VARCHAR)(8) NULL, APP_ID NUMERIC(19) NOT NULL, INDEFINITE BIT default 0 NULL, APP_VERSION NUMERIC(19) NOT NULL, VOLUME_NAME $(RCU_VARCHAR)(200) NULL, PRIMARY KEY (SEQNUM, APP_ID, APP_VERSION));
    CREATE TABLE DOCUMENT_SECURITY (RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, APP_VERSION NUMERIC(19) NOT NULL, CAN_ANNOTHIDDEN SMALLINT NULL, CAN_ANNOTRESTRICTED SMALLINT NULL, CAN_ANNOTSTANDARD SMALLINT NULL, CAN_DELETE SMALLINT NULL, CAN_GRANTACCESS SMALLINT NULL, CAN_LOCKADMINISTRATOR SMALLINT NULL, CAN_VIEW SMALLINT NULL, CAN_WRITE SMALLINT NULL, PRIMARY KEY (RID, APP_ID, APP_VERSION));
    CREATE TABLE INPUT_PROPERTIES (INPUT_ID NUMERIC(19) NOT NULL, ON_LINE BIT default 0 NULL, PRIORITY INTEGER NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_MAPPINGS (INPUT_ID NUMERIC(19) NOT NULL, FILEINPUTSECTION $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_FIELDMAP (SEQNUM NUMERIC(19) NOT NULL, DATEFORMAT $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NOT NULL, INPUTSECTION $(RCU_VARCHAR)(255) NULL, USEDEFAULT BIT default 0 NULL, INPUT_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (SEQNUM, INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_SOURCEPROPERTIES (DATASAMPLE $(RCU_VARCHAR)(255) NULL, DATASOURCE $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NOT NULL, INPUTSOURCE $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (INPUT_ID, INPUT_VERSION));
    CREATE TABLE INPUT_SOURCESETTING (SETTING_KEY $(RCU_VARCHAR)(255) NOT NULL, INPUT_ID NUMERIC(19) NOT NULL, SETTING_VALUE $(RCU_VARCHAR)(255) NULL, INPUT_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (SETTING_KEY, INPUT_ID, INPUT_VERSION));
    CREATE TABLE SEARCH_PARAMETER (PARAMETER_ID NUMERIC(19) NOT NULL, DEFAULTOPERATOR INTEGER NULL, SEARCH_ID NUMERIC(19) NOT NULL, NAME $(RCU_VARCHAR)(255) NULL, OPERATORTEXT $(RCU_VARCHAR)(255) NULL, PICKLISTAPPLICATIONID NUMERIC(19) NULL, PICKLISTFIELDID NUMERIC(19) NULL, PROMPT $(RCU_VARCHAR)(255) NULL, READONLY BIT default 0 NULL, REQUIRED BIT default 0 NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, SEARCHVALUETYPE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, FIELD_VALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_POSSIBLEOPERATOR (OPERATOR_ID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, OPERATOR INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PARAMETER_ID NUMERIC(19) NULL, PRIMARY KEY (OPERATOR_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_RESULTCOLUMN (RESULT_COLUMN_ID NUMERIC(19) NOT NULL, COLUMNTITLE $(RCU_VARCHAR)(255) NULL, SEARCH_ID NUMERIC(19) NOT NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_SELECTEDFIELD (SELECTEDFIELDID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, PERSISTEDAPPLICATIONID NUMERIC(19) NULL, PERSISTEDFIELDID NUMERIC(19) NULL, PROPERTY INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, RESULT_COLUMN_ID NUMERIC(19) NULL, PRIMARY KEY (SELECTEDFIELDID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_PROPERTIES (SEARCHPROPERTIESID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, MAXROWS INTEGER NULL, ON_LINE BIT default 0 NULL, SEARCHINSTRUCTIONS $(RCU_VARCHAR)(1000) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (SEARCHPROPERTIESID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_NODE (SEARCHNODEID NUMERIC(19) NOT NULL, DTYPE $(RCU_VARCHAR)(31) NULL, ALWAYSDISPLAYPARENTHESES BIT default 0 NULL, SEARCH_ID NUMERIC(19) NOT NULL, LEFTID NUMERIC(19) NULL, RIGHTID NUMERIC(19) NULL, SEARCHOPERATOR INTEGER NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, PARAMETERNAME $(RCU_VARCHAR)(255) NULL, PROPERTY INTEGER NULL, FIELD_ID NUMERIC(19) NULL, FIELD_NAME $(RCU_VARCHAR)(255) NULL, SEARCHVALUETYPE INTEGER NULL, FIELD_TYPE $(RCU_VARCHAR)(8) NULL, FIELD_VALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (SEARCHNODEID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_APP_EXPR (APPLICATIONEXPRESSIONID NUMERIC(19) NOT NULL, SEARCH_ID NUMERIC(19) NOT NULL, ROOTID NUMERIC(19) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APPLICATIONEXPRESSIONID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE SEARCH_APP_ITEM (APPITEMID NUMERIC(19) NOT NULL, FIELDDECIMAL BIT default 0 NULL, FIELDSCALE INTEGER NULL, SEARCH_ID NUMERIC(19) NOT NULL, REPOSITORYDOCUMENTID $(RCU_VARCHAR)(255) NULL, REPOSITORYFIELDID $(RCU_VARCHAR)(255) NULL, SEARCH_VERSION NUMERIC(19) NOT NULL, APPLICATION_ID NUMERIC(19) NULL, APPLICATION_NAME $(RCU_VARCHAR)(255) NULL, FIELD_ID NUMERIC(19) NULL, FIELD_NAME $(RCU_VARCHAR)(255) NULL, SOURCE_ID NUMERIC(19) NULL, SOURCE_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (APPITEMID, SEARCH_ID, SEARCH_VERSION));
    CREATE TABLE PREFERENCES (CONTEXT $(RCU_VARCHAR)(255) NOT NULL, USERGUID $(RCU_VARCHAR)(255) NOT NULL, SETTING $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (CONTEXT, USERGUID));
    CREATE TABLE SYSTEM_SECURITY (SYSTEMAREA $(RCU_VARCHAR)(16) NOT NULL, RID NUMERIC(19) NOT NULL, GUID $(RCU_VARCHAR)(255) NULL, NAME $(RCU_VARCHAR)(255) NULL, SECURITYMEMBER_TYPE $(RCU_VARCHAR)(8) NULL, CAN_ADMINISTOR SMALLINT NULL, CAN_CREATE SMALLINT NULL, PRIMARY KEY (SYSTEMAREA, RID));
    CREATE TABLE BATCH (BATCHID NUMERIC(19) NOT NULL, CREATEDBYPROCESS $(RCU_VARCHAR)(255) NULL, CURRENTSTATE $(RCU_VARCHAR)(255) NULL, ENDTIME DATETIME NULL, FAILEDDOCCOUNT INTEGER NULL, SOURCENAME $(RCU_VARCHAR)(255) NULL, SOURCETIME DATETIME NULL, STARTTIME DATETIME NULL, SUCCESSFULDOCCOUNT INTEGER NULL, INPUT_ID NUMERIC(19) NULL, INPUT_NAME $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (BATCHID));
    CREATE TABLE TICKETS (TICKET_ID $(RCU_VARCHAR)(255) NOT NULL, EXPIRATION DATETIME NULL, SINGLEUSE BIT default 0 NULL, TICKETEXPIRES BIT default 0 NULL, PRIMARY KEY (TICKET_ID));
    CREATE TABLE TICKETPARAMETERS (ID INTEGER NOT NULL, PARAMETERNAME $(RCU_VARCHAR)(255) NULL, PARAMETERVALUE $(RCU_VARCHAR)(255) NULL, PARAM_TICKET_ID $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (ID));
    CREATE TABLE CONNECTION_PROPERTIES (CONNECTION_TYPE $(RCU_VARCHAR)(255) NULL, CONNECTION_ID NUMERIC(19) NOT NULL, CONNECTION_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (CONNECTION_ID, CONNECTION_VERSION));
    CREATE TABLE CONNECTION_DETAILS (DETAILKEY $(RCU_VARCHAR)(255) NOT NULL, DETAILVALUE $(RCU_VARCHAR)(255) NULL, CONNECTION_ID NUMERIC(19) NOT NULL, CONNECTION_VERSION NUMERIC(19) NOT NULL, PRIMARY KEY (DETAILKEY, CONNECTION_ID, CONNECTION_VERSION));
    CREATE TABLE REPOSITORY_APPCONTEXT (APP_ID NUMERIC(19) NOT NULL, PRIMARY KEY (APP_ID));
    CREATE TABLE REPOSITORY_APPDETAILS (DETAILKEY $(RCU_VARCHAR)(255) NOT NULL, APP_ID NUMERIC(19) NOT NULL, DETAILVALUE $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (DETAILKEY, APP_ID));
    CREATE TABLE FILINGSTATE (ID INTEGER NOT NULL, BATCHID NUMERIC(19) NULL, DOCUMENTNUMBER NUMERIC(19) NULL, GOODDOCCOUNT NUMERIC(19) NULL, INPUTSOURCENAME $(RCU_VARCHAR)(255) NULL, JOBDATASOURCE $(RCU_VARCHAR)(255) NULL, APP_ID NUMERIC(19) NULL, APP_NAME $(RCU_VARCHAR)(255) NULL, INPUT_ID NUMERIC(19) NULL, INPUT_NAME $(RCU_VARCHAR)(255) NULL, PRIMARY KEY (ID));
    CREATE TABLE BPEL_FAULT_DATA (DOCID $(RCU_VARCHAR)(40) NOT NULL, APPID NUMERIC(19) NULL, BATCHID NUMERIC(19) NULL, FAULTDATE DATETIME NULL, FAULTMESSAGE $(RCU_VARCHAR)(1000) NULL, PRIMARY KEY (DOCID));
    ALTER TABLE DEFINITION_SECURITY ADD CONSTRAINT DFNTONSECURITYDFNTONID FOREIGN KEY (DEFINITION_ID, DEFINITION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_PROPERTIES ADD CONSTRAINT APP_PROPERTIES_APP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_FIELDDEFINITION ADD CONSTRAINT PPFIELDDEFINITIONAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_PICKLIST ADD CONSTRAINT APP_PICKLIST_FIELD_ID FOREIGN KEY (FIELD_ID, APP_ID, APP_VERSION) REFERENCES APP_FIELDDEFINITION (FIELD_ID, APP_ID, APP_VERSION);
    ALTER TABLE APP_LIFECYCLEPOLICY ADD CONSTRAINT PPLIFECYCLEPOLICYAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_BPELCONFIG ADD CONSTRAINT APP_BPELCONFIG_APP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE APP_BPELPAYLOADITEM ADD CONSTRAINT PPBPELPAYLOADITEMAPPID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES APP_BPELCONFIG (APP_ID, APP_VERSION);
    ALTER TABLE APP_STORAGESTAGE ADD CONSTRAINT APP_STORAGESTAGEAPP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES APP_LIFECYCLEPOLICY (APP_ID, APP_VERSION);
    ALTER TABLE DOCUMENT_SECURITY ADD CONSTRAINT DOCUMENTSECURITYAPP_ID FOREIGN KEY (APP_ID, APP_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_PROPERTIES ADD CONSTRAINT INPUTPROPERTIESINPUTID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_MAPPINGS ADD CONSTRAINT INPUT_MAPPINGSINPUT_ID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_FIELDMAP ADD CONSTRAINT INPUT_FIELDMAPINPUT_ID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES INPUT_MAPPINGS (INPUT_ID, INPUT_VERSION);
    ALTER TABLE INPUT_SOURCEPROPERTIES ADD CONSTRAINT NPTSURCEPROPERTIESNPTD FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE INPUT_SOURCESETTING ADD CONSTRAINT NPTSOURCESETTINGNPUTID FOREIGN KEY (INPUT_ID, INPUT_VERSION) REFERENCES INPUT_SOURCEPROPERTIES (INPUT_ID, INPUT_VERSION);
    ALTER TABLE SEARCH_PARAMETER ADD CONSTRAINT SARCHPARAMETERSEARCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_POSSIBLEOPERATOR ADD CONSTRAINT SRCHPSSBLPERATORPRMTRD FOREIGN KEY (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION) REFERENCES SEARCH_PARAMETER (PARAMETER_ID, SEARCH_ID, SEARCH_VERSION);
    ALTER TABLE SEARCH_RESULTCOLUMN ADD CONSTRAINT SRCHRESULTCOLUMNSRCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_SELECTEDFIELD ADD CONSTRAINT SRCHSLCTDFELDRSLTCLMND FOREIGN KEY (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION) REFERENCES SEARCH_RESULTCOLUMN (RESULT_COLUMN_ID, SEARCH_ID, SEARCH_VERSION);
    ALTER TABLE SEARCH_PROPERTIES ADD CONSTRAINT SARCHPROPERTIESSARCHID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_NODE ADD CONSTRAINT SEARCH_NODE_SEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_APP_EXPR ADD CONSTRAINT SEARCHAPPEXPRSEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE SEARCH_APP_ITEM ADD CONSTRAINT SEARCHAPPITEMSEARCH_ID FOREIGN KEY (SEARCH_ID, SEARCH_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE TICKETPARAMETERS ADD CONSTRAINT TCKTPRMETERSPRMTCKETID FOREIGN KEY (PARAM_TICKET_ID) REFERENCES TICKETS (TICKET_ID);
    ALTER TABLE CONNECTION_PROPERTIES ADD CONSTRAINT CNNCTNPRPERTIESCNNCTND FOREIGN KEY (CONNECTION_ID, CONNECTION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE CONNECTION_DETAILS ADD CONSTRAINT CNNCTNDETAILSCNNCTONID FOREIGN KEY (CONNECTION_ID, CONNECTION_VERSION) REFERENCES DEFINITION (DEFINITION_ID, DEFINITION_VERSION);
    ALTER TABLE REPOSITORY_APPDETAILS ADD CONSTRAINT RPSITORYAPPDETAILSPPID FOREIGN KEY (APP_ID) REFERENCES REPOSITORY_APPCONTEXT (APP_ID);
    CREATE TABLE SEQUENCE (SEQ_NAME $(RCU_VARCHAR)(50) NOT NULL, SEQ_COUNT NUMERIC(28) NULL, PRIMARY KEY (SEQ_NAME));
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_SECURITY', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_BATCH', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_FILINGSTATE', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_NAMEID', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_TICKET_PARAM', 0);
    INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_AUDIT', 0);
    revert
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Incorrect syntax near 'Rem'.
    Thanks,
    Kumar G

    Hi,
    I just had this messages yesterday during my install.
    You have to update those 2 files:
    <RCU Home>\rcu\integration\ipm\sql\createtables_ipm_sqlserver.sql
    <RCU Home>\rcu\integration\ipm\sql\createuser_ipm_sqlserver.sql
    The first 2 lines begin with "Rem ..." which is not correct for SQL Server : I added "--" and it worked.
    Regards,
    Guénaël

  • Oracle SQL template to create re-usable DDL/DML Scripts for Oracle database

    Hi,
    I have a requirement to put together a Oracle SQL template to create re-usable DDL/DML Scripts for Oracle databases.
    Only the Oracle DBA will be running the scripts so permissions is not an issue.
    The workflow for any DDL is as follows:-
    1) New Table
    a. Check if the table exists from the system/admin views.
    b. If table exists then give message "Table Exists"
    c. If table does not exist then execute DDL code
    2) Add Column
    a. Check if Column exists for a given table from system/admin views
    b. If column exists in the specified table,
    b1. backup table.
    b2. alter table to make changes to the column
    b3. verify data or execute dml script convert from backup to the new change.
    c. If Column does not exist
    c1. backup table
    c2. alter table to add column
    c3. execute dml to populate column with default value.
    The DML scripts are for populating base tables with data required for business operations.
    3) Add new row
    a. check if row exists by comparing old values of each column with new values to be added for the new record.
    b. If exists, give message row exists
    c. If not exists, add new record.
    4) Update existing record (We have createtime columns in these tables so changes can be tracked)
    a. check if row exists using primary key.
    b. If exists,
    b1. deactivate the record using the "active" column of the table
    b2. Add new record with the changes required.
    c. If does not exist, add new record with the changes required.
    Could you please help with some ideas which can get this done accurately?
    I have tried several ways, but I am not able to put together something that fulfills all requirements.
    Thank you,

    First let me address your question. (This is the easy part.)
    1. The existence of tables can be found in DBA_TABLES. Query it and and then use conditional logic and execute immediate to process the DDL.
    2. The existence of table columns is found in DBA_TAB_COLUMNS. Query it and then conditionally execute your DDL. You can copy the "before picture" of the table using that same dba view, or even better, use DBMS_METADATA.
    As for your DML scripts, they should be restartable, reversible, and re-run-able. They should "fail gracefully" on error, be written in such a way that they can run twice in a row without creating duplicate changes.
    3. Adding appropriate constraints can prevent invalid duplicate rows. Also, you can usually add to the where clause so that the DML does only what it needs to do without even relying on the constraint (but the constraint is there as a safeguard). Look up the MERGE statement to learn how to do an UPSERT (update/insert), which will let you conditionally "deactivate" (update) or insert a record. Anything that you cannot do in SQL can be done with simple procedural code.
    Now, to the heart of the matter...
    You think I did not understand your requirements?
    Please be respectful of people's comments. Many of us are professionals with decades of experience working with databases and Oracle technology. We volunteer our valuable time and knowledge here for free. It is extremely common for someone to post what they feel is an easy SQL or PL/SQL question without stating the real goal--the business objective. Experienced people will spot that the "wrong question" has been asked, and then cut to the chase.
    We have some good questions for you. Not questions we need answers from, but questions you need to ask yourself and your team. You need to reexamine this post and deduce what those questions are. But I'll give you some hints: Why do you need to do what you are asking? And will this construct you are asking for even solve the root cause of your problems?
    Then ponder the following quotations about asking the right question:
    Good questions outrank easy answers.
    — Paul Samuelson
    The only interesting answers are those which destroy the questions.
    — Susan Sontag
    The scientific mind does not so much provide the right answers as ask the right questions.
    — Claude Levi-Strauss
    You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.
    — Mahfouz Naguib
    One hears only those questions for which one is able to find answers.
    — Friedrich Nietzsche
    Be patient towards all that is unresolved in your heart and try to love the questions themselves.
    — Rainer Maria Rilke
    What people think of as the moment of discovery is really the discovery of the question.
    — Jonas Salk
    Judge a man by his questions rather than his answers.
    — Voltaire
    The ability to ask the right question is more than half the battle of finding the answer.
    — Thomas J. Watson

  • Test scripts for oracle applications using qtp testing tool

    hi
    i want some test scripts for oracle applications using qtp testing tool
    regards

    You will need to create separate scripts for Load testing. The functional scripts cannot be used in OLT. The exceptions to this would be the "General" items (Java Code Script & Web Services) which can also be used in OLT.
    e.g. Instead of selecting "Functional Testing - Oracle EBS/Forms"
    select "Load Testing (Protocol Automation) - Oracle EBS/Forms"
    Once you get into load testing you'll realise that you want to create very specific scripts and won't want to try re-using functional scripts. I know a lot of such tools are 'sold' on the fact that functional scripts can be re-used for load, but when it comes down to it you'll want to design your load scripts seperately anyway!

  • Installing support for Oracle Designer Objects in an existing repository

    We have been using SCM to store Forms and other files
    for our development work.
    Now I want to use Repository Reports in the Repository
    Object Navigator, this requires me to install support
    for Oracle Designer Objects.
    Can I use the Repository Administration Utility and
    Install support for Oracle Designer Objects
    without effecting the existing repository data?
    (I've tried metalink but keep getting TCP Error
    while logging the TAR).
    Cheers
    Sam

    How can i install oracle designer and prepare the repository at first on my personal my pc

  • Error while installing SSMA for Oracle Extension Pack 5.3

    When installing the database utilities portion of the SSMA for Oracle Extension Pack 5.3 setup, the error below occurs.
    Invalid connection (CREATE ASSEMBLY failed because it could not open the physical file "C:\Microsoft SQL Server Migration Assistant for Oracle Extension Pack\bin\ext\SSMA4OracleSQLServerCollections.NET.dll": 3(The system cannot find the path specified.).)
    It appears that the installer is using the path: "C:\Program Files\Microsoft SQL Server Migration Assistant for Oracle Extension Pack"

    Hi,
    According to your description, this error might be caused by the account you used to install SQL Server Migration Assistant for Oracle Extension Pack. We can troubleshoot this issue as follows:
    Verify the installation file is complete before installing this Extension Pack.
    When you install SSMA for Oracle Extension Pack, we need to make sure you right click the pack and select ‘Run as administrator ’. Also we ensure that your account has Read/Write permission on the bin folder.
    Additionally, before installing SSMA for Oracle Extension Pack, we need to
    make sure that the system meets the following requirements:
    SQL Server 2005 or higher is installed.
    Microsoft  Windows Installer 3.1 or a later version.
    SQL Server Browser service is running.
    For more details, you can review the related links.
    http://www.microsoft.com/en-us/download/details.aspx?id=42655  
    http://msdn.microsoft.com/en-us/library/hh313165(v=sql.110).aspx
    http://blogs.msdn.com/b/ssma/archive/2011/05/12/ssma-5-0-extension-pack-installation-error.aspx
    Thanks                 
    Lydia Zhang    
    &amp;lt;p style=&amp;quot;margin:0cm 0cm 0pt&amp;quot;&amp;gt;&amp;lt;span lang=&amp;quot;EN-US&amp;quot; style=&amp;quot;color:#0070c0; font-family:&amp;#39;Segoe UI &amp;#39;,&amp;#39;sans-serif &amp;#39;;
    font-size:10pt&amp;quot;&amp;gt;Lydia Zhang&amp;lt;br/&amp;gt; TechNet Community Support&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p style=&amp;quot;margin:0cm 0cm 0pt&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blogs.technet.com/b/onescript&amp;quot;
    rel=&amp;quot;nofollow&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;https://xnoegg.bay.livefilestore.com/y1plmwd9pFqoTZWcmr6-bsBuS7hTcNbr8YdT4WL3RRAuhDPVyUUOVchQt3EexNEBj4xYyornsD1kyLmtVqqsDfKv3PEEg9ejQzT/signature.jpg?psid=1&amp;quot;
    alt=&amp;quot;&amp;quot; width=&amp;quot;430&amp;quot; height=&amp;quot;30.2&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;

  • Problem installing ODAC for Oracle Server 11g

    I have installed Oracle Server 11g (OS:Windows XP)
    Questions:
    1. I tried installing ODAC for Oracle Server 11.1.0.6.21, then its giving the following error message: "Oracle data access components can only be installed over an existing oracle server 11g".
    2. We have a Monorail application running on NHibernate using ODP.NET. It's working perfectly when I run it on my Visual Studio 2008.
    But, when I tried to host this application, it gave me the following error message: "The provider is not compatible with the version of Oracle client"
    Please suggest how to resolve these issues.

    Hi
    Could that be related to the %ORACLE_HOME% ?
    I've read that on the ODAC installation guide:
    On a machine without Visual Studio .NET 2003 installed, ODAC products now work if they are installed in a new Oracle Home
    So it should be performed in a new %ORACLE_HOME% and not the same as the database. Please change that and retry.
    Source:
    http://www.oracle.com/technology/software/tech/windows/odpnet/install11106.html
    On your second question :
    Q: I get an error: "Unable to load DLL (OraOps.dll)". How do I fix this?
    A: First, ensure the OraOps.dll file is in your Oracle bin directory (e.g. d:\oracle\ora92\bin\). Next, check that your Oracle bin directory is in the Windows system path. If either of these are not present, re-install ODP.NET. Depending on the application, you may have to restart the application (e.g. Windows Service) or reboot the computer (e.g. ODP.NET install makes changes to the PATH) for ODP.NET installation to be complete. If your ODP.NET installation is still not working, you may be running into this problem.
    Source:
    http://www.oracle.com/technology/tech/windows/odpnet/faq.html#DLL
    Let us know if it helps?
    thanks
    Edited by: Hub on Oct 23, 2008 9:30 PM

  • I have tried to upgrade Painter 11 on my iMac running OS X 10.5.8. I keep getting the error message :- : The following install step failed : run pre install script for Corel Painter11 _ SP1 . Contact the software manufacturer for assistance   " Help pleas

    I have tried to upgrade Painter 11 on my iMac running OS x 10.5.8 but get the error message : The following install step failed : run pre install script for Corel Painter11_SP1. Contact the software manufacturer for assistance "
    I have contacted Corel and after several emails and one telephone call, they tell me , they cannot help but they think the problem could be with the OS.
    Does anyone have any suggestions, please ?

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • Rational Robot Test Scripts for Oracle Application Vanilla Instance

    Hi,
    Does anybody have Rational Robot Test Scripts for Oracle Applications Vanilla Instance. We are in the process of automating testing. But for the same, we need to have the test scripts for the standard functionalities/flows.
    Any help would be highly appreciated.
    kanjurm

    Hi;
    I belive there is no sch a script as you mention. Please log a SR for your request
    Regard
    Helios

  • Shell scripting for oracle DBs

    looking for good source for shell scripting for oracle DBs

    Just buy 'Classic Shell Scripting' and 'the Unix Desktop Reference' both published by O'Reilly and you have it all.
    But if you want a platform agnostic scripting language use Perl. Comes with Oracle.
    However both bash and kornshell are a lot easier compared to Perl.
    Sybrand Bakker
    Senior Oracle DBA

  • Can anybody provide AIX shell script for Oracle Apps R12 instance backup

    Hi
    Can anybody provide AIX shell script for Oracle Apps R12 instance backup? Manually, i am able to backup but i donot have shell script to schedule through crontab.
    Help me please.
    Thanks

    Rman can be used for Database, not for Application tier. Again, I assumed you are looking for a script to backup the database. For the application tier, you can simply do a filesystem backup.
    I still do not understand your concern? Is it about using crontab? If so, then check here --> man crontab <--

  • OIM 9.1.0 install connector for "Oracle Database 10g"

    Hello,
    Is anybody here who succeeded to install the connector for Oracle Database 10g into OIM 9.1.0?
    If yes please give me a hint
    Have a nice day!

    Thanks guys for the quick responses.
    But I have tried both the options for putting the jar in Third Party and also by uploading using the OOTB utility UploadJar.sh.
    But it is giving the same error.
    I have tired rebouncing the server and also Purge cached, but no success.
    Just to mention again, I have tried with all the last 3 postgres JDBC4 driver available on the site (u mentioned).
    So, any other clue?
    Thanks in advance.

  • "Error" in ApEx install scripts for runtime environment?

    I recently installed a runtime ApEx 3.1 on a 10.2.0.1.0 database. After installing an application which uses the Database Account Credentials method for authentication I was unable to login to the application, getting an ERR-10480 message. After some research on this forum I granted ALTER USER to FLOWS_030100 which resolved the issue. So far so good.
    But I was still puzzled as to why the application had worked without problems in a development environment and not in the runtime environment. It took only a few minutes to locate the problem though. In the runtime-install script "apxrtins.sql" there is a call to the "runtime_grant_revoke.sql" script which removes unnecessary DBA system privileges for a runtime environment (which is a good thing IMO). In this script there is also a REVOKE ALTER USER statement, but it seems this one is needed if your application uses the DBACCOUNT authentication method. I didn't find anything on this in the documentation.
    Anyone else notice this as well? I would think this is a bug in the install-scripts but perhaps I'm missing something somewhere?

    Tim,
    Thanks for reporting this. In database server versions earlier than 10.2.0.3, the alter user privilege is required for the "flows" schema to support the feature you mentioned. We'll try to get this fixed in the next patch release.
    Scott

  • Encountering errors when installing OO40 for oracle  10g version 10.1.0.5.2

    Hello:
    I am installing an oracle application (argus) on a machine running Windows 2008 Server and Oracle 11g Database..
    The Argus installation manual says that Oracle Objects should be installed.
    I found the version listed in the Sibject line but when I tried to run the installer, it comes up with an error dialog box that says "Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support" and then says "Unlknown" three times.
    Did anybody encounter this scenario? How did you resolve it?
    Venki

    Hi:
    While I am still waiting for someone to help to solve the issue, I did some research. I used the Oracel Universal Installer and checked into the Products.XML associated with the installation for Oracle Objects I downloaded from Oracle site. The Installer came up with the following error message:
    Some components in the Stage Area have stage versions less than 10.2.0.0.0. Please ensure that all the components have their stage versions greater than or equal to 10.2.0.0
    I opened Products.XML and all components are 10.1.x.
    Any idea where I can get compatible versions?
    Venki

Maybe you are looking for

  • How do I set all photos in a project to the same date (rather than simply time-shifting)?

    I have a bunch of old scanned photos in Aperture (current version - 3.5.1), and am trying to tidy up the metadata, especially the dates. This is turning out to be quite a task, as the date gaps between scans are all over the place. For example, in on

  • PO Change document report

    Hi Experts, I have to generate same report as we get when from T code - ME22N -> Environment -> Header changes. I tried by using tables CDHDR and CDPOS, modules CHANGEDOCUMENT_READ_HEADER & CHANGEDOCUMENT_READ_POSITIONS , but not getting it version v

  • How do I set my camera to save all pictures to my phone and not the memory card?

    Since I've added a 4G memory card my camera has a very long delay after each picture. I noticed if i switch it to save to the phone there is no delay. Is there any way of fixing this or do I have to switch it every time i use the camera? Post relates

  • [SOLVED] How do I find out what packages are installed in a distro?

    Okay. I was running Arch before, but GNOME had a bunch of problems that I couldn't fix myself, so I reformatted and went to Peppermint OS (it's a cloud-based system), and I absolutely love it. Now, the thing is, it's even slower than my Arch system w

  • Redirect and cert

    I am working on setting up Lync 2013 in an environment that has multitenant Exchange running.  We have a HLB to handle the load balancing and certs.  Right now all exchange users no matter what domain they are in they are redirected to a single conne