Exception (INOXIE8305: Invalid cursor handle., )

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)

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

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

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

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

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

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

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

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

Thank you
Mike.

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