Re: 404 Error in examples - found part

2004-02-12 Thread Didier McGillis
Make sure your DocumentRoot is NOT pointing to the webapps folder of 
Tomcat. Set it to any other place you like, but not there ;-)
DocRoot is point to apache2/htdocs


From: Antonio Fiol Bonnín <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: 404 Error in examples - found part
Date: Thu, 12 Feb 2004 07:35:25 +0100
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
<< smime.p7s >>
_
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 404 Error in examples - found part

2004-02-11 Thread Antonio Fiol Bonnín
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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: 404 Error in examples - found part

2004-02-11 Thread Didier McGillis
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. Stand alone is fine
http://ns.serverwerkz.com:8080/examples/jsp/num/numguess.jsp

From: "Didier McGillis" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: 404 Error in examples - think I found something
Date: Thu, 12 Feb 2004 02:06:10 +
StandardServer.await: create[8005]: java.net.BindException: Address already 
in use
java.net.BindException: Address already in use

running netstat might have to look at processes and see if any Tomcat 
instances are still running.  any other thoughts.


From: "Didier McGillis" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: 404 Error in examples
Date: Thu, 12 Feb 2004 01:06:13 +
Sorry I never check 8080 when I got home, couldnt get to it from where I 
was at today to test.  That doesnt seem to be up either, I dont know how 
this got so fubar'd and no one seems to be owning up to it.

I dont see anything in the logs other then just normal startup 
information.  mod_jk is empty.  I get this in the apache error logs.

###
[Wed Feb 11 13:51:39 2004] [notice] Apache/2.0.48 (Unix) DAV/2 PHP/4.3.4 
mod_jk/1.2.5 configured -- resuming normal operations
[Wed Feb 11 15:11:24 2004] [error] [client 12.16.100.100] client denied by 
server configuration: 
/usr/local/tomcat/webapps/examples/WEB-INF/index.html
[Wed Feb 11 15:11:24 2004] [error] [client 12.16.100.100] client denied by 
server configuration: /usr/local/tomcat/webapps/examples/WEB-INF/index.htm
[Wed Feb 11 15:11:24 2004] [error] [client 12.16.100.100] client denied by 
server configuration: /usr/local/tomcat/webapps/examples/WEB-INF/index.jsp
###

Should I wipe tomcat and mod_jk and start over?  Is there something I'm 
missing


From: "Parsons Technical Services" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: 404 Error in examples
Date: Wed, 11 Feb 2004 19:45:37 -0500
Are there any error statements in the logs?
Also, versions and platform(s) you are on.
Has the server been restarted?
Can you get directly to tomcat (did you leave port 8080 up)?
Can you tell if the page is being generated by tomcat(sounds like it) or
apache?
Doug Parsons
www.parsonstechnical.com
- Original Message -
From: "Didier McGillis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 11, 2004 7:22 PM
Subject: 404 Error in examples
> I seem to have a mouse running loose on my test server.  Yesterday I 
had
> Apache+Mod_jk+Tomcat working fine, all connected and could use
> Admin/Manager/Examples through Apache.  Todays fun was going to be
allowing
> virtual hosts use Tomcat.  I went to test the site before starting, 
pulled
> up the default apache page, then tried the php page ... working well,
> examples .. "This page cannot be displayed" ...
>
> Shock, horror 
> $service tomcatd status
> tomcatd ( pid 17923 17925 17926 17927 17928 17929 17930 17931 17932 
17933
> 17934 17935 17937 17938 17939 17940 17941 17942 ) is running...
>
> horror, shock .. want to kill someone.  Anyway an hour later I now get
this.
>
> HTTP Status 404 - /examples/jsp/num/numguess.jsp
> type Status report
> message /examples/jsp/num/numguess.jsp
> description The requested resource (/examples/jsp/num/numguess.jsp) is 
not
> available.
>
>
> What the hell happened.  This is my first install of Tomcat and Mod_jk 
and
> it went smooth, but this clean up is a mess, looks like one of the 
guys
here
> decided to jump ahead to my homework.  What would cause me gettng the 
HTTP
> 404 .. when teh pages are there .. what can I look for .. so far logs 
have
> been useless.
>
> thanks
>
> dan
>
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
>
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [E