1 2 3 Previous Next 34 Replies Latest reply on May 30, 2003 2:02 AM by droolinggeezer Go to original post
      • 30. Re: The proper way to deploy a web app (war)
        sysuser1

        Does this still hold true for jBoss 3.2.1?
        I've followed all the steps and still I get a 404 and the RootNotFoundHandler is registered in consequence that serves a page that shows all registered contexts.

        I've got a feeling that this could be related to the fact that http-invoker delegates to jboss-web and as a result it is not jboss-web who determines what is mapped to '/'

        So then the question would be: how do I register this webapplication with http-invoker to be mapped to root?

        groetjes,
        Joost

        • 31. Re: The proper way to deploy a web app (war)
          sysuser1

          (the above post was a reply to the explanation of mapping a webapp to '/')

          I've done some experimenting: it IS possible to serve a /index.jsp for instance from jBoss 3.2.1
          But I haven't found the proper way to do it. At the moment I've put the index.jsp in the deploy/invoker.sar/invoker.war directory and added a line to deploy/invoker.sar/invoker.war/META-INF/jboss-web.xml so that the result reads:
          <jboss-web>
          <context-root>/</context-root>
          <security-domain>java:/jaas/http-invoker</security-domain>
          </jboss-web>

          But I'm still interested in the proper way to do it.

          groetjes,
          Joost

          • 32. Re: The proper way to deploy a web app (war)
            sysuser1

            Finally got it working. I'm logging my solution here in case anybody winds up here having the same problem: specifying the context by wrapping the war in an ear and specifying a context DOES work. See the jobss30quickstart.pdf
            Good luck.

            • 33. Re: The proper way to deploy a web app (war)
              vu2hsj

              sir,

              this actually not a reply but a question.
              I am new to jboss . I just downloaded jboss latest version few days ago and i deployed a hello.jar and its getting deployed successfully. But when i try to run client application it gives me a runtime exception stating
              classnotfoundexception: javax.socketFactory npt found.
              Icouldnt figure out the error i have made.
              If u could help me i could much obliged.

              • 34. Re: The proper way to deploy a web app (war)
                droolinggeezer

                God Bless you

                1 2 3 Previous Next