Hello list,
I compiled the SVN trunk with the provided ant build file, decompressed the
mckoi db and tried to point my tomcat to &project_home/web with the
following xml file in $tomcat_home/conf/Catalina/localhost:
<Context
path="/geonetwork"
docBase="/local/geonetwork-2.1-alpha2/web/"
crossContext="false"
debug="0"
reloadable="false">
</Context>
When starting tomcat I got the following exception:
INFO: Processing Context configuration file URL file:/local/jakarta-
tomcat-5.0.28/conf/Catalina/localhost/geonetwork.xml
2007-01-12 09:26:04,130 INFO [jeeves.engine] - === Starting system
2007-01-12 09:26:04,130 INFO [jeeves.engine] - Java version : 1.5.0_06-b05
2007-01-12 09:26:04,130 INFO [jeeves.engine] - Java vendor : Sun
Microsystems Inc.2007-01-12 09:26:04,203 INFO [jeeves.engine] - XSLT
factory : org.apache.xalan.transformer.TransformerIdentityImpl
2007-01-12 09:26:04,203 INFO [jeeves.engine] - Path : /local/geonetwork-
2.1-alpha2/web/
2007-01-12 09:26:04,203 INFO [jeeves.engine] - BaseURL : null
2007-01-12 09:26:04,203 FATAL [jeeves.engine] - Raised exception during init
2007-01-12 09:26:04,203 FATAL [jeeves.engine] - Exception :
java.lang.NullPointerException
2007-01-12 09:26:04,203 FATAL [jeeves.engine] - Message : null
2007-01-12 09:26:04,209 FATAL [jeeves.engine] - Stack :
java.lang.NullPointerException
at jeeves.server.dispatchers.ServiceManager.setBaseUrl(
ServiceManager.java:101)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:124)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java
:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.load(
StandardWrapper.java:862)
at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:4013)
at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4357) at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java
:823)
at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
:595)
at org.apache.catalina.core.StandardHostDeployer.addChild(
StandardHostDeployer.java:903)
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.commons.beanutils.MethodUtils.invokeMethod(
MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java
:1058)
at org.apache.catalina.util.CatalinaDigester.endElement(
CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at org.apache.catalina.core.StandardHostDeployer.install(
StandardHostDeployer.java:488)
at org.apache.catalina.core.StandardHost.install(StandardHost.java
:863)
at org.apache.catalina.startup.HostConfig.deployDescriptors(
HostConfig.java:483)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:427)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java
:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
:478)
at org.apache.catalina.core.StandardService.start(
StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java
:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Does anyone know how to fix this?
Thanks in advance,
Torsten