Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / CORBA / June 2005

Tip: Looking for answers? Try searching our database.

JacORB: how to specify a fixed port for service to facilitate filewall configuration

Thread view: 
Terry - 17 Jun 2005 19:22 GMT
Hi,

As title mentiones,  how can you make a corba service listening on a
specific port by using "corbaloc::" param ? I prefer not to use an IOR file.

Thanks a lot
Terry - 17 Jun 2005 21:12 GMT
I found the solution:
How can I make the server use a specific port number or IP address (in case
of multi-homed hosts)?
 JacORB provides two properties that can be set to select a port number and
IP address for servers to listen on.  These properties are OAPort and
OAIAddr. They can be set on the commandline using the -D switch to the Java
interpreter, in the properties file, or in the source code of the server. In
this last case, they are passed as arguments to the ORB.init() call

> Hi,
>
> As title mentiones,  how can you make a corba service listening on a
> specific port by using "corbaloc::" param ? I prefer not to use an IOR file.
>
> Thanks a lot


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.