• 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 Server Migration for tool

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

Can anyone please help?!

I have a tool which makes use of RMI. JDK Version is 1.5.0_7. It was pointing to a server (Windows 2003) to get the data to this tool. But now as it's getting migrated to a new server (Windows 2008) I have to make this tool to point to the new server. I copied all the class files which were there in the old server to the new server and made the jdk version in both client and server equal (jdk1.5.0_7). Also changed the server name in the properties file to point to the new server at the client side. But the tool is not pointing to the new server.
What can I do now? I tried recompiling the source code in the server side. But that too didn't help

Thanks,
Sheeba
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You said that you recompiled the code on the server side, but did you also recompile code on the client side?

It seems logical that there is a properties file containing the server name, and therefore it should be as simple as changing that properties file. However since changing that property did not fix your problem, I would suspect that perhaps the original programmer hard-coded the server name within the client-side source files.
 
sheeba kalarikkal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot for your reply!! The server name is not hard coded . It's taking from the property file. I recompiled the code only in server side as i felt on client side there is no need of recompiling. But still it's not working.
 
sheeba kalarikkal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At Last it worked..! it was some incompatibility issues the old server was Windows 2003 and the new one was Windows 2008. The old server supported the tool in the jdk version 1.5, and we tried the same version to support in 2008. But it didn't work. When I upgraded the jdk version to 1.6, it worked fine!

Thanks & Regards,
Sheeba
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic