I am trying to import some FGDC metadata using the batch import tool.
Here are the settings I am using:
Directory: I:\FGDL2003\County\lee_core\mp_xml
Stylesheet: none
Schema: fgdc-std
Validate: no
Group: Sample group
Category: none
I have 47 XML files in the directory listed.
This is the message from geonetwork.log:
2009-01-09 07:58:34,015 INFO [jeeves.request] - HTML Request (from
172.16.12.38) : /geonetwork/srv/en/util.import
2009-01-09 07:58:34,015 DEBUG [jeeves.request] - Method : POST
2009-01-09 07:58:34,015 DEBUG [jeeves.request] - Content type :
application/x-www-form-urlencoded
2009-01-09 07:58:34,015 DEBUG [jeeves.request] - Accept :
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2009-01-09 07:58:34,015 INFO [jeeves.service] - Dispatching : util.import
2009-01-09 07:58:34,015 DEBUG [jeeves.service] - -> parameters are :
<request>
<category>_none_</category>
<styleSheet>_none_</styleSheet>
<group>2</group>
<schema>fgdc-std</schema>
<dir>I:\FGDL2003\County\lee_core\mp_xml</dir>
</request>
2009-01-09 07:58:34,015 ERROR [jeeves.service] - Exception when executing
service
2009-01-09 07:58:34,015 ERROR [jeeves.service] - (C) Exc :
java.lang.Exception: Directory not found: I:\FGDL2003\County\lee_core\mp_xml
2009-01-09 07:58:34,015 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
<message>Directory not found: I:\FGDL2003\County\lee_core\mp_xml</message>
<class>Exception</class>
<stack>
<at class="org.fao.geonet.services.metadata.ImportFromDir"
file="ImportFromDir.java" line="148" method="standardImport" />
<at class="org.fao.geonet.services.metadata.ImportFromDir"
file="ImportFromDir.java" line="116" 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="376" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java"
line="616" 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="710" method="service" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="803" method="service" />
</stack>
<request>
<language>en</language>
<service>util.import</service>
</request>
</error>
2009-01-09 07:58:34,015 INFO [jeeves.service] - -> dispatching to error
for : util.import
2009-01-09 07:58:34,140 INFO [jeeves.service] - -> transforming with
stylesheet : D:\geonetwork\web\geonetwork\/xsl/error.xsl
2009-01-09 07:58:34,250 INFO [jeeves.service] - -> end error
transformation for : util.import
2009-01-09 07:58:34,250 INFO [jeeves.service] - -> error ended for :
util.import
Thanks for any help,
Paul Lohr
--
View this message in context: http://n2.nabble.com/batch-import---help-with-error-tp2133096p2133096.html
Sent from the geonetwork-users mailing list archive at Nabble.com.