Hi All, I just finished my FBN assignment and it works well on Windows platform. When I tried to run the FBN Server on the Solaris 8 platform(intel), it just hung up without any exception thrown. It seems something wrong with the RMI, because the FBN Client runs correctly on the Solaris. Anybody got this problem before? I found it's really hard to setup the Solaris system. I am thinking it's the Solaris system causing the problem. Do I have to test the FBN system on multiple operating system, such as Solaris, Linux ...? Any help is appreciated.
Originally posted by Mark Spritzler: What is the thrown exception, and do you have path issues as to the slashes like \ for windows vs / for Unix, or do you use the // which should work in both cases. Mark
Hi Mark. Thanks for your reply. Actually, there is NO thrown exception. The program just hung up WITHOUT any response. I have to use [Ctrl]+[C] to exit to the shell. And I believe it's nothing to do with the slashes, coz all the files are located in the same directory. Any idea? [ February 22, 2002: Message edited by: Leo Xie ]
With or without, don't they mean the same thing Have you tried System.out.println() in between all your lines to find out how far the code gets to? Mark
Joined: Nov 15, 2001
OK. I know I am NOT good at English at all. I am sorry. I am also worried about the essay exam, coz my English is not good enough maybe. BTW, Do they(with and without) really mean the same thing? I will try to find where the program stops. Thank you Mark. Another question, do you tested your program on multiple platform before you submit and is it necessary?
I agree with Mark, you should println or better use a debugger to see how far your program gets before the freeze. You are mostly catching an exception that has caused the problem but are not printing it out. Good luck, am sure u will find it.
Never be satisfied with anything less than the best and you will surely pass the test...
Joined: Nov 15, 2001
Well, I am really happy to hear that I am not that bad in English. I tried to install JBuilder to debug the program, but I failed to run the JBuilder. I have to say it's really hard to setup the Solaris system to work smoothly. Any way, I found the program stoped when it's calling Name.rebind(...) function. I noticed that the HostName is 'unknown'. I don't know why, but it's really 'unknown'. So, I changed the hostname to 'myhost' manually. The program runs ok now. Thanks God.....It's not my program's fault. Thank you guys very much!