Hi,
how can i make sure that '-Duser.language=en' is added to all the
places where Java.exe invokes the program?
A. by doing commandline installation?
java -jar geonetwork-install-2.2.0-0.jar install.xml
but install.xml does not exists, i could not save the installation
script for commandline installations, because installation is failed.
B. there is build.xml and defines that encoding= "ISO8859-1". instead
of this iso, UTF-8 should be more convenient, isn't it? if i changed
to UTF-8 and build from source code, do you think that will the
problem be solved? i hope you will say 'no', compiling is very tedious
job.
C. or should the changing for encodings be done at the setup scripting
file "installer-config-win-jre.xml"?
D. ???
what is your suggestion/solution?
or forget to use Geonetwork open source in Turkey?
just kidding.
--
Regards,
Volkan Kepoglu
PhD Candidate
GGIT Department in METU,
Ankara, Turkey.
---------- Forwarded message ----------
From: Tobias Downer <toby@...498...>
Date: Fri, 28 Nov 2008 04:36:40 -0800
Subject: Re: error while installing geonetwork open source – i guess
Mckoi related for turkish locale
To: volkan kepoglu <vkepoglu@...31...>
Hi,
It looks like the error was caused during installation and it caused
the database to be partially created. Once a database is created, you
can not use the 'create' program again so you will probably need to
clean your data directory and rerun the installation script with the
'-Duser.language=en' command when Java.exe is run. I'm not familiar
with geonetwork, but there may be a simple way to edit a file, add the
additional command and rerun the installation.
One thing to keep in mind is that you will need to make sure
'-Duser.language=en' is added to all the places where Java.exe invokes
the program. It shouldn't matter that -Duser.region= is empty, but if
I'm wrong and it does you should try -Duser.region=US.
Toby.
On Fri, Nov 28, 2008 at 3:05 AM, volkan kepoglu <vkepoglu@...31...> wrote:
Hi,
first of all, sorry for cross referencing.
I am new and trying to install on win XP service pack 3 by using the
file "geonetwork-install-with-jre-2.2.0.exe", but getting error:
"RuntimeException SQL Error: Unrecognised operator type: ın"I guess this error could be related with turkish character. we have
two different character for i with/without dot like "i" and "ı"I completed the installation with this error. and then clicked "start
server". this time the error is: "SQL Error: Table
'SYS_INFO.sUSRPassword' was not found." after this error, starting
server in the command prompt window stops and nothing happens.I do not know where to look for this error. I did some googling, but i
could not solve them. For database part, postgresql 8.3.5-1 and ms sql
server 2000 client is installed on this desktop. Is this second error
related with these databases? or naturally related with the first one?i do not know very much java stuff but i am expert in gis, meaing i am
a new user for Mckoi side, and made some googling, then found your
reply: http://www.mckoi.com/database/maillist/msg04888.htmlIs the error "RuntimeException SQL Error: Unrecognised operator type:
ın" related with turkish locale?if yes:
the advice you explained in the e-mail does not work for me, or i am
doing someting wrong. what i did exactly as follows:C:\Program Files\geonetwork\web\geonetwork\WEB-INF\lib>java
-Duser.language=en -Duser.region= -jar ./mckoidb.jar -create "admin"
"admin"Mckoi SQL Database ( 1.0.3 )
Copyright (C) 2000 - 2004 Diehl and Associates, Inc. All rights reserved.
Use: -h for help.Mckoi SQL Database comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt for details of the
GPL License.Error: configuration file './db.conf' was not found.
C:\Program Files\geonetwork\web\geonetwork\WEB-INF\lib>cd..
C:\Program Files\geonetwork\web\geonetwork\WEB-INF>cd db
C:\Program Files\geonetwork\web\geonetwork\WEB-INF\db>java
-Duser.language=en -Duser.region= -jar ../lib/mckoidb.jar -create
"admin" "admin"Mckoi SQL Database ( 1.0.3 )
Copyright (C) 2000 - 2004 Diehl and Associates, Inc. All rights reserved.
Use: -h for help.Mckoi SQL Database comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt for details of the
GPL License.[com.mckoi.debug.Debug - Exception thrown: 'Conglomerate already
exists: DefaultDatabase']
java.io.IOException: Conglomerate already exists: DefaultDatabase
at com.mckoi.database.TableDataConglomerate.minimalCreate(TableDataConglomerate.java:1014)
at com.mckoi.database.TableDataConglomerate.create(TableDataConglomerate.java:1055)
at com.mckoi.database.Database.create(Database.java:1696)
at com.mckoi.database.control.DBController.createDatabase(DBController.java:96)
at com.mckoi.runtime.McKoiDBMain.doCreate(McKoiDBMain.java:114)
at com.mckoi.runtime.McKoiDBMain.main(McKoiDBMain.java:287)
Exception in thread "main" java.lang.Error: IO Error: Conglomerate
already exists: DefaultDatabase
at com.mckoi.database.Database.create(Database.java:1752)
at com.mckoi.database.control.DBController.createDatabase(DBController.java:96)
at com.mckoi.runtime.McKoiDBMain.doCreate(McKoiDBMain.java:114)
at com.mckoi.runtime.McKoiDBMain.main(McKoiDBMain.java:287)C:\Program Files\geonetwork\web\geonetwork\WEB-INF\db>
maybe the problem is related with only my paths, but i do not know how
to do or can not see.Could you please tell me exact command according to the my path?
it seems strange to me that "-Duser.region=" is empty. Should I add
"tr" or someting else?I also attached snapshot and the full details of these errors for your info.
fullErrorMsgWhileInstalling.JPG
fullErrorMsgAfterStartServer.txtcould you help me?
--
Regards,
Volkan Kepoglu