4 Replies Latest reply on Apr 3, 2002 5:16 AM by integ

    JBoss3.0-Tomcat4.0-MAPPING configuration error for request U

    integ

      I tried the JBOSS2.4 solution to this problem as gathered from a previous thread given below, but it doesnt work for 3.0. Can someone tell me how to achieve this for JBOSS3.0-Tomcat4.0.

      #####
      1) Create a directory called ".war"
      2) Add a file called index.html
      3) Add a sub-directory called WEB-INF
      4) In WEB-INF create a web.xml with the following content

      <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"><web-app></web-app>

      5) Copy the directory to jboss/deploy
      6) Use http://localhost:8080/

      To avoid the .war rubbish, use a ROOT.ear and set
      the context in application.xml (not explained here)

      Regards,
      Adrian
      #####

        • 1. Re: JBoss3.0-Tomcat4.0-MAPPING configuration error for reque

          Unpacked deployment doesn't work in the beta, yet...

          To get a root context you will have to create
          a ROOT.war archive.

          If you want to know when this has been completed,
          raise it as a bug on sourceforge.

          Regards,
          Adrian

          • 2. Re: JBoss3.0-Tomcat4.0-MAPPING configuration error for reque
            jasonlee9

            Hmm, so, this should probably not work then, no?

            creating a exploded ear in deploy like so:

            (this prob wont format right,but, imagine it's all under a dir called test.ear..)

            deploy/test.ear/
            --------------->/META-INF
            ------------------------->/application.xml
            --------------->/test.jar
            --------------->/test.war -> (symlink) /.../tomcat/webapp/test

            So, if i wanted it to work, I'd just have to ear up all my stuff accordingly?

            I guess to further my question, is it really worth developing a project on 3.0 if i want tomcat/jboss in same vm. of course, even after i read the docs, i still used and config'd 3.0.. :-\

            i guess i was just faced with pretty much getting everything (except this) to work in 3.0 environment, so if i switched back to 2.4.4, i'd have to re-config pretty much everything.

            suggestions?

            • 3. Jboss3.0-Tomcat4.0-MAPPING configuration error for request U

              How can i start using my jboss3.0beta server with tomcat?... http://localhost:8080 is not working at present and gives me above error in the console.

              Any help is highly appreciated...I am new to jboss...

              Ram

              • 4. Re: Jboss3.0-Tomcat4.0-MAPPING configuration error for reque
                integ

                If u r packaging the stuff in a war file, then rename the war file to ROOT.war or .war and it shud work.