[GeoNetwork-devel] Build/deploy from trunk failure

Hi,

I am trying to build/deploy the SVN trunk version (r6670) of GN. Build (mvn clean install) goes ok, but when I deploy my war file (web/target/geonetwork.war with overridden config(-gui).xml files) in Tomcat I get a strange error:

"2010-10-18 17:06:30,639 INFO [jeeves.apphand] - Initializing GeoNetwork 2.5.0.Unstable ...
2010-10-18 17:06:30,725 INFO [jeeves.apphand] - - Database connection on jdbc:postgresql://localhost:5432/kademo_geonet ...
2010-10-18 17:06:30,904 INFO [jeeves.apphand] - Found an existing GeoNetwork database.
2010-10-18 17:06:30,904 INFO [jeeves.apphand] - - Setting manager...
2010-10-18 17:06:30,988 INFO [jeeves.apphand] - - Migration ...
2010-10-18 17:06:30,988 DEBUG [jeeves.apphand] - Webapp version:2.5.0 subversion:Unstable
2010-10-18 17:06:30,989 DEBUG [jeeves.apphand] - Database version:2.6.0 subversion:1
2010-10-18 17:06:30,989 INFO [jeeves.apphand] - Migrating from 2.6.0 to 2.5.0 (dbtype:postgres)...
2010-10-18 17:06:30,989 INFO [jeeves.apphand] - No migration task found between webapp and database version.
       The system may be unstable or may failed to start if you try to run
       the current GeoNetwork 2.5.0 with an older database (ie. 2.6.0
       ). Try to run the migration task manually on the current database
       before starting the application or start with a new empty database.
       Sample SQL scripts for migration could be found in WEB-INF/sql/migrate folder."

I had already the distro download version v2.6.0 with DB Postgres running ok. In order to test recent fixes I wanted to run what I thought was a higher version from SVN but somehow "it thinks" that it is 2.5.0.

Any idea ? Or do I need to checkout from another branch ? best,

Just van den Broecke

Hi Just,

2010/10/18 Just van den Broecke <just@anonymised.com>:

Hi,

I am trying to build/deploy the SVN trunk version (r6670) of GN. Build
(mvn clean install) goes ok, but when I deploy my war file
(web/target/geonetwork.war with overridden config(-gui).xml files) in
Tomcat I get a strange error:

"2010-10-18 17:06:30,639 INFO [jeeves.apphand] - Initializing
GeoNetwork 2.5.0.Unstable ...
2010-10-18 17:06:30,725 INFO [jeeves.apphand] - - Database connection
on jdbc:postgresql://localhost:5432/kademo_geonet ...
2010-10-18 17:06:30,904 INFO [jeeves.apphand] - Found an existing
GeoNetwork database.
2010-10-18 17:06:30,904 INFO [jeeves.apphand] - - Setting manager...
2010-10-18 17:06:30,988 INFO [jeeves.apphand] - - Migration ...
2010-10-18 17:06:30,988 DEBUG [jeeves.apphand] - Webapp
version:2.5.0 subversion:Unstable
2010-10-18 17:06:30,989 DEBUG [jeeves.apphand] - Database
version:2.6.0 subversion:1
2010-10-18 17:06:30,989 INFO [jeeves.apphand] - Migrating from
2.6.0 to 2.5.0 (dbtype:postgres)...
2010-10-18 17:06:30,989 INFO [jeeves.apphand] - No migration task
found between webapp and database version.
The system may be unstable or may failed to start if you try to run
the current GeoNetwork 2.5.0 with an older database (ie. 2.6.0
). Try to run the migration task manually on the current database
before starting the application or start with a new empty database.
Sample SQL scripts for migration could be found in
WEB-INF/sql/migrate folder."

That's not an error, just INFO saying that the db version (set in
settings table) is different from the webapp version (server.prop
file).

I had already the distro download version v2.6.0 with DB Postgres
running ok. In order to test recent fixes I wanted to run what I thought
was a higher version from SVN but somehow "it thinks" that it is 2.5.0.

Any idea ? Or do I need to checkout from another branch ? best,

I updated trunk version number to 2.7.0 (r6671) but you'll still get
the message because you created your db with 2.6.

HTH.

Francois

Just van den Broecke

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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