GetMapTest not an OnlineTest and fails when remote service unavailable
----------------------------------------------------------------------
Key: GEOS-3012
URL: http://jira.codehaus.org/browse/GEOS-3012
Project: GeoServer
Issue Type: Bug
Components: WMS
Reporter: Ben Caradoc-Davies
Assignee: Andrea Aime
Priority: Blocker
I am getting very tired of GetMapTest failures. It should be an OnlineTestCase.
Failed tests:
testRemoteOWSUserStyleGet(org.vfny.geoserver.wms.responses.map.png.GetMapTest)
08 May 14:24:42 ERROR [geoserver.ows] -
org.vfny.geoserver.wms.WmsException: Could not connect to remote OWS
at org.geoserver.wms.kvp.GetMapKvpRequestReader.connectRemoteWFS(GetMapKvpRequestReader.java:1123)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.addRemoteLayersFromUserLayer(GetMapKvpRequestReader.java:630)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processStandaloneSld(GetMapKvpRequestReader.java:548)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processSld(GetMapKvpRequestReader.java:429)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:257)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:1)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1092)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:431)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:209)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1040)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1007)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:454)
at org.vfny.geoserver.wms.responses.map.png.GetMapTest.testRemoteOWSUserStyleGet(GetMapTest.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:131)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:828)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:780)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:705)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:949)
at org.geotools.data.wfs.protocol.http.SimpleHttpProtocol$SimpleHttpResponse.getResponseStream(SimpleHttpProtocol.java:65)
at org.geotools.data.wfs.WFSDataStoreFactory.loadCapabilities(WFSDataStoreFactory.java:684)
at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:347)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.connectRemoteWFS(GetMapKvpRequestReader.java:1121)
... 43 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ http://jira.codehaus.org/browse/GEOS-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Caradoc-Davies reopened GEOS-3012:
--------------------------------------
Reopened for review.
GetMapTest not an OnlineTest and fails when remote service unavailable
----------------------------------------------------------------------
Key: GEOS-3012
URL: http://jira.codehaus.org/browse/GEOS-3012
Project: GeoServer
Issue Type: Bug
Components: WMS
Reporter: Ben Caradoc-Davies
Assignee: Andrea Aime
Priority: Blocker
Attachments: wms-online-test.patch
I am getting very tired of GetMapTest failures. It should be an OnlineTestCase.
Failed tests:
testRemoteOWSUserStyleGet(org.vfny.geoserver.wms.responses.map.png.GetMapTest)
08 May 14:24:42 ERROR [geoserver.ows] -
org.vfny.geoserver.wms.WmsException: Could not connect to remote OWS
at org.geoserver.wms.kvp.GetMapKvpRequestReader.connectRemoteWFS(GetMapKvpRequestReader.java:1123)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.addRemoteLayersFromUserLayer(GetMapKvpRequestReader.java:630)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processStandaloneSld(GetMapKvpRequestReader.java:548)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processSld(GetMapKvpRequestReader.java:429)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:257)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:1)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1092)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:431)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:209)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1040)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1007)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:454)
at org.vfny.geoserver.wms.responses.map.png.GetMapTest.testRemoteOWSUserStyleGet(GetMapTest.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:131)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:828)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:780)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:705)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:949)
at org.geotools.data.wfs.protocol.http.SimpleHttpProtocol$SimpleHttpResponse.getResponseStream(SimpleHttpProtocol.java:65)
at org.geotools.data.wfs.WFSDataStoreFactory.loadCapabilities(WFSDataStoreFactory.java:684)
at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:347)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.connectRemoteWFS(GetMapKvpRequestReader.java:1121)
... 43 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ http://jira.codehaus.org/browse/GEOS-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Caradoc-Davies reopened GEOS-3012:
--------------------------------------
Good morning Andrea. Recognise this one?
Probably the easiest way to protect our sanity is to fix services on sigma, bringing it back up, and then keep this bug open but with reduced priority.
GetMapTest not an OnlineTest and fails when remote service unavailable
----------------------------------------------------------------------
Key: GEOS-3012
URL: http://jira.codehaus.org/browse/GEOS-3012
Project: GeoServer
Issue Type: Bug
Components: WMS
Reporter: Ben Caradoc-Davies
Assignee: Andrea Aime
Priority: Blocker
Fix For: 2.0-beta1
Attachments: wms-online-test.patch
I am getting very tired of GetMapTest failures. It should be an OnlineTestCase.
Failed tests:
testRemoteOWSUserStyleGet(org.vfny.geoserver.wms.responses.map.png.GetMapTest)
08 May 14:24:42 ERROR [geoserver.ows] -
org.vfny.geoserver.wms.WmsException: Could not connect to remote OWS
at org.geoserver.wms.kvp.GetMapKvpRequestReader.connectRemoteWFS(GetMapKvpRequestReader.java:1123)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.addRemoteLayersFromUserLayer(GetMapKvpRequestReader.java:630)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processStandaloneSld(GetMapKvpRequestReader.java:548)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.processSld(GetMapKvpRequestReader.java:429)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:257)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:1)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1092)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:431)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:209)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1040)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1007)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:454)
at org.vfny.geoserver.wms.responses.map.png.GetMapTest.testRemoteOWSUserStyleGet(GetMapTest.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:131)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:520)
at sun.net.NetworkClient.doConnect(NetworkClient.java:152)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:828)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:780)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:705)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:949)
at org.geotools.data.wfs.protocol.http.SimpleHttpProtocol$SimpleHttpResponse.getResponseStream(SimpleHttpProtocol.java:65)
at org.geotools.data.wfs.WFSDataStoreFactory.loadCapabilities(WFSDataStoreFactory.java:684)
at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:347)
at org.geoserver.wms.kvp.GetMapKvpRequestReader.connectRemoteWFS(GetMapKvpRequestReader.java:1121)
... 43 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira