java rmi 时间过长没返回值

编写的服务端在linux系统下运行,当服务端运行时间超过10分钟,那么客户端就不能获取服务端运行结束的结果,
客户端一直挂起,而如果服务端运行时间在10分钟内,那么客户端可以接收到服务端运行的结果。各位大神,这个问题怎么解决啊?急!!!
服务端代码部分: public static void main(String[] args) {
GetProperties gp = new GetProperties();
String url = gp.getValue("url");
String post = gp.getValue("post");
try {
LocateRegistry.createRegistry(Integer.parseInt(post));
FileChangeAndLoad fs = new FileChangeAndLoadImpl();
Naming.rebind(url, fs);
} catch (NumberFormatException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
客户端代码部分:
try {
FileChangeAndLoad fcal =(FileChangeAndLoad)Naming.lookup( new GetProperties().getValue("url"));
String str = fcal.getFile();
System.out.println(str);
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
} catch (NotBoundException e) {
e.printStackTrace();
}

http://zhidao.baidu.com/link?url=zoIOS48F-tduMiDCKKyfh0Lz9MLTD8l7dJ4oaawwVenIdOp6v3NtDITNEv-RVv5DB9UTa-PrGqQ29f3H4ucTXtkMiqfQZWmWuoq4lzI9eAO

感觉是系统问题,如果客户端和服务端都在windows或linux系统下,那么时间超过10分钟,客户端也能拿到结果,但是客户端和服务端分别在不同系统下,那么10分钟之后即使服务端运行结束,客户端也是拿不到结果的,这不知道怎么设置