You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sriram Narayanan <sr...@yahoo.com> on 2001/12/01 15:09:28 UTC
Re: Can't find web.xml
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 <el...@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: <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>