File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

test on Solaris 8

 
Leo Xie
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Leo Xie
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Leo Xie
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I meant that as a joke, meaning I thought it said With an Exception, and didn't read it correctly.
Your english is fine, and will be fine for the essay exam.
Mark
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Leo Xie
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic