beautypg.com

Troubleshooting sra, Debugging the gateway – Sun Microsystems Portal Server 6 User Manual

Page 162

background image

Troubleshooting SRA

162

Portal Server 6 2005Q1 • Deployment Planning Guide

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:

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-port

http.nonProxyHosts=

portal-host

where proxy-host is the fully-qualified domain name of the proxy host,
proxy-port is the port on which the proxy is run, and portal-host is 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:

java.net.UnknownHostException: services.xmethods.net