Re: openning connectiosn in jdbc takes 2 minutes!!



Elhanan wrote:
hi..

we tested a small thing in a unix machine a found out that it takes a
java application 2 minuetes to open a connection to oracle database
sitting on an other unix machine.. we tried to open sql-plus from the
calling unix machine, a got a fast respone .

btw the same java code we run on unix opens a fast connection if run
from a pc to that machine.


any ideas?

what could slow (not stop, so it can't be a firewall right?) a jdbc
connection from one machine it allow it to pass freely from another?


We once had a firewall with holes - the effect was pretty similar to what you describe.

Could also be a Net8 config issue (maybe you're opening too many connections too fast).

Or your Java app uses up too much CPU cycles.

robert
.



Relevant Pages

  • Re: openning connectiosn in jdbc takes 2 minutes!!
    ... calling unix machine, ... btw the same java code we run on unix opens a fast connection if run ...
    (comp.lang.java.databases)
  • openning connectiosn in jdbc takes 2 minutes!!
    ... sitting on an other unix machine.. ... btw the same java code we run on unix opens a fast connection if run ...
    (comp.lang.java.databases)
  • Re: Different from OS10 to Unix?
    ... unix machine, but it doesn't work correctly on an OS10 machine. ... Java would be exactly uniform across all OSes. ... In practice, bugs slip into the code, causing Java programs to behave differently on different OSes. ...
    (comp.lang.java.programmer)
  • Re: Telnet - cant telnet in as root
    ... >> FreeBSD (or other unix machine) is ssh. ... That depends upon your connection, ... Except for the network ...
    (comp.unix.bsd.freebsd.misc)
  • ftp connect takes too long to try connect from unix machine
    ... I am making FTP connect call from my Unix machine with a following ... but it takes too long (appx 4 minutes) to respond back in those cases ... Where as trying from Windows 2000 machine reverts back within ... 22 seconds of any connection failures ...
    (comp.unix.admin)