Subject JDBC problem
Author Jan Agermose
strange problem:

I have a running server program that communicates with a firebird rc1
:-) database using JDBC interclient

Product Revision [2.00.01]
Installation Date [Mon Dec 3 11:57:22 CET 2001]
Company Name [Csite.com]
User Name [Jan Agermose]
Products Installed : InterServer
InterClient Driver

java 1.3, linux RH7.2

at somepoint during the current run of the server i got this:
********************
interbase.interclient.BadInstallationException: [interclient] Installed
versions of InterClient and InterServer use incompatible client/server
protocol versions.
See API reference for exception
interbase.interclient.BadInstallationException
at interbase.interclient.JDBCNet.receiveProtocolMessage(Unknown Source)
at interbase.interclient.JDBCNet.establishProtocol(Unknown Source)
at interbase.interclient.JDBCNet.<init>(Unknown Source)
at interbase.interclient.Connection.connect(Unknown Source)
at interbase.interclient.Connection.<init>(Unknown Source)
at interbase.interclient.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at
com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.java:468)
at
com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
at
com.bitmechanic.sql.ConnectionPoolManager.connect(ConnectionPoolManager.java:442)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at ti.model.DBUtil.getConnection(DBUtil.java:92)
at ti.model.SmsLocate.getByID(SmsLocate.java:34)
at ti.smscontroler.test.SMSServerImpl.sendSMS(SMSServerImpl.java:32)
at ti.smscontroler.test.SMSServerImpl.sendSMS(SMSServerImpl.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
at sun.rmi.transport.Transport$1.run(Transport.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)
at java.lang.Thread.run(Thread.java:484)
****************

now the program has been running for a week without problems, then this
happens. The server program still runs, without reload. Since the server
was started not updates has been done on either the database or
interclient or the server program. The server still works and does all
its communication with firebird with no problems at all. Why did this
one query/connection fail? I would expect this error to mean that either
the versions are ok or not - either it work all the time or not at all?

Jan Agermose



[Non-text portions of this message have been removed]