[GeoNetwork-devel] [GeoNetwork opensource Developer website] #103: Gast.jar is not working behind a web proxy, installation and configuration fails.

#103: Gast.jar is not working behind a web proxy, installation and configuration
fails.
-----------------------------------------+----------------------------------
Reporter: truk70 | Owner: geonetwork-devel@lists.sourceforge.net
     Type: defect | Status: new
Priority: major | Milestone: v2.4.0 RC1
Component: GAST | Version: v2.4.0 RC1
Keywords: installation proxy gast web |
-----------------------------------------+----------------------------------
When installing the geonetwork 2.4, after unpacking, the installer starts
gast.jar a Error message raises:
''ConnectException''
''Connection timed out:connect''

When gast.jar ist started manually, it exits with the same error message.
Running wireshark as shows, that gast tries to open a connection to IP
209.235.245.73 which resolves as ''mortbay.org'', the home-site of jetty.

Our desktop computers, as well as servers are behind a web proxy.
But even using -Dhttp.proxyHost=<ourproxy> didn't resolve the problem.

gast.jar with -DTRACE=true gave:

C:\Programme\geonetwork24\gast>java -Dhttp.proxy=proxy.unibe.ch
-DTRACE=true -jar gast.jar
java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
         at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
         at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
         at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)

         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:810)
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:789)
         at org.fao.gast.lib.XMLLib.load(XMLLib.java:55)
         at org.fao.gast.lib.XMLLib.load(XMLLib.java:47)
         at org.fao.gast.lib.EmbeddedSCLib.<init>(EmbeddedSCLib.java:50)
         at org.fao.gast.lib.Lib.init(Lib.java:57)
         at org.fao.gast.cli.Cli.start(Cli.java:40)
         at org.fao.gast.boot.Util.boot(Util.java:136)
         at org.fao.gast.Gast.main(Gast.java:50)

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/103&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#103: Gast.jar is not working behind a web proxy, installation and configuration
fails.
---------------------+------------------------------------------------------
  Reporter: truk70 | Owner: geonetwork-devel@lists.sourceforge.net
      Type: defect | Status: closed
  Priority: major | Milestone: v2.4.0 RC1
Component: GAST | Version: v2.4.0 RC1
Resolution: fixed | Keywords: installation proxy gast web
---------------------+------------------------------------------------------
Changes (by simonp):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/103#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#103: Gast.jar is not working behind a web proxy, installation and configuration
fails.
---------------------+------------------------------------------------------
  Reporter: truk70 | Owner: geonetwork-devel@lists.sourceforge.net
      Type: defect | Status: closed
  Priority: major | Milestone: v2.4.0 RC2
Component: GAST | Version: v2.4.0 RC1
Resolution: fixed | Keywords: installation proxy gast web
---------------------+------------------------------------------------------
Changes (by simonp):

  * milestone: v2.4.0 RC1 => v2.4.0 RC2

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/103#comment:2&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.