You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ni...@studioweb.com on 2001/02/13 16:07:09 UTC

Internal server error.

Hi:

I have installed Apache with not problem where it is running with port 8040. I installed tomcat and appended the httpd.conf file as instructed. Both Tomcat and Apache are set to use port 8007 to talk to each other. I start Tomcat first then apache and all seems to be oka. But when I try to access say: http://localhost:8040/examples/jsp/index.html I get the internal server error in my browser? I checked the mod_jserv.log and I get this:
[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007

[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: connection fail

[13/02/2001 17:54:14:605] (ERROR) an error returned handling request via protocol "ajpv12"

So this is the likely problem, now what exactly is this and can I do to fix it?






Re: Internal server error.

Posted by John Golubenko <go...@columbiafunds.com>.
The configuration isn't correct. Thus if you using it with Apache in 
anyway,
double check the *.o's on Linux or *.dll's on win, make sure they are 
when they should be.
Try do not mess with configs for the 
first time, and load it on 8080 port. (Tomcat). If that will work, then 
install it with Apache.
Good luck,
John.

Original Message dated 2/13/01, 7:07:09 AM
Author: nickm@studioweb.com
Re: Internal server error.:


Hi:
 
I have installed Apache with not problem where it is running with port 
8040. I installed tomcat and appended the httpd.conf file as instructed. 
Both Tomcat and Apache are set to use port 8007 to talk to each other. I 
start Tomcat first then apache and all seems to be oka. But when I try to 
access say: http://localhost:8040/examples/jsp/index.html I get the 
internal server error in my browser? I checked the mod_jserv.log and I 
get this:
[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: can not connect to host 
127.0.0.1:8007
[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: connection fail
[13/02/2001 17:54:14:605] (ERROR) an error returned handling request via 
protocol "ajpv12"
So this is the likely problem, now what exactly is this and can I do to 
fix it?
 
 
NOTICE:  This communication may contain confidential or other privileged information.  If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information.  Also, please indicate to the sender that you have received this email in error, and delete the copy you received.  Any communication that does not relate to official Columbia business is that of the sender and is neither given nor endorsed by Columbia.  Thank you.


Re: Internal server error.

Posted by ni...@studioweb.com.
Where do you set the port in Tomcat?

Your not reffering to the ApjServDefaultport, right?

This port is set to 8007 in both Apache and Tomcat.



RE: Internal server error.

Posted by micky <mi...@truexchange.com>.
you can not use two programs to run on the same port. setup tomcat on port
8080 and apache on 80 or 8040


/===============================\
| Micky Mimo                    |
| Systems Specialist            |
| (781) 457 - 1317              |
| micky@truexchange.com         ===================\
|There was once a young man from Wight             |
|Who could travel faster than the speed of light.  |
|He went out one day                                       |
|In a relative way                                         |
|And returned home the previous night.             |
\==================================================/


-----Original Message-----
From: nickm@studioweb.com [mailto:nickm@studioweb.com]
Sent: Tuesday, February 13, 2001 10:07 AM
To: tomcat-user@jakarta.apache.org
Subject: Internal server error.


Hi:

I have installed Apache with not problem where it is running with port 8040.
I installed tomcat and appended the httpd.conf file as instructed. Both
Tomcat and Apache are set to use port 8007 to talk to each other. I start
Tomcat first then apache and all seems to be oka. But when I try to access
say: http://localhost:8040/ <http://localhost:8040/> examples/jsp/index.html
I get the internal server error in my browser? I checked the mod_jserv.log
and I get this:
[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007

[13/02/2001 17:54:14:605] (EMERGENCY) ajp12: connection fail

[13/02/2001 17:54:14:605] (ERROR) an error returned handling request via
protocol "ajpv12"

So this is the likely problem, now what exactly is this and can I do to fix
it?