tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McGibbney, Lewis John" <Lewis.McGibb...@gcu.ac.uk>
Subject Tomcat failing to process JAR's within web app
Date Fri, 04 Mar 2011 20:13:07 GMT
Hi list,

I am using tomcat 7.0.6 to run my development web application. When looking in catalina.out
log I see the following

INFO: Starting service Catalina
04-Mar-2011 19:51:30 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.6
04-Mar-2011 19:51:30 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor wombra.xml from /home/lewis/Downloads/apache-tomcat-7.0.6/conf/Catalina/localhost
04-Mar-2011 19:51:31 org.apache.catalina.startup.TldConfig tldScanJar
WARNING: Failed to process JAR [jar:jndi:/localhost/wombra/WEB-INF/lib/slf4j-jdk14-1.5.5.jar!/null]
for TLD files
java.io.IOException: No such file or directory
...
04-Mar-2011 19:51:31 org.apache.catalina.startup.TldConfig tldScanJar
WARNING: Failed to process JAR [jar:jndi:/localhost/wombra/WEB-INF/lib/commons-io-1.4.jar!/null]
for TLD files
java.io.IOException: No such file or directory
...
etc
...
many more
...
for all of the jar files I have within myWebApp/WEB-INF/lib.

I have the exact same jar files in my webApp home dir as I do within the WAR file I put in
the $CATALINA_HOME/webapps directory. The file located within $CATALINA_HOME/conf/Catalina/localhost
reads as follows

<?xml version="1.0" encoding="utf-8"?>
<Context docBase="/home/lewis/Downloads/wombra/wombra.war" crossContext="true" >
  <Environment name="solr/home" type="java.lang.String" value="/home/lewis/Downloads/wombra"
override="true"/>
</Context>

Can anyone help me configure my web app... or tomcat correctly to resolve this.

Thank you very much Lewis

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and
Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the
Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
Mime
View raw message