URLClassLoader slow in 1.4.2

Discussion in 'Java' started by Timothy Fosdike, Aug 26, 2004.

  1. I have a problem with jre 1.4.2 and the standard
    java.net.URLClassLoader under Linux. The ClassLoader loads alright
    from the filesystem, but hangs for about 5 minutes before loading from
    a network source. I have tested all the obvious suspects, including
    DNS/reverse DNS lookup without any results. During the 5-minute hang,
    a netstat on the computer on which the java is running reveals that
    the java program is waiting for a timeout on a random port on the
    local computer, but even setting up a local firewall to block incoming
    access to these ports does not speed up the timeout. Why this is I
    don't know. It appears to run alright with a http://localhost/...
    address, but not with a remote address.

    I notice that others in this group have had this problem, so it is not
    the fault of my network. Has anyone found an answer to the problem?
     
    Timothy Fosdike, Aug 26, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. netpro2k
    Replies:
    2
    Views:
    1,082
    netpro2k
    Aug 21, 2003
  2. Cory
    Replies:
    13
    Views:
    5,706
    swick
    May 31, 2011
  3. Sundar

    help.! Java URLClassloader

    Sundar, Nov 3, 2003, in forum: Java
    Replies:
    1
    Views:
    4,285
    Anton Spaans
    Nov 4, 2003
  4. Romain

    URLClassLoader and Tomcat

    Romain, Sep 28, 2005, in forum: Java
    Replies:
    2
    Views:
    4,465
    pkriens
    Sep 29, 2005
  5. iras

    applet and URLClassLoader

    iras, Aug 9, 2006, in forum: Java
    Replies:
    0
    Views:
    1,242
Loading...

Share This Page