3 Replies Latest reply on Jul 12, 2002 8:09 AM by stigi

    so far so good

    stigi

      i sucesfully replaced the tomcat in the jboss+tomcat release with my installed tomcat from my debian packages.
      everything seems to work fine. there are no errors when jboss starts up.
      i created a test app.
      it looks like this
      ./test/index.html
      ./test/test.jsp

      i went into the test dir and made "jar -cfv test.war ."
      like described in "the proper way to deploy a web app(war)".
      i copied the test.war into the $JBOSS_HOME\server\default\deploy dir, and jboss said:
      01:18:26,675 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss/server/default/deploy/test.war
      01:18:26,706 INFO [MainDeployer] Successfully completed deployment of package: file:/usr/local/jboss/server/default/deploy/test.war

      looks good so far....
      but when i try to access http://localhost:8080/test/ tomcat tells me, there is no context configured to process this request...

      any suggestions?

      thanks

        • 1. Re: so far so good

          You need a web.xml in a WEB-INF subdirectory to
          tell jboss/tomcat how to deploy it into the webcontainer.
          Without that file, it probably thinks it is class archive.

          ./test/WEB-INF/web.xml
          ./test/index.html
          ./test/test.jsp

          Regards,
          Adrian

          • 2. Re: so far so good
            stigi

            ah thanks that could it be!
            can the web.xml be empty?
            well... i'll take the sample web.xml from tomcat....

            thanks

            • 3. Re: so far so good
              stigi

              great it works!

              thanks.

              now i can start testing/developing with ejb. fine!
              it' wont take long till i get back with a bunch of new problems... ;)

              bye