• 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

RMI connection exception

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

While doing some intense thread testing, I generated the following exception with a multi-threaded client pounding on my server (only something like 60 threads):

java.rmi.ConnectException: Connection refused to host: 198.162.240.149; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
...

Is this "normal"? That is, is this just an artifact of my testing or is there something fundamentally I'm missing in my RMI handling? Like is the RMI server just plain run out of connections/thread pool and may be something I can set to a higher value?

Thanks!

-- Vince
 
Vincent Li
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, did a search and looks like this has been discussed before at:

java.rmi.onnectionException

and

More than 17 clients CRASH?!

Thanks!

Vince
reply
    Bookmark Topic Watch Topic
  • New Topic