You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/09/22 01:54:26 UTC
DO NOT REPLY [Bug 3774] New: -
Error loading web.xml on root context when specified in server.xml file on Windows
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3774>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3774
Error loading web.xml on root context when specified in server.xml file on Windows
Summary: Error loading web.xml on root context when specified in
server.xml file on Windows
Product: Tomcat 4
Version: 4.0 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: shuber@xo3.com
I did the following....
1. uncommented the root context line in server.xml to look like this :
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
2. when I start Tomcat I get the following log entry in localhost_log :
2001-09-22 01:47:16 WebappLoader[]: Deploying class repositories to work
directory C:\jbuilder5\jakarta-tomcat-4.0\work\localhost\_
2001-09-22 01:47:16 StandardManager[]: Seeding random number generator class
java.security.SecureRandom
2001-09-22 01:47:16 StandardManager[]: Seeding of random number generator has
been completed
2001-09-22 01:47:17 ContextConfig[]: Missing application web.xml, using
defaults only
2001-09-22 01:47:17 ContextConfig[]: Added certificates -> request attribute
Valve
2001-09-22 01:47:17 StandardWrapper[:default]: Loading container servlet default
2001-09-22 01:47:17 default: init
2001-09-22 01:47:17 StandardWrapper[:invoker]: Loading container servlet invoker
2001-09-22 01:47:17 invoker: init
2001-09-22 01:47:17 StandardWrapper[:jsp]: Using Jasper classloader for servlet
jsp
2001-09-22 01:47:17 jsp: init
2001-09-22 01:47:17 Internal Error: File /WEB-INF/web.xml not found
Note that this problem seems to be specific to Windows, I don't have the
problem on Linux... The filesystem in Windows 2000 is NTFS.