prompt>vbjc Console.java Note: Console.java uses a deprecated API. Recompile with "-deprecation" for details. 1 warningThis warning occurs because the example uses a Java API that has been deprecated since JDK1.1. The calls to the deprecated Java API have not been changed for the sake of JDK1.0.2 users.
prompt> vbj -DORBsecureShutdown=false -DORBservices=ORBManager Server(start vbj -DORBsecureShutdown=false -DORBservices=ORBManager Server on Windows)
The ORBsecureShutdown option is set to false to allow the ORB Manager to do a shutdown on the server.
Next, from the orb_manager directory, run the Console program:
prompt> vbj ConsoleThe Console program binds to the ORB Manager and allows the user to query through command line input. Press return to see a list of options.
To connect to a server through the console, first run osfind in another window to determine the repository ids and names of available servers:
prompt> osfindosfind will display the available osagents and registered implementations. For example, running the bank server, osfind will display (among other things):
osfind: Following are the list of Implementations
started manually.
HOST: <hostname>
REPOSITORY ID: IDL:Bank/AccountManager:1.0
OBJECT NAME: BankManager
This is the information you need in order to connect the Console application to the bank Server: