File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Server starting problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Server starting problem." Watch "Server starting problem." New topic

Server starting problem.

Yanxin Zhao
Ranch Hand

Joined: May 05, 2004
Posts: 65
Hi: everyone.
Sometimes my server starts fine, sometimes it does not.
I use "LocateRegistry.createRegistry(port);" to start my server, but just because of which method made me this problem. if port is 1099, my server starts fine; if port is not 1099, I have to use command "rmiregistry" in DOS before starts the server.
I want to know how to deal with my problem, I mean that do not using 1099 and any DOS command to start the server.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

What happens when your server "does not start fine"? Do you get any error messages?

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Server starting problem.
It's not a secret anymore!