tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Elliott <belli...@eswc.com>
Subject Re: Can't find web.xml
Date Thu, 06 Dec 2001 13:16:58 GMT
Yes I did it things working. I think this fix was part of it - web-inf
was not all caps - WEB-INF.

thanks,

brian

Sriram Narayanan wrote:
> 
> Hi,
> 
> This is a blind shot, but have you checked that the WEB-INF name is in capital ?
> 
> And that the web.xml is a valid one ? TC 4 is stricter with this file.
> 
> Sriram
> 
> 30/11/2001 5:27:01 PM, Brian Elliott <elliott8@ix.netcom.com> wrote:
> 
> >Brian Elliott wrote:
> >>
> >> I am trying to install Tomcat 4 with a content management system called
> >> Stellent. Stellent runs Tomcat as a service. But I am getting an error
> >> when I try to request a JSP page:
> >>
> >> Can't find WEB-INF/web.xml
> >
> >Here is more of the actual error message:
> >
> >11-29 16:48:52 StandardHost[localhost]: Installing web application at
> >context path  from URL
> >file:D:\Stellent\tomcat4\webapps\ROOT
> >2001-11-29 16:48:52 WebappLoader[]: Deploying class repositories to work
> >directory
> >D:\Stellent\tomcat4\work\localhost\_
> >2001-11-29 16:48:52 StandardManager[]: Seeding random number generator
> >class
> >java.security.SecureRandom
> >2001-11-29 16:48:52 StandardManager[]: Seeding of random number
> >generator has been completed
> >2001-11-29 16:48:52 ContextConfig[]: Missing application web.xml, using
> >defaults only
> >2001-11-29 16:48:52 StandardWrapper[:default]: Loading container servlet
> >default
> >2001-11-29 16:48:52 default: init
> >2001-11-29 16:48:52 StandardWrapper[:invoker]: Loading container servlet
> >invoker
> >2001-11-29 16:48:52 invoker: init
> >2001-11-29 16:48:52 StandardWrapper[:jsp]: Using Jasper classloader for
> >servlet jsp
> >2001-11-29 16:48:52 jsp: init
> >2001-11-29 16:48:52 StandardWrapper[:ssi]: Loading container servlet ssi
> >2001-11-29 16:48:52 ssi: init
> >2001-11-29 16:48:52 Internal Error: File /WEB-INF/web.xml not found
> >2001-11-29 16:48:52
> >----------------------------
> >
> >As for the logger, here is what I try - the catalina log works but the
> >JASPER_LOG (which I hope contains the Tomcat CLASSPATH) gives me the
> >following error:
> >
> >server.xml:
> >
> ><!-- Global logger unless overridden at lower levels -->
> >      <Logger className="org.apache.catalina.logger.FileLogger"
> >              prefix="catalina_log." suffix=".txt"
> >              timestamp="true" verbosityLevel = "DEBUG"/>
> >
> >      <Logger name="JASPER_LOG" verbosityLevel="WARNING"
> >timestamp="yes"/>
> >------------------------
> >
> >error:
> >
> >ERROR reading d:\stellent\config\server.xml
> >At Line 17 /Server/Service/Engine/Logger/ name=JASPER_LOG
> >verbosityLevel=WARNING
> > timestamp=yes
> >
> >java.lang.NullPointerException
> >        at java.lang.Class.forName0(Native Method)
> >        at java.lang.Class.forName(Class.java:120)
> >        at
> >org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
> >        at
> >org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
> >
> >--------------------------
> >
> >Any help on the why of the /WEB-INF/web.xml error or the JASPER_LOG
> >error would be appreciated.
> >
> >Brian
> >
> >--
> >To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> >Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

-- 
Brian Elliott
President & CTO
Unplugged Systems
belliott@unpluggedsystems.com
http://www.unpluggedsystems.com
719.339.1204 (cell)
719.487.1437 (office)

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message