0 Replies Latest reply on Jan 6, 2006 2:33 PM by Supriya Shiyekar

    Problem with deploying .war file

    Supriya Shiyekar Newbie


      I am new to JBoss and trying to migrate existing web application which uses Tomacat 5.0 to JBoss 4.0.2. I have installed JBoss IDE 1.4.1. I am using Eclipse 3.0.
      I have created a new project (J2EE1.4 project) and built it. Created and ran packaging to build .war file.

      The structure of .war file is like this :-
      /bin (which has properies files)
      /lib (jar files used by the web application)

      However when I deploy this war file, I don't see any of these folders under \jboss-4.0.2\server\default\tmp\deploy\tmp43404ProfilerRx-exp.war dir. It has only two folders
      1. META-INF
      2. WEB-INF (which has classes , tag.tld and web.xml)

      And I get tons of messages on the STDOUT regarding missing properties file, class not found etc.

      Here is packaging-build.xml generated by JBoss IDE:

      <?xml version="1.0" encoding="UTF-8"?>
      <project name="Packaging Generator" default="_packaging_generation_">
      <target name="_packaging_generation_" depends="N65540"/>
      <target name="N65540" description="ProfilerRx.war">
      <jar destfile="ProfilerRx.war">
      <zipfileset dir="profiler/web/WEB-INF" prefix="WEB-INF">
      <include name="web.xml"/>
      <zipfileset dir="profiler/web/WEB-INF" prefix="WEB-INF">
      <include name="Tag.tld"/>
      <zipfileset dir="profiler/web/WEB-INF" prefix="WEB-INF">
      <include name="web-jsptaglib_1_1.dtd"/>
      <zipfileset dir="profiler/web/WEB-INF/classes" prefix="WEB-INF/classes" includes="**/*.class"/>
      <zipfileset dir="profiler/web/jsp" prefix="jsp" includes="**\*.*"/>
      <zipfileset dir="profiler/web/menu-images" prefix="menu-images" includes="**\*.*"/>
      <zipfileset dir="profiler/web/help" prefix="help" includes="**\*.*"/>
      <zipfileset dir="profiler/web/scripts" prefix="scripts" includes="**\*.*"/>
      <zipfileset dir="profiler/web/WEB-INF/lib" prefix="WEB-INF\lib" includes="**\*.*"/>
      <zipfileset dir="profiler/web/bin" prefix="bin" includes="**\*.*"/>
      <zipfileset dir="profiler/web/images" prefix="images" includes="**\*.*"/>
      <zipfileset dir="profiler/web/output" prefix="output"/>

      Am I missing something basic?
      Please help !