webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Exception (INOXIE8305: Invalid cursor handle., )

  • 1.  Exception (INOXIE8305: Invalid cursor handle., )

    Posted Thu September 05, 2002 03:54 PM

    Hello,
    I get this exception when trying to get documents in a cursor.

    The attached document includes the source code method which takes the exception(fillIcdCpt)

    StoreException: id = 160
    Error with accessing database.
    NestedException:Tamino access failure (INOXIE8305: Invalid cursor handle., )
    at com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.newIteratorException(TXMLObjectFetchingIterator.java:442)
    at com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.fetchBlockAt(TXMLObjectFetchingIterator.java:314)
    at com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.fetchBlockWith(TXMLObjectFetchingIterator.java:281)
    at com.softwareag.tamino.db.API.response.TXMLObjectFetchingIterator.next(TXMLObjectFetchingIterator.java:115)
    at com.softwareag.xtools.xapplication.store.TaminoElementIterator.next(TaminoElementIterator.java:141)
    at com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.next(BusinessDocumentCursor.java:333)
    at hitit.Hitit.fillIcdCpt(Hitit.java:556)
    at hitit.Hitit.hititStartCore(Hitit.java:417)
    at hitit.Hitit.(Hitit.java:65)
    at index_1._jspService(index_1.java:64)
    at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
    at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
    at org.apache.tomcat.core.Handler.invoke(Unknown Source)
    at org.apache.tomcat.core.Handler.service(Unknown Source)
    at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
    at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)

    at org.apache.tomcat.core.ContextManager.service(Unknown Source)
    at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:484)


    X-Application Version: 3.1.3
    Tamino Version : 3.1.1
    Platform : Win2k
    WebContainer : Tomcat 3.3 a
    JDK Version : 1.3.0
    fillIcdCpt.txt (2.29 KB)


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Fri September 06, 2002 02:24 PM

    Some of our test cases occasionally die with a similar exception, but we haven’t been able to re-produce the problem reliably.

    Does your code always throw this exception?
    If so: could you send us a small java program that reproduces the problem?

    Michael

    Software AG Germany, Darmstadt


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Tue September 10, 2002 10:52 AM

    Hello,
    I have already attached the file containing the source code of the program that causes the exception.
    It always causes the exception.
    Thanks
    Server


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Tue September 10, 2002 01:58 PM

    In general, JavaScipt within JSP pages is fine. The property example (and others) demonstrates this. Does you JavaScript code work if you place it in a plain html page?

    Michael

    Software AG Germany, Darmstadt


    #Tamino
    #webMethods
    #API-Management


  • 5.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Wed September 18, 2002 04:05 PM

    I finally found some time to have a look at your code. Everything looks pretty normal, there’s a lot of code like this in our test cases. The means the only difference between your code and our testcases is the database we both use.

    Is it possible for you to create a new Tamino database in the Tamino Manager and run you code on it? By testing this, be could see if you database is broken.

    Michael

    Software AG Germany, Darmstadt


    #API-Management
    #Tamino
    #webMethods


  • 6.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Thu September 19, 2002 01:28 PM

    Hello,
    I have formed a new database from Tamino Manager as you told me.
    Uploaded my data to new database and run the project with this database.
    Unfortunately I still get the same exception :frowning:
    What else can the reason be ? Can anybody dealing with Tamino help me ?
    Thanks
    Server


    #Tamino
    #webMethods
    #API-Management


  • 7.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Fri September 20, 2002 10:47 AM

    Is it possible to post a compilable example? Maybe in a private email … Your initial post contains a fragment only.

    Michael

    Software AG Germany, Darmstadt


    #API-Management
    #webMethods
    #Tamino


  • 8.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Thu April 29, 2004 03:11 PM

    Hello,
    Has anyone found the solution to the problem described above?
    Thanks in advance,
    Julien Martin.


    #API-Management
    #webMethods
    #Tamino


  • 9.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Fri March 04, 2005 10:14 AM

    Hello *,
    I too am looking for a solution to the problem described above.
    Does anybody have any ideas?

    Thank you
    Mike.


    #API-Management
    #Tamino
    #webMethods


  • 10.  RE: Exception (INOXIE8305: Invalid cursor handle., )

    Posted Sat March 05, 2005 10:36 AM

    Hi *,

    in my case the problem was caused by the query.
    Too many documents matched the query. Although I had entered a maximum number of documents to be retrieved, internally the query seems to be evaluated fully before returning the required amount of documents.


    TXMLObjectAccessor tacs = …;
    TQuery tqry = TQuery.newInstance(query);
    TResponse trsp = tacs.query(tqry,maxNo);

    Regards Mike


    #webMethods
    #API-Management
    #Tamino