URGENT! End of file

Good nigth!
I have to do a job in what I have to read integer numbers from
the standard input. When the user wants to finalize entering
numbers, he indicates it with a EOF (end of file).
I want to know how to do that. What is the representation of
the EOF in java?
I need some help urgent!
Thanks a lot.
Katia.

So, here is the code...
import java.io.*;
public class LendoInteiros
public static void main(String[] args)
     String linha = "";
     BufferedReader entrada = new BufferedReader(new InputStreamReader(System.in));
     try
     System.out.println("Entre com numeros inteiros: \n");
     for (int i=0; linha != null; i++)
     linha = entrada.readLine();
          System.out.println("Linha " + i +
          " Valor = " + Integer.valueOf(linha).intValue());
     catch (IOException e)
System.err.println("Erro IO");
Thanks.

Similar Messages

  • ExtractValue Problem----- ORA-03113: end-of-file on communication channel

    Dear Friend
    My system is now on this version
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Linux: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    earlier it was
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for Linux: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    I took the cold backup and restore in this version. after that my total system is working very fine, is very fast using than the previous. But only one SQL command is not working which is very urgent to solve
    when i am using this
    SELECT extractValue(value(t),'/produit/cod_pro') cod_pro
    FROM XMLTABLE X,
    TABLE ( xmlsequence (extract(XML_data,'/com/lProducts_list/produit'))) t;
    the table structure is
    SQL> desc XMLTABLE
    Name Null? Type
    DOC_ID NUMBER
    FILE_NAME VARCHAR2(100)
    FILE_DATE DATE
    XML_DATA XMLTYPE
    I got this error
    ORA-03113: end-of-file on communication channel
    Please guide me what to do to resolve this problem
    Farhad

    The error, ORA-03113: end-of-file on communication channel, is a client driver error.
    The client driver simply says "hey, the database server process servicing me has torn down our communication channel!". The communication channel is usually a TCP socket connection.
    The client driver has no idea why. Thus you have to find the answer on the server.
    The usual cause of this communication channel being closed, is the Oracle server process servicing the client session, crashing.
    When an Oracle server process crashes, it does not tell the client. It usually writes an entry to the Oracle alert log, dump a trace file, and terminates. When terminating, it tears down any communication channels (TCP sockets) it may have opened.
    Therefore you must look in
    - the alert log file for an error message listing the crash (which will include the dump file name)
    - look at this trace dump file (which is difficult if you're not familiar with Oracle internals)
    - investigate the stack trace and error codes on Metalink (which often turns up the bug notes for this, plus any workarounds or available patches)
    Usually however, one should log these types of Oracle server errors as a TAR with Oracle Support.

  • FULL JOIN Error - (ORA-03113: end-of-file on communication channel)

    Hello,
    well my following query is running fine, no errors but not showing join records from table B and E.
    Query is as following:
    SELECT D.EMPLOYEE_ID, F.EMP_NAME,
    F.COMPANY_ID, F.COMP_NAME, F.BRANCH_ID, F.BR_NAME,
    TO_CHAR(F.BIRTH_DATE,'DD/MM/YYYY') DOB,
    ((NVL(A.PF_OWN,0) + NVL(A.PF_COMP,0) + NVL(A.PROF_OWN,0) + NVL(A.PROF_COMP,0) + NVL(B.PROF_OWN,0) +
    NVL(B.PROF_COMP,0) + NVL(B.TOT_PF_OWN,0) + NVL(B.TOT_PF_COMP,0) +
    NVL(D.SAL_PF_OWN,0) + NVL(D.SAL_PF_COMP,0) -
    (NVL(E.REV_PF_OWN,0) + NVL(E.REV_PF_COMP,0) + NVL(C.WD_PF_OWN,0) + NVL(C.WD_PF_COMP,0) +
    NVL(C.WD_PROF_OWN,0) + NVL(C.WD_PROF_COMP,0)))) PF_BALANCE
    FROM
    (SELECT EMPLOYEE_ID, SUM(PF_OWN) SAL_PF_OWN, SUM(PF_COMP) SAL_PF_COMP
    FROM EMPLOYEE.EMP_SAL_DETAILS
    WHERE SAL_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')
    AND SAL_DATE <= '01-DEC-06'
    GROUP BY EMPLOYEE_ID) D
    LEFT JOIN
    (SELECT EMPLOYEE_ID, PF_OWN, PF_COMP, PROF_OWN, PROF_COMP
    FROM EMPLOYEE.EMP_PF_OPBALS
    WHERE AS_ON_DATE IN (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')) A
    ON (D.EMPLOYEE_ID = A.EMPLOYEE_ID)
    LEFT JOIN
    (SELECT EMPLOYEE_ID, SUM(TOT_PF_OWN) TOT_PF_OWN, SUM(TOT_PF_COMP) TOT_PF_COMP, SUM(PROF_OWN) PROF_OWN, SUM(PROF_COMP) PROF_COMP
    FROM EMPLOYEE.EMP_PF_PROF_DETAILS WHERE END_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')
    GROUP BY EMPLOYEE_ID) B
    ON (D.EMPLOYEE_ID = B.EMPLOYEE_ID)
    LEFT JOIN
    (SELECT EMPLOYEE_ID, SUM(PF_OWN) WD_PF_OWN, SUM(PF_COMP) WD_PF_COMP, SUM(PROF_OWN) WD_PROF_OWN, SUM(PROF_COMP) WD_PROF_COMP
    FROM EMPLOYEE.EMP_PF_WITHDRAWALS WHERE PF_WDRAW_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')
    GROUP BY EMPLOYEE_ID) C
    ON (D.EMPLOYEE_ID = C.EMPLOYEE_ID)
    LEFT JOIN
    (SELECT EMPLOYEE_ID, SUM(PF_OWN) REV_PF_OWN, SUM(PF_COMP) REV_PF_COMP
    FROM EMPLOYEE.EMP_SAL_REVERSALS
    WHERE SAL_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE >= '01-DEC-06')
    AND SAL_DATE <= '01-DEC-06'
    GROUP BY EMPLOYEE_ID) E
    ON (D.EMPLOYEE_ID = E.EMPLOYEE_ID)
    LEFT JOIN
    (SELECT EMPLOYEE_ID, COMPANY_ID, COMP_NAME, BRANCH_ID, BR_NAME, EMP_NAME, BIRTH_DATE, CONF_DATE FROM V_SEL_SYS_EMP) F
    ON (D.EMPLOYEE_ID = F.EMPLOYEE_ID)
    ORDER BY D.EMPLOYEE_ID
    And when i try to full join my tables and replace LEFT JOIN with FULL OUTER JOIN following errors accurs:
    (ORA-03113: end-of-file on communication channel) and oracle gets disconnect.
    Query will only show records its tables are FULL JOINED.
    Please help what is the solution. Its very urgent also.
    I am thankful to you.
    Regards,
    Imran

    > And when i try to full join my tables and replace LEFT JOIN with FULL OUTER
    JOIN following errors accurs:
    (ORA-03113: end-of-file on communication channel) and oracle gets disconnect.
    This is not an error, but a symptom of an error. An ORA-03113 results when the Oracle Server Process that services your client, terminates abnormally. When that server process terminates, the connection (TCP socket) to your client is torn down - without your client knowing about it.
    The ORA-03113 is generated by your client's Oracle driver when your client suddenly discovers that the connection to the Oracle Server Process is no longer there.
    So why does the Server Process terminate abnormally? Usually due to an internal error (an ORA-600 and/or an ORA-7445).
    These errors results in:
    - error messages to be generated in the Oracle instance's alert log
    - a trace file generated by the server process that includes stack and memory dumps
    You need to determine what these errors are, and the use the ORA-600/ORA-7445 Troubleshooter (Metalink Note 153788.1) on [url http://metalink.oracle.com]Metalink to troubleshoot the error, determine whether it is a bug, if there is a patch or a workaround available, etc.
    > Please help what is the solution. Its very urgent also.
    I do not mind helping out where I can. But I do have a problem with people claiming there problem is urgent, and deserves quicker/better attention that other peoples' problems around here,
    If your problem is urgent then you are in the wrong place. I do not get paid to solve urgent problems quickly. I and others, spend our free time providing assistance. You cannot demand any kind of urgent attention from any of us.
    If you like urgent and special attention, use Oracle Support.

  • Very strange bugs - Unexpected end-of-file - LR database problem

    I really like the concept and GUI of LR, but bugfixing is urgently needed. Of course I am not happy that I spent money for the current quality of software (Windows version).
    Before the problem described below occured I performed some develop actions on several images without any problems.
    After doing some simple cropping in the Develop module of LR the display for one single image became brown (in loupe and film strip). The problem is singular for one image.
    Then I restarted LR.
    Now LR displayed a message saying "Unexpected end-of-file" at top inside the image display. (Has anybody out there ever seen this?)
    That message is obviously misleading: The image NEF-file is untouched. The xmp sidecar is new of course. Apparently the database entry is broken!!!
    Deleting the xmp sidecar doesn't solve the problem.
    Then I told LR to remove the faulty image from the LR database without physically deleting it.
    Then I checked database consistency without any problem report.
    Then I tried to reconnect the image for that folder.
    The image is not reconnected. It doesn't show up in LR.
    Then I copied the image outside LR to a new folder and told LR to import the new folder.
    The image was not imported by LR. LR is saying it is a duplicate. Obviously it is not removed correctly from the LR database even I told LR to remove it.
    After some attempts (sorry I don't remember exactly) I could redisplay the problem image. Now the image is displayed correctly again. But LR is saying in a dialog box that I will be unable to make changes to that image. The grid display has a triangular exclamation sign (not a rectangular one!!!).
    Later I told LR to delete (not only remove) the image physically.
    Afterwards I copied the image into the OS folder.
    Afterwards I was able to reconnect the missing image to the LR folder.
    Afterwards I could continue working with the develop module at that image.
    BUG 1) Why could this problem occur at all? ("Unexpected end-of-file")
    BUG 2) Obviously the image has not been correctly removed from the LR database although I told LR to do this.
    No, my disks are not full.
    Platform Win XP, latest patch level

    Read more here:
    http://www.adobeforums.com/cgi-bin/webx/.3bc36fa6/1

  • Logical end-of-file reached during read operation

    Hi,
    Something strange happened to my Logic a couple of days ago - all of a sudden. When I start Logic up it gives me the following error message:
    *Error reading/writing file “com.apple.logic.pro.cs”: Logical end-of-file reached during read operation.*
    I have re-installed Logic, as well as updated it (8.0.2), I have repaired disk permissions in Disk Utility, and it still keeps popping up. I cannot get on with my projects and I have deadlines!
    I found an IT support site, according to that I don't have enough space on my HD. However, I do... I'm confused, and desperately need help.
    Thank you so much, I'm looking forward to hearing from somebody.
    Agnes

    I am not opening any files, just launching Logic.
    I know. And when you launch Logic, it loads its preferences files - and it seems this is failing - most likely due to file corruption. So delete the file, as I said, and Logic should load fine.

  • Logical end of file error

    I am getting a "logical end of file error =39" message when trying to export audio to SDII for making a time stamped (BWF) . Any ideas?

    How long is the wedding video?
    My standard list of things to do first...
    Run MacJanitor (free download) to do all the Unix Cron Maintenance scripts.
    Run Disk Utility (Applications -> Utilities) and repair disk permissions on your start up drive (typically your internal drive). Also verify any other drives mounted on the system.
    Run Preferential Treatment (free download) to check for corrupt/damaged application and system preference files.
    Run Cache Out X (free download) to clear all system and application caches.
    Reboot your Mac.
    If you still can not get it to run correctly, next thing to try is to throw out the iDVD preference file (don't forget to change back those preferences you want different from the defaults next time you run it). If it still doesn't work, then I would suggest you reinstall iDVD.
    Patrick

  • Convrtd to Invterval Part- ORA-03113: end-of-file on communication channel

    Hi all,
    I had a table as Interval Partitioned. In order to create XML- Xpath indexes on it, I converted it to Range Partitioned table.
    I am able to create the XPATH indexes but I get the error: ORA-03113: end-of-file on communication channel
    - When I revert the code to Interval Partitioned without the XMLIndex, it works fine(although takes time as no XML Index)
    - When I convert table to non partitioned table, create the XML Index, it works fine.
    But I need the partitons, so when I create the partitioned table I get the error.
    CREATE TABLE INT_PART_TABLE
    DB_ID VARCHAR2(10 BYTE),
    xML_mESSAGE SYS.XMLTYPE,
    LOAD_TIMESTAMP TIMESTAMP(6)
    XMLTYPE xML_mESSAGE STORE AS BINARY XML
    PARTITION BY RANGE (LOAD_TIMESTAMP)
    PARTITION MAX VALUES LESS THAN (TIMESTAMP' 2013-06-01 00:00:00')
    TABLESPACE CSTR_STG_DATA
    NOCOMPRESS
    NOCACHE
    ENABLE ROW MOVEMENT;
    BEGIN
    DBMS_XMLINDEX.dropparameter('Indx_Par');
    END;
    BEGIN
    DBMS_XMLINDEX.REGISTERPARAMETER(
    'Indx_Par',
    'PATH TABLE Table1
    PATHS (INCLUDE ( /abc:field1/xyz:field2
    /abc:field1/def:field2
    NAMESPACE MAPPING ( xmlns:abc="ABCD"
    xmlns:def="DEFG"
    xmlns:xyz="XYZA"
    end;
    create index INDX_XPATHS on "INT_PART_TABLE" (XML_MESSAGE) indextype is xdb.xmlindex
    parameters ('PARAM Indx_Par') local;
    Now if I execute the following statement in
    SELECT T.xML_mESSAGE
    FROM INT_PART_TABLE1 T
    WHERE XMLEXISTS (
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'
    PASSING T.xML_mESSAGE AS "p");
    - Is there any other way of writing this Select statement, which may work?
    - Any other thing I need to take care of when defining the table and partitions script so that I don't get this error?

    Hi,
    I think it's time you give a clear (and working) test case so that we can safely try to reproduce the issue.
    What you've given so far has syntax error and name mismatch.
    So please :
    - database version (SELECT * FROM v$version)
    - complete sequence of DLLs
    - some sample XML documents (it doesn't have to be the real ones, but at least something realistic)
    Thanks in advance.
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'Why all that stuff? You don't have to return a boolean.
    The following works for me on 11.2.0.3 :
    SQL> CREATE TABLE int_part_table (
      2    db_id          VARCHAR2(10)
      3  , xml_message    XMLTYPE
      4  , load_timestamp TIMESTAMP
      5  )
      6  XMLTYPE xml_message STORE AS BINARY XML
      7  PARTITION BY RANGE (load_timestamp) (
      8    PARTITION MAX VALUES LESS THAN (timestamp '2013-06-01 00:00:00')
      9  )
    10  NOCOMPRESS
    11  NOCACHE
    12  ENABLE ROW MOVEMENT;
    Table created
    SQL> insert into int_part_table values (1, xmltype('<main><id>144283</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>9085802</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>1</id></main>'), sysdate);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> create index int_part_table_uix on int_part_table (xml_message)
      2  indextype is xdb.xmlindex
      3  parameters (
      4  'PATH TABLE INT_PART_TABLE_PT
      5  PATHS ( INCLUDE ( /main/id ) )')
      6  local;
    Index created
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id=("144283","9085802")]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3517234298
    | Id  | Operation                              | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                       |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                          |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   2 |   VIEW                                 | VW_SQ_1                      |     1 |    25 |    32   (4)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                         |                              |     1 |    47 |         |             |       |       |
    |*  4 |     HASH JOIN SEMI                     |                              |     1 |    47 |    32   (4)| 00:00:01 |       |       |
    |   5 |      PARTITION SYSTEM SINGLE           |                              |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  6 |       TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  7 |        INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |   8 |      COLLECTION ITERATOR PICKLER FETCH | XQSEQUENCEFROMXMLTYPE        |  8168 | 16336 |    29   (0)| 00:00:01 |       |       |
    |*  9 |   TABLE ACCESS BY USER ROWID           | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       4 - access("SYS_P3"."VALUE"=SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0) AND
                  SUBSTRB("VALUE",1,1599)=SUBSTRB(SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0),1,1599))
       6 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
       7 - access("SYS_P3"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P3"."PATHID"=HEXTORAW('704E') )
       9 - filter("ITEM_6"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))
    Note
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id="144283" or id="9085802"]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3748936130
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                         |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                            |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   2 |   VIEW                                   | VW_SQ_1                      |     2 |    50 |     8   (0)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                           |                              |     2 |   180 |         |             |       |       |
    |   4 |     CONCATENATION                        |                              |       |       |         |             |       |       |
    |   5 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |   6 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |   7 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  8 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  9 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  10 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 11 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 12 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |  13 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |  14 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |  15 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 16 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 17 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  18 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 19 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 20 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 21 |   TABLE ACCESS BY USER ROWID             | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       8 - filter("SYS_P5"."VALUE"='9085802' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='9085802')
       9 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      11 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      12 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      16 - filter("SYS_P5"."VALUE"='144283' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='144283' AND
                  (LNNVL("SYS_P5"."VALUE"='9085802') OR LNNVL("SYS_P5"."PATHID"=HEXTORAW('704E') ) OR
                  LNNVL(SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1) OR LNNVL(SUBSTRB("VALUE",1,1599)='9085802')))
      17 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      19 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      20 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      21 - filter("ITEM_2"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))I asked in one of your other threads if /main/id was unique per XML document.
    If so, you can use a simple function-based index instead of the XMLIndex :
    SQL> drop index int_part_table_uix;
    Index dropped.
    SQL> create index int_part_table_ix1 on int_part_table (
      2    xmlcast(
      3      xmlquery('/main/id' passing XML_MESSAGE returning content)
      4      as varchar2(10)
      5    )
      6  );
    Index created.
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLCast(
      4          XMLQuery('/main/id' PASSING xml_message RETURNING CONTENT)
      5          AS VARCHAR2(10)
      6        )
      7  IN ('144283', '9085802');
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 2864653096
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time  | Pstart| Pstop |
    |   0 | SELECT STATEMENT                    |                    |     2 |   236 |     2   (0)| 00:00:01 |       |       |
    |   1 |  INLIST ITERATOR                    |                    |       |       |            |       |  |       |
    |   2 |   TABLE ACCESS BY GLOBAL INDEX ROWID| INT_PART_TABLE     |     2 |   236 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  3 |    INDEX RANGE SCAN                 | INT_PART_TABLE_IX1 |     2 |       |     1   (0)| 00:00:01 |       |       |
    Predicate Information (identified by operation id):
       3 - access(CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944) AS
                  varchar2(10)   )='144283' OR CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944
                  ) AS varchar2(10)   )='9085802')

  • Error ORA-03113: end-of-file on communication channel in droppping  a table

    Good evening,
    I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
    ORA-03113: end-of-file on communication channel
    and then close the connection of the user.
    What I should have to do?
    It is very important.
    Thanks a lot
    best regards
    Anna Zanetti

    Good morning, I still have the same problem, I can't drop a table from my database.
    The message is again:
    Re: Error ORA-03113: end-of-file on communication channel
    The alert log file says:
    Fri Nov 17 12:27:31 2006
    Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    and in file oracledb_ora_4369.trc there is:
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
    Registers:
    %eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
    %edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
    %esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
    %efl: 0x00210282
    (0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
    (0x955c626) jle 0x955c63e
    (0x955c628) xor %edx,%edx
    (0x955c62a) push %edx
    *** 2006-11-17 12:27:31.658
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    Current SQL statement for this session:
    drop table fiumiforjoin
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
    08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
    0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
    0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
    1 ? 5830F01C ?
    08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
    58EAB2B0 ? C ?
    09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
    BFFFC0C0 ? 4 ? B6AB0300 ?
    B6ABC2E0 ?
    094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
    093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
    093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
    1 ? 0 ? A4 ?
    08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
    0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
    08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
    BFFFD6E8 ? BFFFD6E4 ?
    0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
    F1 ? 0 ?
    08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
    08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
    0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
    08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
    BFFFEB08 ? B6CC017C ?
    B6C1A17C ?
    __libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
    +218 B6C1C898 ? B7600020 ?
    Any idea of what I have to do?
    Thanks for your help..
    Best Regards
    Anna Zanetti

  • Unable to open database : error , ora-03113 end of file communication

    Hi Guys ,
    I am facing a serious issue with my database
    machine Oracle Linux Tikanga 5
    database : 10.2.0.1
    Error : ora-03113
    I was trying to drop a logfile , while inserting the data ....
    I restored and tried recovering it but it recovers with message , media recover complete but doesnot allows to open the database
    gives the same error : Error : ora-03113 end of file communication
    alert_log shows
    alter database recover if needed
    start
    Media Recovery Start
    ORA-264 signalled during: alter database recover if needed
    start
    Wed Jan 9 16:20:18 2013
    db_recovery_file_dest_size of 2048 MB is 40.79% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Wed Jan 9 16:22:02 2013
    alter database recover datafile list clear
    Wed Jan 9 16:22:02 2013
    Completed: alter database recover datafile list clear
    Wed Jan 9 16:22:02 2013
    alter database recover datafile list
    1 , 2 , 3 , 4 , 5
    Completed: alter database recover datafile list
    1 , 2 , 3 , 4 , 5
    Wed Jan 9 16:22:02 2013
    alter database recover if needed
    start
    Media Recovery Start
    ORA-264 signalled during: alter database recover if needed
    start
    Wed Jan 9 16:22:07 2013
    alter database open
    Wed Jan 9 16:22:07 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=16, OS id=2049
    Wed Jan 9 16:22:07 2013
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=17, OS id=2051
    Wed Jan 9 16:22:07 2013
    Repairing half complete open of thread 1
    Wed Jan 9 16:22:07 2013
    Errors in file /d1/app/oracle/oradata/orcl/bdump/orcl_lgwr_1966.trc:
    ORA-00600: internal error code, arguments: [3712], [1], [1], [0], [445262], [0], [445261], []
    Wed Jan 9 16:22:08 2013
    Errors in file /d1/app/oracle/oradata/orcl/bdump/orcl_lgwr_1966.trc:
    ORA-00600: internal error code, arguments: [3712], [1], [1], [0], [445262], [0], [445261], []
    LGWR: terminating instance due to error 470
    Instance terminated by LGWR, pid = 1966
    can you please suggest on the same ..
    Thanks

    Due to the nature of the error and to prevent any trial-and-error, I would highly recommand you to open a service request with Oracle asap.
    Oracle too recommands the same.
    Thanks...

  • Create end of file character in email attachment

    Hi all,
    Currently I am attaching a text file to the email send using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    But here the issue is, in attachment file there are extra 3 blank lines are getting filled which client does't want.
    Is there any way to generate end of file character, to add after all rows got filled in internal table?
    Or is there any way to not to filled blank lines at the end of the file?
    Please advise a solution.
    Thanks and Regards
    Nishad

    Hi,
    gs_packinglist-doc_size =  gf_count * 255 .
    This is how I am passing the doc_size. In the above, gf_count is the number rows in attachment file that I am multiplying with 255 characters as I am passing attachment in contents_bin parameter.
    Thanks and regards
    Nishad

  • Help - Premature end of file Exception while using saaj

    Hi Everyone,
    I have written a sample saaj client, with a string as an attachment and trying to send it to a servlet as shown in the example below:
    * SaajClient.java
    * Created on June 23, 2004, 5:49 PM
    * @author Krishna Menon
    import javax.xml.soap.*;
    import javax.xml.messaging.URLEndpoint;
    public class SaajClient {
    public SaajClient() throws Exception
    try{
    SOAPMessage soapMessage = MessageFactory.newInstance().createMessage();
    SOAPPart soapPart = soapMessage.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPHeader header = envelope.getHeader();
    SOAPBody body = envelope.getBody();
    header.detachNode();
    String str = "Something a;alskdjf;laksjdfl;akjsdf;lk ;alskdjfl;asjdfl;ajk ;kdls a;kl";
    if(soapMessage != null)
    AttachmentPart attachment = soapMessage.createAttachmentPart();
    attachment.setContentType("text/plain");
    attachment.setContent(str,"text/plain");
    attachment.setContentId("Sample_String");
    soapMessage.addAttachmentPart(attachment);
    soapMessage.saveChanges();
    SOAPConnection connection = SOAPConnectionFactory.newInstance().createConnection();
    URLEndpoint endpoint = new URLEndpoint("http://10.2.1.132:8080/WebServices/servlet/AttachmentReceiver");
    SOAPMessage response = connection.call(soapMessage,endpoint);
    response.writeTo(System.out);
    }catch(Exception e)
    System.out.println("Caught in constructor");
    e.printStackTrace();
    public static void main(String args[])
    try
    SaajClient client = new SaajClient();
    }catch(Exception e)
    e.printStackTrace();
    When I run the above program, it is giving the following exception:
    Caught in constructor
    javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: Premature end of file.
    at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:110)
    at SaajClient.<init>(SaajClient.java:58)
    at SaajClient.main(SaajClient.java:74)
    Caused by: org.xml.sax.SAXParseException: Premature end of file.
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:1753)
    at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:105)
    ... 2 more
    Caused by: org.xml.sax.SAXParseException: Premature end of file.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1139)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
    ... 7 more
    If anybody has a solution for it, please post it here.
    Thanks in advance,
    With Regards,
    Krishna Menon. B.

    Hi
    Actually the problem is not with the client but with the servlet I think. In the servlet, I am able to retrieve the attachment and print its content. After receiving the Message, I am creating a new message and populating its body with a new child element and returning the message back to the client. Just Before returning the message, I am getting the Axis Fault error in the log file. I am giving the code for the Servlet I have used below:
    * AttachmentReceiver.java
    * Created on June 23, 2004, 7:11 PM
    * @author Krishna Menon
    import java.util.Iterator;
    import javax.servlet.ServletException;
    import javax.xml.messaging.JAXMServlet;
    import javax.xml.messaging.ReqRespListener;
    import javax.xml.soap.AttachmentPart;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPFactory;
    * Servlet that accepts a SOAP message and looks through
    * its attachments before sending the SOAP part of the message
    * to the console and sending back a response
    * @author Krishna Menon
    public class AttachmentReceiver extends JAXMServlet implements ReqRespListener {
    private MessageFactory fac;
    public void init() throws ServletException {
    try {
    fac = MessageFactory.newInstance();
    catch( Exception ex ) {
    System.out.println("In AttachmentReceiver init");
    ex.printStackTrace();
    throw new ServletException( ex );
    // This is the application code for handling the message.. Once the
    // message is received the application can retrieve the soap part, the
    // attachment part if there are any, or any other information from the
    // message.
    public SOAPMessage onMessage( SOAPMessage message ) {
    System.out.println( "On message called in receiving servlet" );
    try {
    System.out.println( "\nMessage Received: " );
    System.out.println( "\n============ start ============\n" );
    // dump out attachments
    System.out.println( "Number of Attachments: " + message.countAttachments() );
    int i = 1;
    for( Iterator it = message.getAttachments(); it.hasNext(); i++ ) {
    AttachmentPart ap = (AttachmentPart) it.next();
    System.out.println( "Attachment #" + i + " content type : " +
    ap.getContentType() );
    System.out.println("Attachment Content ::"+ap.getContent());
    // dump out the SOAP part of the message
    SOAPPart soapPart = message.getSOAPPart();
    System.out.println( "SOAP Part of Message:\n\n" + soapPart );
    System.out.println( "\n============ end ===========\n" );
    SOAPMessage msg = fac.createMessage();
    SOAPEnvelope env = msg.getSOAPPart().getEnvelope();
    SOAPFactory soapFactory = SOAPFactory.newInstance();
    System.out.println("Before getBody");
    env.getBody().addChildElement(soapFactory.createName("MessageResponse")).addTextNode("From Attachment Servlet"+"\nYour Attachment Received");
    System.out.println("After getBody");
    //addChildElement("MessageResponse").addTextNode("From Attachment Servlet"+"\nYour Attachment Received");
    msg.saveChanges();
    System.out.println("After Msg Save Changes");
    return msg;
    catch( Exception e ) {
    System.out.println("From OnMessage() of AttachmentReceiver");
    e.printStackTrace();
    return null;
    This is generating the following series of errors in the catalina.out (Tomcat4.1 error log ) file:
    On message called in receiving servlet
    Message Received:
    ============ start ============
    Number of Attachments: 1
    Attachment #1 content type : text/plain
    SOAP Part of Message:
    org.apache.axis.SOAPPart@16fdac
    ============ end ===========
    - java.io.IOException:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.ClassCastException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace: java.lang.ClassCastException
         at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:173)
         at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
         at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
         at org.apache.axis.Message.writeTo(Message.java:440)
         at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassCastException
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:272)
         at org.apache.axis.Message.writeTo(Message.java:440)
         at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.ClassCastException
         at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:173)
         at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
         at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
         ... 33 more

  • ORA-03113: end-of-file on communication channel while executing a query

    Hi all,
    I am getting following error while executing one of the query.
    ORA-03113: end-of-file on communication channel
    The query involves subqueries. At one point, in the second last condition of the whole query is the cause. what makes the query to disconnect from database.
    I am pasting the whole query with highlighted part causing the error.
    select
    A.Num_Employee_Id as col_0_0_,
    A.Str_Name_For_Reports as col_1_0_
    from
    Est_Esb_employee_m A
    where
    A.num_office_id=1
    and A.Num_Employee_Id not in
    (select
    B.Num_Employee_Id
    from
    Est_Esb_Employee_Service_D B
    where
    B.Chr_Curr_Status='N'
    and
    B.Dat_Effective_Date is not null
    and
    B.Dat_Effective_Date=
    (select
    max(C.Dat_Effective_Date)
    from
    Est_Esb_Employee_Service_D C
    where
    C.Num_Employee_Id=B.Num_Employee_Id
    and C.Dat_Effective_Date is not null
    and B.Num_Transaction_Id=
    (select
    max(D.Num_Transaction_Id)
    from
    Est_Esb_Employee_Service_D D
    where
    D.Dat_Effective_Date=
    (select
    max(E.Dat_Effective_Date)
    from
    Est_Esb_Employee_Service_D E
    where
    Num_Employee_Id=D.Num_Employee_Id
    and D.Num_Employee_Id=B.Num_Employee_Id
    and B.Num_New_Office_Id=1
    order by
    A.Str_First_Name,
    A.Str_Middle_Name,
    A.Str_Last_Name
    Awaiting your valuable suggestions.
    Regards
    Vijay Kumar

    I would start by compareing the explain plan of both versions of the statement.
    Also by adding such a restriction you might change from an uncorrelated subquery to a correlated subquery. I'm not sure, because your code is hardly readably without formatting.
    In any case you seem to select again and again from the same table. Maybe you should find a way to optimize to query in terms of io (less table access). Then this problem could go away.

  • Error while starting the server - Unexpected end of file from server|

    Hi,
    I am getting below error when I start my glassfish server.
    SEVERE|sun-appserver2.1|com.stc.emanager.deployment.sunone.model.runtime.ServerRuntimeModel|_ThreadID=86;_ThreadName=httpWorkerThread-4048-3;_RequestID=8d1f2acd-9e4e-4e9f-a9fd-3b21e4223318;|Unexpected end of file from server|#]
    I see the process is running. But, I am not able to open admin console.
    could any one plz help me to resolve this issue.
    Thanks in Advance,
    -Manandi

    Welcome to the forum.
    Unfortunately for you, posting only about things not working isn't going to net you assistance or answers - at most you can get sympathy but there isn't too much of that to share with everyone. You should find a forum for the particular product that is not working. If you have a problem with Glassfish, then try the Glassfish forum.
    http://www.java.net/forums/glassfish/glassfish

  • Error ORA-03113: end-of-file on communication channel (while starting db)

    Hello everybody! :-)
    Looks like a need help with Oracle 11gr2 (RHEL 6 x64). Faced with a problem while starting database:
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Dec 7 01:43:45 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2538741760 bytes
    Fixed Size 2216024 bytes
    Variable Size 1828720552 bytes
    Database Buffers 687865856 bytes
    Redo Buffers 19939328 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 6601
    Session ID: 575 Serial number: 5
    This is logfile (/u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/alert/log.xml):
    <msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 28496896 bytes disk space from 5218762752 limit
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>ARCH: Error 19809 Creating archive log file to &apos;/u01/app/oracle/flash_recovery_area/ORCLDOCS1/archivelog/2012_12_07/o1_mf_1_249_%u_.arc&apos;
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
    ORA-16038: log 3 sequence# 249 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 3 thread 1: &apos;/u01/app/oracle/oradata/orcldocs1/redo03.log&apos;
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>USER (ospid: 6881): terminating the instance due to error 16038
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:23.540+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Instance terminated by USER, pid = 6881
    </txt>
    </msg>
    How can I resolve it, please advice. Thank you.
    Edited by: user9001403 on 06.12.2012 5:58

    Hi,
    Looks like your archivelog space is exhausted. Increase the db_recovery_file_dest_size size and check.
    SQL>  show parameter db_recovery
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      /oracle/flash_recovery_area
    db_recovery_file_dest_size           big integer 3882MRegards,
    Anand.

  • End of file 16072 error encore V 1.5.1.42735

    I've been at this awhile and usually don't have much trouble so this is beginning to make me a little cranky.  I used to get this error once in a while for the usual reasons (vid and audio not same length and mismatch on time/duration on animated buttons).  Latley it has started to come up on every single project and seems way random.
    Here is the typical scenario.  I Export a dozen or so movies from PPro 1.5 at MS DV AVI.  I import as timeline in Encore 1.5.1.  I use automatic transcode and  build the DVD as an image on my HD to test.  I get the end of file 16072 error.
    This is how a I trouble shoot.  I create a new Encore project called test.  I import the .m2v and the .wav files from the Transcodes folder of the Encore project one at a time.  In this way I avoid retranscoding the movie saving a little time. The test project has no menus or buttons and only one timeline set as first play.  I build a dvd image on my HD one at a time until I get the same error in the "test" project.  I then go back in PPro and work on the the Timeline that I exported the movie from.  Sometimes I can just delete the last clip from the timeline and the error goes away.  Then I edit the last clip back in, re-export and retest it.  Most of the time it is then OK.  If it is  I then bring it back into the Encore project I was working on in the first place and works.  Other times that does not work and I can keep going back one clip at a time until I find the problem or sometimes it is just quicker to re-edit the whole section of source material into a new timeline.
    The project I am working on right now started out as seven hours of DV.  I am working on the third DVD I created from it after editing down to about three hours of final footage broken up into about 36 timelines.  This last Encore project has 14 timelines and three of them produce the error when testing.  I just fixed one of them by deleting the last clip and testing.  The other two are next up but jeeze this is getting old.  No motion menus or animated buttons.  The problem is with the .avi as in the test project I use it is the only timeline and set to first play with no menus or buttons.
    I am looking for some informed advice from someone who has specific experience with this error and has whipped it.  I have read more than a few posts from people that have gotten this error and with most it is because the material they are working with has caused it with good reason.  That does not seem to be the case with my projects.  I edit the same way, export the same way from PPro.  I import in Encore and build basically the same project over and over.   Why would I get this seemingly random error.  Can I avoid it?
    I have the Adobe Video Collection Professional, paid a ton for it and it does everything I need.  I can't upgrade with out building an entirely new system to run the new software anyway and the money is not there for it.
    I have 39 hours of video I need to edit into hundreds of timelines and this error is eating me alive.  This latest project with 7 hours has had days added to it because of this error.  Please help me learn solve ar avoid it.
    Thanks in advance,
    Mark

    I wonder if there could be some slight Durational difference between the muxed streams, since the Audio is in Audio Units and the Video is in Timecode. Just a sliver of difference *could* yield a problem.
    I've read of similar with other muxed sources but never a definitive answer on why En does not pick up and correct this, or how it could occur with the Export from PrPro, or other NLE. Still, it does seem to happen on occasion.
    Also, I usually have a bit of Black Video at the Head, and then some at the Tail, so in PrPro, my Video Timeline is always a bit longer, than my Audio Timeline. As there is no Audio signal at the end, PrPro can deal with it perfectly. Will have to try some muxed sources (not my normal workflow) to see if there is something else afoot.
    Just thinking here,
    Hunt

Maybe you are looking for

  • ORA-29855: erreur d'exécution de la routine ODCIINDEXCREATE

    Hello i have an error when creating a full text index on a simple table which has a primary key CREATE TABLE tab_1(aa nvarchar2(50) PRIMARY KEY,bb clob) CREATE INDEX xtab_1_bb ON tab_1 (bb) INDEXTYPE IS CTXSYS.CONTEXT ORA-29855: erreur d'exécution de

  • Just bought Quicktime Pro, can't load into V10, but won't allow me to install V7 with V10 Present.

    OK I video'd my bands latest gig on the weekends using I-Movie, but when played back on I-movie, the video / Audio are over 10 seconds out of sync.  Common Problem apparently, however on Quicktime it runs smoothly, so I was told I need to edit it in

  • Killing a Swing thread

    Hello, How can I kill a Swing thread? For example the program below would never exit. Sure you can type System.exit(0) which would exit anything, but what are the other solutions? I tried putting chooser = null; System.gc();in the end of main() but t

  • Grey screen and makes a beeping noise...

    Hi, My ipod nano seems to have went on the blink. It jusat comes up with a grey screen and when I try to do the toggle and two buttons at the same time it shuts down but then when it comes back on makes a beeping noise and reverts back to the grey sc

  • Is my installation of SQL Server Fail Over cluster correct?

    I made a 2 node SQL Server 2012 fail over cluster but having some problems during installation so I wanted to know if the steps below I performed are correct. Hardware Node1 192.168.1.10 Node2 192.168.1.11 Added following entries in DNS cluster.domai