Replacing mod_webapp WebApp: Error 404 page

2002-11-11 Thread Tansley, Robert
Hello,

We're running a live service using Tomcat (4.0.6) and Apache 1.3, using
mod_webapp.  From time to time, to upgrade the software etc., we need to
restart Tomcat.  If people access the site while we're doing this, they get
the rather unfriendly error message:

WebApp: Error 404
(File: wa_request.c Line: 205) 
Web-application not yet deployed 
(etc.)

Is there a way to replace this with a custom HTML page, say one that says
Sorry, our site is down for maintenance, please try again soon?  It looks
like the above message is hardcoded into mod_webapp (wa_request.c), but I'd
rather not change that.  Plain old ErrorDocument 404 doesn't work, and I
can't use error-page in web.xml of course, since Tomcat isn't running!

And out of interest, is this possible in mod_jk2?

 Robert Tansley / Hewlett-Packard Laboratories / +44 (0)117 312 9116 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




WebApp: Error 404

2002-04-15 Thread Diego, Emil

Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205) 



Web-application not yet deployed 



Your Request: 
Server Host: web_coor1 
Server Address: 129.171.56.18 
Server Port: 80 
Client Host: 129.171.56.71 
Client Address: 129.171.56.71 
Client Port: 1823 
Request Method: GET 
Request URI: /examples/ 
Request Arguments: (null) 
Request Protocol: HTTP/1.1 
Request Scheme: http 
Request User: (null) 
Request Authentication Mech.: (null) 
Request Content-Length: 0 
Your Headers: 
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */* 
Accept-Encoding: gzip, deflate 
Accept-Language: en-us 
Connection: Keep-Alive 
Host: web_coor1 
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) 



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: WebApp: Error 404

2002-04-15 Thread rsequeira


Did you start Tomcat after you started Apache? Wait a few secs after Tomcat
comes up and start Apache

RS





Diego, Emil [EMAIL PROTECTED] on 04/15/2002 10:35:34 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:

Subject:  WebApp: Error 404

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)




Web-application not yet deployed




Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)




Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Rich

Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Diego, Emil

yes.  First i started tomcat, then restarted apache.

-Original Message-
From: Rich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:48 AM
To: Tomcat Users List
Subject: RE: WebApp: Error 404


Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: WebApp: Error 404

2002-04-15 Thread Rich

Hmmm...

When I had this problem not to long ago, I was doing two things wrong:

1) Wasn't starting apache after tomcat
2) Failing to include the document root of the webapp in the virtual host
(of apache) where the WebApp deploy commands are. I'm still not sure why
apache needs to know this information, but excluding it gave me similar
errors as you are experiencing.

-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: WebApp: Error 404


yes.  First i started tomcat, then restarted apache.

-Original Message-
From: Rich [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:48 AM
To: Tomcat Users List
Subject: RE: WebApp: Error 404


Once everything is configured, did you start Tomcat, then restart apache (in
that order)?


-Original Message-
From: Diego, Emil [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:36 AM
To: '[EMAIL PROTECTED]'
Subject: WebApp: Error 404


Hello,

I am running Redhat Linux with Apache 1.3.  I am trying to setup and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  I got tomcat 4 configured to work with apache.  I setup
the examples directory.  Everythin I try browsing localhost/examples/ I get
the following error:

WebApp: Error 404
(File: wa_request.c Line: 205)



Web-application not yet deployed



Your Request:
Server Host: web_coor1
Server Address: 129.171.56.18
Server Port: 80
Client Host: 129.171.56.71
Client Address: 129.171.56.71
Client Port: 1823
Request Method: GET
Request URI: /examples/
Request Arguments: (null)
Request Protocol: HTTP/1.1
Request Scheme: http
Request User: (null)
Request Authentication Mech.: (null)
Request Content-Length: 0
Your Headers:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-gsarcade-launch, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
Host: web_coor1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)



Anybody have any ideas what I am doing wrong?


Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




WebApp: Error 404 - Strange goings on!

2001-11-15 Thread David Molloy

Hi,
I have recently managed to combine Apache 1.3.20, SSL and Tomcat4.0.1
together using a self compiled DEAPI web_app connector.  After much pain,
everything seemed to be working very well.  However, I am getting the
following problem:

When I start Tomcat and then Apache everything works really well - the sun
is shining and the birds are singing.  However, when I come in the following
morning (it might happen quicker than this) dark clouds have gathered and
the servlet pages won't service properly.  Sometimes they don't show up,
sometimes they half show up, sometimes missing images, css files, and then
sometimes I get the following:
WebApp: Error 404   (File: wa_request.c Line: 197)
Web Application not yet deployed.

This appears on my browser.  Sometimes it works fine - this happens for
everyone using the system.

Has anyone got any ideas what could be going on?  On reboot it works well
for another while.  It runs with extra JVM memory 32Mb and 48Mb max and I
print out the memory at each servlet and there's plenty (garbage collect
if it gets low anyway).  I use SSL with name based Virtual Hosting (I know!
but it works for the one SSL site I need and that's fine) - everything
works until it's left alone for a while.  Has anyone any suggestions on
what could be causing it please?

Thanks in advance,
Dave


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]