Subject | Re: Lost connection to firebird after execute procedure |
---|---|
Author | wojciech_materna |
Post date | 2004-12-04T23:53:01Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
any update or insert. But takes data from second procedure and some
tables.
and without many hours of testing I don't want to change it to FB
1.5. So, if I can resolve described problem, I will not chnge FB
version now.
me few words about it? I will try to observe in monitordialog what
exactly is being passed to and from server.
I'm doing mistakes. When I start application, and it is fully loaded
into memory - now waits on keypress to start. I'm looking on Linux,
monitoring when I can see ib process starting - and it is usually 13-
17 seconds on FB 1.0.3 CS. When I delete from xinetd definition
lines (LOG ON SUCCESS...LOG ON FAILURE ..) this time is less, but
not milliseconds - about 7-8 seconds app is spending. So, it is
something strange, comparing to Your time. I can't find a reason.
With IB 1.5 I will try OldParameterOrdering. Thanks.
depends on gds32.dll version which I have instaled in my computer???
(I know, how I'm writing english....but try to learn,Ha)
Sincerely
Wojtek
wrote:
> At 12:38 PM 4/12/2004 +0000, you wrote:to
>
>
> >Hi, (sorry ... my English...) can anybody help?
> >I have FB CS 1.0.3.972, IBO 4 and Delphi. Serwer Linux, GDB about
> >2GB, clients W98,2000,XP.
> >
> >After execute stored procedure which returns data from few tables
> >recalculated etc - show result in grid - everything works ok. Next
> >when I open other window with other views (same database) and try
> >execute that procedure next time I get error 335544384. I can workof
> >on other tables, views but I can't execute that procedure till I
> >close application and open next time.
>
> When you say "execute stored procedure", what do you mean?
> a) is it an executable stored procedure that returns a single row
> results following an EXECUTE PROCEDURE call?upon a
> or
> b) is it a selectable stored procedure that includes a FOR
> SELECT...INTO...DO...SUSPEND loop that returns a multi-row set
> SELECT <output list> FROM ... call?multi-row
>
> Or is it a SP that actually changes some data and also returns a
> set?It is procedure FOR SELECT ........ SUSPEND, only shows data without
>
any update or insert. But takes data from second procedure and some
tables.
> >I try same process on FB 1.5.1 - everything goes well without anyGenerally - yes. But now I have few applications working on FB 1.0.3
> >error, but I can't change FB to 1.5 in production becouse of
> >connection time (about 30-40 seconds - on FB 1.03 I can connect in
> >few seconds to database). My customers will complaining too much.
>
>
> >Can I do something to solve this problem?
>
> Which problem? It seems you have at least two problems.
>
and without many hours of testing I don't want to change it to FB
1.5. So, if I can resolve described problem, I will not chnge FB
version now.
> -- The first is that on Firebird 1.0 you have some condition wherea
> running SP blocks another transaction from running the same SP andwould want
> apparently returns an error related to a bad block (parameter?
> transaction?). Does it occur at Prepare time or at run-time? I
> to enable an ib_monitordialog in the application, to see what isbeing
> passed to and from the server when this error occurs.At run-time. I don't know about this conditions,sorry. Can You tell
>
me few words about it? I will try to observe in monitordialog what
exactly is being passed to and from server.
> -- The second is that you have a connection-time problem with Fb1.5 and
> the particular version of IBO that you are using. For Fb 1.5 youneed at
> least IBO version 4.3Aa or, alternatively, to set theOldParameterOrdering
> parameter in firebird.conf to 1 (true). With IBO 4.3Aa and above,while the
> connection time is extended by a few milliseconds (not seconds!!)
> connection object runs a query to determine whether it is talkingto a
> v.1.5 database.Wow, sounds good.But,in my world, things look different.I hope, that
>
I'm doing mistakes. When I start application, and it is fully loaded
into memory - now waits on keypress to start. I'm looking on Linux,
monitoring when I can see ib process starting - and it is usually 13-
17 seconds on FB 1.0.3 CS. When I delete from xinetd definition
lines (LOG ON SUCCESS...LOG ON FAILURE ..) this time is less, but
not milliseconds - about 7-8 seconds app is spending. So, it is
something strange, comparing to Your time. I can't find a reason.
With IB 1.5 I will try OldParameterOrdering. Thanks.
> Your Subject header suggests that you think the client connectionis lost
> after the [first instance?] of the SP is called. If that were thecase,
> then the client would not receive an error code from the server onthe
> second call. Something else is going on here.indicate
>
> The 335544384 is an unspecific "bad block" error that might well
> some kind of mismatch between the IBO version, the client, theserver and
> the actual database. The slow connection time problem with Fb 1.5could
> well entail one or more such mismatches.Yes, yes, You are right. Subject header is bad. My mistake.
>
> Do you understand also that the Fb 1.5 Windows client is namedfbclient.dll
> and that you need to get the Windows kit and install the correctyour
> client? For IBO, unless you perform the appropriate changes in
> software and recompile your application, you will need to renamethis
> client as gds32.dll and install it on all of the clients in their %system%
> directory.Sorry, if I can understand - this means, that compilation of my app
depends on gds32.dll version which I have instaled in my computer???
>Thanks very VERY much for Your answer. Looking for Your comments.
> ./heLen
(I know, how I'm writing english....but try to learn,Ha)
Sincerely
Wojtek