This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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!