Netlet - unable to connect to gateway

Issue with Netlet.

Trying to define the following rule so non-browser application can do

http requests over secure tunnel:

WebTest|null|false|30011|<host>|80

(where <host> is the relevant webserver)

Getting the following error:

Unable to connect to Gateway: default:443

Any assistance greatly appreciated.

[373 byte] By [708797] at [2007-11-25 4:30:36]
# 1

It seems that this problem is stemming from the variable "WT.gateway"

(stored in the com.iplanet.portalserver.session.Session object) being set

to "default". This causes the applet parameters of the Netlet to be

incorrect. The "remoteHost_x" parameter is being taken literally and the

Netlet is trying to connect to default:443.

In my example, the applet tag looks as follows:

<html>

<head>

<HEAD><TITLE>Netlet</TITLE></HEAD>

<script language=javascript>

var needToSleep = true;

</script>

</head>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF">

<p><applet

codebase="https://algol.solnet.com.au:443/http://algol.solnet.com.au:8080/netle t"

archive="ips_netlet.jar" code="SServer.class" width=1 height=1 MAYSCRIPT>

<param name="cabbase" value="ips_netlet.cab">

<param name="configURL"

value="https://algol.solnet.com.au:443/http://algol.solnet.com.au:8080/NetletCo nfig">

<param name="resourcesURL" value="/NetletConfig?func=loadResources">

<param name=listenPort_0 value=8000>

<param name=remoteHost_0 value=default>

<param name=remotePort_0 value=443>

<param name=serverPort_0 value=8080>

<param name=serverHost_0 value=algol.solnet.com.au>

<param name=listenPort_1 value=30011>

<param name=remoteHost_1 value=default>

<param name=remotePort_1 value=443>

<param name=serverPort_1 value=80>

<param name=serverHost_1 value=david.mel.solnet.com.au>

<param name=sessionID

value=43345sdafxcspdbliqvfxipuglbqoqr14sp5r6@uggc@nytby.fbyarg.pbz.nh@8080@/Uby qraGrfg>

<param name=numParms value=2>

<param name=doPortWarning value=true>

<param name=netletKeepAliveInterval value=0>

</applet>

</body>

</html>

David Broeren wrote:

> Issue with Netlet.

>

> Trying to define the following rule so non-browser application can do

> http requests over secure tunnel:

>

> WebTest|null|false|30011|<host>|80

>

> (where <host> is the relevant webserver)

>

> Getting the following error:

>

> Unable to connect to Gateway: default:443

>

> Any assistance greatly appreciated.

708797 at 2007-6-29 2:35:01 > top of Java-index,Web & Directory Servers,Portal Servers...