Sometimes it is necessary to drop a connection in Sybase Central on the
database server. For example, we recently had a problem with an index which
I tried to rebuild. However, a table lock prevented me from doing so.
Killing the connection allowed me to rebuild the index which worked fine.
However, I've discovered that when dropping a connection in Sybase Central,
our web application begins to act very erratically and the following error
appears repeatedly in the Jag log:
cm__odbc_error: SQLError: -308, SQLState: HY000, [Sybase][ODBC Driver][SQL
Anywhere]Connection was terminated.
When this happens, it is necessary to restart the Jaguar service to get the
web app working normally again. I've been able to replicate the problem on
our development server even when the index is ok so it seems that the
connection cache is really sensitive to disconnects. Has anyonw else
experienced this problem? Is there a setting/option in either the
connection cache or EAS that would prevent this from happening?
Thanks, Tom
Alex
"forums.sybase.com" <trol...@microedge.com> wrote in message
news:4b21428e@forums-1-dub...
"Alex Whitney" <ale...@pdq.net> wrote in message
news:4b218159$1@forums-1-dub...
The one thing that was different is that with sanity check off, it didn't
check for the dropped connection and therefore an odbc error did not show up
in the jaguar log.
Tom
"Alex Whitney" <ale...@pdq.net> wrote in message
news:4b218159$1@forums-1-dub...
Alex
"Libby" <trol...@yahoo.com> wrote in message
news:4b21dc26$1@forums-1-dub...
Doesn't sanity check try to re-establish the connection if it detects one
has failed? It doesn't seem to be handling this correctly based on what
I've read. Maybe this is a bug in EAS 5.2?
Tom
"Alex Whitney" <ale...@pdq.net> wrote in message
news:4b22aabf$1@forums-1-dub...
In article <4b21428e@forums-1-dub>, trol...@microedge.com says...
Our connect string looks like yours.
what is your sanity check statement set to?
from the props file for your connection cache:
com.sybase.jaguar.conncache.check=select 1 from dummy
Alex
"Tom Rolseth" <trol...@microedge.com> wrote in message
news:4b22b7ab$1@forums-1-dub...