RE: slow connections with jdbc driver and no entry in hosts file

From: david (david_at_discussions.microsoft.com)
Date: 09/23/04

  • Next message: Joe Weinstein: "Re: Unhandled token type: COLINFO"
    Date: Thu, 23 Sep 2004 07:33:05 -0700
    
    

    Thanks for the response.

    Unfortunately dns is not used here, so ping -a returns only the ip address.
    Query Analyzer returns instantly and works fine. It does happen on multiple
    client (xp) and W2K servers.

    I tried with the sp3 driver and the same speed issue occurs. We are going
    to do additional testing to find out the exact JDBC code that is hanging.
    I'll post back with additonal findings.

    Thanks.

    David

    ""Carb Simien [MSFT]"" wrote:

    >
    > | We have had a problem with connections taking 30+ seconds to our sql
    > server
    > | with sp1 and sp2 versions of the jdbc driver. It goes away if I put an
    > entry
    > | for the server in our local hosts file. We are not access by name, but
    > by ip
    > | (example jdbc url):
    > url=jdbc:microsoft:sqlserver://192.168.10.100:1433;DatabaseName=db1;SelectMe
    > thod=cursor
    > |
    > | We shouldn't have an entry (especially if it's using ip) in our hosts
    > file.
    > |
    > | Ideas?
    > |
    > | Thanks
    > |
    >
    > Hi David,
    >
    > Do you observe the same behavior when connecting to the server via IP using
    > Query Analyzer from the same client workstation? In other words, is this
    > specific to JDBC or not? Also, can you successfully resolve the host name
    > from the IP address by using "ping -a 192.168.10.100"? Does the same
    > behavior occur from other client machines? Be sure to run these tests with
    > the HOST entry removed.
    >
    > JDBC SP3 is the latest driver, so you may want to consider this for future
    > development:
    >
    > SQL Server 2000 Driver for JDBC Service Pack 3
    > http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A-
    > B138-2AA54BFDC03A&displaylang=en
    >
    >
    > Carb Simien, MCSE MCDBA MCAD
    > Microsoft Developer Support - Web Data
    >
    > Please reply only to the newsgroups.
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    >
    > Are you secure? For information about the Strategic Technology Protection
    > Program and to order your FREE Security Tool Kit, please visit
    > http://www.microsoft.com/security.
    >
    >


  • Next message: Joe Weinstein: "Re: Unhandled token type: COLINFO"

    Relevant Pages

    • Re: VMware ESXi
      ... Virtual Server because my bios does not support virtualization. ... the vSpere client on my XP workstation. ... Now I want to create another VM on the same host this ... egg scenario if you have VMWare running with a DHCP assigned ...
      (microsoft.public.windows.server.sbs)
    • Re: VMware ESXi
      ... the vSpere client on my XP workstation. ... Now I want to create another VM on the same host this ... the VM server through the client and then click the DVD/CD Connect ... egg scenario if you have VMWare running with a DHCP assigned ...
      (microsoft.public.windows.server.sbs)
    • Re: VMware ESXi
      ... Now I want to create another VM on the same host this time ... Using the vSphere client on my desktop I can go ... the VM server through the client and then click the DVD/CD Connect ... egg scenario if you have VMWare running with a DHCP assigned ...
      (microsoft.public.windows.server.sbs)
    • Re: Banana Republic (was Re: OpenVMS Book Wins award)
      ... page but didn't look deeeply enough to see that the client was having to ... (for the same host). ... cross-site scripting constraint exercised by the browser (to prevent XSS ... but what is outside any HTTP protocol is "when a server gets told something" ...
      (comp.os.vms)
    • Re: cs-host, host header and destination
      ... I can understand why someone would want to cloak their ... > The CS-Host field is sent by the client. ... If the server is configured with host headers only, ...
      (microsoft.public.inetserver.iis)

    Loading