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.
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:
Service components may not have finished starting. You can check the status of installed services using the jagtool getservicestate command or by reading the service status messages in the server log file.
If the server is in a cluster, it may not have joined the cluster.
Copyright © 2005. Sybase Inc. All rights reserved. |