SessionBroker login fails with Oracle XA

Hi all,
I am trying to use oracle XA with sessionbroker.
I register the session with the session broker and when i try to login it gives
"No suitable driver" error.
Without using session broker, when I get the session, it is working fine.
sb = new SessionBroker();
Project p1 = new CfToplinkMapping();
DatabaseSession orc = p1.createDatabaseSession();
sb.registerSession(SESSION_NAME, orc);
sb.login(); ->>>>>>fails with no suitable driver error...
My project.java contains the following code: -
login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
login.setDriverClassName("oracle.jdbc.xa.client.OracleXADataSource");
login.setConnectionString("jdbc:oracle:thin:@sch1h217:1521:fmstd");
login.setUserName("fms");
login.setEncryptedPassword("8B66EF2A66D659E33500D82AB9562809");
Please let me know where I went wrong. Is there any extra configurations required for XA drivers?

Hi. The issue is that an XA-aware connection can be used at a much finer granularity
than a non-XA connection. XA allows a connection to associate itself for one tx,
make one call, disassociate itself from the tx, and then do a call for another tx.
Therfore the XA connections in the pool may be involved in 1 or more tx's. If your
app is trying to do local tx's as well with these connections, some drivers/DBMSes
get confused.
You can either create a separate pool for non-XA use, or set the keep-connection-till
tx-complete setting for the XA pool. This latter setting will make sure that connections
that are idle in the pool are not associated with any ongoing XA tx.
Joe
Ramamoorthy wrote:
Guys,
I have a problem with JDBC calls with XA Connection Pool (DRIVER:::oracle.jdbc.xa.client.OracleXADataSource).
We are using the same connection pool for EJBs & JDBC calls. When we use JDBC
calls in between EJB calls, we are getting problems.
1) java.sql.SQLException: ORA-02044: transaction manager login denied: transaction
in progress
ORA-06512: at "SYS.JAVA_XA", line 0
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
2) SQL Exception:java.sql.SQLException: XA error: XAER_RMERR : A resource manager
error has occred in the transaction branch start() failed on resource 'XADBPool':
XAER_RMERR : A resource manager error has occured in the transaction branch oracle.jdbc.xa.OracleXAException...
When I changed the DataSource of JDBC calls from XA Connection Pool to Non-XA
connection poll thess errors disappears. I really don't understand the relation
between XA Connection Pool & JDBC calls. Even here my officemates are telling
we should use non-XA connection pool for JDBC. But nobody knows the exact issues..
Please help..
Thanks
Ramamoorthy.

Similar Messages

  • Import error imp-00017: following statement failed with oracle error 1659:

    Hi all,
    I am trying to import a file (dmp) which is of 1.63GB size,
    when I type
    imp
    dbname/pwd@db
    c:\filepath
    30720
    no
    no
    yes
    yes
    yes
    I am getting the error imp-00017: following statement failed with oracle error 1659:
    -- end it says Ora-01659 unable to allocate minextents beyond 1 in tablespace USERS
    --unable to create INITIAL extent for segment in tablespace USERS
    --import terminated successfully with warnings
    when I looked into
    select maxbytes,file_name from dba_data_files where tablespace_name='USERS';3.4360+10 c:\oracle\product\10.2.0\oradata\orcl\users01.dbf
    kindly help me in solving this is.
    Regards,
    aak
    Edited by: AAK 460425 on Apr 12, 2009 6:33 PM

    Thanks,
    select bytes from user_free_space where tablespace_name='USERS'
    BYTES
    458752
    720896
    458752
    655360
    43384832
    is the size less?
    My apology I have updated this in the below thread, which is same as this one.
    Re: Import error

  • IMP-00017: following statement failed with ORACLE error 901:

    Why I get these error messages while I do full import? Could anyone help me on this issue?
    IMP-00017: following statement failed with ORACLE error 901:
    "CREATE FORMAT92TRIG "
    IMP-00003: ORACLE error 901 encountered
    ORA-00901: invalid CREATE command
    IMP-00008: unrecognized statement in the export file:
    ýÿ$
    Note:- I have used the same command to import the same export file to a different SID and it went fine but when I try to do import for SID (DEMO), I get the above mentioned errors.
    Thanks
    Rajesh Kumar

    Thanks for the clue
    Got it right, when i changed the primary Oracle Home from 10gDS to 9iDB. 10gDS has a lower version of import as compared to 9iDB.
    Rajesh

  • IMP-00017: following statement failed with ORACLE error 2304

    Hi,
    in 9i DB when importing I have :
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "T_NUMBER" TIMESTAMP '2007-04-02:10:02:26' OID '6B4C21C0310143B"
    "A97211E5E8301C09E' "
    " as table of number"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    Can any one please explaine me the problem and if possible a solution ?
    Many thanks.

    The problem is explained in the metalink Note:113335.1

  • IMP-00017: following statement failed with ORACLE error 1849

    Hi
    We have a instance 11.1.0.7
    while doing import i got the issue as:
    IMP-00017: following statement failed with ORACLE error 1849:
    "BEGIN "
    "dbms_scheduler.create_job('"MAXIMOTSSYNC"',"
    "job_type=>'STORED_PROCEDURE', job_action=>"
    "'maximo_ts_job'"
    ", number_of_arguments=>0,"
    "start_date=>'30-AUG-12 15.12.04.000000 +04:00', repeat_interval=> "
    "'SYSDATE + 5/1440'"
    ", end_date=>NULL,"
    "job_class=>'"DEFAULT_JOB_CLASS"', enabled=>FALSE, auto_drop=>TRUE,comments="
    ">"
    "NULL"
    "dbms_scheduler.enable('"MAXIMOTSSYNC"');"
    "COMMIT; END;"
    IMP-00003: ORACLE error 1849 encountered
    ORA-01849: hour must be between 1 and 12
    ORA-06512: at line 2
    IMP-00091: Above error occurred on the following function and object: CREATE MAXIMOTSSYNC. Remaining PL/SQL blocks for this object will be skipped.
    Import terminated successfully with warnings.
    My imp command is:
    imp system/manager file=schema.DMP log=schema.log fromuser=max touser=max
    Please suggest on this
    Thanks
    Shaik

    ORA-01849: hour must be between 1 and 12Error: ORA 1849
    Text: hour must be between 1 and 12
    Cause: An invalid hour was specified for a date using the 12-hour time format.
    If a 12-hour format code (HH or HH12) is used, the specified hour must
    be between 1 and 12.
    Action: Enter an hour value between 1 and 12.

  • IMP-00017: following statement failed with ORACLE error 1031

    Hello,
    I export a schema from prod (database A) and I try to imported to onther test database (databse B).
    database A: single database - Non ASM - 10gR1
    database B: RAC database - ASM -10gR2
    To import database I use this:
    imp osiris/b@osiris file=prod_osiris070601.dmp full=y ignore=y log=osiris.log
    All the tables are imported withot problem but when he start to imprt views I get this error:
    IMP-00017: following statement failed with ORACLE error 1031:
    Can you please help?
    Thanck you in advance.

    I thing that the problem is that the user can not create views!!!
    I create the user normaly and I give him this rols: "CREATE SESSION", "CONNECT" and "RESOURCE"
    it's ok?
    . . importing table "ZIP_CODE" 70768 rows imported
    IMP-00017: following statement failed with ORACLE error 1031:
    "CREATE FORCE VIEW "OSIRIS"."DETAILED_FRANKING_SYSTEM_VIEW" "
    " ("CONFIGURATION_SYSTEM_ID","SYSTEM_ID","DEVICE_SERIAL_NO","OPCO_DE"
    "VICE_SERIAL_NO","STATUS","BO_CUST_ID","CUSTOMER_NAME","CUSTOMER_ADDRESS_NAM"
    "E","CUSTOMER_STREET1","CUSTOMER_STREET2","CUSTOMER_STREET3","CUSTOMER_STREE"
    "T4","CUSTOMER_CITY","CUSTOMER_STATE","CUSTOMER_ZIP4","CUSTOMER_ZIP","CUSTOM"
    "ER_COUNTRY","CUSTOMER_NAME_CAP","CUSTOMER_ADDRESS_NAME_CAP","CUSTOMER_STREE"
    "T1_CAP","CUSTOMER_STREET2_CAP","CUSTOMER_STREET3_CAP","CUSTOMER_STREET4_CAP"
    "","CUSTOMER_ADDRESS_STREET_CAP","CUSTOMER_CITY_CAP","CUSTOMER_STATE_CAP","C"
    "USTOMER_COUNTRY_CAP","INSTALL_ADDRESS_NAME","INSTALL_STREET1","INSTALL_STRE"
    "ET2","INSTALL_STREET3","INSTALL_STREET4","INSTALL_CITY","INSTALL_STATE","IN"
    "STALL_ZIP4","INSTALL_ZIP","INSTALL_COUNTRY","INSTALL_ADDRESS_NAME_CAP","INS"
    "TALL_STREET1_CAP","INSTALL_STREET2_CAP","INSTALL_STREET3_CAP","INSTALL_STRE"
    "ET4_CAP","INSTALL_ADDRESS_STREET_CAP","INSTALL_CITY_CAP","INSTALL_STATE_CAP"
    "","INSTALL_COUNTRY_CAP","DESCRIPTION","CONFIG_MODEL_ID","TYPE","PART_NUMBER"
    "AND DEVICE_SYSTEM.DEVICE_TYPE='METER'"
    "AND US_SERIAL_NO_CONVERTER.DEVICE_SERIAL_NO(+) = DEVICE_SYSTEM.DEVICE_SERIA"
    "L_NO"
    IMP-00003: ORACLE error 1031 encountered
    ORA-01031: insufficient privileges
    IMP-00017: following statement failed with ORACLE error 942:
    "GRANT DELETE ON "DETAILED_FRANKING_SYSTEM_VIEW" TO "APP""
    IMP-00003: ORACLE error 942 encountered
    Message was edited by:
    ASkika

  • IMP-00017: following statement failed with ORACLE error 1276

    i have exported the full database without rows from live database and tried to import it into training database.
    both use ASM file system.i have precreated tablespace in training database.
    but im getting the error IMP-00017: following statement failed with ORACLE error 1276.
    it tries to create tablesapce and datafile on live ASM location rather than creating it on training database ASM location.
    live database asm location is WEBD and training database is at TRAIND.
    it tries to import on WEBD RATHER THAN TRAIND and throws the error.
    any help is appreciated.i have googled it and cant find anything helpful.
    Im bit new to DBA stuff.
    is there anyway to import and export data in ASM file system?
    Thanks

    When datapump exports the tablespace information, all it knows about is the currently location of your datafiles. Let's take a simple example. Let's say you have tablespace foo with a file called foo.dbf and it lives in a windows directory c: if you are now trying to import that into a linux box, Data Pump does not know that. All it knows is that it needs to create the tablespace data file in c:. If you are changing the locations of the datafiles, you need to use remap_datafile=old_datafile:new_datafile ... in your impdp command. Or, precreate them and use exclude=tablespace. The old_datafile and new_datafile need to be the complete path.
    Hope this helps.
    Dean

  • IMP-00017: following statement failed with ORACLE error 922

    Hi all,
    I'm trying to import a partitioned table. I'm using the imp utility with ignore=y,
    but I got the error:
    IMP-00017: following statement failed with ORACLE error 922:
    "CREATE TABLE "TAB_EX" ("ID_EX" CHAR(12), "C2" NUM"
    "BER(3, 0), "C3" DATE, "C5" DATE, "C4" NUMBER("
    "8, 2), "C6" NUMBER(5, 0), "C7" NUMBER(6, "
    "0), "C8" NUMBER(6, 0))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 25"
    "5 TABLESPACE "ETMTSD01" NOLOGGING PARALLEL ( DEGREE 4 INSTANCES 1) PARTITIO"
    "N BY RANGE ("DT_ABERTURA" )  SUBPARTITION BY HASH ("ID_ATM" )  SUBPARTITION"
    "S 4 SUBPARTITION TEMPLATE( SUBPARTITION "AB_SUBPART_1" VALUES ()  TABLESPAC"
    "E "ETMTSD03", SUBPARTITION "AB_SUBPART_2" VALUES ()  TABLESPACE "ETMTSD03","
    " SUBPARTITION "AB_SUBPART_3" VALUES ()  TABLESPACE "ETMTSD03", SUBPARTITION"
    " "AB_SUBPART_4" VALUES ()  TABLESPACE "ETMTSD03" ) (PARTITION "AB_PART_BEFO"
    "RE" VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:"
    "SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 2"
    "55 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_1"
    ""  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_2"  TABLE"
    "SPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_3"  TABLESPACE "E"
    "TMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_4"  TABLESPACE "ETMTSD03""
    " ), PARTITION "AB_PART_2008_01" VALUES LESS THAN (TO_DATE(' 2008-02-01 00:0"
    "0:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTU"
    "SED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "
    ""AB_PART_2008_01_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PAR"
    "T_2008_01_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_"
    "01_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_01_AB_S"
    "UBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_02" VALUES LESS"
    " THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALEN"
    "DAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE ""
    "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_02_AB_SUBPART_1"  TABLESPACE "So, the rows cannot be imported because this error.
    Why am I getting this error with ignore=y?
    thanks!

    imp userdba fromuser=etmown touser=etmown file=etmown.dmp log=etmown_imp10g.log statistics=none grants=no ignore=Ythe log:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V09.02.00 via conventional path
    Warning: the objects were exported by ETMOWN, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing ETMOWN's objects into ETMOWN
    IMP-00017: following statement failed with ORACLE error 922:
    "CREATE TABLE "TAB_EX" ("c1" CHAR(12), "c2" NU"
    "MBER(3, 0), "C3" DATE, "C4" DATE, "C5" NUMBER"
    "(8, 2), "C6" NUMBER(5, 0), "C7" NUMBER(6,"
    " 0), "C8" NUMBER(6, 0))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 2"
    "55 TABLESPACE "ETMTSD01" NOLOGGING PARALLEL ( DEGREE 4 INSTANCES 1) PARTITI"
    "ON BY RANGE ("C3" )  SUBPARTITION BY HASH ("C1" )  SUBPARTITIO"
    "NS 4 SUBPARTITION TEMPLATE( SUBPARTITION "AB_SUBPART_1" VALUES ()  TABLESPA"
    "CE "ETMTSD03", SUBPARTITION "AB_SUBPART_2" VALUES ()  TABLESPACE "ETMTSD03""
    ", SUBPARTITION "AB_SUBPART_3" VALUES ()  TABLESPACE "ETMTSD03", SUBPARTITIO"
    "N "AB_SUBPART_4" VALUES ()  TABLESPACE "ETMTSD03" ) (PARTITION "AB_PART_BEF"
    "ORE" VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI"
    ":SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS "
    "255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_"
    "1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_2"  TABL"
    "ESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_3"  TABLESPACE ""
    "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_4"  TABLESPACE "ETMTSD03"
    "" ), PARTITION "AB_PART_2008_01" VALUES LESS THAN (TO_DATE(' 2008-02-01 00:"
    "00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCT"
    "USED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION"
    " "AB_PART_2008_01_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PA"
    "RT_2008_01_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008"
    "_01_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_01_AB_"
    "SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_02" VALUES LES"
    "S THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALE"
    "NDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "
    ""ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_02_AB_SUBPART_1"  TABLESPACE"
    " "ETMTSD03", SUBPARTITION "AB_PART_2008_02_AB_SUBPART_2"  TABLESPACE "ETMTS"
    "D03", SUBPARTITION "AB_PART_2008_02_AB_SUBPART_3"  TABLESPACE "ETMTSD03", S"
    "UBPARTITION "AB_PART_2008_02_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTIT"
    "ION "AB_PART_2008_03" VALUES LESS THAN (TO_DATE(' 2008-04-01 00:00:00', 'SY"
    "YYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INI"
    "TRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2"
    "008_03_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_"
    "AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_AB_SUBP"
    "ART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_AB_SUBPART_4" "
    " TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_04" VALUES LESS THAN (TO_"
    "DATE(' 2008-05-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGOR"
    "IAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" "
    "LOGGING (SUBPARTITION "AB_PART_2008_04_AB_SUBPART_1"  TABLESPACE "ETMTSD03""
    ", SUBPARTITION "AB_PART_2008_04_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPA"
    "RTITION "AB_PART_2008_04_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION"
    " "AB_PART_2008_04_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PAR"
    "T_2008_05" VALUES LESS THAN (TO_DATE(' 2008-06-01 00:00:00', 'SYYYY-MM-DD H"
    "H24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAX"
    "TRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_05_AB_S"
    "UBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_"
    "2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_3"  TAB"
    "LESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_4"  TABLESPACE"
    " "ETMTSD03" ), PARTITION "AB_PART_2008_06" VALUES LESS THAN (TO_DATE(' 2008"
    "-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCT"
    "FREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SU"
    "BPARTITION "AB_PART_2008_06_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTIT"
    "ION "AB_PART_2008_06_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB"
    "_PART_2008_06_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2"
    "008_06_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_07" "
    "VALUES LESS THAN (TO_DATE(' 2008-08-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS',"
    " 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 T"
    "ABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_07_AB_SUBPART_1"  "
    "TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_2"  TABLESP"
    "ACE "ETMTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_3"  TABLESPACE "ET"
    "MTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_4"  TABLESPACE "ETMTSD03""
    " ), PARTITION "AB_PART_2008_08" VALUES LESS THAN (TO_DATE(' 2008-09-01 00:0"
    "0:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTU"
    "SED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "
    ""AB_PART_2008_08_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PAR"
    "T_2008_08_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_"
    "08_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_08_AB_S"
    "UBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_09" VALUES LESS"
    " THAN (TO_DATE(' 2008-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALEN"
    "DAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE ""
    "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_09_AB_SUBPART_1"  TABLESPACE "
    ""ETMTSD03", SUBPARTITION "AB_PART_2008_09_AB_SUBPART_2"  TABLESPACE "ETMTSD"
    "03", SUBPARTITION "AB_PART_2008_09_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SU"
    "BPARTITION "AB_PART_2008_09_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITI"
    "ON "AB_PART_2008_10" VALUES LESS THAN (TO_DATE(' 2008-11-01 00:00:00', 'SYY"
    "YY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INIT"
    "RANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_20"
    "08_10_AB_SUBPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_A"
    "B_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_AB_SUBPA"
    "RT_3"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_AB_SUBPART_4"  "
    "TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_11" VALUES LESS THAN (TO_D"
    "ATE(' 2008-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORI"
    "AN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" L"
    "OGGING (SUBPARTITION "AB_PART_2008_11_AB_SUBPART_1"  TABLESPACE "ETMTSD03","
    " SUBPARTITION "AB_PART_2008_11_AB_SUBPART_2"  TABLESPACE "ETMTSD03", SUBPAR"
    "TITION "AB_PART_2008_11_AB_SUBPART_3"  TABLESPACE "ETMTSD03", SUBPARTITION "
    ""AB_PART_2008_11_AB_SUBPART_4"  TABLESPACE "ETMTSD03" ), PARTITION "AB_PART"
    "_2008_12" VALUES LESS THAN (TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH"
    "24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))  PCTFREE 2 PCTUSED 98 INITRANS 1 MAXT"
    "RANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_12_AB_SU"
    "BPART_1"  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_2"
    ""  TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_3"  TABL"
    "ESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_4"  TABLESPACE "
    ""ETMTSD03" ) )"
    IMP-00003: ORACLE error 922 encountered
    ORA-00922: missing or invalid option
    Import terminated successfully with warnings.thank u very much! :-)
    Edited by: [email protected] on Sep 12, 2008 3:11 PM

  • IMP-00017: failed with ORACLE error 942 (SYS.DBMS_REPUTIL.SYNC_UP_REP)

    Hi,
    I am trying to exp a table from an oracle 9i db to an oracle 11g db.
    exp USERID=user1/pass1@db9i TABLES=test FILE=test.dmp ROWS="y" statistics="none" GRANTS="n" INDEXES="n" TRIGGERS="n" CONSTRAINTS="n"
    While trying to import i get an error
    *"IMP-00017: following statement failed with ORACLE error 942:*
    *"BEGIN SYS.DBMS_REPUTIL.SYNC_UP_REP('CYGENT_ADMIN','AGENT_ROOT_MAP'); END;"*
    _when i do_
    imp USERID=user2/pass2@db11g TABLES=test FILE=test.dmp FROMUSER=user1 TOUSER=user2 SHOW=Y
    the last line i see is
    *"BEGIN SYS.DBMS_REPUTIL.SYNC_UP_REP('CYGENT_ADMIN','AGENT_ROOT_MAP'); END;"*
    _Question_
    What do i need to do so that the last line (SYNC_UP_REP) is not included in the export dump.
    Have tried searching for this but without much luck.
    Appreciate the help.

    Explain your usage of Advanced Replication capabilities. Where, what, and why.

  • ORA-06540,following statement failed with ORACLE error 6540:

    I was working during the last days on doing a full export/import for the database 9i I used the following script for the export .
    exp system/**** full=y file=/export/export.dmp log=/export/export.log consistent=y statistics=estimate buffer=200000
    And everything went fine, after that I dropped all the objects owners belonging to the tablepaces as i am doing that to solve fragmentation problems
    The issue is during the import and after 50% of the tables were exported successfully I started to receive the following error
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020E'; SREC.MAXVA"
    "L := 'C26338'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
    "TS.NUMARRAY(113,9855); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC :="
    " 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"GL_ACCOUNT_ID"', NULL"
    " ,NULL,NULL,1432,.000698324022346369,0,srec,4,2); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020B'; SREC.MAXVA"
    "L := 'C2031F'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
    "TS.NUMARRAY(110,230); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := "
    "2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"COMMON_COA_ID"', NULL "
    ",NULL,NULL,14,.0714285714285714,0,srec,4,2); END;"
    IMP-00003: ORACLE error 6540 encountered
    ORA-06540: PL/SQL: compilation error
    ORA-06553: PLS-123: program too large
    IMP-00017: following statement failed with ORACLE error 6540:
    "DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C202'; SREC.MAXVAL "
    ":= 'C20233'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS"
    ".NUMARRAY(100,150); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2;"
    " DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"CONSOLIDATION_CD"', NULL"
    " ,NULL,NULL,2,.5,0,srec,4,2); END;"
    IMP-00003: ORACLE error 6540 encountered
    the used script for import is
    imp system/****** full=y rows=y file=/export/export.dmp log=/export/ofsaimport2.log buffer=20000000
    Please note that all the tables and indexes are imported successfully even after the error started to show.
    Is it something serious, should I do the import again with statistics=none or I am just fine now and it something that is just related for the statistics.

    Is really "fragmentation" an issue to justify this table movement? Why do you want to "defragment" your schema? Is it because of performance issues? If this is the case you are wasting your time, if you tried to rebuild the indexes by this procedure, it is also a waste of time. If you are concerned about fragmentation because of "holes" and "islands" of unused space within segments and unused space below the HWM, that is something different, in my personal jargon, I'd rather use the term space reorganization.
    If the data import was successful, then take a look at the dba_objects and verify if the program unit is still there and check its status.
    You may also want to take a look at this note from AskTom that explains what this error means --> http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:571023051648
    ~ Madrid
    http://hrivera99.blogspot.com

  • IMP-00017: following statement failed with ORACLE error 25153

    Sirs,
    Any one can guide me on below errors getting while importing the data
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export file created by EXPORT:V09.02.00 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SWTHIST's objects into SWTHIST
    . . importing partition "AUTHHIST_2006":"AUTH_09_06" 2857788 rows imported
    IMP-00017: following statement failed with ORACLE error 25153:
    "CREATE INDEX "AUTH2006_1" ON "AUTHHIST_2006" ("BR_ID" , "CARD_NO" , "SYSTEM"
    "_REQ_DTTIME" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FR"
    "EELISTS 1 FREELIST GROUPS 1) TABLESPACE "SWTIDX" LOGGING"
    IMP-00003: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    IMP-00057: Warning: Dump file may not contain data of all partitions of this table
    Import terminated successfully with warnings.

    Hi,
    I have seen this error when you have a temporary tablespace without any datafile associated with it. I don't know how that happens, but that is what I have seen.
    ORA-25153: Temporary Tablespace is Empty
    Try altering the temp tablespace and add a tempfile.
    Dean

  • Urgent:IMP-00017: following statement failed with ORACLE error 3113

    OS:HP_UX 11i
    Oracle 9.2.0.3.0
    when import tablespace metadata,
    comand is "imp \'sys/sysadmin AS sysdba\' TRANSPORT_TABLESPACE=y DATAFILES='/oradata/data2/
    B.dbf' TABLESPACES=A FILE=A.dmp IGNORE=Y LOG=./log/import.log"
    the error occurs as followed:
    Export file created by EXPORT:V09.02.00 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 3113:
    "BEGIN sys.dbms_plugts.beginImport ('9.2.0.3.0',31,'2000',NULL,'NULL',3626"
    "7,35051,1); END;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00000: Import terminated unsuccessfully
    export is in same enviorment, the successful informantion below:
    exp \'sys/sysadmin AS sysdba\' TRANSPORT_TABLESPACE=y TABLESPACES=A FILE=A.dmp
    LOG=./log/export.log
    log file:
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    For tablespace A ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table A
    . exporting referential integrity constraints
    . exporting triggers
    . end transportable tablespace metadata export
    Export terminated successfully without warnings.

    I do it,but the same error message.
    export message:
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.3.0 - Production
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    For tablespace A ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table A
    . exporting referential integrity constraints
    . exporting triggers
    . end transportable tablespace metadata export
    Export terminated successfully without warnings.
    Import Message:
    Export file created by EXPORT:V09.02.00 via conventional path
    About to import transportable tablespace(s) metadata...
    import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    . importing SYS's objects into SYS
    IMP-00017: following statement failed with ORACLE error 3113:
    "BEGIN sys.dbms_plugts.beginImport ('9.2.0.3.0',31,'2000',NULL,'NULL',3627"
    "7,36451,1); END;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00000: Import terminated unsuccessfully

  • IMP-00017: following statement failed with ORACLE error 1658

    Hi All,
    Please help me to find the reason of this error while importing the export file using parameters full=Y,ignore=n.
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace USERS
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "TABLE_NAME" ("SEGMENTID" VARCHAR2(10) NOT NULL EN"
    "ABLE, "DRIVERID" VARCHAR2(10) NOT NULL ENABLE, "VEHICLEID" VARCHAR2(10) NOT"
    " NULL ENABLE, "START_TIME" VARCHAR2(6) NOT NULL ENABLE, "END_TIME" VARCHAR2"
    "(6) NOT NULL ENABLE, "REPORT_TIME" VARCHAR2(6) NOT NULL ENABLE, "DISPOSITIO"
    "N" VARCHAR2(1), "S_LOCATION1" VARCHAR2(12), "S_LOCATION2" VARCHAR2(60) NOT "
    "NULL ENABLE, "S_LOCATION3" VARCHAR2(12), "S_LOCATION_ENT" VARCHAR2(30), "S_"
    "CITYTOWN" VARCHAR2(30) NOT NULL ENABLE, "S_ZIP" VARCHAR2(10) NOT NULL ENABL"
    "E, "S_STATEPRO" VARCHAR2(4) NOT NULL ENABLE, "S_COUNTRY" VARCHAR2(2), "S_CO"
    "MNTS" VARCHAR2(1), "S_GRID_LAT" NUMBER(10, 6), "S_GRID_LONG" NUMBER(10, 6),"
    " "E_LOCATION1" VARCHAR2(12), "E_LOCATION2" VARCHAR2(60) NOT NULL ENABLE, "E"
    "_LOCATION3" VARCHAR2(12), "E_LOCATION_ENT" VARCHAR2(30), "E_CITYTOWN" VARCH"
    "AR2(30) NOT NULL ENABLE, "E_ZIP" VARCHAR2(10) NOT NULL ENABLE, "E_STATEPRO""
    " VARCHAR2(4) NOT NULL ENABLE, "E_COUNTRY" VARCHAR2(2), "E_COMNTS" VARCHAR2("
    "1), "E_GRID_LAT" NUMBER(10, 6), "E_GRID_LONG" NUMBER(10, 6), "COMMENTS" VAR"
    "CHAR2(200), "STATE" NUMBER(*,0), "OPER_ID" VARCHAR2(20), "UNQ_ID" VARCHAR2("
    "40), "DESCR" VARCHAR2(200), "S_COUNTY" VARCHAR2(30), "E_COUNTY" VARCHAR2(30"
    ")) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FRE"
    "ELISTS 1 FREELIST GROUPS 1) TABLESPACE "USERS" LOGGING"
    Again the next one is
    IMP-00003: ORACLE error 376 encountered
    ORA-00376: file 7 cannot be read at this time
    ORA-01110: data file 7: 'D:\ORACLE\ORADATA\ITMS\USERS01.DBF'
    IMP-00017: following statement failed with ORACLE error 376:
    "CREATE INDEX "TDR_INDX" ON "ITMS_SCHED_TRIPS" ("SEGMENTID" , TRUNC("TRAVELDAT"
    "E") ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1"
    " FREELIST GROUPS 1) TABLESPACE "INDX" NOLOGGING"
    Thanks in advance.
    Abhijeet

    Hi,
    Please check whether you have permission to write on this 'D:\ORACLE\ORADATA\ITMS\USERS01.DBF' .
    Also please check if that file is actually present there or not...?
    Error ORACLE error 1658 means that either your datafile has filled completely and its not set to auto extend OR hard disk where that file is residing is full and oracle cannot allocate the minimum memory to the segment that is Extent
    Regards

  • Call to SQLExecDirectW fails with Oracle

    Hello Gentlemen
    I am trying to extract data from an Oracle database through an ODBC connection using the standard ODBC functions. These work perfectly well for SQL Server. But with Oracle, SQLExecDirectW fails to execute a simple query (that works fine with SQL Server).
    With Oracle:
    o Handle is allocated OK.
    o It connects OK through the handle.
    o The connection returns an expanded connection string. It returns the right version number.
    So all is cool so far. But when I call SQLExecDirectW, the execution fails, but not on return status. Although the return status is success, the number of rows processed is 0. (With SQL Server, where it works, this number is 1.)
    I have tried to get the SQL state by calling SQLGetDiagRec, but this is not set. (Probably because it SQLExecDirectW returned a success.)
    I have tried replacing SQLExecDirectW with the more basic SQLExecDirect, and this also fails.
    Any ideas gentlemen?
    All the best,
    Lew.

    This is now resolved. Oracle does not return the number of rows processed, but SQL Server seems to. A routine that had that check in is now removed.

  • Can't reconnect to sync from work - firefox login fails with "Incorrect password" when I know it is correct

    I can happily connect my home computers and phone to sync and I have confirmed they sync between themselves. However, my work computer has recently stopped being able to sync where it has previously been fine for well over a year. I am on the latest version of sync and Firefox 35.0.1 (both at home and work).
    When I try to reconnect to sync I am directed to the "Sign in to continue" page. It has my correct email address/account name. I enter my password (clicking "Show" to make sure it's correct) but then it always fails with "Incorrect password" in a red banner at the top. I have checked the password is correct and logged out and back in from home using the same password so I know that is correct. I have tried this logged in to work via remote desktop so I could do both at the same time to make sure there isn't just a prevailing sync server problem.
    Obviously my work computer is behind a proxy/firewall. I have recently had to add a new certificate as a result of proxy changes to get internet connectivity working. Anecdotally, I think sync stopped working at a similar time - but it's always easy to remember these things differently when you're looking for a solution. So this could be a red herring.
    Your help in getting this fixed would be much appreciated!

    Thanks for your reply.
    i've deleted all cookies, although I don't really understand how that relates. I have also spoken to our sysadmin who says we don't block access to firefox accounts per se, we do block all file-esque uploads. However, I am not sure this would make any difference to the exact problem I am seeing which is that I can't sign in to my firefox sync account. But maybe signing in to this account is different to a "normal" account - maybe there is more of a two way handshake which relies on sending some encrypted data which appears to our proxy like a file being uploaded out of the company.
    I got a slightly different error on my latest clear down and retry, in that the sign in just waited forever (overnight) without success.
    Any further help gratefully received...

Maybe you are looking for

  • How do I change my HP Photosmart C4580 printer wireless settings using the apple provided drivers?

    I have a mac pro running the Yosemite OS.  I have a HP Photosmart C4589 all in one printer that had been working fine until I replace my router. Now I can only use the printer as a usb.  I know I need to change the wireless settings in the printer bu

  • Manual creation of BI Query

    Sorry for dumb question, but how can I create presentation manually, without interactive Query Builder, without designing stage etc? At the fact, I has (know) a cube, dimensions to show and wish to produce a "one-click" function: user clicks menu ite

  • Which file type should I use and how I use it?

    Hello! I need to create a file with some data that has been inserted manually. In this file, for example, there are: ProjectName1: string1, string7- string10, date1 ProjectName2: string11, string15- string20, date2 ProjectNamek: string 100, string 11

  • Urgent help needed - deadline - iDVD project suddenly gone corrupt?

    Ive literally finished and ironed out the problems Ive had with a big Dual Layer project Ive been working on for 2 weeks. Yesterday I successfully burned a project to DVD - and I had not been having any problems. Then suddenly I tried another burn la

  • Is there any way on earth to change screen names???

    Someone set up my account for em to show me something on it and how it works and now I'm stuck with this name that sounds to sassy for computer problems! Any advice would be appreciated... thank you!!