You might try a session close on error rather than a disconnect. When
you get a JDBC error the recommended action is to close the session.
Other than that, what is running when it is looping? You might download
the idoctor pex analyzer from IBM -
http://www.alphaworks.ibm.com/tech/ptdv and run it over the failing
job for a few seconds when it is failing. That will tell you exactly
what is looping/going on.

David Morris

>>> andy.prince@xxxxxxxxxx 1/9/2004 8:09:28 AM >>>
Help... I'm beginning to panic!!!

We are about to go live & recently a new disasterous error has started
appearing in the WAS (V5.0.2 Base on iSeries - OS/400 V5R2M0 with
latest
cumulative & WAS groups) logs that causes Websphere to loop & tie up
99%
CPU until I kill it by hand.

It was happening more regularly until I changed from using the native
driver to the toolbox but does still happen with the toolbox driver, we
are
also using Hibernate.

Here's the error if anyone can help or give me a clue where to look
(Thanks
in advance):

[08/01/04 17:54:36:820 UTC] 92c3f7c6 BatcherImpl   W
net.sf.hibernate.impl.BatcherImpl  TRAS0014I: The following exception
was
logged java.sql.SQLException: Function sequence error.
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4
(Throwable.java:85) 
      java/lang/Exception.<init>(Ljava/lang/String;)V+1
(Exception.java:33) 
     
java/sql/SQLException.<init>(Ljava/lang/String;Ljava/lang/String;I)V+1
(SQLException.java:34) 
     
com/ibm/as400/access/JDError.throwSQLException(Ljava/lang/String;)V+0
(JDError.java:394) 
      com/ibm/as400/access/AS400JDBCStatement.getMaxRows()I+0
(AS400JDBCStatement.java:2241) 
     
net/sf/hibernate/impl/BatcherImpl.closeQueryStatement(Ljava/sql/Prepar
edStatement;)V+0 (BatcherImpl.java:121) 
      net/sf/hibernate/impl/BatcherImpl.closeStatements()V+0
(BatcherImpl.java:134) 
     
net/sf/hibernate/impl/SessionImpl.disconnect()Ljava/sql/Connection;+0
(SessionImpl.java:2930) 
     
uk/co/ltf/ltas/custinter/actions/SlaMonitorAction.releaseSession(Lnet/
sf/hibernate/Session;)V+0 (SlaMonitorAction.java:572) 
     
uk/co/ltf/ltas/custinter/actions/SlaMonitorAction.execute(Lorg/apache/
struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/serv
let/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/ap
ache/struts/action/ActionForward;+0 (SlaMonitorAction.java:58) 
     
org/apache/struts/action/RequestProcessor.processActionPerform(Ljavax/
servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg
/apache/struts/action/Action;Lorg/apache/struts/action/ActionForm;Lorg/apach
e/struts/action/ActionMapping;)Lorg/apache/struts/action/ActionForward;+0
(RequestProcessor.java:484) 
     
org/apache/struts/action/RequestProcessor.process(Ljavax/servlet/http/
HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(RequestProcessor.java:217) 
     
org/apache/struts/action/ActionServlet.process(Ljavax/servlet/http/Htt
pServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(ActionServlet.java:1481) 
     
org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/Http
ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(ActionServlet.java:525) 
     
javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServlet
Request;Ljavax/servlet/http/HttpServletResponse;)V+0
(HttpServlet.java:733) 
     
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;L
javax/servlet/ServletResponse;)V+0 (HttpServlet.java:848) 
     
com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax
/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(StrictServletInstance.java:105) 
     
com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax
/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(StrictLifecycleServlet.java:160) 
     
com/ibm/ws/webcontainer/servlet/ServicingServletState.service(Lcom/ibm
/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletReques
t;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:333)

     
com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/
servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(StrictLifecycleServlet.java:116) 
     
com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/weba
pp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250) 
     
com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lc
om/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/Servl
etRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/Web
AppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42) 
     
com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljav
ax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcont
ainer/webapp/WebAppServletInvocationEvent;)V+0
(ServletInstanceReference.java:40) 
     
com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDis
patch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServlet
Response;)V+0 (WebAppRequestDispatcher.java:739) 
     
com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax
/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0
(WebAppRequestDispatcher.java:231) 
     
com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/
servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(WebAppRequestDispatcher.java:148) 
     
org/apache/struts/action/RequestProcessor.doForward(Ljava/lang/String;
Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespon
se;)V+0 (RequestProcessor.java:1058) 
     
org/apache/struts/action/RequestProcessor.processForwardConfig(Ljavax/
servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg
/apache/struts/config/ForwardConfig;)V+0 (RequestProcessor.java:428) 
     
org/apache/struts/action/RequestProcessor.process(Ljavax/servlet/http/
HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(RequestProcessor.java:217) 
     
org/apache/struts/action/ActionServlet.process(Ljavax/servlet/http/Htt
pServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(ActionServlet.java:1481) 
     
org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/Http
ServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(ActionServlet.java:525) 
     
javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServlet
Request;Ljavax/servlet/http/HttpServletResponse;)V+0
(HttpServlet.java:733) 
     
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;L
javax/servlet/ServletResponse;)V+0 (HttpServlet.java:848) 
     
com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax
/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(StrictServletInstance.java:105) 
     
com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax
/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(StrictLifecycleServlet.java:160) 
     
com/ibm/ws/webcontainer/servlet/ServicingServletState.service(Lcom/ibm
/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletReques
t;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:333)

     
com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/
servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(StrictLifecycleServlet.java:116) 
     
com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/weba
pp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250) 
     
com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lc
om/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/Servl
etRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/Web
AppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42) 
     
com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljav
ax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcont
ainer/webapp/WebAppServletInvocationEvent;)V+0
(ServletInstanceReference.java:40) 
     
com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDis
patch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServlet
Response;)V+0 (WebAppRequestDispatcher.java:739) 
     
com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax
/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0
(WebAppRequestDispatcher.java:231) 
     
com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/
servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0
(WebAppRequestDispatcher.java:148) 
     
com/ibm/ws/webcontainer/srt/WebAppInvoker.doForward(Ljavax/servlet/htt
p/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(WebAppInvoker.java:78) 
     
com/ibm/ws/webcontainer/srt/WebAppInvoker.handleInvocationHook(Ljava/l
ang/Object;)V+0 (WebAppInvoker.java:146) 
     
com/ibm/ws/webcontainer/cache/invocation/CachedInvocation.handleInvoca
tion(Ljava/lang/Object;)V+0 (CachedInvocation.java:66) 
     
com/ibm/ws/webcontainer/srp/ServletRequestProcessor.dispatchByURI(Ljav
a/lang/String;Lcom/ibm/ws/webcontainer/srp/ISRPConnection;)V+0
(ServletRequestProcessor.java:71) 
     
com/ibm/ws/webcontainer/oselistener/OSEListenerDispatcher.service(Lcom
/ibm/ws/webcontainer/oselistener/api/IOSEConnection;)V+0
(OSEListener.java:317) 
      com/ibm/ws/webcontainer/http/HttpConnection.handleRequest()V+0
(HttpConnection.java:56) 
      com/ibm/ws/http/HttpConnection.readAndHandleRequest(Z)V+0
(HttpConnection.java:562) 
      com/ibm/ws/http/HttpConnection.run()V+0 (HttpConnection.java:373)

      com/ibm/ws/util/ThreadPool$Worker.run()V+0 (ThreadPool.java:566)



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.