• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

JDK 1.3.1_01 on Windows XP RMI Problem

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings --
Been fighting this problem for two days and haven't found any solutions on any of the boards, just wondered if anyone has had problems running RMI application under Windows XP (home edition).
I moved a working RMI application from Windows 98 (working fine) to a Windows XP Home Edition machine.
The registry appears to start up fine.
The server appears to bind to the registry just fine.
The client appears to connect initially to the server (takes a while, though, strangely slow) by getting an instance of the server (as a remote object).
But when the client actually tries to call one of the remote methods, the following error is issued after about 20 seconds or so:
Connection refused to host
nested exception is:
java.net.ConnectException: Operation timed out: connect
Just wondered if anyone has had issues similar to this with WinXP.
Thanks
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They both have IPs on the same logical subnet? The client side has a TCP/IP stack installed? I'd rule those two out as problems for starters, just to be sure.
 
RJ Cox
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the hint -- the WinXP default IP address was being used and it (the address) and sub mask were actually an illegal combination. I changed the IP and subnet to a logical combination and that cleared it right up. (Still can't figure out, though, why sockets worked.)
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic