Hi Francois,
Thanks for your fast answer..
I changed the C:\geonetwork\web\WEB-INF\config.xml
<resources>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -->
<!-- mckoi standalone -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -->
<resource enabled="true">
<name>main-db</name>
<provider>jeeves.resources.dbms.DbmsPool</provider>
<config>
<user>rwBxXXzY</user>
<password>KOhGSdrB</password>
<driver>com.mckoi.JDBCDriver</driver>
<url>jdbc:mckoi://localhost:9155/</url>
<poolSize>10</poolSize>
</config>
Note that I have another.... C:\geonetwork2\web\WEB-INF\config.xml with
<url>jdbc:mckoi://localhost:9157/</url>
Also, I changed the C:\Apache Software Foundation\Tomcat 5.5\conf\server.xml
<Connector
port="9080"
maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
URIEncoding="UTF-8"/>
<Context
path="/geonetwork"
docBase="C:\geonetwork/web"
crossContext="false"
debug="0"
reloadable="false" />
And again, note that I have another.... C:\Apache Software Foundation\Tomcat
5.5\conf\server.xml
<Connector
port="9090"
maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
URIEncoding="UTF-8"/>
<Context
path="/geonetwork2"
docBase="C:\geonetwork2/web"
crossContext="false"
debug="0"
reloadable="false" />
The issue is that when they run separately every operations work in the
right way, but it is wrong when both of them are running at the same time.
Regards,
Ana
-----Mensaje original-----
De: Francois-Xavier Prunayre
[mailto:francois-xavier.prunayre@anonymised.com]
Enviado el: jueves, 24 de julio de 2008 10:45
Para: Ana Belén Antón Gironés
CC: geonetwork-users@lists.sourceforge.net
Asunto: Re: [GeoNetwork-users] Two geonetwork nodes in the same machine
Hello Ana,
On jeu, 2008-07-24 at 10:30 +0200, Ana Belén Antón Gironés wrote:
I would like to have two geonetwork nodes in the same machine for tests.
Because of that I have edited both Tomcat server config files and it
runs ok. Both are running, but unfortunately when either I do a search
or when I want to create new metadata it is not possible in the GN
node which was started in second place.
If I start each one separately all operations are possible, but it is
wrong when they are running simultaneously. It seems a problem
accessing to the database. I use the DBMS embebbed in GN installation;
in one node with default port (9157) and the other one with other port
(9155).
Which changes did you do ?
Could you please help me? Is my goal possible?
At least some stuff to check:
* tomcat conf
* index.html : change servlet name
* WEB-INF/config.xml : resources mckoi
* WEB-INF/db/db.conf : change db port number
and maybe check your logfile geonetwork.log to see if all goes fine on
startup for both instances.
HTH. Francois