[Geoserver-users] GeoServer-exception thrown-not able to save data

I am using GeoServer version 1.6.4. It is available on
www.wetlandsofindia.org/geoserver
When I submit a new feature type, I clicks on Apply button and then Click on
Save button. It shows me the following error..
The following exception was thrown:
org.vfny.geoserver.global.ConfigurationException: Cannot Write to file:
/home/innoway/public_html/geoserver/data/featureTypes/sacon_chennai

and it is not able to create the folder by feature name now so i couldnt
able to access the feature. I have my data stored in PostgreSQL database.

I am looking forward for the solution.

Santosh
--
View this message in context: http://www.nabble.com/GeoServer-exception-thrown-not-able-to-save-data-tp20972331p20972331.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Santosh,

Have you ensured that there are no issues with permissions on the file system?

Also, would you be able to provide the full stack trace from the error log so we can narrow down exactly where access to the file is failing.

Thanks,

-Justin

santy wrote:

I am using GeoServer version 1.6.4. It is available on
www.wetlandsofindia.org/geoserver
When I submit a new feature type, I clicks on Apply button and then Click on
Save button. It shows me the following error..
The following exception was thrown: org.vfny.geoserver.global.ConfigurationException: Cannot Write to file:
/home/innoway/public_html/geoserver/data/featureTypes/sacon_chennai

and it is not able to create the folder by feature name now so i couldnt
able to access the feature. I have my data stored in PostgreSQL database.

I am looking forward for the solution.

Santosh

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Dear Justin,

Catalina.out file is 30MB. This is located in Tomcat's logs folder. Do you
want this file? There is no issue with permissions on the file systems.
Previsouly it used to save the data properly. But it was asking restart of
the tomcat to reflect the changes made. Even when I restart the Tomcat, I
dont see my data is loaded. I have kept the default username and password
for GeoServer and I hope you will see the problem.

Please let me know which error log you want?

Thanks & Regards,

Santosh
--
View this message in context: http://www.nabble.com/GeoServer-exception-thrown-not-able-to-save-data-tp20972331p21012853.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Santosh,

If could narrow it down for a bit that would be great to save me having to search through the entire file. Perhaps can you just pull out the bit that deals with the error and send that?

Thanks,

-Justin

santy wrote:

Dear Justin,

Catalina.out file is 30MB. This is located in Tomcat's logs folder. Do you
want this file? There is no issue with permissions on the file systems.
Previsouly it used to save the data properly. But it was asking restart of
the tomcat to reflect the changes made. Even when I restart the Tomcat, I
dont see my data is loaded. I have kept the default username and password
for GeoServer and I hope you will see the problem.

Please let me know which error log you want?

Thanks & Regards,

Santosh

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Dear Justin,

I am attahcing catalina.out file with this email. I have zipped the file.
There are 2 file catalina.rar and catalina1.rar. Well catalina1.rar is
latest log file. Now my tomcat is crashing aftre clicking the save button. I
am looking forwrad for the solution.

Thanks & Regards,

Santosh

http://www.nabble.com/file/p21122923/catalina.rar catalina.rar

http://www.nabble.com/file/p21122923/catalina1.rar catalina1.rar
--
View this message in context: http://www.nabble.com/GeoServer-exception-thrown-not-able-to-save-data-tp20972331p21122923.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Santosh,

I took a look at the log files. I see a lot of out of memory errors. You may consider giving tomcat / geoserver more memory on startup. You can find more info for this here:

http://geoserver.org/display/GEOSDOC/2.6+GeoServer+in+Production+Environment

As for the error on saving... my guess would be that the tomcat security setup is restricting writes to the file system. A user just had this issue recently, and described the solution in this thread:

http://www.nabble.com/I-am-having-trouble-installing-geoserver.-Any-help-appreciated-td21030540.html#a21073155

Give that a shot. If you still have problems let us know.

-Justin

santy wrote:

Dear Justin,

I am attahcing catalina.out file with this email. I have zipped the file.
There are 2 file catalina.rar and catalina1.rar. Well catalina1.rar is
latest log file. Now my tomcat is crashing aftre clicking the save button. I
am looking forwrad for the solution.

Thanks & Regards,

Santosh

http://www.nabble.com/file/p21122923/catalina.rar catalina.rar

http://www.nabble.com/file/p21122923/catalina1.rar catalina1.rar

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.