Hi there, I am having a small issue. I was trying to upload a file in
the Geonetwork catalogue using the insert single file function. I will
describe my problem:
1. I select a local file using the file upload dialog and I click
Insert. Nothing happens on insert. No page change, no message,
nothing.
2. I say, maybe the file should be local to the server then. I feed
Geonetwork a file local to the server and then click Insert. Again,
nothing happens.
At this point I say, hmmm, the File upload functionality does not
really work here. But let's give it a chance and look at the logs.
I look at the logs and there is a 'FileNotFoundException'. Geonetwork
is looking for my uploaded file in the root of the the geonetwork web
application + '../../data/tmp'.
So I look around and I notice that 'geonetwork/WEB-INF/config.xml'
contains an xml property called 'uploadDir' pointing to
'../../data/tmp'. Problem solved.
So, I would have a few requests if possible:
1. Could the FileNotFound exception, if the uploadDir does not exists,
be handled in a nicer way. A message on 'File upload' would have been
quite useful. Something maybe saying 'Invalid upload dir on remote
server' !
2. Could the uploadDir property be documented or at least made
configurable in gast ? A seach for uploadDir on your website does not
return any results.
3. Could some deployment instructions be released ? I am deploying
under tomcat, so I really just need the war file which you even
distribute separately. I had no idea the web application was actually
dependent on the 'web/geonetwork/../../data' folder. A search for
'deployment' on your website did not return anything.
Thanks,
Cristian
Hi Christian
In
http://geonetwork-opensource.org/_static/foss4g2010/FOSS4G_Mastering_Advanced_GeoNetwork.pdf,
are commented the changes needed when deploy the war file in tomcat. Indeed
this documentation should be moved to user manual as soon as possible. I'll
try to do it for next 2.6.1 version.
For the improvements about the error notifications for the user, please open
a issue in trac http://trac.osgeo.org/geonetwork/, you need an OSGeo account
for this (check http://www.osgeo.org/osgeo_userid/)
Thanks and regards,
Jose GarcĂa
On Thu, Oct 14, 2010 at 11:39 AM, Cristian Codorean <
cristian.codorean@anonymised.com> wrote:
Hi there, I am having a small issue. I was trying to upload a file in
the Geonetwork catalogue using the insert single file function. I will
describe my problem:
1. I select a local file using the file upload dialog and I click
Insert. Nothing happens on insert. No page change, no message,
nothing.
2. I say, maybe the file should be local to the server then. I feed
Geonetwork a file local to the server and then click Insert. Again,
nothing happens.
At this point I say, hmmm, the File upload functionality does not
really work here. But let's give it a chance and look at the logs.
I look at the logs and there is a 'FileNotFoundException'. Geonetwork
is looking for my uploaded file in the root of the the geonetwork web
application + '../../data/tmp'.
So I look around and I notice that 'geonetwork/WEB-INF/config.xml'
contains an xml property called 'uploadDir' pointing to
'../../data/tmp'. Problem solved.
So, I would have a few requests if possible:
1. Could the FileNotFound exception, if the uploadDir does not exists,
be handled in a nicer way. A message on 'File upload' would have been
quite useful. Something maybe saying 'Invalid upload dir on remote
server' !
2. Could the uploadDir property be documented or at least made
configurable in gast ? A seach for uploadDir on your website does not
return any results.
3. Could some deployment instructions be released ? I am deploying
under tomcat, so I really just need the war file which you even
distribute separately. I had no idea the web application was actually
dependent on the 'web/geonetwork/../../data' folder. A search for
'deployment' on your website did not return anything.
Thanks,
Cristian
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork