[GeoNetwork-devel] GN 2.1.0 beta1 Migration data process

Hi Angel,

I have found the problem and fixed it. The bug is related to Windows
machines so all MEF files generated by a geonetwork running on
Windows are corrupted and must be exported again.

I hope we will release a new beta soon.

Cheers,
Andrea

Hello Andrea,

Here you are one of the files I try to import. I use Geonetwork 2.1 beta 1
on Windows XP. Many thanks for your interest.

Regards,
Angel

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de Andrea
Carboni
Enviado el: lunes, 07 de mayo de 2007 14:16
Para: geonetwork-devel@lists.sourceforge.net
Asunto: Re: [GeoNetwork-devel] GN 2.1.0 beta1 Migration data process

Hi Angel,

you can ignore the log error:

> 17828 [Thread-46] WARN org.apache.commons.httpclient.cookie.CookieSpec
-
> Invalid cookie state: domain not specified

Regarding the mef.import, it seems that the mef file is corrupted. Can you
send
one of these corrupted mef files to me so I can investigate? Are you using
GeoNetwork
on windows?

Cheers,
Andrea

> Hello Andrea,
>
> I don't still receive any error message when I use the GAST in a Windows
> console. It doesn't matter; I used the XML import service for importing
> manually my storage. It was relatively quickly.
>
> I have another question... now I want to export my metadata/data. When I
use
> the Export, the GAST produces many warnings:
>
> 17828 [Thread-46] WARN org.apache.commons.httpclient.cookie.CookieSpec
-
> Invalid cookie state: domain not specified
>
> I don't know if this is really important, the question is that when I
import
> this set of exported data/metadata to a new clean Geonetwork 2.1
> Installation, the GAST doesn't import anything and it outputs the
following
> error message: "File not found in info.xml : public"
>
> The console error stack trace is the following:
>
> 2007-05-03 19:23:10,413 INFO [jeeves.request] -
> ===============================
> ===========================
> 2007-05-03 19:23:10,413 INFO [jeeves.request] - HTML Request (from
> 127.0.0.1) :
> /geonetwork/srv/en/xml.user.login
> 2007-05-03 19:23:10,413 INFO [jeeves.service] - Dispatching :
> xml.user.login
> 2007-05-03 19:23:10,413 INFO [jeeves.webapp.xml.user.login] - User
'admin'
> logged in.
> 2007-05-03 19:23:10,413 INFO [jeeves.service] - -> dispatching to
output
> for : xml.user.login
> 2007-05-03 19:23:10,413 INFO [jeeves.service] - -> writing xml for :
> xml.user.login
> 2007-05-03 19:23:10,413 INFO [jeeves.service] - -> output ended for :
> xml.user.login
> 2007-05-03 19:23:10,413 INFO [jeeves.service] - -> dispatch ended for :
> xml.user.login
> 2007-05-03 19:23:10,429 INFO [jeeves.request] -
> ==========================================================
> 2007-05-03 19:23:10,429 INFO [jeeves.request] - HTML Request (from
> 127.0.0.1) : /geonetwork/srv/en/mef.import
> 2007-05-03 19:23:10,429 INFO [jeeves.service] - Dispatching : mef.import
> 2007-05-03 19:23:11,179 ERROR [jeeves.service] - Exception when executing
> service
> 2007-05-03 19:23:11,179 ERROR [jeeves.service] - (C) Exc :
> java.lang.Exception:
> File not found in info.xml : public
>
>
> Do you have any idea about this?
>
> Best Regards,
> Angel
>
> -----Mensaje original-----
> De: geonetwork-devel-bounces@lists.sourceforge.net
> [mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de
Andrea
> Carboni
> Enviado el: viernes, 20 de abril de 2007 17:57
> Para: geonetwork-devel@lists.sourceforge.net
> Asunto: Re: [GeoNetwork-devel] GN 2.1.0 beta1 Migration data process
>
> Hi Angel,
>
> try to run GAST using a Windows console you should see at least an
> error message. Meanwhile, I'm trying to improve GAST's logging.
>
> Cheers,
> Andrea
>
> > Hello Andrea,
> >
> > I don't have any kind of data migrated. I've used Druid client to see DB
> > structure of GN 2.1 after the migration process and the tables remain
> > without any change.
> >
> > Is there any log file where I can see the trace of the migration
process?
> > I think that one problem I am having is that the GAST tool doesn't show
me
> > any error message and neither does the Jetty console.
> >
> > Regards,
> > Angel
> >
> > -----Mensaje original-----
> > De: geonetwork-devel-bounces@lists.sourceforge.net
> > [mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de
> Andrea
> > Carboni
> > Enviado el: miércoles, 18 de abril de 2007 13:05
> > Para: geonetwork-devel@lists.sourceforge.net
> > Asunto: Re: [GeoNetwork-devel] GN 2.1.0 beta1 Migration data process
> >
> > Hi Angel,
> >
> > do you have users, groups, categories etc migrated?
> >
> > Regarding metadata, GAST does not migrate records whose source
> > is different than the siteId of your installation. Those metadata are
> > considered harvested and are skipped.
> >
> > Cheers,
> > Andrea
> >
> > > Hello Andrea,
> > >
> > > Thank you for your prompt answer. Yes, I did it this way as it is
> > described
> > > in the [GEONETWORK_HOME]\docs\manuals\user-guide.pdf about using of
GAST
> > > tool. The two servers are stopped but the migration process did still
> not
> > > produce any migration result. I click on "Migrate", then a "Migrating
> > data"
> > > message appears with 0% during a few seconds, and suddenly the process
> > ends,
> > > but anything is migrated in the new geonetwork when I restart it. Any
> idea
> > > else?
> > >
> > > Best Regards,
> > > Angel
> > >
> > >
> > > -----Mensaje original-----
> > > De: geonetwork-devel-bounces@lists.sourceforge.net
> > > [mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de
> > Andrea
> > > Carboni
> > > Enviado el: martes, 17 de abril de 2007 16:37
> > > Para: geonetwork-devel@lists.sourceforge.net
> > > Asunto: Re: [GeoNetwork-devel] GN 2.1.0 beta1 Migration data process
> > >
> > > Hi Angel,
> > >
> > > when you use GAST to migrate an old installation both the old one
> > > and the new one must be stopped (as GAST suggests with a stop icon).
> > >
> > > You get errors because GAST is trying to start the old mckoi database
> > > but the old one is still up and running so a conflict occurs.
> > >
> > >
> > > Cheers,
> > > Andrea
> > >
> > > > Dear all,
> > > >
> > > >
> > > >
> > > > We’ve recently installed Geonetwork 2.1 Server beta version. We have
a
> > > > platform with a big amount of data and metadata in our Geonetwork
> 2.0.2
> > > > Desktop release version. Does anyone know how is the exact process
to
> > > > migrate the whole data and thumbnail model from this previous
version
> to
> > > the
> > > > new version of Geonetwork?
> > > >
> > > > We have tried to do this with the GAST tool by the Migration option
> but
> > it
> > > > seems it doesn’t work. First, the tool provides an “address already
in
> > > use”
> > > > error, and when we fix it changing the DBMS port from 9157 to
another
> > like
> > > > 9200, the tool doesn’t provide any error message but the migration
> > process
> > > > doesn’t produce any result; there is no new data migrated in the
> > > Geonetwork
> > > > 2.1.
> > > >
> > > > Could anyone provide us support on this? Thanks in advance.
> > > >
> > > >
> > > >
> > > > Best Regards,
> > > >
> > > > Angel
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Angel ZABALLOS
> > > > Project Engineer
> > > >
> > > >
> > > >
> > > >
> > > > GTD SISTEMAS DE INFORMACIÓN
> > > >
> > > > Pg. Garcia Fària, 17 E-08005 Barcelona
> > > > Tel.: +34 934 939 300 Fax: +34 934 939 302
> > > > www.gtd.es - angel.zaballos@anonymised.com
> > > >
> > > >
> > > >
> > > > Este mensaje es confidencial. Cualquier distribución, uso o copia
del
> > > > mensaje o de la información en el contenido por otras personas
> distintas
> > > de
> > > > los destinatarios esta prohibida. Si usted recibe este mensaje por
> > error,
> > > > por favor comuníquemelo inmediatamente mediante reenvío del mensaje
o
> > por
> > > > otro medio.
> > > >
> > > > This e-mail may be confidential. Any distribution, use or copying of
> > this
> > > > e-mail or the information it contains by other than an intended
> > recipient
> > > is
> > > > unauthorized. If you received this e-mail in error, please advise me
> (by
> > > > return e-mail or otherwise) immediately.
> > > >
> > > > Ce courriel est confidentiel. Toute diffusion, utilisation ou copie
de
> > ce
> > > > message ou des renseignements qu'il contient par une personne autre
> que
> > > les
> > > > destinataires désignés est interdite. Si vous recevez ce courriel
par
> > > > erreur, veuillez m'en aviser immédiatement, par retour de courriel
ou
> > par
> > > un
> > > > autre moyen.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > GeoNetwork-devel mailing list
> > > GeoNetwork-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> > > GeoNetwork OpenSource is maintained at
> > > http://sourceforge.net/projects/geonetwork
> > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > GeoNetwork-devel mailing list
> > > GeoNetwork-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> > > GeoNetwork OpenSource is maintained at
> > http://sourceforge.net/projects/geonetwork
> > >
> >
> >
-------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > GeoNetwork-devel mailing list
> > GeoNetwork-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> > GeoNetwork OpenSource is maintained at
> > http://sourceforge.net/projects/geonetwork
> >
> >
> >
> >
-------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > GeoNetwork-devel mailing list
> > GeoNetwork-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> > GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork