3 Replies Latest reply on Jul 16, 2002 9:34 PM by Joel Vogt

    Can't find ROOT on Win2k

    Linn Kubler Newbie

      Hi All,

      I am trying to install jboss 2.4.6 with tomcat 4.0.3 on my Windows 2000 Pro workstation. I previously had jboss 2.1 w/tomcat 3.2.1 running fine, installed by a contractor.

      I basically have it working but I can't seem to get to the root directory of my system. It just gives me a 404 error on anything I try. Here's what I see happening...

      When I type http://localhost:8080/ I see a default page of Tomcat examples. It says that if I see this file it means the integrated web container is configured correctly. It then says that to deploy something useful I should remove the webtest.ear file and replace it with my own ear or war file.

      Now, I have my own war file in place and it basically works but if I remove the ear file I get 500 errors.

      Can someone shed some light here? With my previous config I could simply put files in the webapps\ROOT directory and access them. It looks like this configuration is not even seeing the webapps\ROOT directory. I've been working with the contractor who originally set this up but so far we are both stumped.

      Any help is greatly appreciated.

      Thanks in advance,

        • 1. Re: Can't find ROOT on Win2k
          Joel Vogt Master

          well okay, the 500 errors doesn't seem right, can you post a few of these guys so we can see what is going on?

          As for the ROOT directory, if this isn't going for you try adding

          Into your catalina/conf/server.xml

          • 2. Re: Can't find ROOT on Win2k
            Linn Kubler Newbie

            Thanks for the reply. To be more specific the 500 error also says, no context configured to process this request. Which makes me think you are on the right track here. Unfortunately, this is my first attempt at JBoss so please bear with me.

            I entered the code you suggested into the server.xml file just above similar code for the examples directory. No luck... did I enter it in the correct place? Do I need to do something other than simply restarting JBoss/Tomcat?

            And what exactly would you like me to post here?

            Thanks again,

            • 3. Re: Can't find ROOT on Win2k
              Joel Vogt Master

              oh okay,.. a '500' error, not 500 errors. That makes more sense ;)

              Well, if you have configured the context in server.xml and restarted, you should be able to see you jsp in
              webapps/ROOT. I just tested this then successfully, so if it isn't going their must be something else wrong..
              Incidently, you might be better off going with the 2.4.7 release with tomcat 4.0.4 as this has a few important bug fixes if I remember. I would suggest giving this a go first