Wscompile: -mapping is an invalid option or argument

Hi,
I am using the wscompile to generate my ports and mappings for a webservice from a given wsdl. I am using the following ant-task:
<wscompile
  import="true"
  nonClassDir="${webservice.ports}"
  features="nodatabinding,documentliteral,wsi"
  mapping="${webservice.ports}/${mapping.file}"
  config="${resources.main.dir}/${config.file}"
  base="${webservice.ports.classes}"
  sourceBase="${webservice.ports.src}"
>
   <classpath refid="project.classpath"/>
</wscompile>which gives me the following error:
[wscompile] error: -mapping is an invalid option or argument
[wscompile] Command invoked: wscompile -d /workspace/WebserviceDefinitions/target/ports/classes
-features:nodatabinding,documentliteral,wsi
-import
-keep
-mapping /workspace/WebserviceDefinitions/target/ports/signupservices-mapping.xml
-nd /workspace/WebserviceDefinitions/target/ports
-s /workspace/WebserviceDefinitions/target/ports/src /workspace/WebserviceDefinitions/src/main/resources/signupservices-config.xml -classpath /workspace/WebserviceDefinitions/bin:/workspace/libraries/xmlbeans/jsr173_api.jar:/workspace/libraries/xmlbeans/resolver.jar:/workspace/libraries/xmlbeans/xbean_xpath.jar:/workspace/libraries/xmlbeans/xbean.jar:/workspace/libraries/xmlbeans/xmlpublic.jar:/workspace/libraries/jaxrpc/jaxrpc-api.jar:/workspace/libraries/jaxrpc/jaxrpc-impl.jar:/workspace/libraries/jaxrpc/jaxrpc-spi.jar:/workspace/libraries/wsdl2java/wsdl4j.jar:/workspace/libraries/rpc/jaxrpc.jar:/workspace/libraries/rpc/saaj.jarDoes anybody have an idea what's going wrong here?!
cheers
stf

Apparently the mapping problem is a known error. To get around it, use the fork option in your wscompile task. For example:
<!-- This target compiles the server components using an existing WSDL as the driving document.
       The configuration file must use the <wsdl> element giving the location (local file system
       or URL) of the WSDL document.
       Note: the fork argument is needed to over come a bug when using the mapping argument. See
       http://forum.java.sun.com/thread.jspa?threadID=592994&tstart=0
  -->
     <target name="generate-server-from-WSDL" depends="init">
          <wscompile fork="yes"
                       keep="true"
                       base="${basedir}/WebContent/WEB-INF/classes"
                       import="true"
                       features="wsi"
                       xPrintStackTrace="true"
                       verbose="true"
                       mapping="${basedir}/WebContent/WEB-INF/jaxrpc-mapping.xml"
                       sourcebase="${basedir}/src"
                       config="${config.server.doclit.file}">
               <classpath>
                    <path refid="compile.classpath" />
               </classpath>
          </wscompile>
     </target>

