Dear all,
we are trying to install 2 instances of geonetwork 2.10 on the same server
on Linux under Tomcat but we are not able to do that.
What we did.
1) deploy geoserver.war (start tomcat)
2) stop tomcat
3) deploy geonetwork.war (start tomcat)
4) stop tomcat
5) cp -r geonetwork era_geonetwork [to have the second instance]
6) edit WEB-INF/config.xml to modify the name of the db h2
7) start tomcat
The two intances, once at a time, works well.
If we try to start them together we got the following error.
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by
another process". Possible solutions: close all other connection(s); use
the server mode [90020-152]
at org.h2.message.DbException.
getJdbcSQLException(DbException.java:327)
We already checked folder permissions and seems they are fine.
Any idea of what could be the problem?
Thank you.
Best regards,
Jonathan
--
*"Nota automatica aggiunta dal sistema di posta
Il 5 per mille per sostenere i giovani ricercatori di Ca' Foscari. E' un
atto volontario, non costa nulla e non sostituisce l'8 per mille. Scegli
Ca' Foscari: codice fiscale 80007720271
Please note that the above message is addressed only to individuals filing
Italian income tax returns. -- "*
Jonathan,
This might help?
http://trac.osgeo.org/geonetwork/wiki/HowToRunMultipleGeonetworkInstancesUnderTomcat
Brent Wood
________________________________
From: Jonathan RIZZI <jonathan.rizzi@anonymised.com>
To: geonetwork-users@lists.sourceforge.net
Sent: Saturday, July 20, 2013 2:13 PM
Subject: [GeoNetwork-users] Problem installing 2 instances
Dear all,
we are trying to install 2 instances of geonetwork 2.10 on the same server
on Linux under Tomcat but we are not able to do that.
What we did.
1) deploy geoserver.war (start tomcat)
2) stop tomcat
3) deploy geonetwork.war (start tomcat)
4) stop tomcat
5) cp -r geonetwork era_geonetwork [to have the second instance]
6) edit WEB-INF/config.xml to modify the name of the db h2
7) start tomcat
The two intances, once at a time, works well.
If we try to start them together we got the following error.
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by
another process". Possible solutions: close all other connection(s); use
the server mode [90020-152]
at org.h2.message.DbException.
getJdbcSQLException(DbException.java:327)
We already checked folder permissions and seems they are fine.
Any idea of what could be the problem?
Thank you.
Best regards,
Jonathan
--
*"Nota automatica aggiunta dal sistema di posta
Il 5 per mille per sostenere i giovani ricercatori di Ca' Foscari. E' un
atto volontario, non costa nulla e non sostituisce l'8 per mille. Scegli
Ca' Foscari: codice fiscale 80007720271
Please note that the above message is addressed only to individuals filing
Italian income tax returns. -- "*
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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
Hello,
that is what we had followed, but didn't seem to work.
Any other idea?
Thank you.
Best regards,
Jonathan
2013/7/20 Brent Wood <pcreso@anonymised.com>
Jonathan,
This might help?
http://trac.osgeo.org/geonetwork/wiki/HowToRunMultipleGeonetworkInstancesUnderTomcat
Brent Wood
------------------------------
*From:* Jonathan RIZZI <jonathan.rizzi@anonymised.com>
*To:* geonetwork-users@lists.sourceforge.net
*Sent:* Saturday, July 20, 2013 2:13 PM
*Subject:* [GeoNetwork-users] Problem installing 2 instances
Dear all,
we are trying to install 2 instances of geonetwork 2.10 on the same server
on Linux under Tomcat but we are not able to do that.
What we did.
1) deploy geoserver.war (start tomcat)
2) stop tomcat
3) deploy geonetwork.war (start tomcat)
4) stop tomcat
5) cp -r geonetwork era_geonetwork [to have the second instance]
6) edit WEB-INF/config.xml to modify the name of the db h2
7) start tomcat
The two intances, once at a time, works well.
If we try to start them together we got the following error.
org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by
another process". Possible solutions: close all other connection(s); use
the server mode [90020-152]
at org.h2.message.DbException.
getJdbcSQLException(DbException.java:327)
We already checked folder permissions and seems they are fine.
Any idea of what could be the problem?
Thank you.
Best regards,
Jonathan
--
*"Nota automatica aggiunta dal sistema di posta
Il 5 per mille per sostenere i giovani ricercatori di Ca' Foscari. E' un
atto volontario, non costa nulla e non sostituisce l'8 per mille. Scegli
Ca' Foscari: codice fiscale 80007720271
Please note that the above message is addressed only to individuals filing
Italian income tax returns. -- "*
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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
--
*"Nota automatica aggiunta dal sistema di posta
Il 5 per mille per sostenere i giovani ricercatori di Ca' Foscari. E' un
atto volontario, non costa nulla e non sostituisce l'8 per mille. Scegli
Ca' Foscari: codice fiscale 80007720271
Please note that the above message is addressed only to individuals filing
Italian income tax returns. -- "*