• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

slow initialcontext lookup in swing client app

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all, we have a swing app that accesses EJB's and we are experiencing some issues getting the initialcontext to the WAS5 server from the client instance.

The initialcontext lookup is taking anywhere from 11 seconds on some machines to reportedly minutes on others, yet we are seeing no spikes in load,network traffic or any discernable disk swapping on the server or the client machines.

If anybody has some insight into speeding up this lookup that would be great.

Thanks,
-Andre
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have seen similar things in cases where the reverse lookup of IP addresses was not enabled correctly in DNS. Try the following suggestion. Put the ip address of the server directly in one client's etc/hosts file and the ip address of that client directly in the WAS host machine's etc/hosts file. See if the lookup speeds up dramatically. If it does, then you need to contact your network people -- also check the Support site for WebSphere for more information on this...

Kyle
 
Andre Mermegas
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Kyle, we were thinking along similiar lines here, however we have the added wrinkle of clients being windows machines and the server running on AIX and DNS is not used at all in our internal enviornment only WINS. Will try and experiment some more today.

-Andre
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!