1 Reply Latest reply on Apr 10, 2005 5:14 AM by Darran Lofthouse

    cant deploy a jsf app

    yan zhihong Newbie

      12:25:31,437 INFO [Server] JBoss (MX MicroKernel) [4.0.1RC1 (build: CVSTag=JBoss_4_0_1_RC1 date=200412222100)] Started in 29s:610ms
      12:26:56,765 INFO [TomcatDeployer] deploy, ctxPath=/my, warUrl=file:/D:/jboss-4.0.1RC1/server/default/tmp/deploy/tmp46423my-exp.war/
      12:26:56,968 INFO [ContextConfig] Missing application web.xml, using defaults only StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/my]


      my.war :

      0 Sun Apr 10 12:26:46 CST 2005 META-INF/
      106 Sun Apr 10 12:26:44 CST 2005 META-INF/MANIFEST.MF
      74 Sun Apr 10 12:19:04 CST 2005 index.jsp
      90 Sun Apr 10 12:19:04 CST 2005 test.jsp
      585 Sun Apr 10 12:19:04 CST 2005 welcome.jsp
      234 Sun Apr 10 12:19:04 CST 2005 footer.jsp
      223 Sun Apr 10 12:19:04 CST 2005 footer.jsp.bak
      7957 Sun Apr 10 12:19:04 CST 2005 header.jsp
      7907 Sun Apr 10 12:19:04 CST 2005 header.jsp.bak
      674 Sun Apr 10 12:19:04 CST 2005 tiles.css
      10689 Sun Apr 10 12:19:04 CST 2005 logo.jpg
      21300 Sun Apr 10 12:19:04 CST 2005 menu.js
      968 Sun Apr 10 12:19:04 CST 2005 template.jsp
      953 Sun Apr 10 12:19:04 CST 2005 template.jsp.bak
      0 Sun Apr 10 12:19:04 CST 2005 lib/
      118726 Sun Apr 10 12:19:04 CST 2005 lib/commons-beanutils-1.6.1.jar
      29029 Sun Apr 10 12:19:04 CST 2005 lib/commons-codec-1.2.jar
      518641 Sun Apr 10 12:19:04 CST 2005 lib/commons-collections-3.0.jar
      109096 Sun Apr 10 12:19:04 CST 2005 lib/commons-digester-1.5.jar
      31605 Sun Apr 10 12:19:04 CST 2005 lib/commons-logging.jar
      16923 Sun Apr 10 12:19:04 CST 2005 lib/jstl.jar
      1250076 Sun Apr 10 12:19:04 CST 2005 lib/myfaces.jar
      516977 Sun Apr 10 12:19:04 CST 2005 lib/struts.jar
      953 Sun Apr 10 12:19:04 CST 2005 myfaces.xml
      7842 Sun Apr 10 12:19:04 CST 2005 struts-tiles.tld
      12399 Sun Apr 10 12:19:04 CST 2005 tiles-config_1_1.dtd
      2130 Sun Apr 10 12:19:04 CST 2005 tiles.xml
      3496 Sun Apr 10 12:19:04 CST 2005 web.xml

      and this my.war can be deployed on tomcat5 successfully,need a jboss-web.xml? i dont knwo how to.

        • 1. Re: cant deploy a jsf app
          Darran Lofthouse Master

          How did you produce this listing of the files?

          If you look at the line: -

          106 Sun Apr 10 12:26:44 CST 2005 META-INF/MANIFEST.MF


          It shows the directory / folder that containes the MANIFEST.MF

          At the bottom the block: -

           0 Sun Apr 10 12:19:04 CST 2005 lib/
          118726 Sun Apr 10 12:19:04 CST 2005 lib/commons-beanutils-1.6.1.jar
          29029 Sun Apr 10 12:19:04 CST 2005 lib/commons-codec-1.2.jar
          518641 Sun Apr 10 12:19:04 CST 2005 lib/commons-collections-3.0.jar
          109096 Sun Apr 10 12:19:04 CST 2005 lib/commons-digester-1.5.jar
          31605 Sun Apr 10 12:19:04 CST 2005 lib/commons-logging.jar
          16923 Sun Apr 10 12:19:04 CST 2005 lib/jstl.jar
          1250076 Sun Apr 10 12:19:04 CST 2005 lib/myfaces.jar
          516977 Sun Apr 10 12:19:04 CST 2005 lib/struts.jar
          953 Sun Apr 10 12:19:04 CST 2005 myfaces.xml
          7842 Sun Apr 10 12:19:04 CST 2005 struts-tiles.tld
          12399 Sun Apr 10 12:19:04 CST 2005 tiles-config_1_1.dtd
          2130 Sun Apr 10 12:19:04 CST 2005 tiles.xml
          3496 Sun Apr 10 12:19:04 CST 2005 web.xml


          Doesn't say that it is in a directory / folder called 'WEB-INF', can you confirm is this is the case?