Troubleshooting SRA

Configuring a Sun Java System Portal Server Instance to Use an HTTP Proxy

If the Portal Server software is installed on a host that cannot directly access certain portions of the Internet or your intranet, you can receive errors. For example, when using the SampleSimpleWebService provider, you might see the following error when the proxy has not been configured:

java.net.UnknownHostException: services.xmethods.net

To Configure Usage of an HTTP Proxy for a Portal Server Instance

1.Change directories to the portal server install root directory containing the configuration for the instance.

cd portal-server-install-root/SUNWam/servers/https-servername/config

2.Edit the server.xml file within this directory and add the following lines: http.proxyHost=proxy-host

http.proxyPort=proxy-porthttp.nonProxyHosts=portal-host

where proxy-hostis the fully-qualified domain name of the proxy host, proxy-portis the port on which the proxy is run, and portal-hostis the fully qualified domain name of the portal host.

Troubleshooting SRA

This section describes how to capture information that Sun Java System support personnel need to troubleshoot problems in your deployment.

Debugging the Gateway

To turn debugging on or off, you set the level of debugging or set it to off. The following steps describe what to do.

1.Log in as root to the Gateway machine and edit the following file:

162 Portal Server 6 2005Q1 • Deployment Planning Guide

Page 162
Image 162
Sun Microsystems 2005Q1 manual Troubleshooting SRA, Debugging the Gateway