Creating clients that connect to Admin mode servers

A server that is in Admin mode refuses connections from normal clients. To create clients that connect to the server running in Admin mode, you must set the admin ORB option for your client type as described in Table 3-20.

Table 3-20: Setting the admin ORB option

Client type

How to set the property

Java/CORBA

Set the com.sybase.corba.admin option to true.

EJB

Set the com.sybase.ejb.admin option to true.

C++, PowerBuilder, or ActiveX

Before running the program, set the environment variable JAG_ADMIN to true, or set the -admin ORB option to true by passing it on the command line (for ActiveX or C++ only) or by setting it in the ORB initialization options.

Admin mode clients can call any components installed in the server, subject to the standard role-based security restrictions. However, the server accepts Admin mode connections before all normal initialization has completed. Therefore, keep in mind the following caveats when creating or running Admin mode clients: