tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "giovanni cortese" <g.cort...@computer.org>
Subject problem with authentication with sapdb 7.4
Date Fri, 09 Apr 2004 07:46:43 GMT



Hi
we have the following problem.
When performing login we get at times Authentication error.
It happens when the database connection timeout expires. sapdbc performs the reconnect, but
the jdbc driver of sapdb 7.4 seems to throw a Timeout exception anyway. 
Tomact redirects to the error page.
We are almost sure that sapdbc reconnects - in fact when you retry logging in a few seconds
later everything works

Also, other tools such as DbVisualizer seem not to have the problem.
We also wrote a simple program which catches the TimeOut exception and ignores it, and it
works (the connection is available).

Does anybody experienced a similar behavior ? What is the easiest way to remove the problem
if any ?

Thanks
-giovanni

2004-03-05 12:53:29 JDBCRealm[Standalone]: Exception performing authentication
com.sap.dbtech.jdbc.exceptions.TimeoutException: [700]: Timeout
 at com.sap.dbtech.jdbc.ConnectionSapDB.tryReconnect(ConnectionSapDB.java:782)
 at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:423)
 at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:325)
 at com.sap.dbtech.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:382)
 at com.sap.dbtech.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:292)
 at com.sap.dbtech.jdbc.CallableStatementSapDB.executeQuery(CallableStatementSapDB.java:666)
 at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:445)
 at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:394)
 at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:263)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
 at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
 at java.lang.Thread.run(Thread.java:536)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message