Ah, I remember a similar problem with some other datastore getting
greedy in a similar way, and ruining it for everyone else. The easiest
fix is to just remove the property datastore - I think it's called
gt2-property.jar. Past that the property datastore can be changed to
not throw a file not found exception, but it's easier just to take it
out of the picture.
Chris
Jay D. Askren wrote:
I tried adding a tiger datastore to Geoserver by adding the tiger jar
file from Geotools to the lib folder of Geoserver and then configuring
GeoServer to point to a folder which had a my Tiger files. Adding the
Datastore to Geoserver worked great, but when I went to add a
FeatureType I got the following error:
java.io.FileNotFoundException:
C:\tomcat\apache-tomcat-5.5.17\webapps\geoserver\data\tiger\TGR10001_HIG
HWAYS.properties (The system cannot find the file specified)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:106)
java.io.FileReader.<init>(FileReader.java:55)
org.geotools.data.property.PropertyDataStore.property(PropertyDataStore.
java:55)
org.geotools.data.property.PropertyDataStore.getSchema(PropertyDataStore
.java:42)
org.vfny.geoserver.action.data.TypesEditorAction.executeBBox(TypesEditor
Action.java:163)
org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorActi
on.java:110)
org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:98)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:122)
The tiger jar file is from Geotools 2.2 RC0 and I'm using Geoserver
1.3.2. It appears that the Tiger datastore is unsuccessfully using code
from the properties datastore tutorial. Is there a fix for this by
chance?
Jay Askren
Software Developer
Quantum Leap Innovations
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel
!DSPAM:1003,44b41d0e260052207481331!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:[EMAIL PROTECTED]
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel