Sun Java System Instant Messaging 7.2 Administration Guide

Modifying Instant Messenger Proxy Settings

Instant Messaging messages can contain embedded URLs. For example, http://stocks.yahoo.com?id=sunw. If you are using proxy servers, you need to resolve such embedded URLs by modifying the Instant Messenger proxy settings in the Java Web Start configuration.

This is likely to happen if your organization has a firewall, and you need to go through the proxy server before connecting your client hosts to internet, and if Java Web Start has not been configured with the right proxy settings.

Java Web Start can automatically configure the proxy settings by querying the system or the default browser. However, it is not possible for the Java Web Start to automatically configure these settings if the proxy settings are configured using a JavaScript file.

ProcedureTo Set Proxy Settings Manually for a Single Instant Messenger Client Using Java Web Start

Completing this procedure saves proxy preferences in the user's messenger.properties file. If you also configure the im.jnlp file to use a proxy, and the proxy differs from that in the user's preferences, the user's preferences are used.

  1. Invoke Java Web Start.

  2. From the File menu, choose Preferences.

  3. Select Manual option in the Preferences dialog.

  4. Enter the following details:

    HTTP Proxy. Enter the Name or the IP address of the proxy server.

    HTTP Port. Enter the port number of the proxy server.

    No Proxy_Hosts. Enter the name of any domain that you can connect directly, bypassing the proxy server. Use commas to separate multiple host names.

  5. Click OK to save the proxy settings.

ProcedureTo Configure Proxy Settings for all Instant Messaging Client Connections in im.jnlp

If the proxy you set in im.jnlp differs from that in the user's preferences file (/usr_home/.sunmsgr/messenger.properties), the user's preferences are used.

  1. Open the im.jnlp resource file in a text editor.

  2. Specify the proxy server by adding the following argument:


    <argument>proxy=proxy-host:proxy-port</argument>

    Where proxy-host is the fully-qualified domain name of the proxy server and proxy-port is the port number on which the proxy server listens for incoming requests. For example, myproxy.siroe.com:8080.

  3. Specify the proxy type by adding the following argument:


    <argument>proxy_type=type
    

    Where type can be one of http, https, or socks.