Dear list,
I have installed GN 2.8 using Tomcat 7 and MySQL 5.5
Our metadata contains Cyrillic characters.
They displayed correctly in browse mode. Search works well too.
But when I save the metadata after inserting, editing or harvesting,
Cyrillic characters are replaced with '???'.
Earlier I have had GN 2.6.4 and had no problems.
I have added jdbc option in config.xml for GN 2.6.4:
jdbc:mysql://localhost:3306/geonetwork?useUnicode=true&characterEncoding=UTF-8
Now this option causes the error:
Raised exception while starting appl handler. Skipped.
Exception java.lang.IllegalArgumentException: Repository uses database URL
of 'jdbc:mysql://localhost:3306/geonetwork' which does not match current
database URL
'jdbc:mysql://localhost:3306/geonetwork?useUnicode=true&characterEncoding=UTF-8'.
Modify the svn property geonet:dburl on the root of the subversion
repository at
/usr/local/tomcat/webapps/geonetwork/WEB-INF/data/data/metadata_subversion
or specify a different subversion repository
Message Repository uses database URL of
'jdbc:mysql://localhost:3306/geonetwork' which does not match current
database URL
'jdbc:mysql://localhost:3306/geonetwork?useUnicode=true&characterEncoding=UTF-8'.
Modify the svn property geonet:dburl on the root of the subversion
repository at
/usr/local/tomcat/webapps/geonetwork/WEB-INF/data/data/metadata_subversion
or specify a different subversion repository
Handler org.fao.geonet.Geonetwork
Stack java.lang.IllegalArgumentException: Repository uses database URL of
'jdbc:mysql://localhost:3306/geonetwork' which does not match current
database URL
'jdbc:mysql://localhost:3306/geonetwork?useUnicode=true&characterEncoding=UTF-8'.
Modify the svn property geonet:dburl on the root of the subversion
repository at
/usr/local/tomcat/webapps/geonetwork/WEB-INF/data/data/metadata_subversion
or specify a different subversion repository at
org.fao.geonet.kernel.SvnManager.<init>(SvnManager.java:178) at
org.fao.geonet.Geonetwork.start(Geonetwork.java:340) at
jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:541) at
jeeves.server.JeevesEngine.init(JeevesEngine.java:170) at
jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:85) at
javax.servlet.GenericServlet.init(GenericServlet.java:160) at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5033)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5317)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at
java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at
java.util.concurrent.FutureTask.run(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at
java.lang.Thread.run(Unknown Source)
How do I fix this?
Thanks!
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Problems-with-Cyrillic-characters-in-GN-2-8-tp5040915.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.