Hi,
It seems that you have an error in you SWORD web.xml file. Go to the file
{webapps}/sword/WEB-INF/web.xml and check if the path to DSpace
configuration file is well set. From the log, it seems that there is a
${dspace.dir} directive which was not replaced accordingly during the maven
procedure.
Regards,
Kostas
From: Clive Gould [mailto:cli...@gmail.com]
Sent: Monday, August 05, 2013 12:14 PM
To: dspace-tech@lists.sourceforge.net Tech
Subject: [Dspace-tech] Help with Tomcat errors resulting from attempted
upgrade from 1.8.1 to 3.0
Hi everyone
I'm still having trouble with the upgrade from DSpace from 1.8.1 to 3.0 and
am starting to feel out of my depth.
There appears to be an issue picked up in the Tomcat log appended
Can anyone tell me what I've done wrong, or shall I just give up moving to
3.0 and stick with 1.8.1?
Thanks very much
Clive
INFO: SolrServlet.init() done
Aug 5, 2013 9:56:59 AM org.apache.solr.core.SolrResourceLoader
locateSolrHome
INFO: Using JNDI solr.home: /home/dspace/solr
Aug 5, 2013 9:56:59 AM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:7
0)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:161)
at java.net.URL.openStream(URL.java:1009)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:65
6)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextLi
stener.java:127)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Aug 5, 2013 9:56:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 5, 2013 9:56:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sword] startup failed due to previous errors
log4j:WARN No appenders could be found for logger
(org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:7
0)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:161)
at java.net.URL.openStream(URL.java:1009)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:65
6)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextLi
stener.java:127)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Loading catalog:
file:/home/dspace/apache-tomcat-6.0.18/work/Catalina/localhost/xmlui/cocoon_
xml_resolver_entities/catalog
Aug 5, 2013 9:57:07 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 5, 2013 9:57:07 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/xmlui] startup failed due to previous errors
- Loading provided config file: ${dspace.dir}/config/dspace.cfg
- Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:7
0)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:161)
at java.net.URL.openStream(URL.java:1009)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:65
6)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextLi
stener.java:127)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Aug 5, 2013 9:57:08 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 5, 2013 9:57:08 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/lni] startup failed due to previous errors
Aug 5, 2013 9:57:08 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
Aug 5, 2013 9:57:08 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
Aug 5, 2013 9:57:08 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/34 config=null
Aug 5, 2013 9:57:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 22681 ms
[OAI 2.0] Initialized
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette