----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------



Philippe Johan 999900280 skrev:

>     <snip>
>    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.
>
> It does seem the JVM on linux is havin networking problems.
> Do you have a 'native' client that you could use to test the basic communication
> first?
>

yes, using isql from commandline works directly over network to database.
jdbc is using a middle tier(interserver).
application
      !
interclient
      !
interserver
      !
      !
network
     !
     !
interserver
     !
database


>      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?
>
> Are you sure you do not close anything else round that point.
> Closing the connection, automatically close all Statements.
> And consecutively, closing a Statement automatically closes the ResultSet.
>

Yes, I am opening the connection(for test purposes) on each call to "service-method".
And in the end of the servicemethod i close all connections/statements.
I do not use any "post/get" - only service where I check pro input params and
execute a couple of functions.

> We are using the ConnectionPool from Karl Moss which on our e-commerce site is easy, 
>stable
> and it is free.  His site at mindspring is no longer there, but I can still provide 
>you with the
> classes (Source included) if you want.
>

Thanks! I'll check it out.


//OLAS



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to