tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radim Kubacki <radim.kuba...@sun.com>
Subject Deploying WAR with explicit context declaration in server.xml
Date Fri, 01 Mar 2002 14:29:22 GMT
Hi all,

I have a problem that seems to be almost the same as

Automatic deployment of war files does not work properly
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4829

I try to deploy war file containing my application. This requires 
specifying of context in server.xml because I need to configure JDBC 
access through JNDI. Everything works for me when an application is 
expanded on disk but it fails when I want to use WAR file. I am not 
interested in fact whether it is expended or not. The problem is that 
Tomcat doesn't initialize the application properly. As the log shows the 
web.xml is not found and it means that it can't run correctly.

Either I don't understand Remy's suggestion how to make Tomcat unpacking 
it or this feature doesn't work. Remy: can you explain it better why it 
is not a bug?

-Radim

2002-03-01 15:16:04 WebappLoader[/bookstore]: Deploying class 
repositories to work directory 
/opt/jakarta/jakarta-tomcat-4.0.2/work/localhost/bookstore
2002-03-01 15:16:04 StandardManager[/bookstore]: Seeding random number 
generator class java.security.SecureRandom
2002-03-01 15:16:04 StandardManager[/bookstore]: Seeding of random 
number generator has been completed
2002-03-01 15:16:04 ContextConfig[/bookstore]: Missing application 
web.xml, using defaults only
2002-03-01 15:16:04 StandardWrapper[/bookstore:default]: Loading 
container servlet default
2002-03-01 15:16:04 default: init
2002-03-01 15:16:04 StandardWrapper[/bookstore:invoker]: Loading 
container servlet invoker
2002-03-01 15:16:04 invoker: init
2002-03-01 15:16:04 jsp: init
2002-03-01 15:16:04 Internal Error: File /WEB-INF/web.xml not found


--
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