Hello Xiao, what servlet container are you using? For tomcat on Windows, I wrote myself a wrapper script around startup.bat:
@echo off set CATALINA_OPTS=-DproxySet=true -DproxyHost=<proxy-host> -DproxyPort=<proxy-port> startup.bat This works fine for me. With other servlet containers, you should be able to set JVM options in a similar way. Cheers -- Holger Dewes insiders GmbH Tel. +49 6131 98210-0 Wissensbasierte Systeme Fax +49 6131 98210-11 Wilh.-Th.-R�mheld-Str. 18 [EMAIL PROTECTED] 55130 Mainz http://www.insiders.de/ > -----Original Message----- > From: Wang, XD (Xiao) [mailto:[EMAIL PROTECTED] > Sent: Monday, July 07, 2003 10:25 AM > To: 'Jetspeed Users List' > Subject: Connection timed out > > > Hello all > > I am trying to talk to a web service via a proxy by using > AXIS. I have set a Proxy in my Java code( > System.setProperty("http.proxyHost","myproxyhostname"); > System.setProperty("http.proxyPort","8080"); ). It works > well as a Java application. But when I put it in Jetspeed as > a JSP Portlet, I got a Exception which is: > java.net.ConnectException:Connection timed out. > > So except proxy setting in Java code, do I need to deploy > other configuration in Jetspeed? > > Thanks in advance. > > Xiao > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
