Error in finder method wrapper resulting in a connection leak

we ar using OC4J 1.0.2.2.1 and dicowered some problems with connection leaking.
The same was reproducable on 9.0.2.1 and 9.0.3 (the "J2EE 1.3 certified" version).
Using CMP/CMT for Entity EJB.
If we define the transaction attribute for a finder method returning single object as NotSupported
and ObjectNotFound exception is thrown as a result of call to the finder method,
connection is not closed.
With emulated datasource this results in a connection pool overflow, with XA datasource
the console gets conenction not closed exceptions but at least connections are closed (seriously influencin performance while waiuting for connection timeout).
the same code executes with no problem on JBoss 2.4.x and 3.0 and on iPlanet.
any comments on this - is this a bug or feature ?

Please log a TAR with your support repesentative so that we can drill down on this issue. As described, this does not sound like the correct behavior but until the details are examined it is hard to tell.
Thanks -- Jeff

Similar Messages

  • Collection returned by finder methods

    Collection returned by finder methods are serialized to the clients or referenced?
    When a client access a EJB and invoke each finder method, the result back to the client is a collection (for every finder methods unless the findByPrimaryKey). This collection is serialized to the client o is accessed by the client from the container remotely?

    I guess it is serialized. The EJB works on the rmi logic.

  • Arrays - Can't find method

    Hi,
    can you help me with this error:
         import java.util.*;
         import java.lang.*;
         public class ArrayAsParameter
            static final int ARRAY_SIZE = 10;
            static Scanner console = new Scanner(System.in);
            public static void main (String[] args)
                int[] listA = new int[ARRAY_SIZE];
                int[] listB = new int[ARRAY_SIZE];
                System.out.print("List elements array: ");
                printArray(listA, listA.length);
                System.out.println();
                System.out.print("Enter integers: " + listA.length);
                fillArray(listA, listA.length);
                System.out.println();
       }I have error cant find method printArray, fillArray!
    This methods are in java.lang
    thx

         public static void printArray(int[] list, int noOfElements)
              int index;
              for(index = 0; index < noOfElements; index++)
                   System.out.print(list[index] + " ");
         }Found yesterday Thx
    AYMF

  • Error "Unable to find method:key" on UM configuration iView

    When i try to click on the UM configuration in System Administration --> System configuration i am getting the Error Unable to find method:key  Does any one came across the same Issue. Please help ?

    Server restart should help. See note 792929.

  • Error: cannot find symbol method Text

    Hi
    I want to make an index for txt files by using Lucene, it got an error: cannot find symbol method Text. what is it about? Does it mean the Text is not in Field?
    thank you v much
    pls look into my code:
    package TestLucene;
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.document.Fieldable;
    import java.io.Serializable;
    * This class demonstrate the process of creating index with Lucene
    * for text files
    public class Lucene {
         public static void main(String[] args) throws Exception{
              //indexDir is the directory that hosts Lucene's index files
            File   indexDir = new File("D:\\luceneIndex");
            //dataDir is the directory that hosts the text files that to be indexed
            File   dataDir  = new File("D:\\luceneData");
            Analyzer luceneAnalyzer = new StandardAnalyzer();
            File[] dataFiles  = dataDir.listFiles();
            IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
            long startTime = new Date().getTime();
            for(int i = 0; i < dataFiles.length; i++){
                 if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".txt")){
              System.out.println("Indexing file " + dataFiles[i].getCanonicalPath());
              Document document = new Document();
              Reader txtReader = new FileReader(dataFiles[i]);
              document.add(Field.Text("path",dataFiles[i].getCanonicalPath()));
              document.add(Field.Text("contents",txtReader));
              indexWriter.addDocument(document);
    indexWriter.optimize();
    indexWriter.close();
    long endTime = new Date().getTime();
    System.out.println("It takes " + (endTime - startTime)
    + " milliseconds to create index for the files in directory "
              + dataDir.getPath());

    Hal-.- wrote:
    I downloaded Lucene from its homepage, I have tried Lucene 2.3.0 and Lucene 2.2.0, but same errors occurs which is cannot find symbol method Text.
    I checked class Field under Lucene, it doesn't have Text function. Well there you go. You can't call methods that don't exist.
    What should I do to add two Fields "path" & "contents" into Document?It seems very likely that the object that represents an indexed document, has some way to express the concepts of "path" and "contents". You should probably just read the docs some more.
    But other than that I have no idea. Ask on a Lucene forum.

  • CMP finder method error

    I'm now using Jbuilder7+weblogic7 to do some EJB develop.
    Weblogic server is configured to run inside the Jbuilder IDE, and my CMP entity bean has been deployed successfully.
    I new a "EJB test client" within Jbuilder to test my CMP bean, I could create entity bean via create method, but when I using finder method to find a bean, the client report that "java.sql.SQLException: No data found"!
    My EJB-QL is:"SELECT OBJECT(o) FROM Account o WHERE o.ownername = ?1"
    And below is the exception report:
    javax.ejb.FinderException: Problem in findByOwnername while preparing or executing statement: 'weblogic.jdbc.rmi.SerialPreparedStatement@1d2384':
    java.sql.SQLException: No data found
    java.sql.SQLException: No data found
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6212)
         at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3266)
         at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultSet.java:5398)
         at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:326)
         at weblogic.jdbc.jts.ResultSet.getString(ResultSet.java:84)
         at weblogic.jdbc.rmi.internal.ResultSetImpl.getString(ResultSetImpl.java:178)
         at weblogic.jdbc.rmi.internal.ResultSetStraightReader.getString(ResultSetStraightReader.java:37)
         at weblogic.jdbc.rmi.SerialResultSet.getString(SerialResultSet.java:128)
         at cmptest.AccountBean_8259n1__WebLogic_CMP_RDBMS.__WL_loadGroup0FromRS(AccountBean_8259n1__WebLogic_CMP_RDBMS.java:945
    Can anybody help me out? Thanks.

    The Exception is pretty clear there are no Records found for the Owner Name u give. Try Creating the Suitable record from ur Entity Bean(create method of course) then check in the DB for the Record and then try to retrieve it....I don't think there should be any problem....
    Cheers,
    manja

  • FATAL ERROR in native method: Wrong Method ID

    I have a piece of C code from which I am trying to launch a piece of Java, but I am having severe problems just trying to get a simple integer value returned from any Java function. I keep getting the error message "FATAL ERROR in native method: Wrong method ID used to invode a Java method"
    My C code looks like :
    JNIEnv *env;
    long result;
    jmethodID mid;
    jclass cls;
    jobjectArray args;
    jstring jstr;
    jint res;
    jobject myObj;
    options[0].optionString = "-Djava.class.path=.";
    options[1].optionString = "-Djava.compiler=NONE";
    options[2].optionString = "-verbose:jni";
    vm_args.version = JNI_VERSION_1_2;
    vm_args.options = options;
    vm_args.nOptions = 2;
    vm_args.ignoreUnrecognized = JNI_FALSE;
    // Create the Java VM
    result = JNI_CreateJavaVM(&jvm,(void **)&env, &vm_args);
    if (result == JNI_ERR )
    printf("Can't create Java VM\n");
    exit(1);
    else
    printf("Java VM created successfully\n");
    cls = (*env)->FindClass(env, "Example1");
    if (cls == 0){
    printf("Can't find Class\n");
    exit(1);
    else
    printf("Class Found\n");
    mid = (*env)->GetMethodID(env, cls, "GetIntValue", "()I" );
    if (mid == 0) {
    printf("Can't find function\n");
    exit(1);
    else
    printf("Function Found\n");
    res = (*env)->CallIntMethod(env, cls, mid);
    if (res != 0)
    char pszTempString[256] = {'\0'};
    sprintf (pszJavaString, "Returned from Java the value of %d", res);
    printf("Returned from Java with ");
    printf(pszJavaString);
    My GetMethodID call works correctly and I have checked the signature (using javap -s) and that works fine. I've seen many references on these forums about using NewObject prior to calling CallIntMethod, but if I try to use that I then get the error message "FATAL ERROR in native method: a non-constructor passed to NewObject".
    Any body got any ideas please.
    Thanks

    What I couldn't figure out from your code is where you create the java object that is supposed to return the integer to your C code.
    Alternatives:
    o This is just code snippets, and you really are creating the object.
    o Error - the object should have been created.
    o Error - it is a static method, and you should be finding a static method and calling it on a class object.
    (Other than that, I didn't see anything obviously wrong.

  • CMP Custom Finder Method Problem

    Hi everybody,
    I have a problem about CMP Custom Finder Method.
    I made CMP Entity Bean and deployed.
    Then, I updated finder section in orion-ejb-jar.xml to add my custom finder query.
    Here is updating finder section in my orion-ejb-jar.xml.
    <finder-method query="(($schStartDate &lt;= TO_DATE($1,'MM-DD-YYYY a HH:MI') and $schEndDate &gt;= TO_DATE($1,'MM-DD-YYYY a HH:MI')) or ($schStartDate &lt;= TO_DATE($2,'MM-DD-YYYY a HH:MI') and $schEndDate &gt;= TO_DATE($2,'MM-DD-YYYY a HH:MI'))) and ($schRoom = $3)">
    <!-- Generated SQL: "......" -->
    <method>
    <ejb-name>RoomSchedule</ejb-name>
    <method-name>findBySchDateAndRoom</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    <method-param>java.lang.String</method-param>
    </method-params>
    </method>
    </finder-method>
    <resource-ref-mapping name="jdbc/OracleDS" />
    And, i restarted oc4j. so, oc4j redepoyed CMP bean.
    But, when my client program called CMP Bean, lookup() was ok, but calling findBySchDateAndRoom() was bad.
    I couldn't get any result collection.
    Here is my client code.
    Context ctx = new InitialContext();
    Object ref = ctx.lookup("RoomSchedule");
    roomScheduleHome = (RoomScheduleHome) PortableRemoteObject.narrow(ref, RoomScheduleHome.class);
    String startDT = new String("07-30-2002 am 10:30");
    String endDT = new String("07-30-2002 pm 05:20);
    String roomID = "TEST";
    Collection roomAllSch = roomScheduleHome.findBySchDateAndRoom(startDT, endDT, roomID1);
    Iterator roomSchItr = roomAllSch.iterator();
    int schQty = 0;
    while (roomSchItr.hasNext()) {
    roomSchedule = (RoomSchedule) roomSchItr.next();
    if(roomSchedule.getStatus().equals("A"))
    schQty++;
    After excuting above code, schQty was still zero!!
    Because Collection roomAllSch had not any items.
    But, table ROOMSCHEDULE had 30 records which were same query condition in my database.
    I traced SQL statement using P6Spy Class.
    Here is spy.log.
    1028006337814|10|0|statement|select * from RoomSchedule where ((RoomSchedule.schStartDate <= TO_DATE(?,'MM-DD-YYYY A.M. HH:MI') and RoomSchedule.schEndDate >= TO_DATE(?,'MM-DD-YYYY A.M. HH:MI')) or (RoomSchedule.schStartDate <= TO_DATE(?,'MM-DD-YYYY A.M. HH:MI') and RoomSchedule.schEndDate >= TO_DATE(?,'MM-DD-YYYY A.M. HH:MI'))) and (RoomSchedule.schRoom = ?)|select * from RoomSchedule where ((RoomSchedule.schStartDate <= TO_DATE('7-30-2002 ?@@| 01:00','MM-DD-YYYY A.M. HH:MI') and RoomSchedule.schEndDate >= TO_DATE('7-30-2002 ?@@| 01:00','MM-DD-YYYY A.M. HH:MI')) or (RoomSchedule.schStartDate <= TO_DATE('7-30-2002 ?@HD 12:00','MM-DD-YYYY A.M. HH:MI') and RoomSchedule.schEndDate >= TO_DATE('7-30-2002 ?@HD 12:00','MM-DD-YYYY A.M. HH:MI'))) and (RoomSchedule.schRoom = 'Earth')
    1028006337824|10|0|statement|select RoomSchedule.schTitle, RoomSchedule.schStartDate, RoomSchedule.schEndDate, RoomSchedule.schDayAll, RoomSchedule.status, RoomSchedule.schRoom, RoomSchedule.reqUser, RoomSchedule.apprUser, RoomSchedule.purpose, RoomSchedule.relatoinID, RoomSchedule.schDesc, RoomSchedule.reqDate, RoomSchedule.apprDate from RoomSchedule where (RoomSchedule.schID = ?)|select RoomSchedule.schTitle, RoomSchedule.schStartDate, RoomSchedule.schEndDate, RoomSchedule.schDayAll, RoomSchedule.status, RoomSchedule.schRoom, RoomSchedule.reqUser, RoomSchedule.apprUser, RoomSchedule.purpose, RoomSchedule.relatoinID, RoomSchedule.schDesc, RoomSchedule.reqDate, RoomSchedule.apprDate from RoomSchedule where (RoomSchedule.schID = 0)
    As you see it, two query statement were executed.
    First query statement was ok and got some result records.
    But, second query statement was bad so didn't get any result records.
    I didn't understand why second query statement was executed.
    When roomAllSch.iterator() was being excuted in my client program, second query statment was executed.
    I couldn't believe....
    What's wrong? Please help me....
    OC4J : Version 9 Release 2
    Database : Oracle 8i
    OS : Windows 2000 Professional

    I created CMP of EJB 1.1, I wanted to add a finder
    there, but it didn't work.
    the error message is:
    "AccountEJB_vkbo0d_HomeImpl.java":
    AccountEJB_vkbo0d_HomeImpl should be declared
    abstract; it does not define findBySalary(float) in
    AccountEJB_vkbo0d_HomeImpl at line 11, column 1I think I don't remember CMPs having finder methods anything other than abstract. The code goes in the deployment descriptor. I hope you atleast got that right.
    Richard.

  • Deployment problem with finder method

    I have a problem deploying an application that was working prior to my adding a finder method to one of the entity beans. Here is the Descriptor from the EJB Module that i created (which appears to be ok):
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <display-name>RFXModule</display-name>
    <enterprise-beans>
    <session>
    <display-name>RFXManager</display-name>
    <ejb-name>RFXManager</ejb-name>
    <home>au.com.alphawest.trader.rfx.business.management.RFXManagerHome</home>
    <remote>au.com.alphawest.trader.rfx.business.management.RFXManagerRemote</remote>
    <ejb-class>au.com.alphawest.trader.rfx.business.management.RFXManagerBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-local-ref>
    <ejb-ref-name>ejb/rfx/RFXDocument</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocalHome</local-home>
    <local>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocal</local>
    <ejb-link>RFXDocument</ejb-link>
    </ejb-local-ref>
    </session>
    <entity>
    <display-name>RFXAttachment</display-name>
    <ejb-name>RFXAttachment</ejb-name>
    <local-home>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocalHome</local-home>
    <local>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocal</local>
    <ejb-class>au.com.alphawest.trader.rfx.business.data.RFXDocumentAttachment</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>RFXAttachment</abstract-schema-name>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>type</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>attachmentContents</field-name>
    </cmp-field>
    <primkey-field>name</primkey-field>
    </entity>
    <entity>
    <display-name>RFXDocument</display-name>
    <ejb-name>RFXDocument</ejb-name>
    <local-home>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocalHome</local-home>
    <local>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocal</local>
    <ejb-class>au.com.alphawest.trader.rfx.business.data.RFXDocumentBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>au.com.alphawest.trader.rfx.business.data.RFXDocumentPK</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>RFXDocument</abstract-schema-name>
    <cmp-field>
    <field-name>documentGUID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>creationDate</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>creatorGUID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>dueDate</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>emailAddress</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>faxNo</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>locked</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>notes</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>organisationName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>ownerGUID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>requestId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>subject</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>telephoneNo</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>unitGUID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>buyer</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>organisationGUID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>sourceId</field-name>
    </cmp-field>
    <ejb-local-ref>
    <ejb-ref-name>ejb/rfx/RFXDocumentAttachment</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocalHome</local-home>
    <local>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocal</local>
    <ejb-link>RFXAttachment</ejb-link>
    </ejb-local-ref>
    <ejb-local-ref>
    <description>A line item attached to this document</description>
    <ejb-ref-name>ejb/rfx/RFXLineItem</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocalHome</local-home>
    <local>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocal</local>
    <ejb-link>RFXLineItemBean</ejb-link>
    </ejb-local-ref>
    <query>
    <description>Find the rfx documents related to the given supplier through it's line items</description>
    <query-method>
    <method-name>findBySupplierId</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>SELECT OBJECT(d) FROM RFXDocument AS d, IN(d.lineItems) l WHERE l.supplierGuid = 'DummySupplierGuid'</ejb-ql>
    </query>
    </entity>
    <entity>
    <display-name>RFXLineItem</display-name>
    <ejb-name>RFXLineItem</ejb-name>
    <local-home>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocalHome</local-home>
    <local>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocal</local>
    <ejb-class>au.com.alphawest.trader.rfx.business.data.RFXLineItemBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.math.BigDecimal</prim-key-class>
    <reentrant>False</reentrant>
    <abstract-schema-name>RFXLineItem</abstract-schema-name>
    <cmp-field>
    <field-name>itemId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>rfxGuid</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>contractCode</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>supplierGuid</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>productCode</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>quantity</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>units</field-name>
    </cmp-field>
    <primkey-field>itemId</primkey-field>
    </entity>
    </enterprise-beans>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>RFXDocument-RFXAttachment</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>RFXDocument</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>RFXDocument</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>attachments</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>RFXAttachment</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>RFXAttachment</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>RFXDocument-RFXLineItem</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>RFXDocument</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>RFXDocument</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>lineItems</cmr-field-name>
    <cmr-field-type>java.util.Set</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>RFXLineItem</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>RFXLineItem</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    <assembly-descriptor>
    <container-transaction>
    <description>This value was set as a default by Sun ONE Studio.</description>
    <method>
    <ejb-name>RFXAttachment</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <description>This value was set as a default by Sun ONE Studio.</description>
    <method>
    <ejb-name>RFXDocument</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <description>This value was set as a default by Sun ONE Studio.</description>
    <method>
    <ejb-name>RFXLineItem</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
    <description>This value was set as a default by Sun ONE Studio.</description>
    <method>
    <ejb-name>RFXManager</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    I get the following error message when i try to run the EJB Module through the Sun One Verifier Tool:
    Error: ** Error trying to process file: java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
    java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
    at com.sun.enterprise.deployment.xml.EjbNode.parseQueries(EjbNode.java:700)
    at com.sun.enterprise.deployment.xml.EjbNode.completeLoadingDescriptor(EjbNode.java:671)
    at com.sun.enterprise.deployment.xml.EjbBundleNode.completeLoadingDescriptor(EjbBundleNode.java:524)
    at com.iplanet.ias.deployment.EjbBundleXmlReader.load(EjbBundleXmlReader.java:249)
    at com.iplanet.ias.deployment.EjbBundleXmlReader.loadStdAloneModule(EjbBundleXmlReader.java:162)
    at com.sun.enterprise.tools.verifier.Verifier.openEjbJar(Verifier.java:2421)
    at com.sun.enterprise.tools.verifier.Verifier.loadEjbJar(Verifier.java:1318)
    at com.sun.enterprise.tools.verifier.Verifier.loadJar(Verifier.java:866)
    at com.sun.enterprise.tools.verifier.gui.MainPanel.run(MainPanel.java:187)
    at java.lang.Thread.run(Thread.java:536)
    Look in file "RFXModule.jar_verified.xml" for detailed results on test assertions.
    Any help would be greatly appreciated.
    Mark Hesketh

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Not able to reload the data from DB using finder methods

    Hi all,
    <p>
    I am facing a weird problem while using finder methods.
    I am using weblogic 8.1 SP3 and entity beans are CMP with DB concurrency.DB is oracle
    </p>
    <h4>Problem Description</h4>
    <p>
    I am having one session bean which internally interacts with my entity beans,
    Now say my transaction is getting initiated in one of the session bean and I use some finder in it.
    </p>
    <p>
    To make the problem more clear lets say my entity bean is loanBean with loanId as primary key.
    Now say method A of session bean initiates the transaction and I use something like
    <br>
    LoanLocal loanLocal =loanLocalHome.findByLoanId(loanId);
    <br>
    <b>Note that I am not using findByPrimaryKey method</b>
    <br>
    now this method A calls some other method B on some session bean which is having Required as its transaction attribute.
    <br>
    But before the call of B some other thread or background process updates the DB for this loanId and commits,
    <br>
    now when I fire the same finder in method B I am still getting the old data, ie I am not getting the data which has been modified in DB and committed by some other thread, I still get the old data and when I tried to generate the SQL queries which weblogic is firing, I see
    it fires the SQL for every finder other that findByPrimaryKey.
    <br>
    <b>
    Now my problem is I am getting the old data only and I need the new updated data of DB. isolation-level of DB and beans is READCOMMITTED.
    Note:: I cant use new transaction to read the data.
    </b>
    <br>
    And I couldn't understand that when weblogic is firing query for every finder then why it should not refresh the data in its cache. Is there any way to disable this kind of caching and say that everytime when i use finder just go to DB and get me the last committed data.
    </p>
    <br>
    Any help in this regard would be very helpful to me.
    <br>
    Thanks and Regards
    <br>
    Manish Garg.
    </p>

    Hi,
    In my understanding, cache is not involved in this scenario. As you
    observed, the container fires sql every time when you invoke this finder.
    So, it should just give the result that it got from the DB. Is there a
    possibility that the DB is using repeatable_read or serializable for
    isolation level?
    You can debug further by doing couple of things -
    1. Instrument the code in the generated RDBMS java file for the entity bean
    (if you use -keepgenerated option for weblogic.ejbc, u can get the source of
    this file). This class will have the implementation for ejbFindByLoanId. You
    can just print the result set data after the query is fired.
    2. Try the same scenario without the ejb container. Like, write a jsp which
    will start a user tx and fire the query twice such that there is an update
    between the two queries. Note that, you need to use a TxDataSource to get
    the JDBC connection so that it will be tx aware.
    --Sathish
    <Manish Garg> wrote in message news:[email protected]...
    Hi all,
    <p>
    I am facing a weird problem while using finder methods.
    I am using weblogic 8.1 SP3 and entity beans are CMP with DB
    concurrency.DB is oracle
    </p>
    <h4>Problem Description</h4>
    <p>
    I am having one session bean which internally interacts with my entity
    beans,
    Now say my transaction is getting initiated in one of the session bean and
    I use some finder in it.
    </p>
    <p>
    To make the problem more clear lets say my entity bean is loanBean with
    loanId as primary key.
    Now say method A of session bean initiates the transaction and I use
    something like
    <br>
    LoanLocal loanLocal =loanLocalHome.findByLoanId(loanId);
    <br>
    <b>Note that I am not using findByPrimaryKey method</b>
    <br>
    now this method A calls some other method B on some session bean which is
    having Required as its transaction attribute.
    <br>
    But before the call of B some other thread or background process updates
    the DB for this loanId and commits,
    <br>
    now when I fire the same finder in method B I am still getting the old
    data, ie I am not getting the data which has been modified in DB and
    committed by some other thread, I still get the old data and when I tried
    to generate the SQL queries which weblogic is firing, I see
    it fires the SQL for every finder other that findByPrimaryKey.
    <br>
    <b>
    Now my problem is I am getting the old data only and I need the new
    updated data of DB. isolation-level of DB and beans is READCOMMITTED.
    Note:: I cant use new transaction to read the data.
    </b>
    <br>
    And I couldn't understand that when weblogic is firing query for every
    finder then why it should not refresh the data in its cache. Is there any
    way to disable this kind of caching and say that everytime when i use
    finder just go to DB and get me the last committed data.
    </p>
    <br>
    Any help in this regard would be very helpful to me.
    <br>
    Thanks and Regards
    <br>
    Manish Garg.
    </p>

  • How to add a finder method in the container manager Bean in the weblogic6.1

    in the environment jbuilder6 andweblogic6.1,use container manager entity Bean,it can automatic generate the findAll() method,I want to add a new method to find an element in the home interface,such as findByName(),name is a element of a table of the database.in the weblogic-cmp-rdbms-jar.xml,this is part of the fiile:
    <finder>
    <finder-name>findAll</finder-name>
    <finder-query><![CDATA[ (= 1 1) ]]></finder-query>
    </finder>
    <finder>
    <finder-name>findByName</finder-name>
    <finder-param>java.lang.String</finder-param>
    <finder-query><![CDATA[ (=name $name) ]]></finder-query>
    </finder>
    It can successfully compile the findAll(),but it is wrong when compile the findByName(),as follows
    "www.ejbgrpx": Method Name: findByName
    "www.ejbgrpx": Invalid specifications for a WebLogic RDBMS CMP EJB.
    "www.ejbgrpx": ERROR: Error from ejbc: weblogic.ejb20.cmp11.rdbms.finders.IllegalExpressionException:
    "www.ejbgrpx": While trying to process Finder
    "www.ejbgrpx": Parameter Types: (java.lang.String)
    "www.ejbgrpx": WebLogic Query: (= name $name)
    "www.ejbgrpx": Finder Expressions: ()
    "www.ejbgrpx": Could not parse WLQL expression: (= name $name) null
    "www.ejbgrpx": ERROR: ejbc found errors
    thank you

    The finder methods that you are referring to are only simple finder methods. If you would like to add specialized finder methods, you can make your entity bean with bean managed persistence and not container managed. If you are using EJB 2.0, your entity bean with container managed persistence can use EJB QL for finder methods. You can search for this topic and/or download the EJB 2.0 specifications
    Hope this helps

  • More than one entity found for a single-object find method

    Hi everyone...
    I have this error when my webservice is running..I don't know what it means and what would be the best solution..
    <pns:message>More than one entity found for a single-object find method.</pns:message>
    it throws an Exception..
    Thanks!

    = More than one row found in a DB with the "unique" key supplied...
    Your method is returning an object where it should return a collection ?
    Enjoy

  • Finder methods that return collections (don't work)

    Hi all, this looks like an internal error, but I though Id ask incase there is a way around it.
    Im having some problems with entity java beans using jdeveloper and the internal j2ee server. The bean is deployed and runs, find by primary key and all other methods work except find by last name which returns a collection.
    I have experimented with the code, and stepped through with the debugger. The debugger doesn't find any errors or throw any exceptions. The method which it calims causes the error ejb find by last name does not throw an error and exits normally.
    Though experiments I have done I have found that the failure only occurs if the collection returned has elements. If and empty collection is returned then the error is not given. If null is returned then the same error is given with a null pointer exception at the start instead of class cast. I have tried serveral variations on this code and none seem to work. Im hoping this is a common bug and you can point me towards a solution.
    I have browsed your forum and searched your site, as well as the web for information on this bug but have not found any information.
    My OS is Linux Red Hat 8.0 and the version of JDeveloper is 9.0.2.8.2. I urgenly need assistance with this, it forms the basis for a final year degree project which needs to be submitted in 4 weeks.
    -- Error output --
    java.lang.ClassCastException: java.lang.Integer
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1530)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1453)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:53)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.findByLastName(Unknown Source)
         at SamplepodPackage.PatientClient.main(PatientClient.java:88)
    -- output ends --
    Thanks for your time
    Glenn Jenkins
    (Glamorgan University)

    I think I've figured it out. I checked my keywords and some of the keywords I used were unintentionally under another keyword, so it appears that smart collections useingn using child keywords will always include the parent keyword, even if that keyword isn't listed in the Keyword panel. When I moved the wrong children outside the existing parent, the Smart Collection worked properly. Now I have to figure out how the keywords unintentionally became children to other keywords.
    CPB
    CPB
    Craig P. Beyers
    703-626-3848 (m)

  • Installation error:  Cannot find a J2SE SDK installed at path C:\Program Fi

    I am installing latest version of SQL Developer, Release 1.2. I have Sun Java 2 Standard Edition Version 1.5.0 (build 1.5.0_10-b03). When I browse and select the java.exe found it comes up with error: Cannot find a J2SE SDK installed at patch
    C:\Program Files\Java\jre1.5.0_10
    I am installing the version I downloaded for Windows systems with JDK1.5.
    I have tried on two different machines.
    Any ideas?

    This is going to seem loooong, but comprehensive.
    I'd initially always suggest using the bundled
    package, since that's supposed to be a tested and
    proven combination.You know what, I'm gonna be mighty surprised if you're implying that Oracle hasn't 'tested and proven' the releases at http://www.oracle.com./technology/software/products/sql/index.html other than the first 77 MB download labeled Oracle SQL Developer for Windows... :)
    After having problems with a graphics card for
    example, installing the latest JDK might be
    indicated.Huh?!? Not a clue what you're talkin' 'bout! :S
    It's also easy for users who don't know which Java
    version to download, or even where to find it! You
    guys have proven that: although it's stated you need
    .First of all, it says right there on the download page (http://www.oracle.com./technology/software/products/sql/index.html) that:
    "JDK 1.5 (JDK 5.0) is required. This is the minimum JDK version required"
    And we've "proven that [..] although it's stated you need the JDK, [we]'ve tried running with the JRE" and have NOT been able to run the application. It just presents the user a dialog box to locate the 'SDK' manually and exits gracefully if you try to dismiss it. So, conclusively proven, the JDK (or as SQL Developer puts it, Java SDK) is required- QED.
    And given users might have several versions running
    on the same machine (I have half a dozen), sqldev
    could easily pick up a wrong version.And every JRE installation (atleast all of Sun's) make sure they update the default (via PATH and other required system variables) JRE point to the latest one installed. So if you have anything 1.5+ you're good to go; if not, you've got an incompatile JRE. Doesn't sound that hard to me!
    As for being bulky, even without the bundled JDK, it
    still is.Ya missed the point. Developers are making Java applications bulkier by including the JRE/JDK with their distributions. A SQL Developer release sans JDK is about 46 MB; with JDK that climbs to 77 MB (sizes quoted from download page linked above).
    Imagine what happens when you have, besides SQL Developer (JDK 1.5 included), some-cool-java-app that also includes the JRE/JDK it was built on; and then another-java-app that also includes a JRE/JDK... I bet JDeveloper also comes with a JDK bundled in. So, now you have FOUR copies of JRE/JDK (aside from the "have half a dozen" that probably installed themselves via Java Update Checker)!
    Here's the big picture, the savings in disk space would only be the beginning of your benefits. Here's a few others:
    - Class Data Sharing (http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html) introduced in Java SE 5.0 provides for storing definitions of commonly used classes in a representation closer to machine code, even closer than bytecode, this reducing load and startup time. Plus all VM's launced using that particular distribution get to share the cache- Performace+ !!
    Running each app offa' it's own VM just causes multiple caches to be loaded. You just multiplied your losses! :(
    - Sun is currently working on a way to have applications simply inject into a running JVM. That way, there is no load and startup time for the JVM, just the time to load you app classes. Using different distros would completely defeat this!
    (The reason why this feature isn't out yet is because they're still trying to make it possible to specify hitherto VM configurations like security and logging as application configurations. Then there's also the issue of setting up class loading boundaries between applications.
    You say you don't have to bring over the VB runtime
    for each app? I remember in the 90's doing it all the
    time. Of course, being MS, now that's not necessary
    anymore, since it's "magical" Windows. I don't have
    any machine from Sun, but for sure they've got Java
    bundled with it, right?I don't believe you had to do that since VB 5; and that's because MS realized that they messed up on this very point upto then! Sun worked the simple solution to that into their deployment strategy- install only ONE runtime and run all apps off that. As for you're half-a-dozen, I think you can safely uninstall the five older versions; because, even today, people are running apps developed using JDK1.1 on Java SE 6.0!
    Again, I find the most logical difference between JRE
    and JDK being the debugger. As you say it yourself:
    JRE for end-users, who don't need to do any
    debugging.
    Now, sqldev is not just a table browser, but also for
    debugging PL/SQL. 1 + 1 = 2.I think it's a little naive to differentiate between the JRE and JDK on just the debugger! Aside from the obvious inclusion of a compiler, the JDK has several other tools for monitoring/managing the heap, threads and logging on the fly. There's also the Doclet API and Sun's javadoc implementation, dev interfaces for instrumenting the VM, native interfaces, ...
    And I reiterate, we're talkin' PL/SQL developers here. Why would I want to give a PL/SQL developer a Java Development Kit?!? ;|
    Nevertheless, as said in the other thread, if the
    team discloses how to circumvent the SDK check at
    startup, you can go ahead and use the JRE. In any
    case, you'd have to agree that won't work as
    out-of-the-box solution...You're right, it won't work like a standard Windows OOTB app. But, it WILL work as a Java OOTB that only mandates that there be a JRE available; just like the scores of Java apps out there- from tiny little Pong clones to large IDE's like NetBeans.
    BTW, don't even think about quoting Websphere/Rational/Eclipse as counter-arguments. They are the biggest offenders as far as this issue goes. And jikes is an abomination, a curse Sun must carry as a result to opening the VM Spec. But, I digress...

  • Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception

    I am getting below error when I am trying to upload a document to SP 2013 using CSOM (Of BizTalk)
    Unexpected error occurred in method 'Put' , usage 'SPViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:
    The request timed out.. Additional Information : The client was trying to communicate with the server :net.tcp://XXXX:22233  
    at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody)    
    at Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, 
    DataCacheTag[] tags, String region, IMonitoringListener listener)  
    Somewhere down the logs then another following error is recorded:
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Warning"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Channels.SocketConnectionAbort.aspx</TraceIdentifier><Description>SocketConnection
    aborted</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Source>System.ServiceModel.Channels.SocketConnection/15268232</Source></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    I/O operation has been aborted because of either a thread exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Obje...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ct sender, SocketAsyncEventArgs eventArgs)     at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)     at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32
    errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)  </StackTrace><ExceptionString>System.Net.Sockets.SocketException
    (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.ServiceModel.Channels.SocketConne...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ction.EndRead()     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.HandleIO(IConnection connection)     at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)    
    at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred, SocketFlags
    flags)     at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode,
    UInt32 numBytes, NativeOverlapped* pOVERLAP)  </StackTrace><ExceptionString>System.TimeoutEx...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ception: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException:
    The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object
    sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    I/O opera...  
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...tion has been aborted because of either a thread exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object
    sender, SocketAsyncEventArgs eventArgs)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></InnerException></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.ServiceModel.Channels.StreamConne...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ction.EndRead()     at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)     at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)     at System.Net.LazyAsyncResult.Complete(IntPtr
    userToken)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)     at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object
    state)     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred,
    SocketFlags flags)     at System.Net.Sockets.SocketAsyncEv...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...entArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)     at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
     </StackTrace><ExceptionString>System.TimeoutException: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion
    of a longer timeout. ---&amp;gt; System.IO.IOException: The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted
    timeout of 00:01:00. The time allotted to this operation may have b...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...een a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---
        at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at Syst...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...em.ServiceModel.Channels.StreamConnection.EndRead()     --- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    read operation failed, see inner exception.</Message><StackTrace>   at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at System.ServiceModel.Channels.StreamConnection.EndRead()</StackTrace><ExceptionString>System.IO.IOException:
    The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException: The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may
    have been a port...  
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---
        at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at System.Service...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...Model.Channels.StreamConnection.EndRead()</ExceptionString><InnerException><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)</StackTrace><ExceptionString>System.TimeoutException:
    The socket was aborted because an asynchronous receive fr...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...om the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because
    of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs
    eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)  
      at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)</ExceptionString>...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...<InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The I/O operation has been aborted because of either a thread
    exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs
    eventArgs)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Ob...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ject sender, SocketAsyncEventArgs eventArgs)</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></InnerException></InnerException></InnerException></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    System.ServiceModel Error: 131075 : 
    06/25/2014 08:29:23.88  w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing
    an exception.</Description><AppDomain>/LM/W3SVC/2/ROOT/81d12ab944d94c29a629fae7508ad28b-1-130481510403888701</AppDomain><Exception><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.ServiceModel.Channels.StreamConne...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ction.EndRead()     at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)</StackTrace><ExceptionString>System.TimeoutException: The socket was aborted because an asynchronous receive from the
    socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.IO.IOException: The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException:
    The socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException:
    The I/O operation has been aborted because of ei...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ther a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs
    eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)  
      at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---     at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)     at System.ServiceModel.Channels.StreamConnection.EndRead()
        --- End of inner exception stack trace ---     at System.ServiceModel.Chann...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...els.StreamConnection.EndRead()     at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)</ExceptionString><InnerException><ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0,
    Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The read operation failed, see inner exception.</Message><StackTrace>   at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)    
    at System.ServiceModel.Channels.StreamConnection.EndRead()</StackTrace><ExceptionString>System.IO.IOException: The read operation failed, see inner exception. ---&amp;gt; System.TimeoutException: The socket was aborted because an asynchronous
    receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this oper...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)     --- End of inner exception stack trace ---
        at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncRes...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...ult)     at System.ServiceModel.Channels.StreamConnection.EndRead()</ExceptionString><InnerException><ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The
    socket was aborted because an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message><StackTrace>   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult
    result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)</StackTrace><ExceptionString>System.TimeoutException:
    The socket was aborted because ...  
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...an asynchronous receive from the socket did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---&amp;gt; System.Net.Sockets.SocketException: The I/O operation
    has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender,
    SocketAsyncEventArgs eventArgs)     --- End of inner exception stack trace ---     at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)     at System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.End(IAsyncResult
    result)     at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transpor...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...tResult)</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The I/O operation has been
    aborted because of either a thread exit or an application request</Message><StackTrace>   at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()     at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object
    sender, SocketAsyncEventArgs eventArgs)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request     at System.ServiceModel.Channels.SocketConnection.HandleReceiveAsyncCompleted()
        at System.ServiceModel.Channels.SocketCo...
    06/25/2014 08:29:23.88* w3wp.exe (0x1A24)                       
    0x1600 SharePoint Foundation         
    Service Connections           
    ev2x Verbose 
    ...nnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)</ExceptionString><NativeErrorCode>3E3</NativeErrorCode></InnerException></InnerException></InnerException></Exception></TraceRecord>
    06/25/2014 08:29:23.88  w3wp.exe (0x2308)                       
    0x20BC SharePoint Foundation         
    Monitoring                    
    nasq Verbose 
    Entering monitored scope (SPFileStreamManager.GetStreamInfo). Parent SPSqlClient
    183e9e9c-5ed6-e0aa-f49d-829231a7c856
    06/25/2014 08:29:23.88  w3wp.exe (0x2308)                       
    0x20BC SharePoint Foundation         
    Monitoring                    
    b4ly Verbose 
    Regards
    Ritu Raj
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Problem with distributed cache connection, Check below
    http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
    http://habaneroconsulting.com/insights/SharePoint-2013-Distributed-Cache-Bug#.U6p506Nn01s
    http://social.technet.microsoft.com/forums/sharepoint/en-US/fd3bca97-5d75-4a67-87ca-aac7bb5f6352/setup-spn-for-appfabric-distributed-cache-in-sharepoint-2013
    http://social.msdn.microsoft.com/Forums/en-US/317ef084-1174-4c4e-8d23-d1c56bd0db73/sharepoint-2013-workflows-keep-crashing-due-to-distributed-logon-token-cache-timeouts-cache-keeps?forum=sharepointadmin
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for