[GeoNetwork-users] File upload error

Am continuing to receive the following error when attempting to upload "Files
for download":
      The requested operation could not be performed.

Thumbails can be uploaded, and the basins.zip from the sample data can be
downloaded. Using 2.1.0RC2 desktop. The error output follows.

Thanks for a great lab at FOSS4G.
Andrew./

------------------------------------------------------------------------
2007-10-08 14:40:38,374 ERROR [jeeves.service] - Exception when executing
service
2007-10-08 14:40:38,374 ERROR [jeeves.service] - (C) Exc :
java.lang.Exception: unable to move uploaded file to destination directory
2007-10-08 14:40:38,374 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>unable to move uploaded file to destination directory</message>
  <class>Exception</class>
  <stack>
    <at class="org.fao.geonet.services.resources.Upload" file="Upload.java"
line="87" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="372" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="600" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="163" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="98" method="doPost" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="616" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="689" method="service" />
    <at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="427" method="handle" />
  </stack>
  <request>
    <language>en</language>
    <service>resources.upload</service>
  </request>
</error>
------------------------------------------------------------------------

--
View this message in context: http://www.nabble.com/File-upload-error-tf4590009s18419.html#a13102530
Sent from the geonetwork-users mailing list archive at Nabble.com.

Thanks Andrew,

I have found the problem and fixed it. As a temporary fix, edit the metadata-edit.xsl
and add this attribute to the form:

enctype="multipart/form-data"

Cheers,
Andrea

Am continuing to receive the following error when attempting to upload "Files
for download":
      The requested operation could not be performed.

Thumbails can be uploaded, and the basins.zip from the sample data can be
downloaded. Using 2.1.0RC2 desktop. The error output follows.

Thanks for a great lab at FOSS4G.
Andrew./

------------------------------------------------------------------------
2007-10-08 14:40:38,374 ERROR [jeeves.service] - Exception when executing
service
2007-10-08 14:40:38,374 ERROR [jeeves.service] - (C) Exc :
java.lang.Exception: unable to move uploaded file to destination directory
2007-10-08 14:40:38,374 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
  <message>unable to move uploaded file to destination directory</message>
  <class>Exception</class>
  <stack>
    <at class="org.fao.geonet.services.resources.Upload" file="Upload.java"
line="87" method="exec" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="238" method="execService" />
    <at class="jeeves.server.dispatchers.ServiceInfo"
file="ServiceInfo.java" line="141" method="execServices" />
    <at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="372" method="dispatch" />
    <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="600" method="dispatch" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="163" method="execute" />
    <at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="98" method="doPost" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="616" method="service" />
    <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="689" method="service" />
    <at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="427" method="handle" />
  </stack>
  <request>
    <language>en</language>
    <service>resources.upload</service>
  </request>
</error>
------------------------------------------------------------------------