• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.net.URL not opening connection with the same mid tier

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

we are trying to connect to an url through the following code.

URL lmsUrl = new URL(_applet.getLMSUrl());
URLConnection conn = lmsUrl.openConnection();

The url we are trying to connect has a load balancing setup(round robin) containing four mid tiers. we are unable to get the response from the same mid tier as the request has gone to with the following java versions.
1.5.0.13 or later but its working for lesser versions in 1.5
Is this a bug with the java version? Or am i doing some thing wrong
pl. suggest.
Thanks in advance.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

So the request goes to exactly the same host from where the HTML page containing the applet came from?

What does "unable to get the response" mean? If a request is sent, then there will be a response or an error message. Check the Java Console for errors.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic