9 Replies Latest reply on Jun 26, 2002 6:08 PM by Pierre Colot

    web.xml not found

    Sven Efftinge Newbie

      Hi,
      I'm using JBoss-3.0.0_Tomcat-4.0.2.tgz beta under Win2000 and JDK1.4.0.
      I've just written a bean.jar (with ejbs) and a test.war with some jsps using the struts-framework.
      My problem:
      If I deploy the test.war with the same tomcat in standalone-mode everything works.
      But if I deploy with JBoss I got the following:

      2002-04-05 13:55:58,665 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/C:/jboss-3.0.0beta/deploy/test.war
      2002-04-05 13:55:58,815 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] deploy, ctxPath=/test, warUrl=file:/C:/jboss-3.0.0beta/tmp/deploy/91.test.war
      2002-04-05 13:56:00,207 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] WebappLoader[/test]: Deploying class repositories to work directory C:\jboss-3.0.0beta\jakarta-tomcat-4.0.2\work\localhost\test
      2002-04-05 13:56:00,248 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] StandardManager[/test]: Seeding random number generator class java.security.SecureRandom
      2002-04-05 13:56:00,969 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] StandardManager[/test]: Seeding of random number generator has been completed
      2002-04-05 13:56:01,369 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] ContextConfig[/test]: Missing application web.xml, using defaults only
      2002-04-05 13:56:01,399 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] ContextConfig[/test]: Added certificates -> request attribute Valve
      2002-04-05 13:56:01,399 WARN [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] No /WEB-INF/web.xml descriptor found
      2002-04-05 13:56:01,409 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] StandardWrapper[/test:default]: Loading container servlet default
      2002-04-05 13:56:01,970 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] default: init
      2002-04-05 13:56:01,980 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] StandardWrapper[/test:invoker]: Loading container servlet invoker
      2002-04-05 13:56:02,010 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] invoker: init
      2002-04-05 13:56:02,050 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] jsp: init
      2002-04-05 13:56:02,300 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Internal Error: File /WEB-INF/web.xml not found

      Any Idea?