I add and load module jk_mod
I have NameVirtualHost 111.111.111.111:80
<VirtualHost 111.111.111.111:80>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /web/lookhere.mydonmain.com/web
    ServerName lookhere.mydomain.com
    ErrorLog logs/mydomain-error_log
    CustomLog logs/mydomain-access_log common
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
</VirtualHost>

The other (primary) bound IP is 111.111.111.110 (not real IP's)

and then I have the examples include from Tomcat so that I can view 
111.111.111.111/examples/jsp...etc.. and these work fine.

I simply need to have jsp served out of the /web/lookhere.mydomain/web 
directory.

When I go to the second IP 111.111.111.111 in a browser, I get the 
apache-tomcat 404 error.

Logs:  mod_jk.log
[Thu Jul 04 09:16:49 2002]  [jk_ajp13_worker.c (228)]: 
connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Thu Jul 04 09:16:49 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
[Thu Jul 04 09:16:49 2002]  [jk_ajp13_worker.c (845)]: In 
jk_endpoint_t::service, get_reply failed in send loop 0


Any ideas on this?

My server.xml is back to stock out of the box with no mods.

I really appreciate all the help on this.

Mark



>From: "Ralph Einfeldt" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Subject: AW: AW: server.xml
>Date: Thu, 4 Jul 2002 17:12:25 +0200
>
>I stil don't understand what you are doing and what
>exacly fails.
>
>- What is the url that you request.
>- Is this request a servlet or a jsp.
>   (Is the class you talked about in the previous
>    post a servlet ?)
>- Are there any messages in the logs ?
>- Which connector do you use (I guess mod_webapp) ?
>- Show the relevant part of the connetor settings in httpd.conf
>- What do you mean with 'virtual host page' ?
>- What do you mean with 'cant add another virtual host'
>   Is this an additonal error beside 'NotFound'.
>- What have you done to add another virtual host ?
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 4. Juli 2002 16:57
> > An: [EMAIL PROTECTED]
> > Betreff: Re: AW: server.xml
> >
> > All I have in my httpd.conf is my virtualhost that has a
> > different IP and
> > document root than the default page.  I can bring up the
> > virtual host page,
> > but I just get the tomcat-apache 404 error page.
> >
> > It is a Standard Tomcat 4.0.3 and Apache install.  I can
> > access the tomcat examples from apache but cant add another
> > virtual host. It should be simple.
> >
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to