Hi all,
I have a little trouble with my getFeatureInfo Freemarker file.
Every time geoserver is restarted or after applying some modification and then saved, the *.ftl files are deleted from the directory GEOSERVER_DATE_DIR/featureTypes/. Why men?
best regards
Milan
Milan Antonovic ha scritto:
Hi all,
I have a little trouble with my getFeatureInfo Freemarker file.
Every time geoserver is restarted or after applying some modification and then saved, the *.ftl files are deleted from the directory GEOSERVER_DATE_DIR/featureTypes/. Why men?
Ouch, this looks bad. Can you clarify one thing? Did you have
the template files directly in
GEOSERVER_DATE_DIR/featureTypes/
or in specific featuretype folders?
Also, which version of GeoServer are you using?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi,
2009/5/15 Andrea Aime <aaime@anonymised.com>
Ouch, this looks bad. Can you clarify one thing? Did you have
the template files directly in
GEOSERVER_DATE_DIR/featureTypes/
Yes my “content.ftl” is directly in the GEOSERVER_DATE_DIR/featureTypes/ folder.
or in specific featuretype folders?
When I put the file in the specific featuretype folders it is not deleted.
Also, which version of GeoServer are you using?
I’m using the 1.7.4
I noticed that in the “GEOSERVER_DATE_DIR/featureTypes/”, during Tomcat restart, a backup file (content.ftl.bak) is created before the elimination .
regards
Milan
Milan Antonovic ha scritto:
Hi,
2009/5/15 Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>>
Ouch, this looks bad. Can you clarify one thing? Did you have
the template files directly in
GEOSERVER_DATE_DIR/featureTypes/
Yes my "content.ftl" is directly in the GEOSERVER_DATE_DIR/featureTypes/ folder.
or in specific featuretype folders?
When I put the file in the specific featuretype folders it is not deleted.
Oh, I see. Definitely a bug. Can you open a bug report at jira.codehaus.org?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
I’ve tried with a fresh installed GS and it does not have the problem.
The difference is that the version with the problem is up since the 1.6.4 version and it has been upgraded
every new release. The only thing that is always the same is the data folder. Elsewhere I don’t see anything strange in the log files.
Maybe also the data folder must be upgraded?
I begin to think that it is a problem just for me. Maybe wrong environment setting (I’ll take a look)
rgds
Milan
Sorry, I am wrong. The problem still exist in the fresh installation. Also on an other machine.
I’ll open a bug report…
Cheers
Milan
2009/5/19 Milan Antonovic <milan.antonovic@anonymised.com>
I’ve tried with a fresh installed GS and it does not have the problem.
The difference is that the version with the problem is up since the 1.6.4 version and it has been upgraded
every new release. The only thing that is always the same is the data folder. Elsewhere I don’t see anything strange in the log files.
Maybe also the data folder must be upgraded?
I begin to think that it is a problem just for me. Maybe wrong environment setting (I’ll take a look)
rgds
Milan