tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol BonnĂ­n <fiol.bon...@terra.es>
Subject Re: 404 Error in examples - found part
Date Thu, 12 Feb 2004 06:35:25 GMT
Didier McGillis wrote:

> Yes Tomcat wouldnt start properly due to port 8005 was already in use 
> and the new Tomcat couldnt bind to it.  Now I have gotten to a point 
> where I'm unsure of how I fixed this yesterday.
>
> Stand alone version of Tomcat is fine, JSP code works fine.  Go 
> through Apache and it renders the HTML properly but doesnt seem to 
> understanding whats happening on the page.
>
> http://ns.serverwerkz.com/examples/jsp/num/numguess.jsp
>
> Congratulations! You got it. And after just tries.
> Care to try again? Welcome to the Number Guess game.
>
> I'm thinking of a number between 1 and 100.
>
> What's your guess?
> Good guess, but nope. Try . You have made guesses.
>
> I'm thinking of a number between 1 and 100.
>
> What's your guess?
>
> again this only happens if I access through apache.


As I see you have everything in the same box...

Make sure your DocumentRoot is NOT pointing to the webapps folder of 
Tomcat. Set it to any other place you like, but not there ;-)

It seems that Apache is not asking Tomcat but is serving the content itself.


Yours,


Antonio Fiol

Mime
View raw message