To register your server, use the ab2regsvr command. The ab2regsvr command looks at your system's configuration and sets up the appropriate name space for your server.
To register your server, use the following command:
# /usr/lib/ab2/bin/ab2regsvr server_url |
Where server_url is the fully qualified URL to get to this server (for example: http://imaserver.eng.sun.com:8888/).
The ab2regsvr command also provides some other options you might find useful:
To view a list of registered AnswerBook2 server URLs:
# /usr/lib/ab2/bin/ab2regsvr -l |
To remove a registered server from the list:
# /usr/lib/ab2/bin/ab2regsvr -d |
To change the URL for the currently registered AnswerBook2 server:
# /usr/lib/ab2/bin/ab2regsvr -r server_url |
Where server_url is the new URL to get to this server (for example: http://aserver.eng.sun.com:8888/). This replaces any existing URLs with the specified URL.
For more information about the ab2regsvr command, see the ab2regsvr(1m) man page.