Hello.
Could someone give me a hand with the error in the logs below?
I'm trying to get geonetwork up and running on my OS X Server machine (Java 1.5_07)
I downloaded and ran geonetwork-2.1.0-beta2-install.jar, then did the following:
Created a PostgreSQL database, user, and password for geonetwork and granted ALL to the user on that DB.
Added <Context path="/geonetwork" docBase="/usr/local/geonetwork/web" crossContext="false" debug="0" reloadable="false" /> to my tomcat 6.0.10 server.xml
Ran gast.jar and configured the DB connection.
Attempted to setup the DB via gast.jar but received errors (one really long one which I can't recall, one related to content exceeding the varchar(64) defined for the column, and another claiming that the expression wanted a var but operationId was an int)
Replaced varchar(64) with varchar in create-db-postgres.sql and ran it by hand in psql. No problems.
Restarted tomcat and got the following:
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
2007-07-04 15:31:10,821 INFO [jeeves.engine] - === Starting system ========================================
2007-07-04 15:31:10,822 INFO [jeeves.engine] - Java version : 1.5.0_07-87
2007-07-04 15:31:10,822 INFO [jeeves.engine] - Java vendor : "Apple Computer, Inc."
2007-07-04 15:31:10,844 INFO [jeeves.engine] - XSLT factory : org.apache.xalan.transformer.TransformerIdentityImpl
2007-07-04 15:31:10,844 INFO [jeeves.engine] - Path : /usr/local/geonetwork/web/
2007-07-04 15:31:10,844 INFO [jeeves.engine] - BaseURL : geonetwork
2007-07-04 15:31:10,844 INFO [jeeves.engine] - Loading : /usr/local/geonetwork/web/WEB-INF/config.xml
2007-07-04 15:31:10,912 INFO [jeeves.engine] - Initializing general configuration...
2007-07-04 15:31:10,914 INFO [jeeves.engine] - Initializing defaults...
2007-07-04 15:31:10,914 INFO [jeeves.engine] - Default local is :true
2007-07-04 15:31:10,921 INFO [jeeves.engine] - Initializing resources...
2007-07-04 15:31:10,921 INFO [jeeves.engine] - Adding resource : main-db
2007-07-04 15:31:11,035 INFO [jeeves.engine] - Initializing services...
2007-07-04 15:31:11,036 INFO [jeeves.engine] - Adding service : main.home
2007-07-04 15:31:11,044 INFO [jeeves.engine] - Adding service : main.search
2007-07-04 15:31:11,045 INFO [jeeves.engine] - Adding service : main.present
2007-07-04 15:31:11,045 INFO [jeeves.engine] - Adding service : remote.show
2007-07-04 15:31:11,047 INFO [jeeves.engine] - Adding service : feedback
2007-07-04 15:31:11,047 INFO [jeeves.engine] - Adding service : links
2007-07-04 15:31:11,047 INFO [jeeves.engine] - Adding service : about
2007-07-04 15:31:11,047 INFO [jeeves.engine] - Adding service : feedback.insert
2007-07-04 15:31:11,048 INFO [jeeves.engine] - Adding service : util.ping
2007-07-04 15:31:11,048 INFO [jeeves.engine] - Adding service : util.import
2007-07-04 15:31:11,050 INFO [jeeves.engine] - Adding service : user.list
2007-07-04 15:31:11,051 INFO [jeeves.engine] - Adding service : user.get
2007-07-04 15:31:11,052 INFO [jeeves.engine] - Adding service : user.update
2007-07-04 15:31:11,053 INFO [jeeves.engine] - Adding service : user.remove
2007-07-04 15:31:11,054 INFO [jeeves.engine] - Adding service : user.pwedit
2007-07-04 15:31:11,054 INFO [jeeves.engine] - Adding service : user.pwupdate
2007-07-04 15:31:11,055 INFO [jeeves.engine] - Adding service : user.infoedit
2007-07-04 15:31:11,055 INFO [jeeves.engine] - Adding service : user.infoupdate
2007-07-04 15:31:11,056 INFO [jeeves.engine] - Adding service : group.list
2007-07-04 15:31:11,057 INFO [jeeves.engine] - Adding service : group.get
2007-07-04 15:31:11,057 INFO [jeeves.engine] - Adding service : group.update
2007-07-04 15:31:11,058 INFO [jeeves.engine] - Adding service : group.remove
2007-07-04 15:31:11,059 INFO [jeeves.engine] - Adding service : xml.group.update
2007-07-04 15:31:11,059 INFO [jeeves.engine] - Adding service : category.list
2007-07-04 15:31:11,059 INFO [jeeves.engine] - Adding service : category.get
2007-07-04 15:31:11,060 INFO [jeeves.engine] - Adding service : category.update
2007-07-04 15:31:11,061 INFO [jeeves.engine] - Adding service : category.remove
2007-07-04 15:31:11,061 INFO [jeeves.engine] - Adding service : xml.category.update
2007-07-04 15:31:11,062 INFO [jeeves.engine] - Adding service : user.login
2007-07-04 15:31:11,063 INFO [jeeves.engine] - Adding service : user.logout
2007-07-04 15:31:11,064 INFO [jeeves.engine] - Adding service : admin
2007-07-04 15:31:11,064 INFO [jeeves.engine] - Adding service : config
2007-07-04 15:31:11,064 INFO [jeeves.engine] - Adding service : xml.config.get
2007-07-04 15:31:11,065 INFO [jeeves.engine] - Adding service : xml.config.set
2007-07-04 15:31:11,067 INFO [jeeves.engine] - Adding service : localization
2007-07-04 15:31:11,068 INFO [jeeves.engine] - Adding service : xml.operation.update
2007-07-04 15:31:11,069 INFO [jeeves.engine] - Adding service : xml.region.update
2007-07-04 15:31:11,069 INFO [jeeves.engine] - Adding service : help
2007-07-04 15:31:11,069 INFO [jeeves.engine] - Adding service : help.metadata
2007-07-04 15:31:11,070 INFO [jeeves.engine] - Adding service : file.disclaimer
2007-07-04 15:31:11,070 INFO [jeeves.engine] - Adding service : file.download
2007-07-04 15:31:11,070 INFO [jeeves.engine] - Adding service : graphover.show
2007-07-04 15:31:11,070 INFO [jeeves.engine] - Adding service : resources.get
2007-07-04 15:31:11,072 INFO [jeeves.engine] - Adding service : resources.upload
2007-07-04 15:31:11,074 INFO [jeeves.engine] - Adding service : resources.del
2007-07-04 15:31:11,075 INFO [jeeves.engine] - Adding service : xml.user.login
2007-07-04 15:31:11,075 INFO [jeeves.engine] - Adding service : xml.user.logout
2007-07-04 15:31:11,075 INFO [jeeves.engine] - Adding service : xml.search
2007-07-04 15:31:11,076 INFO [jeeves.engine] - Adding service : xml.metadata.get
2007-07-04 15:31:11,077 INFO [jeeves.engine] - Adding service : xml.info
2007-07-04 15:31:11,078 INFO [jeeves.engine] - Adding service : xml.forward
2007-07-04 15:31:11,079 INFO [jeeves.engine] - Adding service : xml.user.list
2007-07-04 15:31:11,079 INFO [jeeves.engine] - Adding service : xml.group.list
2007-07-04 15:31:11,079 INFO [jeeves.engine] - Adding service : xml.metadata.insert
2007-07-04 15:31:11,080 INFO [jeeves.engine] - Adding service : xml.metadata.delete
2007-07-04 15:31:11,082 INFO [jeeves.engine] - Adding service : csw
2007-07-04 15:31:11,082 INFO [jeeves.engine] - Adding service : rss.latest
2007-07-04 15:31:11,083 INFO [jeeves.engine] - Adding service : rss.search
2007-07-04 15:31:11,083 INFO [jeeves.engine] - Adding service : rss.present
2007-07-04 15:31:11,084 INFO [jeeves.engine] - Adding service : mef.import
2007-07-04 15:31:11,085 INFO [jeeves.engine] - Adding service : mef.export
2007-07-04 15:31:11,086 INFO [jeeves.engine] - Adding service : keywords.getselected
2007-07-04 15:31:11,087 INFO [jeeves.engine] - Adding service : keywords.sort
2007-07-04 15:31:11,087 INFO [jeeves.engine] - Adding service : keywords.select
2007-07-04 15:31:11,088 INFO [jeeves.engine] - Adding service : keywords.search
2007-07-04 15:31:11,089 INFO [jeeves.engine] - Adding service : xml.search.keywords
2007-07-04 15:31:11,089 INFO [jeeves.engine] - Adding service : xml.search.keywordlink
2007-07-04 15:31:11,090 INFO [jeeves.engine] - Adding service : keywords.editsearch
2007-07-04 15:31:11,092 INFO [jeeves.engine] - Adding service : thesaurus.admin
2007-07-04 15:31:11,093 INFO [jeeves.engine] - Adding service : thesaurus.upload
2007-07-04 15:31:11,094 INFO [jeeves.engine] - Adding service : thesaurus.download
2007-07-04 15:31:11,095 INFO [jeeves.engine] - Adding service : thesaurus.delete
2007-07-04 15:31:11,096 INFO [jeeves.engine] - Adding service : thesaurus.view
2007-07-04 15:31:11,096 INFO [jeeves.engine] - Adding service : thesaurus.add
2007-07-04 15:31:11,096 INFO [jeeves.engine] - Adding service : thesaurus.edit
2007-07-04 15:31:11,097 INFO [jeeves.engine] - Adding service : thesaurus.update
2007-07-04 15:31:11,097 INFO [jeeves.engine] - Adding service : thesaurus.editelement
2007-07-04 15:31:11,100 INFO [jeeves.engine] - Adding service : thesaurus.addelement
2007-07-04 15:31:11,101 INFO [jeeves.engine] - Adding service : thesaurus.updateelement
2007-07-04 15:31:11,102 INFO [jeeves.engine] - Adding service : thesaurus.deleteelement
2007-07-04 15:31:11,103 INFO [jeeves.engine] - Initializing schedules...
2007-07-04 15:31:11,103 INFO [jeeves.engine] - Loading : /usr/local/geonetwork/web/WEB-INF/config-metadata.xml
2007-07-04 15:31:11,111 INFO [jeeves.engine] - Initializing services...
2007-07-04 15:31:11,111 INFO [jeeves.engine] - Adding service : metadata.insert
2007-07-04 15:31:11,111 INFO [jeeves.engine] - Adding service : metadata.show
2007-07-04 15:31:11,112 INFO [jeeves.engine] - Adding service : metadata.edit
2007-07-04 15:31:11,114 INFO [jeeves.engine] - Adding service : metadata.elem.add
2007-07-04 15:31:11,114 INFO [jeeves.engine] - Adding service : metadata.elem.delete
2007-07-04 15:31:11,115 INFO [jeeves.engine] - Adding service : metadata.update
2007-07-04 15:31:11,115 INFO [jeeves.engine] - Adding service : metadata.update.finish
2007-07-04 15:31:11,115 INFO [jeeves.engine] - Adding service : metadata.update.validate
2007-07-04 15:31:11,116 INFO [jeeves.engine] - Adding service : metadata.elem.down
2007-07-04 15:31:11,116 INFO [jeeves.engine] - Adding service : metadata.elem.up
2007-07-04 15:31:11,116 INFO [jeeves.engine] - Adding service : metadata.attr.add
2007-07-04 15:31:11,117 INFO [jeeves.engine] - Adding service : metadata.attr.delete
2007-07-04 15:31:11,118 INFO [jeeves.engine] - Adding service : metadata.delete
2007-07-04 15:31:11,118 INFO [jeeves.engine] - Adding service : metadata.create.form
2007-07-04 15:31:11,119 INFO [jeeves.engine] - Adding service : metadata.duplicate.form
2007-07-04 15:31:11,119 INFO [jeeves.engine] - Adding service : metadata.create
2007-07-04 15:31:11,120 INFO [jeeves.engine] - Adding service : metadata.admin.form
2007-07-04 15:31:11,121 INFO [jeeves.engine] - Adding service : metadata.admin
2007-07-04 15:31:11,122 INFO [jeeves.engine] - Adding service : metadata.category.form
2007-07-04 15:31:11,122 INFO [jeeves.engine] - Adding service : metadata.category
2007-07-04 15:31:11,123 INFO [jeeves.engine] - Adding service : metadata.xmlinsert.form
2007-07-04 15:31:11,124 INFO [jeeves.engine] - Adding service : metadata.batchimport.form
2007-07-04 15:31:11,124 INFO [jeeves.engine] - Adding service : metadata.searchunused.form
2007-07-04 15:31:11,124 INFO [jeeves.engine] - Adding service : metadata.searchunused
2007-07-04 15:31:11,125 INFO [jeeves.engine] - Adding service : metadata.thumbnail.form
2007-07-04 15:31:11,126 INFO [jeeves.engine] - Adding service : metadata.thumbnail.set
2007-07-04 15:31:11,127 INFO [jeeves.engine] - Adding service : metadata.thumbnail.unset
2007-07-04 15:31:11,128 INFO [jeeves.engine] - Loading : /usr/local/geonetwork/web/WEB-INF/config-harvesting.xml
2007-07-04 15:31:11,131 INFO [jeeves.engine] - Initializing services...
2007-07-04 15:31:11,131 INFO [jeeves.engine] - Adding service : harvesting
2007-07-04 15:31:11,131 INFO [jeeves.engine] - Adding service : xml.harvesting.get
2007-07-04 15:31:11,131 INFO [jeeves.engine] - Adding service : xml.harvesting.add
2007-07-04 15:31:11,132 INFO [jeeves.engine] - Adding service : xml.harvesting.update
2007-07-04 15:31:11,133 INFO [jeeves.engine] - Adding service : xml.harvesting.remove
2007-07-04 15:31:11,134 INFO [jeeves.engine] - Adding service : xml.harvesting.start
2007-07-04 15:31:11,135 INFO [jeeves.engine] - Adding service : xml.harvesting.stop
2007-07-04 15:31:11,135 INFO [jeeves.engine] - Adding service : xml.harvesting.run
2007-07-04 15:31:11,136 INFO [jeeves.engine] - Loading : /usr/local/geonetwork/web/WEB-INF/config-portal.xml
2007-07-04 15:31:11,140 INFO [jeeves.engine] - Initializing services...
2007-07-04 15:31:11,140 INFO [jeeves.engine] - Adding service : portal.search
2007-07-04 15:31:11,140 INFO [jeeves.engine] - Adding service : portal.search.keywords
2007-07-04 15:31:11,140 INFO [jeeves.engine] - Adding service : portal.present
2007-07-04 15:31:11,140 INFO [jeeves.engine] - Adding service : portal.search.present
2007-07-04 15:31:11,140 INFO [jeeves.engine] - Adding service : portal.full
2007-07-04 15:31:11,141 INFO [jeeves.engine] - Adding service : portal.latest.updated
2007-07-04 15:31:11,141 INFO [jeeves.engine] - Adding service : portal.featured
2007-07-04 15:31:11,141 INFO [jeeves.engine] - Adding service : portal.categories
2007-07-04 15:31:11,141 INFO [jeeves.engine] - Loading : /usr/local/geonetwork/web/WEB-INF/config-export.xml
2007-07-04 15:31:11,144 INFO [jeeves.engine] - Initializing services...
2007-07-04 15:31:11,144 INFO [jeeves.engine] - Adding service : dc.xml
2007-07-04 15:31:11,144 INFO [jeeves.engine] - Adding service : fgdc.xml
2007-07-04 15:31:11,145 INFO [jeeves.engine] - Adding service : iso19115to19139.xml
2007-07-04 15:31:11,145 INFO [jeeves.engine] - Adding service : iso19139.xml
2007-07-04 15:31:11,145 INFO [jeeves.engine] - Adding service : iso_arccatalog8.xml
2007-07-04 15:31:11,145 INFO [jeeves.engine] - Initializing profiles...
2007-07-04 15:31:11,154 INFO [jeeves.engine] - Found handler : org.fao.geonet.Geonetwork
2007-07-04 15:31:11,158 INFO [jeeves.engine] - --- Starting handler --------------------------------------
2007-07-04 15:31:11,158 INFO [jeeves.apphand] - Initializing geonetwork...
2007-07-04 15:31:11,158 INFO [jeeves.apphand] - - Setting manager...
2007-07-04 15:31:11,180 INFO [jeeves.apphand] - - Thesaurus...
2007-07-04 15:31:11,197 DEBUG [geonetwork.thesaurus-man] - Adding thesaurus : external.place.regions
2007-07-04 15:31:11,619 INFO [jeeves.apphand] - - Search...
837 [main] INFO util.ThreadPool - New thread pool (Current_count=0) of 1 threads
2007-07-04 15:31:11,661 INFO [jeeves.apphand] - - Access manager...
840 [main] INFO jeeves.apphand - - Access manager...
2007-07-04 15:31:11,664 INFO [jeeves.apphand] - - Data manager...
843 [main] INFO jeeves.apphand - - Data manager...
2007-07-04 15:31:11,673 INFO [jeeves.apphand] - Adding xml schema : dublin-core
852 [main] INFO jeeves.apphand - Adding xml schema : dublin-core
2007-07-04 15:31:11,760 INFO [jeeves.apphand] - Adding xml schema : fgdc-std
939 [main] INFO jeeves.apphand - Adding xml schema : fgdc-std
2007-07-04 15:31:11,844 INFO [jeeves.apphand] - Adding xml schema : iso19115
1023 [main] INFO jeeves.apphand - Adding xml schema : iso19115
2007-07-04 15:31:11,911 INFO [jeeves.apphand] - Adding xml schema : iso19139
1090 [main] INFO jeeves.apphand - Adding xml schema : iso19139
2007-07-04 15:31:12,113 INFO [jeeves.apphand] - - Z39.50...
1292 [main] INFO jeeves.apphand - - Z39.50...
2007-07-04 15:31:12,113 INFO [jeeves.apphand] - disabled
1292 [main] INFO jeeves.apphand - disabled
2007-07-04 15:31:12,113 INFO [jeeves.apphand] - - Harvest manager...
1292 [main] INFO jeeves.apphand - - Harvest manager...
2007-07-04 15:31:12,131 ERROR [jeeves.engine] - Raised exception while starting appl handler. Skipped.
1310 [main] ERROR jeeves.engine - Raised exception while starting appl handler. Skipped.
2007-07-04 15:31:12,131 ERROR [jeeves.engine] - Handler : org.fao.geonet.Geonetwork
1310 [main] ERROR jeeves.engine - Handler : org.fao.geonet.Geonetwork
2007-07-04 15:31:12,131 ERROR [jeeves.engine] - Exception : java.lang.NullPointerException
1310 [main] ERROR jeeves.engine - Exception : java.lang.NullPointerException
2007-07-04 15:31:12,132 ERROR [jeeves.engine] - Message : null
1311 [main] ERROR jeeves.engine - Message : null
2007-07-04 15:31:12,132 ERROR [jeeves.engine] - Stack : java.lang.NullPointerException
at jeeves.utils.Xml.transform(Xml.java:135)
at jeeves.utils.Xml.transform(Xml.java:118)
at org.fao.geonet.kernel.harvest.HarvestManager.<init>(HarvestManager.java:64)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:175)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:409)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:140)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
1311 [main] ERROR jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.utils.Xml.transform(Xml.java:135)
at jeeves.utils.Xml.transform(Xml.java:118)
at org.fao.geonet.kernel.harvest.HarvestManager.<init>(HarvestManager.java:64)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:175)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:409)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:140)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2007-07-04 15:31:12,134 INFO [jeeves.engine] - Starting schedule manager...
1313 [main] INFO jeeves.engine - Starting schedule manager...
2007-07-04 15:31:12,134 INFO [jeeves.engine] - Memory used is : 37766 Kb
1313 [main] INFO jeeves.engine - Memory used is : 37766 Kb
2007-07-04 15:31:12,135 INFO [jeeves.engine] - Total memory is : 1546688 Kb
1314 [main] INFO jeeves.engine - Total memory is : 1546688 Kb
2007-07-04 15:31:12,135 INFO [jeeves.engine] - Startup time is : 1 (secs)
1314 [main] INFO jeeves.engine - Startup time is : 1 (secs)
2007-07-04 15:31:12,135 INFO [jeeves.engine] - === System working =========================================
1314 [main] INFO jeeves.engine - === System working =========================================
--
Amos Hayes
Geomatics and Cartographic Research Centre
Carleton University
ahayes@anonymised.com
+1.613.520.2600x8179