Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: R: [udig-devel] udig 1.1-rc10 simply refuses connecting to geoserver1.5.0 WMS???

Sorry Piero,

I must have misunderstood the problem before or was unable to reproduce it because I usually just Drag in the URL on to the map. Looking at the Stack trace I would say that it is taking too long to render the map. Is this possible? The java socket is timing out which doesn't happen for 30 seconds or so.

What sort of data is this. I only tested the default Geoserver data yesterday but it worked great on both Windows and Macintosh. Maybe I should make a slower/bigger map.

Jesse

On Apr 18, 2007, at 12:41 AM, Piero Cavalieri wrote:

I reported the same problem one month ago.... My server is a UMN Mapsever. With proposed solution below, now the wizard go on. I have layers loaded, but not rendered, with the following log (Connection timed out):

!ENTRY net.refractions.udig.catalog.internal.wms 4 0 2007-04-18 09:34:07.793 !MESSAGE GetMap: http://localhost/Scripts/mapserv.exe? SERVICE=WMS&LAYERS=i_dep,CTP,ECW,collett,vie,viapri,fiumi,sma_cob,DEM, poi,ammcom,ammcmp,sma_con,DTM,laghi,i_dep_p&EXCEPTIONS=application/ vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=366&TRANSPARENT=TRUE&MAP=D: \Web\HService\HGis \trentino.map&REQUEST=GetMap&BBOX=1609350.0,5056770.0,1731630.0,515901 0.0&WIDTH=623&STYLES=,,,,,,,,,,,,,,,&SRS=EPSG:26591&VERSION=1.1.1

!ENTRY net.refractions.udig.project 2 0 2007-04-18 09:34:11.077
!MESSAGE Connection timed out: connect
!STACK 0
net.refractions.udig.project.render.RenderException: Connection timed out: connect at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.wrapE xception(BasicWMSRenderer2.java:963) at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2 $3.run(BasicWMSRenderer2.java:505)
Caused by: 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.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 java.net.URL.openStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity (Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl $DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
	at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
at org.geotools.data.ows.ServiceExceptionParser.parse (ServiceExceptionParser.java:51)
	at org.geotools.data.ows.Response.parseException(Response.java:69)
	at org.geotools.data.ows.Response.<init>(Response.java:44)
at org.geotools.data.wms.response.GetMapResponse.<init> (GetMapResponse.java:42) at org.geotools.data.wms.WMS1_0_0$GetMapRequest.createResponse (WMS1_0_0.java:279) at org.geotools.data.ows.AbstractOpenWebService.internalIssueRequest (AbstractOpenWebService.java:371) at org.geotools.data.wms.WebMapServer.issueRequest (WebMapServer.java:95) at net.refractions.udig.catalog.internal.wms.WMSServiceImpl $CustomWMS.issueRequest(WMSServiceImpl.java:363) at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2 $3.run(BasicWMSRenderer2.java:502)


-----Messaggio originale-----
Da: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel- bounces@xxxxxxxxxxxxxxxxxxxxx] Per conto di Jody Garnett
Inviato: martedì 17 aprile 2007 19.11
A: User-friendly Desktop Internet GIS
Oggetto: Re: [udig-devel] udig 1.1-rc10 simply refuses connecting to geoserver1.5.0 WMS???

Jesse how does this make sense?  SERVICE, REQUEST and VERSION are
required parameters?
Ok I see the bug.  For the work around either drag and drop the URL
into uDIg or get rid of the "?service=WMS&request=GetCapabilities".
If you do that it works great.

Jesse

On Apr 17, 2007, at 8:10 AM, Andrea Aime wrote:

http://localhost:8080/geoserver/wms? service=WMS&request=GetCapabilities <http://localhost:8080/geoserver/wms? service=WMS&request=GetCapabilities>


--------------------------------------------------------------------- ---

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top