Exception ...

X-Application Version: 3.1.2
Tamino Version : 3.1.1
Platform : Win2k,
WebContainer : Tomcat 3.3
JDK Version : 1.3.0
jikies …


I have this Exception …
meybe someone help me …


javax.servlet.ServletException: 119: StoreException occured.

MajorEnvironmentException: 119: StoreException occured ect…

what is it ? when i clear wapp in tomcat
it run ok , but , sometimes if my aplication work some min. this exeption show … and my app don’t work …

thx for help

…and this exeption sometimes show it …

javax.servlet.ServletException: 157: Exception when creating query

all work ok , but suddenly my app crash …and this exep… shot it to .


i think , tomkat not work properly …
if work to much , then crash …

what can i do ?

At first glance, this is not a Tomcat problem.
Could you please post the full error message
you get? Including stack traces from the
error page …

Michael

Software AG Germany, Darmstadt

could you post the complete stacktraces to help us analyze your problem?

Additional context information might help too. What did you do?
Did you generate an application? Did you modify the generated application?
Do the provided samples cause these problems?

Regards, Harald

this error we have see on-line

1.this is page with demos

https://maciuniu.t16.ds.pwr.wroc.pl/

2. for example "loop modify " generate this error
but sometimes not (?)

https://maciuniu.t16.ds.pwr.wroc.pl/LoopModifyDisplay.jsp

tomcat always cleen his temp …

i don’t what is it…
now all work’s ok … (?)
but sometimes crash with error (?)

ok meybe my mind crash to … heh…


demo property

Error: 500
Location: /propertydemo/Search.jsp
Internal Servlet Error:

javax.servlet.ServletException: 155: Error obtaing content for FillSelect.
at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown Source)
at Search_1._jspService(Search_1.java:378)
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)
Root cause:
MinorEnvironmentException: 155: Error obtaing content for FillSelect.
?Local transaction mode could not be established. Falling back to autocommit mode!com.softwareag.tamino.db.api.connection.TTransactionModeCoordinatorImpl.useLocalTransactionMode(TTransactionModeCoordinatorImpl.java:135)com.softwareag.tamino.db.api.connection.TConnectionImpl.useLocalTransactionMode(TConnectionImpl.java:213)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:569)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:543)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.(BusinessDocumentCursor.java:185)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:182)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:140)com.softwareag.xtools.xapplication.jsp.SessionContext.getCursor(SessionContext.java:559)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.processField(FillSelectTag.java:162)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.doAfterBodyCore(FillSelectTag.java:123)com.softwareag.xtools.xapplication.jsp.JspTag.doAfterBody(JspTag.java:169)Search_1._jspService(Search_1.java:247)org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)javax.servlet.http.HttpServlet.service(HttpServlet.java)org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)org.apache.tomcat.core.Handler.invoke(Unknown Source)org.apache.tomcat.core.Handler.service(Unknown Source)org.apache.tomcat.facade.ServletHandler.service(Unknown Source)org.apache.tomcat.core.ContextManager.internalService(Unknown Source)org.apache.tomcat.core.ContextManager.service(Unknown Source)org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)java.lang.Thread.run(Thread.java:484)?nullcom.softwareag.tamino.db.api.accessor.TGenericAccessorImpl.execute(TGenericAccessorImpl.java:68)com.softwareag.tamino.db.api.accessor.TGenericAccessorImpl.execute(TGenericAccessorImpl.java:118)com.softwareag.tamino.db.api.connection.TTransactionModeCoordinatorImpl.useLocalTransactionMode(TTransactionModeCoordinatorImpl.java:117)com.softwareag.tamino.db.api.connection.TConnectionImpl.useLocalTransactionMode(TConnectionImpl.java:213)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:569)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:543)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.(BusinessDocumentCursor.java:185)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:182)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:140)com.softwareag.xtools.xapplication.jsp.SessionContext.getCursor(SessionContext.java:559)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.processField(FillSelectTag.java:162)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.doAfterBodyCore(FillSelectTag.java:123)com.softwareag.xtools.xapplication.jsp.JspTag.doAfterBody(JspTag.java:169)Search_1._jspService(Search_1.java:247)org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)javax.servlet.http.HttpServlet.service(HttpServlet.java)org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)org.apache.tomcat.core.Handler.invoke(Unknown Source)org.apache.tomcat.core.Handler.service(Unknown Source)org.apache.tomcat.facade.ServletHandler.service(Unknown Source)org.apache.tomcat.core.ContextManager.internalService(Unknown Source)org.apache.tomcat.core.ContextManager.service(Unknown Source)org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)java.lang.Thread.run(Thread.java:484)?Exception during updating transaction mode!com.softwareag.tamino.db.api.invocation.TAbstractInvocation.doTemplateInvoke(TAbstractInvocation.java:319)com.softwareag.tamino.db.api.invocation.TAbstractInvocation.invoke(TAbstractInvocation.java:160)com.softwareag.tamino.db.api.accessor.TGenericAccessorImpl.execute(TGenericAccessorImpl.java:58)com.softwareag.tamino.db.api.accessor.TGenericAccessorImpl.execute(TGenericAccessorImpl.java:118)com.softwareag.tamino.db.api.connection.TTransactionModeCoordinatorImpl.useLocalTransactionMode(TTransactionModeCoordinatorImpl.java:117)com.softwareag.tamino.db.api.connection.TConnectionImpl.useLocalTransactionMode(TConnectionImpl.java:213)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:569)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:543)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.(BusinessDocumentCursor.java:185)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:182)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:140)com.softwareag.xtools.xapplication.jsp.SessionContext.getCursor(SessionContext.java:559)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.processField(FillSelectTag.java:162)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.doAfterBodyCore(FillSelectTag.java:123)com.softwareag.xtools.xapplication.jsp.JspTag.doAfterBody(JspTag.java:169)Search_1._jspService(Search_1.java:247)org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)javax.servlet.http.HttpServlet.service(HttpServlet.java)org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)org.apache.tomcat.core.Handler.invoke(Unknown Source)org.apache.tomcat.core.Handler.service(Unknown Source)org.apache.tomcat.facade.ServletHandler.service(Unknown Source)org.apache.tomcat.core.ContextManager.internalService(Unknown Source)org.apache.tomcat.core.ContextManager.service(Unknown Source)org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)java.lang.Thread.run(Thread.java:484)?Transaction mode cannot be updated. No appropiate transaction state obtained from Tamino!Local Transaction Mode.
Session State sessionId= sessionKey=com.softwareag.tamino.db.api.connection.TTransactionMode.update(TTransactionMode.java:83)com.softwareag.tamino.db.api.connection.TTransactionModeCoordinatorImpl.updateModeFrom(TTransactionModeCoordinatorImpl.java:282)com.softwareag.tamino.db.api.invocation.TAbstractInvocation.doTemplateInvoke(TAbstractInvocation.java:304)com.softwareag.tamino.db.api.invocation.TAbstractInvocation.invoke(TAbstractInvocation.java:160)com.softwareag.tamino.db.api.accessor.TGenericAccessorImpl.execute(TGenericAccessorImpl.java:58)com.softwareag.tamino.db.api.accessor.TGenericAccessorImpl.execute(TGenericAccessorImpl.java:118)com.softwareag.tamino.db.api.connection.TTransactionModeCoordinatorImpl.useLocalTransactionMode(TTransactionModeCoordinatorImpl.java:117)com.softwareag.tamino.db.api.connection.TConnectionImpl.useLocalTransactionMode(TConnectionImpl.java:213)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:569)com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:543)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.(BusinessDocumentCursor.java:185)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:182)com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:140)com.softwareag.xtools.xapplication.jsp.SessionContext.getCursor(SessionContext.java:559)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.processField(FillSelectTag.java:162)com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.doAfterBodyCore(FillSelectTag.java:123)com.softwareag.xtools.xapplication.jsp.JspTag.doAfterBody(JspTag.java:169)Search_1._jspService(Search_1.java:247)org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)javax.servlet.http.HttpServlet.service(HttpServlet.java)org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)org.apache.tomcat.core.Handler.invoke(Unknown Source)org.apache.tomcat.core.Handler.service(Unknown Source)org.apache.tomcat.facade.ServletHandler.service(Unknown Source)org.apache.tomcat.core.ContextManager.internalService(Unknown Source)org.apache.tomcat.core.ContextManager.service(Unknown Source)org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)java.lang.Thread.run(Thread.java:484)
at com.softwareag.tamino.db.api.connection.TTransactionModeCoordinatorImpl.useLocalTransactionMode(TTransactionModeCoordinatorImpl.java:135)
at com.softwareag.tamino.db.api.connection.TConnectionImpl.useLocalTransactionMode(TConnectionImpl.java:213)
at com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:569)
at com.softwareag.xtools.xapplication.store.TaminoStore.query(TaminoStore.java:543)
at com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentCursor.(BusinessDocumentCursor.java:185)
at com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:182)
at com.softwareag.xtools.xapplication.businessdocument.BusinessDocumentWorkspace.query(BusinessDocumentWorkspace.java:140)
at com.softwareag.xtools.xapplication.jsp.SessionContext.getCursor(SessionContext.java:559)
at com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.processField(FillSelectTag.java:162)
at com.softwareag.xtools.xapplication.jsp.taglib.FillSelectTag.doAfterBodyCore(FillSelectTag.java:123)
at com.softwareag.xtools.xapplication.jsp.JspTag.doAfterBody(JspTag.java:169)
at Search_1._jspService(Search_1.java:247)
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)

I know two situations that might result in this exception: realy heavy load on Tamino (which
is probably not what you have) and: Tamino is
running out of sessions.
You could try the following: open Tamino Manager
and increase the number of “XML maximum sessions”
(under Databases/yourDatabas/Properties/XML).
This is just a guess, but I’d like to see if
helps …

Michael

What Tamino version do you use?

Software AG Germany, Darmstadt

thx

I solved the problem .