Looking at the GeoServer log files (i am just learning where all the files as i am new to this whole area), i get an error -
ERROR IN class org.geoserver.wfs.response.CSVOutputFormat IMPLEMENTATION. getCapabilitiesElementName() should return avalid[sic]
XML element name string for use in the WFS 1.0.0 capabilities document- this error appeared in the TomCat log files too.
I have since yesterday upgraded to GeoServer 2.0 and am getting exactly the same "Already Connected" error, but now the GeoServer and TomCat log files do not show this error message.
The request coming into Geoserver is as follows -
Request: getCapabilities
acceptVersions: version = [1.0.0]
sections = null
acceptFormats = null
updateSequence = null
baseUrl =
http://192.168.85.21:8080/geoservernamespace = null
service = WFS
I am not sure what other information i can give, but if anybody can help me it really would be appreciated, i have been banging my head against the desk for nearly a week now with this problem!
Cheers
Cruelemort wrote:
The following link seems to have a similar stack trace and excetpion, albeit for a slightly different reason -
https://jira.codehaus.org/browse/GEOT-993?actionOrder=descI am using GeoTools version 2.6.0, GeoServer version 1.7.4, PostgreSQL 8.3 and PostGIS 1.3.2
Cheers
Cruelemort wrote:
I am having trouble getting the schema from a FeatureStore on my GeoServer, i have the following code -
String getCapabilities = "...service=WFS&request=GetCapabilities&VERSION=1.0.0";
Map params = new HashMap();
params.put("WFSDataStoreFactory.GET_CAPABILITIES_URL", getCapabilities);
DataStore ds = DataStoreFinder.getDataStore(params);
Transaction update = new DefaultTransaction("update");
FeatureSource features = ds.getFeatureSource(ds.getTypeNames()[38]); //matches to valid type
FeatureStore store = (FeatureStore)features;
FeatureType type = store.getSchema();
When the last line of code runs it hangs and i get a load of IllegalStateException's through, saying "Already Connected" and i am not sure why?
Hopefully somebody might be able to point me in the right direction.
Regards