Error while reading mail from inbox

hi,
i have created a mail program which downloads mails from the ISP. In this program i am storing the message object in a List object and send it to another class for it to continue the download process. but i am getting this error.
javax.mail.MessagingException: Open failed;
nested exception is:
     java.io.EOFException: Unable to lock mailbox
i am giving the code below.
Message mNew[]=null;
Message m=null;
Store store=null;
Folder folder=null;
do
      // this loop checks if the email connection is available
      // if not it tries to get the email connection by calling
      // the getEmailConnection
      if(!isEmailConnected)
        isEmailConnected=ecm.getEmailConnection(hostname,username,password);
      else if(isEmailConnected)
        this.store=ecm.store;
        try
          folder = store.getFolder("INBOX");
          folder.open(Folder.READ_WRITE);
          m=folder.getMessages();
            for(int i=0;i<m.length;i++)
//              This checks if the inbox folder
//                is of POP3 type. if it is of POP3
//                type we get all the messages Unique Identifiers
              if(folder instanceof com.sun.mail.pop3.POP3Folder)
                com.sun.mail.pop3.POP3Folder pop3=(com.sun.mail.pop3.POP3Folder)folder;
                uid=pop3.getUID(m);
// if the list contains the unique identifier
// then no process is executed otherwise
// the unique ids are maintained in the list
// called pop3List.
if(pop3List.contains(uid))
else
mNew[newCount]=m[i];
pop3List.add(uid);
newCount++;
* This adds the new incoming email List of addresses to the method newEmailRecieved
* which is iin another class.
listener.newEmailRecieved(m);
folder.close(true);
catch(Exception ex){System.out.println("Error Occured"+ex);}
while(true);

hi,
to continue with my post, i am using POP3 provider to get the messages. any help is appreciated
regards
Kiran

Similar Messages

  • Error while sending mail from SAP

    Hello All,
    Recently we are facing an error while sending mail from SAP. When we try to compose a message ,it is moving to a dump error RAISE_EXCEPTION.
    The details from ST22,
    Short text
        Exception condition "FOLDER_NOT_EXIST" raised.
    Error analysis
        A RAISE statement in the program "SA
        condition "FOLDER_NOT_EXIST".
        Since the exception was not intercep
        program, processing was terminated.
    Kindly suggest..
    Thank You,
    Regards,
    Hasan

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • Error 65575: overrun error while reading data from NI 9871

    Hello everyone,
    I am new here. I configured NI 9871 in RS-485 mode to acquire data from a sensor at the data rate of 8 samples per second. While reading data from sensor, sometimes I got the error 65575: "An overrun error has occurred in the data being read. Ensure that the module Flow Control is configured correctly." I didn't understand the error, how can I fix it, what dose the flow control means.
    I will be very thankful if anybody help me to fix this error.
    Thanks
    Wasif

    Hello Wasif,
    The error you are getting presents itself when the hardware buffer is full and new data is coming in. Data buffer is 64 bytes. One thing to try is to clear the RX FIFO after every read. Please refer to the following link that talks about the method.
    http://zone.ni.com/reference/en-XX/help/370984R-01/lvaddon11/crio-9871/
    Hope this help you solve the issue.
    Regards
    Luis S
    Application Engineer
    National Instruments

  • Error while sending mails from SAP

    Hello Experts,
    I am facing the below problem:
    If an error occurs during the processing of a Z SAP transaction, an email needs to be sent to the user who is executing the transaction.
    So, in this case the sender and receiver is the same user.
    But the problem that i am facing is that for sending the mail from SAP, i have to maintain the email address in the user profile as blank. If I maintain some email address in the user profile, i encounter the following error:
    Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 554 554 <email address>: Sender address rejected .
    Please help me resolve this.
    Thanks a lot in advance to answer the above query.
    Regards,
    Himanshu

    Hi Himanshu,
    I think its the problem with mail server configured in ur system.
    Please contact ur basis Person.Ask him to chk The SCOT tcode once.Maybe ur SMTP configuration is not done properly.Also chk this sap note  455140 - Configuration for e-mail, fax using SMTP
    Regards,
    Lakshman.

  • Error while sending mail from SAP system

    Hi all,
    I configured SAP connect  in ecc6.0 ehp7 while sending mail using tx sost i am error
    Message cannot be transferred to node SMTP due to connection error (final) , below is the icm log.
    ERROR => IcmPlAllocBuf: MpiGetOutbuf failed (rc = 14(MPI_ESTALE: outdated MPI handle)) [icxxplugin.c 1222]
    ERROR => SMTP SmtpClientClose: alloc failed, rc = -3 [smtp_plg.c   3738]
    ERROR => IcmBufFree(id=0/32): MpiFreeBuf failed (rc=14), MPI_ESTALE: outdated MPI handle [icxxplugin.c 165
    ERROR => IcmConnClose: PlugInStopConn failed (rc=701) [icxxconn.c   3433]
    can any one please help on this
    Thanks,
    Narendar.

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • Error while reading objects from a file

    Below is a short code to explain the problem i am facing
    i have been working on the same for past one week i am facing exceptions while reading a file containing more than one objects
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    * @author sakshi
    public class Storingobject implements Serializable{
        int x,y;
        public void addObject()
            //Storingobject temp;
            ObjectOutputStream objOut=null;
            try {
                objOut = new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream("temp.dat")));//if i pass true as parameter in FileOutputStream it gives Stream Corrupted exception
            } catch (IOException ex) {
                Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
            try {
                // while((temp=objOut.writeObject(o))!=null)
                objOut.writeObject(this);
                System.out.println("Saved..");
                objOut.close();
            } catch (IOException ex) {
                Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
        public void readobject()
            int i=1;
            Storingobject temp;
            ObjectInputStream objIn=null;
            try {
                objIn = new ObjectInputStream(new BufferedInputStream(new FileInputStream("temp.dat")));
            } catch (IOException ex) {
                Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
            try {
                while ((temp = (Storingobject) objIn.readObject()) != null) {
                    System.out.println("VAlues of object i++ :");
                    System.out.println("X: "+temp.x+"Y: "+temp.y);
            } catch (IOException ex) {
                Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
            } catch (ClassNotFoundException ex) {
                Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
        public static void main(String args[])
            Storingobject o1=new Storingobject();
            o1.x=10;o1.y=15;
            o1.addObject();
            o1.readobject();
    }

    //if i pass true as parameter in FileOutputStream it gives Stream Corrupted exceptionI agree. You can't append to a file written with an ObjectOutputStream. You would have to read it all in, write it all out again and write the new object. You're better off keeping the file open while you still have objects to write to it.
    while ((temp = (Storingobject) objIn.readObject()) != null) {ObjectInputStream.readObject() only returns null if you wrote a null. If you're not writing nulls, the correct technique is to loop until you get an EOFException. I don't favour explicitly writing a null just to get around this as suggested above, as it means you can never write a null for any other purpose.

  • Error while reading data from MapMessage using MDB

    Hi,
    I have written a small client program to send a message to a queue and an MDB receives the message in the onMessage() method. The message is of type MapMessage. I set key value pairs and send the message in a queue. When I try to read data from MapMessage inside onMessage() method of MDB, I get an exception:-
    javax.jms.MessageNotReadableException: In write mode
    When I send the message, by default the readonlymode is false. How do I set the mode to readonly exclusively in case of MapMessage ?
    Sirisha

    Hi,
    I do not have any problem with TextMessages...I works fine..It is only with MapMessage that I am not able to read the values..Before sending the message, the message has the flag "readMode" set to false by default by the server...R there any configurations to be made to any files like web.xml or server.xml or jms.xml ?
    I am running my JMS application on JDeveloper IDE that has an in-built OC4J server which supports JMS.

  • Error while reading data from backend system.

    Hi all,
           When i click on personnel information iview i am getting following error
    EIC Authentication   
    An error occurred while data was read from your ERP system. Contact your system administrator.
    I used SQL TRACE and RFC TRACE to find where it got stopped below see the trace result.
                14     PA0105     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "USRTY" = '0001' AND "USRID" = 'ESS_USER1'
               988     PA0105     FETCH         1       1403     
                14     PA0001     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               665     PA0001     FETCH         1       1403     
                17     PA0000     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               615     PA0000     FETCH         1       1403     
                25     PA0001     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               896     PA0001     FETCH         1       1403     
                16     PA0002     REOPEN               0     SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
               783     PA0002     FETCH         1       1403     
            13.178     ?     Server         1          0     EPSAND1 ? Server HREIC_GET_AUTHENTICATION_ESS 643 309
    What is the solution to solve this problem ?
    Thanks and regards,
    Phanikumar

    Looks like authorization issue. Could you confirm whether proper authorizations have given to this user?
    Also, run the application again get an error and then go to Transaction ST22 and see if there is any system dump for this user.
    Regards,
    Nitin

  • Error while Reading Idocs from ECC 6.0 to Sun IDM .

    Hi Gurus,
    We have a scenerio where we have to update the Sun IDM Server with all the changes in HR Data happening in ECC.
    For that... we have
    1. Created a Logical System for Sun IDM server, Port, RFC Connection (TCP/IP).
    2. Assigned Partner Profiles, Distribution Model etc. for msg. type HRMD_A ;
    3. We have created a Communications User used by the IDM server to connect to ECC.
    Idocs are created daily and are in status 03 - Data passed to Port OK !
    and on the In Sun Identity manager 8.0 we have created SAP resource adapter for ECC 6.0,
    after giving resource parameters our test connection is successful.
    We also changed edit synchronisation policy for the same but when we start synchronisation in IDM, it is unable to read any idocs although Idocs are generated in SAP .
    Log file gives the message as "Incoming IDoc list request containing 0 documents"
    We also have one more error ;
    some times while doing a connection test : JCO.Server could not find server function '剆䍟偉乇'
    while most of the times the connection is successful.
    Please suggest .

    Hi Gurus,
    The error got resolved .
    The changes in the settings i did :
    SAP SIDE : Made the RFC Connection Unicode.
    IDM SIDE : Checked on the "SAP Server Unicode" checkbox; while doing the HR Activ Synch Settings.
    This Resolved the error.
    regards
    Vaibhav

  • Getting error while reading file from /data/interface

    HI Experts,
    while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
    Edited by: stiw382 on Dec 1, 2011 1:17 PM

    > while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
    is that file accessible on the operating system? Is the filesystem mounted?
    Z-transaction codes are customer developments, since nobody here knows, what this program does I suggest you contact the developer of that transaction.
    Markus

  • Error While reading CLOB from Oracle using WebLogic Connection Pool, Works fine with out using pool

    PROBLEM DESCRIPTION :
         When I try to read a clob from Oracle, I receive "ORA-03120: two-task
    conversion routine: integer overflow" Error.
         This error occurs only for CLOB Type and only if I try to connect to
    Oracle using WebLogic JDriver/Oracle POOL.
         IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
    connection to ORacle with out any problem.
         Below Please find the JAVA CODE for Both Working and NON Working .
    Created a Connection Pool as:
    Name: MyJDBCConnectionPool
    URL : jdbc:weblogic:oracle
    DIRVER:weblogic.jdbc.oci.Driver
    NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    ERROR MESSAGE:
         ORA-03120: two-task conversion routine: integer overflow
    I appreciate your help on this problem.

    PROBLEM DESCRIPTION :
         When I try to read a clob from Oracle, I receive "ORA-03120: two-task
    conversion routine: integer overflow" Error.
         This error occurs only for CLOB Type and only if I try to connect to
    Oracle using WebLogic JDriver/Oracle POOL.
         IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
    connection to ORacle with out any problem.
         Below Please find the JAVA CODE for Both Working and NON Working .
    Created a Connection Pool as:
    Name: MyJDBCConnectionPool
    URL : jdbc:weblogic:oracle
    DIRVER:weblogic.jdbc.oci.Driver
    NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    ERROR MESSAGE:
         ORA-03120: two-task conversion routine: integer overflow
    I appreciate your help on this problem.

  • Error while sending mail from SAP to external mail id

    Hello Experts,
    I am blocked by the below problem.
    I am trying to send email from SAP to an external email ID. I have tried using Class approach as well as the function 'SO_DOCUMENT_SEND_API1' for the same.
    Everytime i get the following message:
    Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 554 554 <email address> Sender address rejected.
    I am not at all able to figure out why this type of error is coming.
    The same code is working on the development environment but not on the test system.
    Please reply back asap as i am completely blocked due to this.
    Thanks/Regards,
    Himanshu

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • MQ Series - Error while reading messages from MQ in Sender adapter if EOIO

    Dear all,
    we've configured a scenario with a sending JMS-adapter (MQSeries). With configured Quality-Of-Service = EO everything works fine. If we switch to Quality-Of-Service = EOIO we get the following error message:
    com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException: DeliveryException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105)
    Any ideas?
    Kind regards, Stefan

    We have the same issue, how did you solve yours?
    For us it works fine with EO but EOIO fails with the same error message...
    Kr,
    Frederik-Jan.

  • Error while reading data from cache

    Hi,
    I am implementing IPofSerializer for an object of C#. I have successfully written C# object.
    I have also read the first object.
    But when I am going to read the second object's last field which of type boolean it is giving me error:
    System.IO.EndOfStreamException was unhandled by user code
    Message="Unable to read beyond the end of the stream."
    Source="mscorlib"
    StackTrace:
    at System.IO.__Error.EndOfFile()
    at System.IO.BinaryReader.ReadByte()
    at Tangosol.IO.DataReader.ReadPackedInt32()
    at Tangosol.IO.Pof.PofStreamReader.UserTypeReader.AdvanceTo(Int32 index)
    at Tangosol.IO.Pof.PofStreamReader.ReadInt32(Int32 index)
    at Tangosol.IO.Pof.PofStreamReader.ReadBoolean(Int32 index)
    at HyperRig.CachingService.Adapter.POFSerializers.MapMessageFieldPOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 21
    at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
    at Tangosol.IO.Pof.PofStreamReader.ReadCollection[T](Int32 index, ICollection`1 coll)
    at HyperRig.CachingService.Adapter.POFSerializers.MapMessagePOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 55
    at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
    at Tangosol.IO.Pof.PofStreamReader.ReadObject(Int32 index)
    at Tangosol.IO.Pof.ConfigurablePofContext.Deserialize(DataReader reader)
    at Tangosol.Net.Impl.RemoteNamedCache.ConverterFromBinary.Convert(Object o)
    at Tangosol.Util.ConverterCollections.ConvertArray(Object[] ao, IConverter conv)
    at Tangosol.Util.ConverterCollections.ConverterCollection.CopyTo(Array array, Int32 index)
    at Tangosol.Util.ConverterCollections.ConverterQueryCache.GetValues(IFilter filter)
    at Tangosol.Util.ConverterCollections.ConverterNamedCache.GetValues(IFilter filter)
    at Tangosol.Net.Impl.RemoteNamedCache.GetValues(IFilter filter)
    at Tangosol.Net.Impl.SafeNamedCache.GetValues(IFilter filter)
    at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords, Object TransactionObject) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 444
    at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 461
    at HyperRig.DataManager.ETLEngine.DataCacheExtractor.Extract(Object transaction, DataTable& resultingDataTable)
    InnerException:
    I am using Oracle Coherence 3.5.3
    Regards
    Nitin Jain

    Hi Luk,
    Here is the server side config:
    <?xml version="1.0"?>
    <!--
    | Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    |
    | Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
    |
    | This software is the confidential and proprietary information of
    | Oracle Corporation. You shall not disclose such confidential and
    | proprietary information and shall use it only in accordance with the
    | terms of the license agreement you entered into with Oracle.
    |
    | This notice may not be removed or altered.
    -->
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>ACCOUNT</cache-name>
    <scheme-name>dist-default</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>dist-default</scheme-name>
    <serializer>
              <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
              <init-params>
              <init-param>
                   <param-type>string</param-type>
                   <param-value>custom-types-pof-config.xml</param-value>
              </init-param>
              </init-params>
         </serializer>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <proxy-scheme>
    <service-name>ExtendTcpProxyService</service-name>
    <thread-count>5</thread-count>
    <acceptor-config>
    <tcp-acceptor>
    <local-address>
    <address>localhost</address>
    <port>9099</port>
    </local-address>
    </tcp-acceptor>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>custom-types-pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    </acceptor-config>
    <autostart>true</autostart>
    </proxy-scheme>
    </caching-schemes>
    </cache-config>
    and client side config is:
    <?xml version="1.0"?>
    <!--
    | Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    |
    | Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
    |
    | This software is the confidential and proprietary information of
    | Oracle Corporation. You shall not disclose such confidential and
    | proprietary information and shall use it only in accordance with the
    | terms of the license agreement you entered into with Oracle.
    |
    | This notice may not be removed or altered.
    -->
    <cache-config xmlns="http://schemas.tangosol.com/cache">
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>ACCOUNT</cache-name>
    <scheme-name>extend-direct</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <remote-cache-scheme>
    <scheme-name>extend-direct</scheme-name>
    <service-name>ExtendTcpProxyService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address>localhost</address>
    <port>9099</port>
    </socket-address>
    </remote-addresses>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>30s</request-timeout>
    </outgoing-message-handler>
    <serializer>
    <class-name>Tangosol.IO.Pof.ConfigurablePofContext, Coherence</class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>Config\pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    </initiator-config>
    </remote-cache-scheme>
    </caching-schemes>
    </cache-config>
    Regards
    Nitin Jain

  • Error while reading data from SharePoint List - using object model

    Any idea what could be reason for this error:-
    Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
    ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
       at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
    ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
       at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()
       at Microsoft.SharePoint.SPListItemCollection.GetDataTableCore(Boolean isJsGrid)
       at HRCompetencyGuide.SPHelper.<>c__DisplayClass2.<getDataTableFromList>b__0()
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

    It is a simple code:- below is the part of the code taken from the method
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(siteURL))
    if (site != null)
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists.TryGetList(listName);
    if (whereQuery == null)
    collection = list.GetItems().GetDataTable();
    else
    collection = list.GetItems(whereQuery).GetDataTable();
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

Maybe you are looking for

  • DQ tolerance key

    I have maintained the DQ tolerance key in CUSTOMIZING in the foll path : Materials management ----> Logistics Invoice verification -----> Invoice Block ------> Set Tolerance limits. For DQ, I have set 30 INR as the upper limit ( absolute value ) Docu

  • Email id and company code relationship

    Hi Experts How to find particular email id is belongs to which country. Is any table or FM availabe to find the company code, email relation. Pls help

  • Reference data

    Hi,   What is reference data in IP and how do we get it? Thanks.

  • Cfindex: path attribute issue

    I am currently trying to index a network directory recursively so that all of our HR files will be in a verity index. This way a user could just search for "benefits" and view all related benefit documentation that were placed in the HR hierarchy. Th

  • HT4061 cant open my sim tray

    My phone has died and I cant open my sim tray to get the serial number... Please help