8 Replies Latest reply on Aug 8, 2002 11:53 PM by winghoe

    JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible

    wchico2

      Hi,

      I am new to JBoss. I downloaded the 2.4.4 embedded Tomcat 4.0.01 version and installed it on a w2k machine. It starts up perfectly as you can see from the attached file startup.txt.

      However, when I try to access the embedded tomcat with http://localhost:8080 (I have not changed any port at all), I get "a MAPPING configuration error for request URI". You will find the complete error text attached (error.txt).

      Could anybody help me out here?

      TIA,
      The Wolf.

        • 1. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
          wchico2

          Sorry,

          I just read that it´s a billionth time you answered
          this. So I read you need to read

          the forum FAQ and use


          http://localhost:8080/jboss



          Sorry again,
          The Wolf

          • 2. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
            li_zjun

            I encountered the same problem as yours. Who can help me?

            • 3. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
              mlapolla

              I have this same problem and still cannot find an answer. I would like to know what the problem is.

              Basically, how does one get a .html page displayed?

              Thanks,

              M.

              • 4. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
                mtran

                I have the same problem as well...

                Help is appreciated!

                Thx,
                Meg

                • 5. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
                  winghoe

                  Hi Meg,

                  Assuming that you have an EAR file that contains the WAR file like below:

                  myapp.ear
                  - web.war
                  - ejb.jar
                  - META-INF
                  - application.xml

                  It should contains a META-INF directory that contains the xml file called application.xml.

                  The content of this file is as below:

                  <?xml version="1.0" encoding="ISO-8859-1"?>

                  <display-name>My Application</display-name>


                  <web-uri>web.war</web-uri>
                  <context-root>/myweb</context-root>



                  ejb.jar



                  Notice that the <context-root> tag is /myweb.

                  In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.

                  To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.

                  The sample is as below:

                  <welcome-file-list>
                  <welcome-file>index.html</welcome-file>
                  <welcome-file>index.htm</welcome-file>
                  <welcome-file>index.jsp</welcome-file>
                  </welcome-file-list>

                  Hope this helps.

                  Wing Hoe

                  • 6. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
                    winghoe

                    Hi Meg,

                    Assuming that you have an EAR file that contains the WAR file like below:

                    myapp.ear
                    - web.war
                    - ejb.jar
                    - META-INF
                    - application.xml

                    It should contains a META-INF directory that contains the xml file called application.xml.

                    The content of this file is as below:

                    <?xml version="1.0" encoding="ISO-8859-1"?>

                    <display-name>My Application</display-name>


                    <web-uri>web.war</web-uri>
                    <context-root>/myweb</context-root>



                    ejb.jar



                    Notice that the <context-root> tag is /myweb.

                    In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.

                    To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.

                    The sample is as below:

                    <welcome-file-list>
                    <welcome-file>index.html</welcome-file>
                    <welcome-file>index.htm</welcome-file>
                    <welcome-file>index.jsp</welcome-file>
                    </welcome-file-list>

                    Hope this helps.

                    Wing Hoe

                    • 7. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
                      winghoe

                      Hi,

                      Assuming that you have an EAR file that contains the WAR file like below:

                      myapp.ear
                      - web.war
                      - ejb.jar
                      - META-INF
                      - application.xml

                      It should contains a META-INF directory that contains the xml file called application.xml.

                      The content of this file is as below:

                      <?xml version="1.0" encoding="ISO-8859-1"?>

                      <display-name>My Application</display-name>


                      <web-uri>web.war</web-uri>
                      <context-root>/myweb</context-root>



                      ejb.jar



                      Notice that the <context-root> tag is /myweb.

                      In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.

                      To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.

                      The sample is as below:

                      <welcome-file-list>
                      <welcome-file>index.html</welcome-file>
                      <welcome-file>index.htm</welcome-file>
                      <welcome-file>index.jsp</welcome-file>
                      </welcome-file-list>

                      Hope this helps.

                      Wing Hoe

                      • 8. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
                        winghoe

                        Hi,

                        Assuming that you have an EAR file that contains the WAR file like below:

                        myapp.ear
                        - web.war
                        - ejb.jar
                        - META-INF
                        - application.xml

                        It should contains a META-INF directory that contains the xml file called application.xml.

                        The content of this file is as below:

                        <?xml version="1.0" encoding="ISO-8859-1"?>

                        <display-name>My Application</display-name>


                        <web-uri>web.war</web-uri>
                        <context-root>/myweb</context-root>



                        ejb.jar



                        Notice that the <context-root> tag is /myweb.

                        In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.

                        To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.

                        The sample is as below:

                        <welcome-file-list>
                        <welcome-file>index.html</welcome-file>
                        <welcome-file>index.htm</welcome-file>
                        <welcome-file>index.jsp</welcome-file>
                        </welcome-file-list>

                        Hope this helps.

                        Wing Hoe