Hi,
I am trying to set up GeoNetwork with a Oracle database for a client. But I
am not having much luck. I resolved the first error thanks to Francois patch
(HarvestHistory issue) but now it seems that there are greater difficulties
with this particular installation. I have attached the log file below. It
seems to only happen with Oracle. The database connection seems to execute
okay but when the "Start GeoNetwork" process gets to the lucene indexing
section, it bails as shown below. This happens when I run GeoNettwork 2.6 or
2.7 and if I run it in Tomcat or Jetty. And it only happens with Oracle. Of
course the Oracle DBA's say all looks good on their end and it is not their
problem. I need ot tell them something more specific and I am stumped. Any
help would be greatly appreciated. (Oracle version 11g1).
Cheers,
Byron Cochrane
LISASoft
2011-10-18 10:36:24,620 DEBUG [org.jzkit.search.impl.StatelessQueryService]
- new StatelessQueryService(50,180000)
2011-10-18 10:36:24,620 DEBUG [org.jzkit.search.impl.StatelessQueryService]
- init()
2011-10-18 10:36:24,635 DEBUG
[org.jzkit.search.util.RecordBuilder.RecordBuilderService] -
onApplicationEvent
org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.ClassPathXmlApplicationContext@anonymised.com:
display name
[org.springframework.context.support.ClassPathXmlApplicationContext@anonymised.com];
startup date [Tue Oct 18 10:36:23 NZDT 2011]; root of context hierarchy]
2011-10-18 10:36:24,635 INFO [jeeves.apphand] - Server is Disabled.
2011-10-18 10:36:24,635 INFO [jeeves.apphand] - - Schema manager...
2011-10-18 10:36:25,979 INFO [jeeves.apphand] - - Search...
2011-10-18 10:36:25,979 INFO [jeeves.apphand] - - Log spatial object:
false
2011-10-18 10:36:25,979 INFO [jeeves.apphand] - - Log in asynch mode:
true
2011-10-18 10:36:25,979 INFO [jeeves.apphand] - - Lucene configuration
is:
2011-10-18 10:36:25,979 INFO [jeeves.apphand] - Lucene configuration:
* Version: LUCENE_30
* RAMBufferSize: 48.0
* MergeFactor: 10
* Default analyzer: org.fao.geonet.kernel.search.GeoNetworkAnalyzer
* Field analyzers:
{parentUuid=org.fao.geonet.kernel.search.GeoNetworkAnalyzer,
subject=org.apache.lucene.analysis.KeywordAnalyzer,
operatesOnIdentifier=org.fao.geonet.kernel.search.GeoNetworkAnalyzer,
operatesOn=org.fao.geonet.kernel.search.GeoNetworkAnalyzer,
_uuid=org.fao.geonet.kernel.search.GeoNetworkAnalyzer}
* Tokenized fields: [abstract, keywordType, inspiretheme, title, subject,
any, levelName, altTitle, specificationTitle, orgName]
* Numeric fields: [eastBL, southBL, northBL, westBL, denominator]
* Search boost query: null
* Score:
* trackDocScores: false
* trackMaxScore: false
* docsScoredInOrder: false
2011-10-18 10:36:25,979 INFO [jeeves.apphand] - Using shapefile D:\Apache
Software Foundation\Tomcat
6.0\webapps\geonetwork\WEB-INF\lucene\spatialindex.shp
2011-10-18 10:36:26,620 INFO [jeeves.apphand] - NOTE: Using shapefile for
spatial index, this can be slow for larger catalogs
2011-10-18 10:36:26,667 WARN [geonetwork.search] - Error on analyzer
initialization: null. Check your Lucene configuration. Default analyzer will
be used for field null
2011-10-18 10:36:26,667 WARN [geonetwork.search] - Creating analyzer has
failed, defaulting to GeoNetworkAnalyzer
2011-10-18 10:36:26,667 ERROR [jeeves.engine] - Raised exception while
starting appl handler. Skipped.
2011-10-18 10:36:26,667 ERROR [jeeves.engine] - Handler :
org.fao.geonet.Geonetwork
2011-10-18 10:36:26,667 ERROR [jeeves.engine] - Exception :
java.lang.NullPointerException
2011-10-18 10:36:26,667 ERROR [jeeves.engine] - Message : null
2011-10-18 10:36:26,667 ERROR [jeeves.engine] - Stack :
java.lang.NullPointerException
at
org.fao.geonet.kernel.setting.SettingInfo.getSelectedIndexLanguages(SettingInfo.java:178)
at
org.fao.geonet.kernel.search.SearchManager.findStopwords(SearchManager.java:187)
at
org.fao.geonet.kernel.search.SearchManager.createGeoNetworkAnalyzer(SearchManager.java:157)
at
org.fao.geonet.kernel.search.SearchManager.createAnalyzerFromLuceneConfig(SearchManager.java:277)
at
org.fao.geonet.kernel.search.SearchManager.createAnalyzer(SearchManager.java:301)
at
org.fao.geonet.kernel.search.SearchManager.<init>(SearchManager.java:345)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:323)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:525)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:161)
at
jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at
org.apache.catalina.core.StandardService.start(StandardService.java:525)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Oracle-connection-problems-tp6903348p6903348.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.