Wim Ceulemans wrote:
> Ola Samuelson wrote:
> >
> > Hi!
> > First, thanks to all that makes java/jserv work on linux.
> >
> > Hope this is right for this forum.
> >
> > I have following:
> > * x86 machines
> > * Interbase 5.6 on Redhat 6.1(2.2.13)/interserver/interclient 1.51JRE1.2
> >
> > * Interbase Interclient1.51 on Redhat 6.1(2.2.14)/Blackdown jdk
> > 1.2.2rc3/Sun
> > JSDK2.0/Jserv 1.1b3/Apache 1.3.9
> > * Loads of memory, SMP kernel on all machines
> > * Everything starts ok and seems to work. I can run all test servlets
> > and java
> > on all machines. All logs show a complete startup and
> > tells me that installation seems to be ok.
> >
> > Problems:
> > 1. Interclient(jdbc) reports "Broken pipe on connection ...". But ONLY
> > if
> > leaving the local machine(ie db url to other machine).
> > Strange thing is that if coming with jdbc from Windows to same
> > machine there
> > is NEVER a problem(Broken pipe).
> > So it's Interclient OR Java on linux, right? A failed call to
> > Interclient
> > screws it up.
> > 3. I use prepared statements and "normal" statements and after the
> > queries are
> > executed i use a while resultset.next to position first
> > to first record and then through out the set.
> > But sometimes this statement does not only produce false - it
> > actually
> > produces the error "Operation on closed resultset".
> > And I definitely does not close it at this point in execution. Why?
> > 4. Looking at processes I sometimes see something like: "Java
> > [defunct]". What
> > is this?
> > 5. Can anyone recommend a jdbc connection pool for servlets that is easy
> >
> > to use,
> > stable and FREE? Thanks!
>
> Just an idea. Can it be that your connection object or something else is
> garbage collected? Make sure your main program keeps a reference to your
> Connection object.
Or better yet have a finalize method that closes the connection when the
object is gc'd.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]