Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#103 closed defect (fixed)

Gast.jar is not working behind a web proxy, installation and configuration fails.

Reported by: truk70 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.4.0 RC2
Component: GAST Version: v2.4.0 RC1
Keywords: installation proxy gast web Cc:

Description

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)

Change History (2)

comment:1 by simonp, 15 years ago

Resolution: fixed
Status: newclosed

comment:2 by simonp, 15 years ago

Milestone: v2.4.0 RC1v2.4.0 RC2
Note: See TracTickets for help on using tickets.