wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes test on Solaris 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "test on Solaris 8" Watch "test on Solaris 8" New topic
Author

test on Solaris 8

Leo Xie
Greenhorn

Joined: Nov 15, 2001
Posts: 8
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Leo Xie
Greenhorn

Joined: Nov 15, 2001
Posts: 8
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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

Joined: Nov 15, 2001
Posts: 8
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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

Joined: Jan 15, 2002
Posts: 240
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...
Leo Xie
Greenhorn

Joined: Nov 15, 2001
Posts: 8
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
 
subject: test on Solaris 8
 
Similar Threads
Uploded My Assignment==> Is It Right
Help needed testing on Solaris, Linux etc..
Type Casting
Weblogic 6.1 on Intel Solaris 8.
Regarding Exam Retake...