Problem During Importing using DBMS_DATAPUMP

Hi,
I am facing Problems while Importing usinf DBMS_DATAPUMP:
Its not showing any Error but the Tables not getting Imported.
Below is the Code whihc i have written for Import:
CREATE OR REPLACE PROCEDURE Data_Pump_Import_Load AS
ind NUMBER; -- Loop index
h1 NUMBER; -- Data Pump job handle
percent_done NUMBER; -- Percentage of job complete
job_state VARCHAR2(30); -- To keep track of job state
le ku$_LogEntry; -- For WIP and error messages
js ku$_JobStatus; -- The job status from get_status
jd ku$_JobDesc; -- The job description from get_status
sts ku$_Status; -- The status object returned by get_status
BEGIN
-- Create a (user-named) Data Pump job to do a schema export.
DBMS_OUTPUT.PUT_LINE('COMES HERE');
h1 := DBMS_DATAPUMP.OPEN(operation => 'IMPORT', job_mode =>
'TABLE',job_name => 'RET_IMPORT_TEST');
DBMS_OUTPUT.PUT_LINE('COMES HERE1111');
DBMS_DATAPUMP.ADD_FILE(handle => h1,filename =>
'MYEXPORTTEST.DMP', DIRECTORY => 'EXPORT_DIR',filetype=>1);
DBMS_OUTPUT.PUT_LINE('COMES HERE2222');
DBMS_DATAPUMP.ADD_FILE(handle => h1,filename =>
'MYEIMPORTTEST.LOG',DIRECTORY => 'EXPORT_DIR',filetype=>3);
DBMS_DATAPUMP.SET_PARAMETER (handle => h1,
NAME => 'INCLUDE_METADATA',
VALUE => 1);
DBMS_DATAPUMP.SET_PARAMETER(handle => h1,NAME =>
'DATA_ACCESS_METHOD', VALUE =>'AUTOMATIC');
DBMS_DATAPUMP.SET_PARAMETER(handle => h1,NAME =>
'TABLE_EXISTS_ACTION', VALUE =>'REPLACE');
DBMS_OUTPUT.PUT_LINE('COMES HERE3333');
-- Specify a single dump file for the job (using the handle just returned)
-- and a directory object, which must already be defined and accessible
-- to the user running this procedure.
-- Start the job. An exception will be generated if something is not set up
-- properly.
DBMS_DATAPUMP.START_JOB(h1);
-- The export job should now be running. In the following loop, the job
-- is monitored until it completes. In the meantime, progress information is
-- displayed.
percent_done := 0;
job_state := 'UNDEFINED';
WHILE (job_state != 'COMPLETED') AND (job_state != 'STOPPED') LOOP
dbms_datapump.get_status(h1,
dbms_datapump.ku$_status_job_error +
dbms_datapump.ku$_status_job_status +
dbms_datapump.ku$_status_wip,-1,job_state,sts);
js := sts.job_status;
-- If the percentage done changed, display the new value.
IF js.percent_done != percent_done
THEN
DBMS_OUTPUT.PUT_LINE('*** Job percent done = ' ||
TO_CHAR(js.percent_done));
percent_done := js.percent_done;
END IF;
-- If any work-in-progress (WIP) or error messages were received for the job,
-- display them.
IF (BITAND(sts.mask,dbms_datapump.ku$_status_wip) != 0)
THEN
le := sts.wip;
ELSE
IF (BITAND(sts.mask,dbms_datapump.ku$_status_job_error) != 0)
THEN
le := sts.error;
ELSE
le := NULL;
END IF;
END IF;
IF le IS NOT NULL
THEN
ind := le.FIRST;
WHILE ind IS NOT NULL LOOP
DBMS_OUTPUT.PUT_LINE(le(ind).LogText);
ind := le.NEXT(ind);
END LOOP;
END IF;
END LOOP;
-- Indicate that the job finished and detach from it.
DBMS_OUTPUT.PUT_LINE('Job has completed');
DBMS_OUTPUT.PUT_LINE('Final job state = ' || job_state);
dbms_datapump.detach(h1);
END;
/

Use metadata_remap proc with REMAP_SCHEMA option:
DBMS_DATAPUMP.METADATA_RAMAP(id, 'REMAP_SCHEMA', 'SOURCE_SCHEMA', 'DESTINATION_SCHEMA');

Similar Messages

  • Problem during import of 121 transport requests to productive system

    Hello
    We have problem during import of transport requests to productive system. Import of 121 transport requests stopped very soon in phase "N" (in TRBAT I have only one entry and in  TRJOB  as well).
    In sm50 there is an BGD running under user DDIC in client 000 now for 14453 seconds (program SAPLSDB2). This should be import.
    In SM37 I can see it as  job "RDDGEN0L" with  repport"RDDGENBB". Based on some literature it should perform "Converting all structure changes generated by the import and recorded in table TBATG, other than the structure changes to matchcode objects." Very interesting  that TBATG has only four entries related to 2 indexes in table "DFKKOPK" , one in table "DFKKREP06" and one" ENQU" for EFKKEXC". (only this last one has not status error)
    For fist two indexes I know they are not present  as objects "LIMU""INDX" in any transport request beeing imported.
    Also on productive system there is no"VOL" and "ZOL"indexes for table "DFKKOPK"(instead they are created on test system ie. not transported from development to test system)
    Last command for that process is "CREATE INDEX "DFKKOPK~HKO" ON "DFKKOPK" ("MANDT", "HKONT", "OPBEL") PCTFREE 10 INITRANS 002 TABLESPACE PSA
    PTR3 STORAGE (INITIAL 0000000016 K NEXT 0000000016 K MINEXTENTS 0000000001 MAXEXTENTS UNLIMITED PCTINCREAS"
    There is enaught space on disk and in tablespaces (it is an oracle/HPux server).
    Does anyone knows workaroun to solve production

    are you importing these transport requests simultaneously into production?
    I would suggest you try doing in smaller groups of 5 or 10 and then see whether you are able to import the requests
    Rohit

  • URGENT BIG PROBLEM:during import track st. in queue simply does not disap

    I have problem when importing transport request on production(the transport domain controler is on development system) . The track status in queue simply does not disappear.
    I tried(based on what I have seen on an other thread) to delete the transport in import monitor and tp on OS level on productive and development system
    Then I deleted entries in TRBAT&TRJOB tables. The TPSTAT is empty.
    The problem persists.
    What would you suggest . The go live depends on this problem

    Hi,
    /usr/sap/trans/buffer might still contain entries, be careful do not modify anything here.
    Check the link
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/ad5b5a4ebc11d182bf0000e829fbfe/frameset.htm
    Check the 'Cleaning up the transport directory' and 'Synchronizing the Buffers' links within the above link.
    Please do not use subjects like : URGENT BIG PROBLEM.. it is against the rules of this forum.
    Regards,
    Siddhesh

  • XSD Problem during Import

    Hi! I have created a XML to load the catalog item in batch mode and I understand that I have to use a XSD. So, I got a generated copy of the XSD (using XMLSpy), added the XML schema in the MDM Console and assigned it to the appropriate Port. I then loaded the product file in the Ready folder and the file disappeared - indicating that it has been processed. An exception occurred on checking the status of the load. In the report, there is a message - Source file does not conform to XML Schema.
    I then tried to import the XML through Import Manager and am able to import without problem. However, if I do the import using XSD, I found that the data did not appear at all for the structure. I reckon that may be the reason why the batch import did not work. However, I am not sure what is wrong with the XSD. Anybody has any idea? Thanks in advance for any help rendered.
    Below are my XML data and XSD:
    <?xml version="1.0" encoding="utf-8"?>
    <ProductCatalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\TEMP\Product Load XML.xsd">
         <MaterialContent>
              <Category>OTHER</Category>
              <MfgPartNum/>
              <MfgName/>
              <SupPartNum>9999TEST</SupPartNum>
              <SupName>Company ABC</SupName>
              <SupID>5650</SupID>
              <Description>9999 TEST ITEM</Description>
              <ScaleValue>1</ScaleValue>
              <Price>2.0</Price>
              <InfoRecord/>
              <PurOrg/>
              <Currency>NZD</Currency>
              <UOM>EA</UOM>
              <LongDescription/>
              <Picture/>
              <UNSPSC>44122011</UNSPSC>
              <UNSPSCDesc>Folders</UNSPSCDesc>
              <LeadTime>2</LeadTime>
              <Aliases/>
              <ProdGroup>00603</ProdGroup>
              <ItemType/>
              <Type/>
              <MimeType/>
              <URLDesc/>
              <URLLink/>
         </MaterialContent>
    </ProductCatalog>
    XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <!W3C Schema generated by XMLSpy v2008 rel. 2 (http://www.altova.com)>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="URLLink">
              <xs:complexType/>
         </xs:element>
         <xs:element name="URLDesc">
              <xs:complexType/>
         </xs:element>
         <xs:element name="UOM" type="xs:string"/>
         <xs:element name="UNSPSCDesc" type="xs:string"/>
         <xs:element name="UNSPSC" type="xs:int"/>
         <xs:element name="Type">
              <xs:complexType/>
         </xs:element>
         <xs:element name="SupPartNum" type="xs:string"/>
         <xs:element name="SupName" type="xs:string"/>
         <xs:element name="SupID" type="xs:short"/>
         <xs:element name="ScaleValue" type="xs:byte"/>
         <xs:element name="PurOrg">
              <xs:complexType/>
         </xs:element>
         <xs:element name="ProductCatalog">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MaterialContent" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ProdGroup" type="xs:short"/>
         <xs:element name="Price" type="xs:decimal"/>
         <xs:element name="Picture" type="xs:string"/>
         <xs:element name="MimeType">
              <xs:complexType/>
         </xs:element>
         <xs:element name="MfgPartNum">
              <xs:complexType/>
         </xs:element>
         <xs:element name="MfgName">
              <xs:complexType/>
         </xs:element>
         <xs:element name="MaterialContent">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="Category"/>
                        <xs:element ref="MfgPartNum"/>
                        <xs:element ref="MfgName"/>
                        <xs:element ref="SupPartNum"/>
                        <xs:element ref="SupName"/>
                        <xs:element ref="SupID"/>
                        <xs:element ref="Description"/>
                        <xs:element ref="ScaleValue"/>
                        <xs:element ref="Price"/>
                        <xs:element ref="InfoRecord"/>
                        <xs:element ref="PurOrg"/>
                        <xs:element ref="Currency"/>
                        <xs:element ref="UOM"/>
                        <xs:element ref="LongDescription"/>
                        <xs:element ref="Picture"/>
                        <xs:element ref="UNSPSC"/>
                        <xs:element ref="UNSPSCDesc"/>
                        <xs:element ref="LeadTime"/>
                        <xs:element ref="Aliases"/>
                        <xs:element ref="ProdGroup"/>
                        <xs:element ref="ItemType"/>
                        <xs:element ref="Type"/>
                        <xs:element ref="MimeType"/>
                        <xs:element ref="URLDesc"/>
                        <xs:element ref="URLLink"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="LongDescription">
              <xs:complexType/>
         </xs:element>
         <xs:element name="LeadTime" type="xs:byte"/>
         <xs:element name="ItemType">
              <xs:complexType/>
         </xs:element>
         <xs:element name="InfoRecord">
              <xs:complexType/>
         </xs:element>
         <xs:element name="Description" type="xs:string"/>
         <xs:element name="Currency" type="xs:string"/>
         <xs:element name="Category" type="xs:string"/>
         <xs:element name="Aliases">
              <xs:complexType/>
         </xs:element>
    </xs:schema>

    Hi I have finally resolved the problem! I did that by modifying the XSD into a simpler format which at least I can understand
    In general, I grouped the element definitions together and then put the top element at the bottom to reference to these elements. I also changed the type of some of the elements from complex to simple. Note that I didn't have to remove the namespace here.
    For those who are interested, below is the XSD I have modified from the generated XSD shown in my original posting on this problem:
    <?xml version="1.0" encoding="UTF-8"?>
    <!W3C Schema generated by XMLSpy v2008 rel. 2 (http://www.altova.com)>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!-- definition of elements -->
         <xs:element name="URLLink" type="xs:string"/>
         <xs:element name="URLDesc" type="xs:string"/>
         <xs:element name="UOM" type="xs:string"/>
         <xs:element name="UNSPSCDesc" type="xs:string"/>
         <xs:element name="UNSPSC" type="xs:int"/>
         <xs:element name="Type" type="xs:string"/>
         <xs:element name="SupPartNum" type="xs:string"/>
         <xs:element name="SupName" type="xs:string"/>
         <xs:element name="SupID" type="xs:short"/>
         <xs:element name="ScaleValue" type="xs:byte"/>
         <xs:element name="PurOrg" type="xs:string"/>
         <xs:element name="ProdGroup" type="xs:short"/>
         <xs:element name="Price" type="xs:decimal"/>
         <xs:element name="Picture" type="xs:string"/>
         <xs:element name="MimeType" type="xs:string"/>
         <xs:element name="MfgPartNum" type="xs:string"/>
         <xs:element name="MfgName" type="xs:string"/>
         <xs:element name="LongDescription" type="xs:string"/>
         <xs:element name="LeadTime" type="xs:byte"/>
         <xs:element name="ItemType" type="xs:string"/>
         <xs:element name="InfoRecord" type="xs:string"/>
         <xs:element name="Description" type="xs:string"/>
         <xs:element name="Currency" type="xs:string"/>
         <xs:element name="Category" type="xs:string"/>
         <xs:element name="Aliases" type="xs:string"/>
    <!-- definition of complex elements -->
         <xs:element name="MaterialContent">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="Category"/>
                        <xs:element ref="MfgPartNum"/>
                        <xs:element ref="MfgName"/>
                        <xs:element ref="SupPartNum"/>
                        <xs:element ref="SupName"/>
                        <xs:element ref="SupID"/>
                        <xs:element ref="Description"/>
                        <xs:element ref="ScaleValue"/>
                        <xs:element ref="Price"/>
                        <xs:element ref="InfoRecord"/>
                        <xs:element ref="PurOrg"/>
                        <xs:element ref="Currency"/>
                        <xs:element ref="UOM"/>
                        <xs:element ref="LongDescription"/>
                        <xs:element ref="Picture"/>
                        <xs:element ref="UNSPSC"/>
                        <xs:element ref="UNSPSCDesc"/>
                        <xs:element ref="LeadTime"/>
                        <xs:element ref="Aliases"/>
                        <xs:element ref="ProdGroup"/>
                        <xs:element ref="ItemType"/>
                        <xs:element ref="Type"/>
                        <xs:element ref="MimeType"/>
                        <xs:element ref="URLDesc"/>
                        <xs:element ref="URLLink"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ProductCatalog">
               <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MaterialContent" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    Edited by: SF on Dec 3, 2008 11:17 AM

  • Workflow problem during import of record

    Hi,
    We get the following error message during import of a record using import manager:
    4868 2008/05/05 15:12:44.861   Error: RC: 0x80000002  
    4868 2008/05/05 15:12:44.861   Error: Failed to GetJoinCheckOutRights. [Owner: WF Owner; Job Id: 10165]
    Currently we run MDM 5.5 SP6 Patch 2. This worked fine before we applied patch 2.
    The record is getting checked out in the start step. If I don't check out the record it's working fine.
    Any ideas?
    BR
    Michael

    Hi Michel,
    In the start step of Workflow there is an option as check out records(yes,no). select yes, when record will enter into the workflow it will get check out and no user will be able to modify that record throughout the workflow cycle.I you want that the record shoukd be modyfied at some step during workflow then you have to give rights (Join CheckOut )to the user of that Particular step.For That login with the user which is the Owner  of the workflow now rightclick onthe record or records and check in\out->Modify Join Permissions->either add a user or a role.This will allow that added user to Join check out and modify the Record(right clik on record ->join check out).Then that User will be able to modify the records.
    Reward if Helpfull.
    With Regards,
    Vinay Yadav

  • Reg: Export and Import using Dbms_datapump

    Hi,
    I would like to export a table using dbms_datapump package. I have a procedure to do this (In Oracle 10g R10.2.0.1.0). This procedure have parameter for schema name and table name and this particular schema table should be exported as
    dump file.
    PROCEDURE PR_EXPORT(PV_SCHEMA IN VARCHAR2,
    PV_TABLE VARCHAR2,
    PV_STATUS OUT VARCHAR2) AS
    l_dp_handle NUMBER;
    l_last_job_state VARCHAR2(30) := 'UNDEFINED';
    l_job_state VARCHAR2(30) := 'UNDEFINED';
    l_sts KU$_STATUS;
    l_schema varchar2(256);
    l_table varchar2(256);
    BEGIN
    l_schema := 'IN(''' || PV_SCHEMA || ''')'; --'IN(''VALIDATION'')'
    l_table := 'IN(''' || pv_table || ''')'; -- 'IN(''TABLE1'')'
    DBMS_OUTPUT .PUT_LINE('SCHEMA ' || L_SCHEMA);
    DBMS_OUTPUT .PUT_LINE('TABLE ' || L_TABLE);
    l_dp_handle := DBMS_DATAPUMP.open(operation =&gt; 'EXPORT',
    job_mode =&gt; 'TABLE',
    remote_link =&gt; NULL,
    job_name =&gt; 'EMP_EXPORT13',
    version =&gt; 'LATEST');
    DBMS_DATAPUMP .add_file(handle =&gt; l_dp_handle,
    filename =&gt; 'SCOTT12.dmp',
    directory =&gt; 'BACKUP_DIR');
    DBMS_DATAPUMP .add_file(handle =&gt; l_dp_handle,
    filename =&gt; 'SCOTT12.log',
    directory =&gt; 'BACKUP_DIR',
    filetype =&gt; DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
    DBMS_DATAPUMP .metadata_filter(handle =&gt; l_dp_handle,
    name =&gt; 'SCHEMA_EXPR',
    VALUE =&gt; l_schema --'IN(''VALIDATION'')'
    DBMS_DATAPUMP .metadata_filter(handle =&gt; l_dp_handle,
    name =&gt; 'NAME_EXPR',
    VALUE =&gt; l_table -- 'IN(''TABLE1'')'
    DBMS_DATAPUMP .start_job(l_dp_handle);
    DBMS_DATAPUMP .detach(l_dp_handle);
    END PR_EXPORT;
    Sometime the above procedure correctly creating the dump file. But sometimes, it is showing the below error:
    The following error has occurred:
    ORA-26535: %ud byte row cache insufficient for table with rowsize=%ud
    Please help me on this.
    Thanks and Regards,
    Vijay

    The only information I could find so far is this [http://ora-26535.ora-code.com/].
    I could not find out how to change the buffer size - there does not seem to be an option in [DBMS_DATAPUMP|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_datpmp.htm#i1007277]. Maybe you have to search the [Advanced Replication documentation|http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/toc.htm].
    HTH

  • Problems during import BW structure - Don't view the queries

    Hello!
    I have a problem when import the structure of BW 7.0 with xmla file in OBIEE+. The version of OBIEE is 10.1.3.4.
    When I do the importation, I don't see the queries created on BW, only the infocubes. But the queries is associate to infocube.
    Can help me?
    Thks,
    Flavia

    I solved this problem.
    In the BEx Query Designer (BW 7), opened the query and click on "Query Properties" and then, "Extended" option. There is a checked box called “Allow External Access to this query” that must be checked. At the end, save the query in BEx and import the XMLA on OBIEE+. The queries is loaded.

  • Problems during Transformation using Xalan

    Hi,
    i'm using Xalan 2.6.0 to transform xml and xsl into HTML.
    This works fine but i get errors during Transformation but the HTML File is build.
    The Error is:
    [Error] version.xsl:9:80: Element type "xsl:stylesheet" must be declared.
    [Error] version.xsl:11:33: Element type "xsl:include" must be declared.
    [Error] version.xsl:20:3: Element type "xsl:output" must be declared.
    [Error] version.xsl:21:25: Element type "xsl:template" must be declared.
    [Error] version.xsl:22:7: Element type "html" must be declared.
    [Error] version.xsl:23:34: Element type "xsl:call-template" must be declared.
    [Error] version.xsl:24:79: Element type "xsl:with-param" must be declared.
    [Error] version.xsl:26:7: Element type "body" must be declared.
    [Error] version.xsl:27:83: Element type "table" must be declared.
    [Error] version.xsl:28:7: Element type "tr" must be declared.
    [Error] version.xsl:29:34: Element type "th" must be declared.
    [Error] version.xsl:32:64: Element type "table" must be declared.
    [Error] version.xsl:33:7: Element type "tr" must be declared.
    . and so on
    The header of the XSL File looks like:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE xsl:stylesheet [
    <!ENTITY amp "&#038;">
    <!ENTITY nbsp "&#160;">
    <!ENTITY uuml "&#252;">
    <!ENTITY Auml "&#196;">
    ]>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:include href="global.xsl"/>
    <!-- Template f�r root Element-->
    <xsl:output
    method="html"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
    encoding="ISO-8859-1"
    version="4.01"
    indent="yes"
    />
    <xsl:template match="/">
    Can somebody help me with this problem ?
    Thanks.
    Jens

    When I remove the DOCTYPE it works but is this a Xalan Problem or is the using of a doctype declaration in a XSL Document generally forbidden ?
    Because without Doctype i cant use characters such as "�", "�", and so on.

  • Toplink 11.1.1.1.0 Locking problem during update using ServerSession

    Hi,
    I m using toplink as ORM tool in my project. I have a scenario wherein I m using ServerSession and acquiring UnitOfWork. I do locking on the orm entity using following code.
    ExpressionBuilder builder = new ExpressionBuilder();
         Expression expr = builder.get("id").equal(id);
         Employee employee = (Employee )uow.readObject(Employee .class, expr);                    
    try {
              uow.refreshAndLockObject(employee, ObjectLevelReadQuery.LOCK_NOWAIT);
         } catch (Exception e){
              throw new LockedException(); //Custom exception
    The execution fails with the following error details.
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070428)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01747: invalid user.table.column, table.column, or column specification
    Error Code: 1747
    Call:SELECT ID, UDF_VALUE_20, UDF_VALUE_21, CATEGORY FROM EMPLOYEE WHERE (ID = 20001) FOR UPDATE OF * NOWAIT
    Query:ReadObjectQuery(com.ofss.elcm.domain.ge.Liability)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:290)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:581)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
         at oracle.toplink.publicinterface.Session.executeCall(Session.java:728)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:501)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:862)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:837)
         at oracle.toplink.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:415)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:811)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:388)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:836)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2604)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:950)
         at oracle.toplink.publicinterface.Session.refreshAndLockObject(Session.java:2632)
    However if I load the UnitOfWork using DatabaseSession it works fine and build the query like this.
    SELECT ID, UDF_VALUE_20, UDF_VALUE_21, CATEGORY  FROM EMPLOYEE WHERE (ID = 20001) FOR UPDATE NOWAIT
    Thanks in Advance.
    Srini

    Hi Chris,
    Yes you are right, databasePlatform is set in the sessions.xml. However I have created two sessions.xml one for database session and the other for server session. In both the cases the file content is same except for session name.
    database-session.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--<?xml version="1.0" encoding="Cp1252"?>-->
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>database-session</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finest</log-level>
    </logging>
    <primary-project xsi:type="xml">META-INF/employee.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <!--<external-connection-pooling>true</external-connection-pooling>
    --><!-- Thru Junit Testing -->
         <user-name>Test1</user-name>
                   <password>Test1</password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Default</name>
    <preallocation-size>100</preallocation-size>
    </default-sequence>
    </sequencing>
    <!-- Thru Junit Testing -->
                   <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                   <connection-url>jdbc:oracle:thin:@testDB:1521:ORCL</connection-url>
    <!--<datasource lookup="string">jdbc/TestDataSource</datasource>
    --></login>
    <connection-pools>
    <read-connection-pool>
    <name>ReadConnectionPool</name>
    </read-connection-pool>
    <write-connection-pool>
    <name>default</name>
    </write-connection-pool>
    </connection-pools>
    <connection-policy/>
    </session>
    </toplink-sessions>
    server-session.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--<?xml version="1.0" encoding="Cp1252"?>-->
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>server-session</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finest</log-level>
    </logging>
    <primary-project xsi:type="xml">META-INF/employee.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <!--<external-connection-pooling>true</external-connection-pooling>
    --><!-- Thru Junit Testing -->
         <user-name>Test1</user-name>
                   <password>Test1</password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Default</name>
    <preallocation-size>100</preallocation-size>
    </default-sequence>
    </sequencing>
    <!-- Thru Junit Testing -->
                   <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                   <connection-url>jdbc:oracle:thin:@testDB:1521:ORCL</connection-url>
    <!--<datasource lookup="string">jdbc/TestDataSource</datasource>
    --></login>
    <connection-pools>
    <read-connection-pool>
    <name>ReadConnectionPool</name>
    </read-connection-pool>
    <write-connection-pool>
    <name>default</name>
    </write-connection-pool>
    </connection-pools>
    <connection-policy/>
    </session>
    </toplink-sessions>
    And I m loading the xmls uring singleton java class.
    import java.io.IOException;
    import oracle.toplink.exceptions.TopLinkException;
    import oracle.toplink.sessions.DatabaseSession;
    import oracle.toplink.threetier.ServerSession;
    import oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader;
    import oracle.toplink.tools.sessionmanagement.SessionManager;
    * This class represents the DBSessionManager. This class will be responsible
    * for creating the server session and multiple client session. The server session
    * would be loaded from sessions.xml file and the client session will be created
    * on the server session but the client session would use the external connection
    * to make the transactions, it would not use the connection that is being created
    * during loading the server session.
    * @author
    public class DBSessionManager {
    * This attribute will hold the value for DBSession Manager.
    private static DBSessionManager instance;
    * This attribute will hold the value for session file path
    private static final String SERVER_SESSIONS_XML = "META-INF/server-sessions.xml";
    private static final String DATABASE_SESSIONS_XML = "META-INF/database-sessions.xml";
    private static final String DATABASE_SESSION = "database-session";
    private static final String SERVER_SESSION = "server-session";
    * This attribute will hold the value for session file
    private String serverSessionConfigLocation = SERVER_SESSIONS_XML;
    * This attribute will hold the value for session file
    private String databaseSessionConfigLocation = DATABASE_SESSIONS_XML;
    * This attribute will hold the value for session name.
    private static final String DEFAULT_SESSION_NAME = "default";
    * This attribute will hold the value for session name
    private String sessionName = SERVER_SESSION;
    private boolean standalone = false;
    private static Session toplinkSession = null;
    * This is attribute which tell the session type<br>
    * Supported values are
    * <li> DATABASE is DatabaseSession </li>
    * <li> SERVER is ServerSession </li>
    private static final String TOPLINK_SESSION_TYPE = "TOPLINK_SESSION_TYPE";
    * Default Constructor.
    * This constructor will create the server session.
    //     private DBSessionManager() {
    // // setSessionType();
    //     toplinkSession = new Session();
    // if(standalone) {
    // toplinkSession.setDatabaseSession(buildDatabaseSession());
    // } else {
    // ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
    // toplinkSession.setServerSession((ServerSession) buildServerSession(this.configLocation, this.sessionName, classLoader));
    private DBSessionManager() {
    // setSessionType();
    toplinkSession = new Session();
    toplinkSession.setDatabaseSession(buildDatabaseSession());
    ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
    toplinkSession.setServerSession((ServerSession)buildServerSession(this.serverSessionConfigLocation, this.sessionName,classLoader));
    * This method will return the instance of DBSessionManager class.
    * @return
    public static DBSessionManager getInstance() {
    if (instance == null) {
    synchronized (DBSessionManager.class) {
    if (instance == null) {
    instance = new DBSessionManager();
    return instance;
    public boolean isStandalone() {
    return standalone;
    * This method will load the server session from the sessions.xml file.
    * @param configLocation
    * @param sessionName
    * @param sessionClassLoader
    * @return ServerSession
    * @throws TopLinkException
    private ServerSession buildServerSession(String configLocation,
    String sessionName,
    ClassLoader sessionClassLoader) throws TopLinkException {
    ServerSession serverSession =
    (ServerSession)SessionManager.getManager().getSession(new XMLSessionConfigLoader(SERVER_SESSIONS_XML),
    SERVER_SESSION,
    // Session name
    this.getClass().getClassLoader(), false, // shouldLoginSession
    false, // shouldRefreshSession
    true) // shouldCheckClassLoader
    serverSession.login();
    return serverSession;
    * Use to get server session
    * @return ServerSession
    private ServerSession getServerSession() {
    return toplinkSession.getServerSession();
    * This method is used to release client session. The client session should<br>
    * be released so that the server does not hang refusing new client session<br>
    * requests. <br>
    * It has been observed in local setups that the server hangs after firing<br>
    * 30 to 40 requests even in a single thread if the client session is not<br>
    * released.
    * @param clientSession
    public void releaseClientSession() {
    toplinkSession.releaseClientSession();
    private DatabaseSession buildDatabaseSession() {
    XMLSessionConfigLoader loader =
    new XMLSessionConfigLoader(DATABASE_SESSIONS_XML);
    SessionManager sessionManager = SessionManager.getManager();
    DatabaseSession session =
    (DatabaseSession)sessionManager.getSession(loader, DATABASE_SESSION,
    DBSessionManager.class.getClassLoader(),
    true, true, true);
    // SessionLog log = new TopLinkLog();
    // Do not change the log level here. SessionLog.FINE logs DML statements
    // and few other 'nonsenses'. DML statements are enough to debug an
    // issue. All TopLink logs are logged as debug messages by LogUtil.
    // log.setLevel(SessionLog.FINE);
    return session;
    public Session getSession() {
    return toplinkSession;
    * This method read the session type from elcm.properties and set the value for standalone attribute.<br>
    * If the session is type of database the value is true, if the session is server session the value is false.
    private void setSessionType() {
    try {
    String sessionType =
    ELCMApplicationGlobals.getInstance().getProperty(TOPLINK_SESSION_TYPE);
    if (DATABASE_SESSION.equalsIgnoreCase(sessionType)) {
    standalone = true;
    } else if (SERVER_SESSION.equalsIgnoreCase(sessionType)) {
    standalone = false;
    } catch (IOException e) {
    e.printStackTrace();
    Please review and let me know if I m missing anything or wrongly implemented.
    Thanks,
    Srini

  • Rollback problem during import

    Hello experts,
    please help.
    I have the following error when importing table data to my
    Oracle 8.1.7 database.
    IMP-00058: ORACLE error 1562 encountered
    ORA-01562: failed to extend rollback segment number 16
    ORA-01237: cannot extend datafile 3
    kind regards
    Yogeeraj

    You have two options. Either give your Rollback Segment
    tablespace more room to grow, or you could try using the
    commit=y parameter on your import. This will periodically commit
    transactiosn during the import. Although off the top of my head,
    I don't remember what it is based off of. Maybe buffer.

  • Problems during import in Test

    Hallo,
    during the import in Test the failure described below occures. The missing jar i believe must be build on the server by deployment, isn´t it?
    Thanks in advance,
    Frank
    SAP Change Management Service
    Software Component enbw.net/AWEL_SOA
    Version WT2_AWEL_C.20070621151816
    Label 1.0 Level 0 Update AWEL.06211518
    System AWEL-Test
    Step SDM-deploy
    Log /usr/sap/JTrans/CMS/log/AWEL_Q@WT2/[email protected]
    Info:Starting Step SDM-deploy at 2007-06-21 17:20:08.0172 +2:00
    Info:start deployment of archives to SDM:http://test-was.enbw.net:50018
    Info:The following archives will be deployed (on http://test-was.enbw.net:50018)
    Info:/usr/sap/JTrans/CMS/archives/enbw.netAWEL_SOAWT2_AWEL_C~20070621151816.sca
    Info:SDM log:
    Info:
    Info:
    Info:
    Info:
    Info:
    Info:
    Info:
    Info:
    Info:Jun 21, 2007 5:20:08 PM  Info: -
    Starting deployment -
    Info:Jun 21, 2007 5:20:08 PM  Info: Error handling strategy: OnErrorStop
    Info:Jun 21, 2007 5:20:08 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Info:Jun 21, 2007 5:20:08 PM  Info: Update strategy: UpdateAllVersions
    Info:Jun 21, 2007 5:20:08 PM  Info: Starting deployment prerequisites:
    Info:Jun 21, 2007 5:20:09 PM  Info: Loading selected archives...
    Info:Jun 21, 2007 5:20:09 PM  Info: Loading archive '/usr/sap/WQ2/DVEBMGS00/SDM/program/temp/enbw.netAWEL_SOAWT2_AWEL_C~20070621151816.sca'
    Info:Jun 21, 2007 5:20:10 PM  Info: Selected archives successfully loaded.
    Info:Jun 21, 2007 5:20:10 PM  Info: Actions per selected component:
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AwelAnfrageZaehlpunktEAR'/'enbw.net'/'WT2_AWEL_C'/'96130' updates currently deployed development component 'AwelAnfrageZaehlpunktEAR'/'enbw.net'/'WT2_AWEL_C'/'96130'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AenderungZaehlpunktVer1EAR'/'enbw.net'/'WT2_AWEL_C'/'96133' updates currently deployed development component 'AenderungZaehlpunktVer1EAR'/'enbw.net'/'WT2_AWEL_C'/'96133'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Initial deployment: Selected development component 'AenderungGeschaeftspartnerGasEAR'/'sap.com'/'WT2_AWEL_C'/'96168' will be deployed.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AenderungGeschaeftspartnerEAR'/'enbw.net'/'WT2_AWEL_C'/'96178' updates currently deployed development component 'AenderungGeschaeftspartnerEAR'/'enbw.net'/'WT2_AWEL_C'/'96127'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AwelKlaerungNetzlogistikVMEEAR'/'enbw.net'/'WT2_AWEL_C'/'96134' updates currently deployed development component 'AwelKlaerungNetzlogistikVMEEAR'/'enbw.net'/'WT2_AWEL_C'/'96134'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AwelAuftragGasEAR'/'enbw.net'/'WT2_AWEL_C'/'96164' updates currently deployed development component 'AwelAuftragGasEAR'/'enbw.net'/'WT2_AWEL_C'/'96131'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Initial deployment: Selected development component 'AwelAuftragGasVer1EAR'/'enbw.net'/'WT2_AWEL_C'/'96165' will be deployed.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AwelBeziehungNewEAR'/'enbw.net'/'WT2_AWEL_C'/'96129' updates currently deployed development component 'AwelBeziehungNewEAR'/'enbw.net'/'WT2_AWEL_C'/'96129'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AwelBeziehungGasEAR'/'enbw.net'/'WT2_AWEL_C'/'96132' updates currently deployed development component 'AwelBeziehungGasEAR'/'enbw.net'/'WT2_AWEL_C'/'96132'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AwelAenderungZaehlpunktGasEAR'/'enbw.net'/'WT2_AWEL_C'/'96126' updates currently deployed development component 'AwelAenderungZaehlpunktGasEAR'/'enbw.net'/'WT2_AWEL_C'/'96126'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'Library'/'enbw.net'/'WT2_AWEL_C'/'96113' updates currently deployed development component 'Library'/'enbw.net'/'WT2_AWEL_C'/'96113'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Update: Selected development component 'AenderungZaehlpunktEAR'/'enbw.net'/'WT2_AWEL_C'/'96125' updates currently deployed development component 'AenderungZaehlpunktEAR'/'enbw.net'/'WT2_AWEL_C'/'96125'.
    Info:Jun 21, 2007 5:20:10 PM  Info: Initial deployment: Selected software component 'AWEL_SOA'/'enbw.net'/'WT2_AWEL_C'/'1000.1.0.0.0.20070621151816' will be deployed.
    Info:Jun 21, 2007 5:20:10 PM  Info: Initial deployment: Selected development component 'AenderungGeschaeftspartnerGasVer1EAR'/'enbw.net'/'WT2_AWEL_C'/'96162' will be deployed.
    Info:Jun 21, 2007 5:20:10 PM  Info: Ending deployment prerequisites. All items are correct.
    Info:Jun 21, 2007 5:20:10 PM  Info: Saved current Engine state.
    Info:Jun 21, 2007 5:20:10 PM  Info: Starting: Update: Selected development component 'AenderungGeschaeftspartnerEAR'/'enbw.net'/'WT2_AWEL_C'/'96178' updates currently deployed development component 'AenderungGeschaeftspartnerEAR'/'enbw.net'/'WT2_AWEL_C'/'96127'.
    Info:Jun 21, 2007 5:20:10 PM  Info: SDA to be deployed: /usr/sap/WQ2/DVEBMGS00/SDM/root/origin/enbw.net/AenderungGeschaeftspartnerEAR/WT2_AWEL_C/96178/enbw.net_AenderungGeschaeftspartnerEAR.sda
    Info:Jun 21, 2007 5:20:10 PM  Info: Software type of SDA: J2EE
    Info:Jun 21, 2007 5:20:10 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Info:Jun 21, 2007 5:20:27 PM  Info: Begin of log messages of the target system:
    Info:07/06/21 17:20:10 -  ***********************************************************
    Info:07/06/21 17:20:13 -  Start updating EAR file...
    Info:07/06/21 17:20:13 -  start-up mode is lazy
    Info:07/06/21 17:20:13 -  EAR file updated successfully for 142ms.
    Info:07/06/21 17:20:13 -  Start updating...
    Info:07/06/21 17:20:14 -  EAR file uploaded to server for 158ms.
    Info:07/06/21 17:20:26 -  Successfully updated. Update took 11648ms.
    Info:07/06/21 17:20:26 -  Deploy Service status:
    Info:07/06/21 17:20:26 -    Application : enbw.net/AenderungGeschaeftspartnerEAR
    Info:07/06/21 17:20:26 -   
    Info:07/06/21 17:20:26 -    AwelAenderungGeschaeftspartnerBean  - EJB
    Info:07/06/21 17:20:26 -    WEB SERVICE PORTS:
    Info:                     /AwelAenderungGeschaeftspartner_Ver2/Config1
    Info:                       - WEBSERVICES
    Info:07/06/21 17:20:26 -    AwelAenderungGeschaeftspartner_Ver2/Config1  - WEB
    Info:07/06/21 17:20:26 -  ***********************************************************
    Info:Jun 21, 2007 5:20:27 PM  Info: End of log messages of the target system.
    Info:Jun 21, 2007 5:20:27 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Info:Jun 21, 2007 5:20:27 PM  Info: Finished successfully: development component 'AenderungGeschaeftspartnerEAR'/'enbw.net'/'WT2_AWEL_C'/'96178', grouped by software component 'AWEL_SOA'/'enbw.net'/'WT2_AWEL_C'/'1000.1.0.0.0.20070621151816'
    Info:Jun 21, 2007 5:20:28 PM  Info: Starting: Initial deployment: Selected development component 'AenderungGeschaeftspartnerGasEAR'/'sap.com'/'WT2_AWEL_C'/'96168' will be deployed.
    Info:Jun 21, 2007 5:20:28 PM  Info: SDA to be deployed: /usr/sap/WQ2/DVEBMGS00/SDM/root/origin/sap.com/AenderungGeschaeftspartnerGasEAR/WT2_AWEL_C/96168/sap.com_AenderungGeschaeftspartnerGasEAR.sda
    Info:Jun 21, 2007 5:20:28 PM  Info: Software type of SDA: J2EE
    Info:Jun 21, 2007 5:20:28 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Info:Jun 21, 2007 5:20:28 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Info:Jun 21, 2007 5:20:28 PM  Error: Aborted: development component 'AenderungGeschaeftspartnerGasEAR'/'sap.com'/'WT2_AWEL_C'/'96168', grouped by software component 'AWEL_SOA'/'enbw.net'/'WT2_AWEL_C'/'1000.1.0.0.0.20070621151816':
    Info:Caught exception during access of archive "/usr/sap/WQ2/DVEBMGS00/SDM/root/origin/sap.com/AenderungGeschaeftspartnerGasEAR/WT2_AWEL_C/96168/sap.com_AenderungGeschaeftspartnerGasEAR.sda":
    Info:java.lang.RuntimeException: ERROR: Cannot initialize EARReader: com.sap.engine.services.deploy.exceptions.BaseIOException: Cannot convert EAR /usr/sap/WQ2/DVEBMGS00/SDM/root/origin/sap.com/AenderungGeschaeftspartnerGasEAR/WT2_AWEL_C/96168/sap.com_AenderungGeschaeftspartnerGasEAR.sda to J2EE 1.3.
    Info:Exception is:
    Info:com.sap.engine.services.deploy.exceptions.BaseIOException: Cannot convert EAR /usr/sap/WQ2/DVEBMGS00/SDM/root/origin/sap.com/AenderungGeschaeftspartnerGasEAR/WT2_AWEL_C/96168/sap.com_AenderungGeschaeftspartnerGasEAR.sda to J2EE 1.3.
    Info:     at com.sap.engine.services.deploy.converter.EARConverter.convert(EARConverter.java:185)
    Info:     at com.sap.engine.deploy.manager.DeployManagerImpl.setEar(DeployManagerImpl.java:444)
    Info:     at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.initDeployManager(EngineApplOnlineDeployerImpl.java:300)
    Info:     at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:134)
    Info:     at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
    Info:     at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
    Info:     at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
    Info:     at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
    Info:     at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48)
    Info:     at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
    Info:     at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
    Info:     at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
    Info:     at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
    Info:     at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
    Info:     at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:119)
    Info:     at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:88)
    Info:     at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)
    Info:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Info:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Info:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Info:     at java.lang.reflect.Method.invoke(Method.java:324)
    Info:     at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
    Info:     at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
    Info:     at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)
    Info:     at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
    Info:     at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
    Info:     at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)
    Info:     at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
    Info:     at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
    Info:     at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
    Info:     at java.lang.Thread.run(Thread.java:534)
    Info:Caused by: java.io.IOException: The following archives that are
    Info:described in the ear descriptor are not found in the ear:
    Info:     enbw.net~AenderungGeschaeftspartnerGas.jar,
    Info:Please check the ear content.
    Info:     at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.checkDescriptor(ExtendedEARReader.java:805)
    Info:     at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.getDescriptor(ExtendedEARReader.java:324)
    Info:     at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.(ExtendedEARReader.java:87)
    Info:     at com.sap.engine.services.deploy.converter.EARConverter.convert(EARConverter.java:85)
    Info:     ... 30 more
    Info:
    Info:
    Info:
    Info: (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).null)
    Info:Jun 21, 2007 5:20:28 PM  Info: Starting: Initial deployment: Selected software component 'AWEL_SOA'/'enbw.net'/'WT2_AWEL_C'/'1000.1.0.0.0.20070621151816' will be deployed.
    Info:Jun 21, 2007 5:20:28 PM  Error: Aborted: software component 'AWEL_SOA'/'enbw.net'/'WT2_AWEL_C'/'1000.1.0.0.0.20070621151816':
    Info:No further description found.
    Info:Jun 21, 2007 5:20:29 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Info:Jun 21, 2007 5:20:29 PM  Error: -
    At least one of the Deployments failed -
    Info:end of log received from SDM
    Info:RC of deployment: 12
    Info:Step SDM-deploy ended with result 'fatal error' ,stopping execution at 2007-06-21 17:20:30.0363 +2:00

    thanks a lot for your reply..
    initially i was using OCI for connecting to the database and i didnt define any ODBC driver in my system DSN. but when the import got failed again and again, then i setup the ODBC driver in the system DSN and retried the import. again the same probblem is appearing.
    i have checked the table structures in the database. all are simple tables with or without a primary key and several foreign keys and indexes.
    please suggest.

  • KEEP GETTING ORA-04030: OUT OF PROCESS MEMORY During import using DataPump

    Hi,
    I know I have several issues with my datapump during imp, but I am stuck again people :(
    We took a expdp from an external client and we are trying to append the data to our existing db. When we do this, we keep
    getting this.
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "IWORKS"."TBLEDIFILE_DTL" failed to load/unload and is being
    skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    and so on...for all the tables.
    I used 2 different impdp commands to see if I would get different results and they are:
    mpdp system@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp
    job_name=impgemdev041708_01 INCLUDE=TABLE TABLE_EXISTS_ACTION=APPEND
    SCHEMAS=GEMDEV LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS
    REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX
    REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES EXCLUDE=GRANT exclude=statistics
    STREAMS_CONFIGURATION=N
    impdp system@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp job_name=impgemdev041708_02 SCHEMAS=GEMDEV
    LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS
    REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX
    REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES EXCLUDE=GRANT exclude=statistics
    STREAMS_CONFIGURATION=N
    I have also enabled my 3gb limit on my Windows 2003 Server which has a total of 4gb of RAM and a 2.6 ghz dual core:
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\rdgadmin>cd ../..
    C:\>type boot.ini
    [boot loader]
    redirect=UseBiosSettings
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /noexecute=optout /fastdetect /3GB /redirect
    Here is my Parameter file as well so this will show you how I setup my memory allocation as well.
    # Memory Allocations
    iworksdb.__db_cache_size=0
    iworksdb.__java_pool_size=0
    iworksdb.__large_pool_size=0
    iworksdb.__shared_pool_size=0
    iworksdb.__streams_pool_size=0
    *.db_16k_cache_size=673741824
    *.db_block_size=8192
    *.db_recovery_file_dest_size=1147483648
    *.pga_aggregate_target=1010612736
    *.sga_max_size=1521225472
    *.sga_target=1321225472
    # Instance Parameters
    *.control_files='C:\ORACLE\FILES\IWORKSDB\control01.ctl',
    'R:\ORACLE\FILES\IWORKSDB\control02.ctl',
    'C:\ORACLE\FILES\IWORKSDB\control03.ctl'
    *.db_domain=''
    *.db_name='iworksdb'
    *._kgl_large_heap_warning_threshold=0
    *.compatible='10.2.0.4.0'
    *.job_queue_processes=20
    *.open_cursors=20000
    *.session_cached_cursors=8000
    *.processes=300
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.db_recovery_file_dest='c:\ORACLE\FILES\IWORKSDB'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=iworksdbXDB)'
    *.statistics_level=ALL
    *.db_writer_processes=4
    # CBO Settings
    *.optimizer_mode='FIRST_ROWS'
    *.optimizer_index_cost_adj=20
    *.query_rewrite_enabled=TRUE
    *.STAR_TRANSFORMATION_ENABLED=TRUE
    *._NEWSORT_ENABLED=TRUE
    *.OPTIMIZER_DYNAMIC_SAMPLING=4
    *.optimizer_index_caching=75
    *.optimizer_index_cost_adj=15
    Continued on the next post....

    Continuation....
    Here is my log file from the impdp:
    Import: Release 10.2.0.4.0 - Production on Thursday, 17 April, 2008 14:35:31
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."IMPGEMDEV041708_01" successfully loaded/unloaded
    Starting "SYSTEM"."IMPGEMDEV041708_01": system/********@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp job_name=impgemdev041708_01 INCLUDE=TABLE TABLE_EXISTS_ACTION=APPEND SCHEMAS=GEMDEV LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES STREAMS_CONFIGURATION=N
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39152: Table "IWORKS"."SYS_TOKENTYPE" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "IWORKS"."TBLEDIFILE_DTL" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    ORA-31693: Table data object "IWORKS"."TBLSUBSCRIBERBENEFITS_DTL" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    ORA-31693: Table data object "IWORKS"."TBLROUTE_DTL" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    ;;; Import> kill_job
    Job "SYSTEM"."IMPGEMDEV041708_01" stopped due to fatal error at 14:42:54
    So basically I have looked online at Metalink and they are telling me (VIA me opening a SR with them), that I should look at Note 233869.1 Diagnosing and Resolving ORA-4030 errors
    So I did this, and the only thing that can apply to me that I am thinking is maybe I have sized my SGA too big??? I mean what else can cause this issue?

  • Problem during import

    hi gems...
    when i am trying to import a dump file into our database then the following error occured...
    i am using the simple import utility since the dump has taken using simple export utility..
    IMP-00017: following statement failed with ORACLE error 14063:
    "ALTER TABLE "TABLE_NAME" ADD CONSTRAINT "PK1_TABLE_NAME"
    PRIMARY KEY ("COLUMN_NAME_1") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "INDEX_TBS" LOGGING"
    IMP-00003: ORACLE error 14063 encountered
    ORA-14063: Unusable index exists on unique/primary constraint key
    IMP-00017: following statement failed with ORACLE error 14048:
    "ALTER INDEX "PK1_TABLE_NAME" UNUSABLE ENABLE "
    IMP-00003: ORACLE error 14048 encountered
    ORA-14048: a partition maintenance operation may not be combined with other operations
    i have gone through the online helps from different sites but didnt found any action...
    please help...

    Please check this out :
    ORA-14063: Unusable index exists on unique/primary constraint key
    Cause: User attempted to add or enable a primary key/unique constraint on column(s) of a table on which there exists an index marked Index Unusable.
    Action: Drop the existing index or rebuild it using ALTER INDEX REBUILD
    ORA-14048: a partition maintenance operation may not be combined with other operations
    Cause: ALTER TABLE or ALTER INDEX statement attempted to combine a partition maintenance operation (e.g. MOVE PARTITION) with some other operation (e.g. ADD PARTITION or PCTFREE which is illegal
    Action: Ensure that a partition maintenance operation is the sole operation specified in ALTER TABLE or ALTER INDEX statement; operations other than those dealing with partitions, default attributes of partitioned tables/indices or specifying that a table be renamed (ALTER TABLE RENAME) may be combined at will
    May i know which sort of import you are performing ? schema/full_db/table_level ?
    Please truncate all the tables and drop all other objects in the database or database schema(based on the requirement) on which you are going to import the data...

  • ORA-02374: conversion error loading table during import using IMPDP

    HI All,
    We are trying to migrate the data from one database to an other database.
    The source database is having character set
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    US7ASCII
    The destination database is having character set
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    We took an export of the whole database using expdp and when we try to import to the destination database using impdp. We are getting the following error.
    ORA-02374: conversion error loading table <TABLE_NAME>
    ORA-12899: value too large for column <COLUMN NAME> (actual: 42, maximum: 40)
    ORA-02372: data for row:<COLUMN NAME> : 0X'4944454E5449464943414349E44E204445204C4C414D414441'
    Kindly let me know how to overcome this issue in destination.
    Thanks & Regards,
    Vikas Krishna

    Hi,
    You can overcome this issue by increasing the column width in the target database for the max value required for all data to be imported successfully in the table.
    Regards

  • Invoicing problem during import scenario

    Dear Gurus,
    here in import case., we do initially PO and do MIRO and capture the duties and then GRN will be made.after that excise part 2 will be posted.
    we made a restriction against the quantity should not exceed grn quantity.
    but in import case we cannot enter the straight away quanityt in MIRO.
    process we do : PO will be made and then after the vehicle comes,MIRO will be done against the PO and capture the duties.
    next GRN will be done and excise part 2 will be posted.and MIRO will be done again for quantity.
    plz suggest
    Bhanu

    Hi,
    What you are doing is standard business process in case of Import.
    So in the restriction of MIRO you can easily enter a validation that will check the your PO is for import or not
    logic can be used
    1. PO document type (EKKO - BSART)
    2.Main vendor code in PO (EKKO -LIFNR) and the country of that vendor
    table LFA1 field LAND1 and if country not equal to india (i.e import)
    and If this is case you will allow the MIRO
    So you can perform your check for normal Po and distinguish Import PO
    Edited by: redriver on Dec 10, 2011 6:54 AM

Maybe you are looking for

  • How can I force a carrier update?

    I used the "Restore" option in iTunes to reset my iPhone 3G to an earlier state.  (Don't ask why.)  Unfortunately by doing so I also reversed a carrier update and now my visual voice mail does not work.  Tech support tells me that iTunes will automat

  • Does anyone know how to get a hold of someone in charge of QA

       Customer support is dire! I have spent long hours dealing with costumers service <whose only modes of help are sending me out to buy something new or provide me with a hyperlink to help page that was two clicks away anyway> Between thier lack of k

  • Error with DataSocket in a dll

    I want to use DataSocket in a dll built with LabVIEW7. For testing, I call the dll in LabVIEW. What is wrong with my attached example? A DataSocketOpen allways brings time out (Server on the same machine). Any idea? Thank you for helping! Attachments

  • Question on VO bind variable ?

    Hi, In one of my VO query's Select part, Im calling a function which accepts a parameter that comes from the pageContext eg: select abc(:1) from xyz; Any ideas on how to set the bind variable in the select clause of the VO query? Thanks!!

  • Banner on wordpress site doesn't show in safari

    On my Wordpress site I have added a banner from an external link to be displayed on my frontpage. After saving it doesn't show the banner in Safari (but it does show it in Chrome and someone externally tested and said it showed in Explorer; so the ht