Similar Messages

  • Invalid option for MAP: MAP.

    Hi ,
    My replication file is running fine with below contents
    MAP PROD.f0911, TARGET PROD.f0911, &
    REPERROR (21000, EXCEPTION), &
    SQLEXEC (ID lookup, ON UPDATE, &
    QUERY "select count(*) conflict from PROD.f0911 where ID_NO = :p1 and &
    UPDT_DT > :p2", &
    PARAMS ( p1 = ID_NO, p2 = UPDT_DT ), BEFOREFILTER, ERROR REPORT, &
    TRACE ALL),&
    FILTER (lookup.conflict = 0, ON UPDATE, RAISEERROR 21000);
    MAP PROD.f0911, TARGET PROD.f0911_EI, EXCEPTIONSONLY, &
    INSERTALLRECORDS, &
    COLMAP (USEDEFAULTS ,
    dberr = @GETENV ("lasterr", "dberrnum");
    REPERROR (-1403, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911_EI,
    EXCEPTIONSONLY,
    INSERTALLRECORDS,
    COLMAP (USEDEFAULTS,
    dberr = @GETENV ("lasterr", "dberrnum");
    But when I am adding
    MACRO #exception_handler
    BEGIN
    ,TARGET PROD.f0911
    ,UPDATEINSERTS
    ,EXCEPTIONSONLY
    END;
    REPERROR (-1, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911;
    MAP PROD.f0911 #exception_handler()
    It is throwing error ---- ERROR OGG-00212 Invalid option for MAP: MAP.
    Can somebody please help how can I proceed with all the conditions.
    Thanks

    As per our requirement if there is "0001 -unique constraint violated" error while replication the insert record should be update in target table .So I have used
    UPDATEINSERT statement iin macro and it goes to the same main table but for others it has mapped to EXCEPTION table prodf0911_EI , so the record will go to exception table .But we need the record should go to main table and insert record should update in target table only in case of 0001 - unique key constraint violated error.

  • GoldenGate OGG-00212 Invalid option for MAP

    Hi ,
    My replication file is running fine with below contents
    map amer.salary, target euro.salary,
    sqlexec(id conflict , query "select salary from euro.salary where id = :vpnum" , params(vpnum=id)) ,
    colmap(id=id , salary = @if(conflict.salary <> BEFORE.salary ,
    @compute(conflict.salary-(BEFORE.salary-salary)) , salary) , temp);
    It is throwing error ---- ERROR OGG-00212 Invalid option for MAP: sqlexec(id.
    Can somebody please help how can I proceed with all the conditions.
    Thanks
    Edited by: 944192 on Oct 19, 2012 6:20 PM

    And a space after COLMAP ...

  • GGS ERROR 101 Invalid Option for MAP

    Hi,
    When i start a replicat process for online synchronisation it abends with the following error
    GGS ERROR 101 Oracle GoldenGate Delivery for Oracle, EMP_REP.prm: Invalid option for MAP: <TARGET TABLE NAME>.
    I am trying to synchronize two tables(with same structure) of same database(Oracle) but different schemas.
    Some one please solve this for me.
    Thanks,
    Kamal
    Edited by: Kamal Dheeraj on 03-Jun-2010 01:03

    Hi,
    Solved the problem.
    The error was due to a space missing between the comma (,) and TARGET (keyword) in the Replicat params file.
    eg: my params line was MAP sourcetable,TARGET targettable;
    instead of MAP sourcetable, TARGET targettable;
    Hence the error
    Thanks,
    Kamal

  • Invalid option for map: resolveconflict

    I have this rules in the replicat
    Map schema.table, target schema.table resolveconflict (updaterowexists(default,overwrite), cols(col1,col2));
    Map schema.\*, target schema.*;
    And now the replicat is abended due to:
    Invalid option for map: resolveconflict
    Where am I wrong?
    Edited by: user597097 on 03:03 21/05/2012

    RESOLVECONFLICT does not exist. At least is not present in the OGG 11 Refernce Guide
    What is what you are trying to achieve?

  • Cannot open registry key and /usr/bin/lib: invalid option --N patch 7237313

    Hi,
    I am trying to install autoconfig TXK patch 7237313 for cloning an EBS 12 on windows server 2003.
    When I run adpatch it returns 2 errors:
    *1 -*
    setEnvAdrelink: Error: Cannot open registry key:
    SOFTWARE\ORACLE
    *2 -*
    Relinking module 'CONCSUB.exe' in product fnd ...
    gnumake -f E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk E:/o
    racle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/CONCSUB.exe
    Starting link of fnd executable 'CONCSUB.exe' on Fri Feb 5 09:25:07 SAST 2010
    /usr/bin/lib: invalid option -- N
    Try `/usr/bin/lib --help' for more information.
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:2901: warning:
    overriding commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/
    CMDCART.dll'
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:752: warning: i
    gnoring old commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin
    /CMDCART.dll'
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:2948: warning:
    overriding commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/
    FNDRTR45.exe'
    E:/oracle/PROD/apps/apps_st/appl/admin/PROD/out/link_fnd_2548.mk:1333: warning:
    ignoring old commands for target `E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bi
    n/FNDRTR45.exe'
    link.exe -MAP:E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/CONCSUB.map -NODEF
    AULTLIB -NOLOGO -SUBSYSTEM:CONSOLE -ENTRY:mainCRTStartup -OUT:E:/oracle/PROD/app
    s/apps_st/appl/fnd/12.0.0/bin/CONCSUB.exe E:/oracle/PROD/apps/apps_st/appl/fnd/1
    2.0.0/lib/fdpocr.obj \
    E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/lib/FNDCORE.lib E:/oracle/PR
    OD/apps/tech_st/10.1.2/precomp/lib/msvc/orasql10.lib E:/oracle/PROD/apps/tech_st
    /10.1.2/precomp/lib/msvc/orasqx10.lib E:/oracle/PROD/apps/tech_st/10.1.2/RDBMS/l
    ib/oraclient10.lib E:/oracle/PROD/apps/tech_st/10.1.2/RDBMS/lib/oracommon10.lib
    E:/oracle/PROD/apps/tech_st/10.1.2/NETWORK/lib/oranro10.lib E:/oracle/PROD/apps/
    tech_st/10.1.2/NETWORK/lib/oran10.lib E:/oracle/PROD/apps/tech_st/10.1.2/NETWORK
    /lib/oranl10.lib E:/oracle/PROD/apps/tech_st/10.1.2/lib/oranls10.lib E:/oracle/P
    ROD/apps/tech_st/10.1.2/lib/oracore10.lib /LIB/MSVCRT.LIB /LIB/OLDNAMES.LIB /P
    latformSDK/LIB/KERNEL32.LIB /PlatformSDK/LIB/USER32.LIB /PlatformSDK/LIB/ADVAPI3
    2.LIB /PlatformSDK/LIB/WINSPOOL.LIB /PlatformSDK/LIB/COMDLG32.LIB /PlatformSDK/L
    IB/GDI32.LIB /PlatformSDK/LIB/VERSION.LIB
    link: invalid option -- M
    Try `link --help' for more information.
    gnumake: *** [E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/CONCSUB.exe] Error
    1
    Done with link of fnd executable 'CONCSUB.exe' on Fri Feb 5 09:25:08 SAST 2010
    Relink of module "CONCSUB.exe" failed.
    See error messages above (also recorded in log file) for possible
    reasons for the failure. Also, please check that the Unix userid
    running adrelink has read, write, and execute permissions
    on the directory E:/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin,
    and that there is sufficient space remaining on the disk partition
    containing your Oracle Applications installation.
    egrep version is 2.5.1 and gnumake is 3.80.
    please help,
    regards,
    Hassane Cabir

    Hi,
    Are the application services down?
    setEnvAdrelink: Error: Cannot open registry key:
    SOFTWARE\ORACLEyes, the services are down, using adstpall.cmd and Maintenance mode enabled using adadmin.
    Get the version 3.80-1 of the make file -- See (Note: 414992.1 - Using Cygwin to Maintain Oracle E-Business Suite Release 12 on Windows).The make is already 3.80-1.
    regards,
    Hassane Cabir

  • OGG-00212 Invalid option for REPERROR: RETRYDELAY

    Hi All,
    We are using Oracle 11g as the database and GoldenGate 11 version for keeping our oracle database (both source and target) in sync.
    For certain tables, we have noticed the Child Records is being attempted to be inserted before the Parent Record could be done (this is because we are using multiple Replicat process).
    To avoid this, we had thought of using REPERROR parameter with RETRYOP option when defining MAP parameter.
    MAP
    *-- REPERROR (<SQL ERROR>, RETRYOP [MAXRETRIES <n>]) to say try retry twice in 3 second interval*
    REPERROR (2291, RETRYOP MAXRETRIES 2) RETRYDELAY 3, FILTER (@RANGE (1,2,ID))
    This gave use the Error
    Invalid option for MAP: RETRYDELAY
    When we made the REPERROR as GLOBAL for all the MAP parameters (by adding this in the top) as
    REPERROR (2291, RETRYOP MAXRETRIES 2) RETRYDELAY 3
    OR
    REPERROR (2291, RETRYOP MAXRETRIES 2 RETRYDELAY 3)
    OR
    REPERROR (2291, RETRYOP MAXRETRIES 2, RETRYDELAY 3)
    All three resulted in
    ERROR   OGG-00212  Oracle GoldenGate Delivery for Oracle, REPL1.prm:  Invalid option for REPERROR: RETRYDELAY.
    Once we changed to
    REPERROR (2291, RETRYOP MAXRETRIES 2)
    this started working. But as per Reference guide, this means RETRYDEALAY takes the default value as 60seconds which is considerably high for our application.
    Can some one help in this?
    Edited by: user11177592 on Mar 1, 2012 10:22 AM

    Hello,
    For my extract process I used:
    DDLOPTIONS ADDTRANDATA RETRYOP RETRYDELAY 20 MAXRETRIES 60 REPORT So I think this would translate into for replicat
    REPERROR (2291,  RETRYOP RETRYDELAY 3 MAXRETRIES 2 )Jan

  • While creating Table it shows error as 'missing or invalid option

    I had log on to ap/ap@vis in sqlplus and try to create table but showing error.....here below is the table
    Create table Purchase_Order
    (Item varchar2(10),
    Item_Desc varchar2(100),
    Item_Cost Number(7),
    Item_Qty Number(7),
    Item_Date Date,
    Need_by_date date,
    Last_updated_date date,
    last_updated_by number(10),
    creation_date date,
    created_by number(10),
    Attributed_category varchar2(100),
    attribute1 varchar2(100),
    attribute2 varchar2(100),
    attribute3 varchar2(100),
    attribute4 varchar2(100),
    attribute5 varchar2(100),
    attribute6 varchar2(100));
    But it showing error as ORA-00922:missing or invalid option

    It works for me
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> Create table Purchase_Order
      2  (Item varchar2(10),
      3  Item_Desc varchar2(100),
      4  Item_Cost Number(7),
      5  Item_Qty Number(7),
      6  Item_Date Date,
      7  Need_by_date date,
      8  Last_updated_date date,
      9  last_updated_by number(10),
    10  creation_date date,
    11  created_by number(10),
    12  Attributed_category varchar2(100),
    13  attribute1 varchar2(100),
    14  attribute2 varchar2(100),
    15  attribute3 varchar2(100),
    16  attribute4 varchar2(100),
    17  attribute5 varchar2(100),
    18  attribute6 varchar2(100));
    Table created.
    SQL>

  • ORA - 00922 Missing or Invalid option error while creating table

    I am tryin to create a table with the following syntax
    1 CREATE TABLE TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5* @storage_parms_table_cmn
    6 /
    @storage_parms_table_cmn
    ERROR at line 5:
    ORA-00922: missing or invalid option
    Here, storage_parms_table_cmn.sql reads like this
    tablespace DBK_CMN_DATA
    Can anyone please guide me how to overcome this error.

    What is your Oracle Version?
    i can do it exactly what you did without error
    sql> CREATE TABLE vd.TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5 @test1.sql
    6 /
    Table created.
    Cheers
    http://fiedizheng.blogspot.com/

  • Failed to create DNS with ODBC Datadirect Driver - error missing or invalid option

    Dear All,
    I tried to post a first time and get my post thrown away. So please just tell me if that's not the place to post such questions. I tried this forum because I didn't find any revelant information yet on internet.
    I installed Informatica and Oracle 11g, tried to create my DSN with the Driver DataDirect Oracle Wire Protocol. I keep bumping into the message " [Informatica][ODBC Oracle wire protocol driver][Oracle] ora-00922: missing or invalid option".
    Can you please help to understand where the error comes from?
    Here are my current status :
    * My table in the Oracle database is created with every field followed by NOT NULL option, the table is successfully created.
    * The connection to the Oracle database using Oracle TNSNames Connection server name and TNSNames files seem to work, I tried to connect with another driver Oracle in OraDB 11g_home1. This one succeeds.
    * Listener.ora:
    # listener.ora Network Configuration File: C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\ql186003\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\ql186003\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\ql186003
    * Running lsnrctl STATUS:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                22-FEB-2014 21:43:22
    Uptime                    0 days 1 hr. 8 min. 33 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\ql186003\diag\tnslsnr\WBEQL186003-Q4G\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TESTDBXDB" has 1 instance(s).
      Instance "testdb", status READY, has 1 handler(s) for this service...
    Service "TEST_DB" has 1 instance(s).
      Instance "testdb", status READY, has 1 handler(s) for this service...
    Service "orcl.TD.TERADATA.COM" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.TD.TERADATA.COM" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Thank you very much for any guidance.
    Qiong

    Hi,
    Try this :
    While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
    CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
    /

  • IFS Install (Config) Fails with "ORA-00922: missing or invalid option"

    Greetings:
    Thanks for your help in advance...
    Towards the end of IFS installation, I get the following error in my
    IfsConfigOut.log file (This happens towards the end of the installation). I
    am Installing IFS on Oracle 9i (9.0.1.1 version) instance on Win 2K (P-III,
    800Mhz, 512Mb) . After this installation error, all the 9iFS directories
    and nodes are detected under OEM but when I start the domain I get no
    response for the same.
    ConfigOut File pasted below
    CONFIGURATION: SCHEMA CREATION TYPE
    Configuring Oracle Internet File System 9.0.1.1.0 configuration started on:
    Mon May 20 09:45:28 GMT+05:30 2002
    saving user configuration settings to file:
    saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
    ig.properties
    saving:
    E:\oracle\ora90\9ifs\settings\oracle\ifs\server\properties\IfsDefault.proper
    ties
    Old schema name in IfsDefault.properties file = ifssys
    New schema name pointing to now = IFSSYS
    Create Schema = true
    Upgrading Schema = false
    Pointing to same schema as the old entry in IfsDefault.properties file =
    true
    Checking DC entries
    RUN DC = true
    Adding section for DC as there does not exist a section already
    Checking Node entries
    RUN NODE = true
    Adding Node section = Node
    saving: E:\oracle\ora90\9ifs\settings\Node.def
    saving: E:\oracle\ora90\9ifs\settings\HttpNode.def
    saving: E:\oracle\ora90\9ifs\settings\DomainController.def
    executing command:
    Empty command. Not executing
    executing command:
    Empty command. Not executing
    executing command:
    Empty command. Not executing
    creating database user (schema): IFSSYS
    java.sql.SQLException: ORA-00922: missing or invalid option
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
    Code)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
    Code)
         at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java,
    Compiled Code)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java,
    Compiled Code)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java,
    Compiled Code)
         at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    , Compiled Code)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java,
    Compiled Code)
         at oracle.ifs.utils.sql.SQLCommands.createUser(SQLCommands.java:352)
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.createIfsSchema(Ifs
    Configuration.java:546)
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
    ation.java:476)
         at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
    Compiled Code)
         at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
         at java.lang.Thread.run(Thread.java:479)
    recording that configuration failed
    saving:E:\oracle\ora90\9ifs\settings\oracle\ifs\installer\properties\IfsConf
    ig.properties
    iFS configuration failed; the following error occurred:
    oracle.ifs.utils.action.ActionFailedException: java.sql.SQLException:
    ORA-00922: missing or invalid option
         at
    oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfigur
    ation.java:526)
         at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java,
    Compiled Code)
         at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:230)
         at java.lang.Thread.run(Thread.java:479)
    configuration failed on Mon May 20 09:45:35 GMT+05:30 2002

    Problem is Fixed !!!
    We were having this problem because IFS installation was not recognising a separate tablespace which we created for IFS, so we started using default USERS tablespace after which the installation was successful.
    Thanks.

  • ORA-00922: missing or invalid option

    I am using oracle 10g datbase.
    and trying to create a list of tables of 300 tables - a sampel is given below
    CREATE TABLE "SCHM1"."HOLIDAYS"
    ( "DATE" DATE NOT NULL ENABLE,
    "DESCR" VARCHAR2(40),
    "EXTRA_HOURS" NUMBER(2,0),
    "HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_DATA1"
    CREATE TABLE "SCHM1"."LODGEMENT"
    ( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
    "LODGEMENT_SLIP" NUMBER(12,0),
    "BRANCH" NUMBER(4,0),
    "EMPLOYEE" VARCHAR2(12),
    "LODGEMENT_DATIM" DATE,
    "SYS_DATIM" DATE,
    "TILL_DAT" DATE,
    "POSTED_FLG" VARCHAR2(1),
    "EMERGENCY_FLG" VARCHAR2(1),
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    "LODGEMENT_GRP" NUMBER,
    CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_INDEXES10" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_DATA10"
    when I executed this in sql window i get the error:
    ORA-00922: missing or invalid option
    when I run it from command prompt ,
    i get error like
    SP2-0734: unknown command beginning "USING INDE..." - rest of line ignored.
    SP2-0734: unknown command beginning "STORAGE(IN..." - rest of line ignored.
    SP2-0734: unknown command beginning "PCTINCREAS..." - rest of line ignored.
    SP2-0734: unknown command beginning "TABLESPACE..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    and it doesn't create the table. CAn someone let em know how I to create log of errors on execution so taht the session can be resumed and also
    help me in finding the error in this.
    Cheers
    Edited by: user1000979 on 02-Sep-2009 06:50

    Hi!
    there is just missing a sql terminator between the statements ...
    it is not a internal sql language ...
    i have no problems when execute it in sql*plus.
    tested with oracle 8i and XE
    CREATE TABLE "SCHM1"."HOLIDAYS"
    ( "DATE" DATE NOT NULL ENABLE,
    "DESCR" VARCHAR2(40),
    "EXTRA_HOURS" NUMBER(2,0),
    "HOLIDAY_GROUP" VARCHAR2(5) NOT NULL ENABLE,
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    CONSTRAINT "BANK_HOLIDAYSP1" PRIMARY KEY ("DATE", "HOLIDAY_GROUP")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_INDEXES1" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_REF_DATA1"
    CREATE TABLE "SCHM1"."LODGEMENT"
    ( "BANK_LODGEMENT" NUMBER(10,0) NOT NULL ENABLE,
    "LODGEMENT_SLIP" NUMBER(12,0),
    "BRANCH" NUMBER(4,0),
    "EMPLOYEE" VARCHAR2(12),
    "LODGEMENT_DATIM" DATE,
    "SYS_DATIM" DATE,
    "TILL_DAT" DATE,
    "POSTED_FLG" VARCHAR2(1),
    "EMERGENCY_FLG" VARCHAR2(1),
    "CREATED_BY" VARCHAR2(12),
    "CREATED_ON" DATE,
    "AMENDED_BY" VARCHAR2(12),
    "AMENDED_ON" DATE,
    "LODGEMENT_GRP" NUMBER,
    CONSTRAINT "BANK_LODGEMENTP1" PRIMARY KEY ("BANK_LODGEMENT")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_INDEXES10" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 32768 NEXT 32768 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SCHM1_DATA10"
    /Regards

  • ORA-00922: missing or invalid option in create seq, trigger

    Hi All,
    I am trying to create a table, sequence, and trigger with the following SQL and am getting the error:
    ORA-00922: missing or invalid option
    CREATE TABLE "DATA_INVENTORY"
    (     "ID" INTEGER NOT NULL ENABLE,
         "COE_CONTRACT_NUM" VARCHAR2(30),
         "PROJ_AREA" VARCHAR2(30),
         "STATE" VARCHAR2(30),
         "DATA_DATE" VARCHAR2(30) NOT NULL ENABLE,
         "NUM_OF_MEDIA" NUMBER,
         "DATA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
         "MEDIA_TYPE" VARCHAR2(30)NOT NULL ENABLE,
         "EXTERNAL_DRIVE_DESCR" VARCHAR2(200),
         "ROOM_NUM" VARCHAR2(10)NOT NULL ENABLE,
         "DRAWER_NUM" VARCHAR2(30),
         "PROJ_CODE" VARCHAR2(30),
         "COMPANY" VARCHAR2(30),
         "DESCRIPTION" VARCHAR2(200),
         "NOTES" VARCHAR2(500),
         "INDEX" VARCHAR2(30),
         "INDEX_LINK" VARCHAR2(75),
         "DATA_LINK" VARCHAR2(75),
         "METADATA" VARCHAR2(75),
         "METADATA_LINK" VARCHAR2(75),
         "DISTRIBUTE" VARCHAR2(30)NOT NULL ENABLE,
         "CORPORATE" VARCHAR2(1)NOT NULL ENABLE,
         CONSTRAINT "DATA_INVENTORY_PK" PRIMARY KEY ("ID") ENABLE,
         CONSTRAINT "DATA_INVENTORY_UK1" UNIQUE ("COE_CONTRACT_NUM", "PROJ_AREA") ENABLE
    CREATE SEQUENCE "DATA_INVENTORY_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 324 CACHE 20 NOORDER NOCYCLE
    CREATE OR REPLACE TRIGGER "BI_DATA_INVENTORY"
    before insert on "DATA_INVENTORY"
    for each row
    begin
    select "DATA_INVENTORY_SEQ".nextval into :NEW.ID from dual;
    end;
    ALTER TRIGGER "BI_DATA_INVENTORY" ENABLE
    Does anyone see anything wrong with this?
    The create table part is alright but when I add the create sequence etc it causes the error
    Thanks,
    Kirk

    Hello Kirk,
    Your code work likes a charm. Check your privileges for creating sequences and triggers.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Error message: "invalid command line argument" while lodaing itunes

    I'm trying to load Itunes onto a computer that already has a version of itunes on it. I get a message that says "error: -1639 invalid command line argument" Does anyone know what this means? Does this mean I can't load itunes onto a computer that already has itunes on it?
    Also, I was able to load itunes on my laptop, but My ipod Icon is not appearing anywhere, not in itunes, not in explorer, not in my computer. I am, however, able to transfer music automatically when I plug the Ipod into the laptop. I have created several playlists and they have transferred over to the ipod as playlists. Any ideas why I can transfer despite not being recognized anywhere on the computer?
    Last thing is, I have plugged the Ipod into three different computers with itunes on them, and the ipod does not show up in the source list.
    I'm somewhat perplexed by all of this. Any help or insight would be greatly appreciated
    Dell   Windows XP Pro  

    hiya!
    "error: -1639 invalid command line argument"
    hmmm. folks typically only get that error if they are installing from removable media (such as a CD), although i have seen it happen if someone tries to install into the "recovery partition" of certain makes of PC.
    if you download and save an installer to your C drive and run the install from there, do you still get the 1639?
    iTunes 6.0.4.2 Installer
    love, b

  • ERROR: -1639 INVALID COMMAND LINE ARGUMENT

    Trying to install software for Shuffle that Santa brought and get this error messsage...
    "Error: -1639 invalid command line argument. Consult the windows Installer SDK for detailed command line help."
    Install stops at this point.
    SOMEONE HELP... My kid is chomping at the bit !
    Thanks.

    Ok I'll do some more searching but I found something in the community forums.
    APPSearch can not return this data into a property, so instead, for some unspeakable reason, returns a value of Null, follwed by another Null. This means that the property is created, and populated with two null characters. Bad news if the property also happens to be a PUBLIC property. All public properties are passed as part of the command line sent in a stream to the background installer process by the Execute Action. Since this stream now contains a double null value in a property, the stream is prematurely terminated. This creates an invalid command line, and thus the 1639 error.
    This user solved it by using the MSi Cleanup installer util.
    EDIT: A little more info...
    This problem is almost impossible to detect through the MSI log files since our friends at Microsoft chose to limit the length of any line in the log. It is impossible to get a dump of the full command line that generates this error.
    EDIT2:Note that error 1639 only ocurrs when the install package is run from removable media. When the package is run from local storage, the behavior is far more obtuse. The background install process, failing to receive a complete command line, is forced to run as if there had been no UI session, which in turn causes the APPSearch action to run again as if the install was running in silent mode. This causes re-evaluation of all properties a second time, destroying the feature selections made in the UI session, and also forcing the install to run under user credentials instead of elevated, even though AdminUser, ALLUSERS and Privleged properties are set. This is a very serious error that causes total failure of the installation.

Maybe you are looking for