RE: Regarding Error 404-please help!

2008-09-12 Thread laura fu
gt; From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: Regarding Error 404-please help!> > It > is really hard to pinpoint your problem whit such a huge web.xml.> > But, > let's try.> > First, for servlet "HelloWorld" you stated the cla

Re: Regarding Error 404-please help!

2008-09-12 Thread Ognjen Blagojevic
matting, then i will send in another format. I have also uncommented the invoker servlet in the main web.xml file. Thanks so much! Regards, Laura> Date: Wed, 10 Sep 2008 09:51:13 +0200> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: Regarding Error 404-please help!

Re: Regarding Error 404-please help!

2008-09-11 Thread Mark Thomas
laura fu wrote: > I have also uncommented the invoker servlet in the main web.xml file. That is a really, really bad idea. You should not be using the invoker servlet. Mark - To start a new topic, e-mail: users@tomcat.apache.o

Re: Regarding Error 404-please help!

2008-09-11 Thread Mark Thomas
laura fu wrote: > I saved my work HelloWorld.java in the folder in "C:\Program Files\Apache > Group\Tomcat 5.5\webapps\jjolt\WEB-INF\classes". You need to compile your servlet first. > Apache Tomcat/5.5.26 This is what i have done prior to this:1. Downloaded a > binary release of mod_jk Ignore

RE: Regarding Error 404-please help!

2008-09-10 Thread laura fu
Regards, Laura> Date: Wed, 10 Sep 2008 09:51:13 +0200> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Re: Regarding Error 404-please help!> > laura fu wrote:> > Hi Tomcat, How are you? I am new to using Apache Tomcat and am in the process of learning it. I came

Re: Regarding Error 404-please help!

2008-09-10 Thread Ognjen Blagojevic
uot;C:\Program Files\Apache Group\Tomcat 5.5\webapps\jjolt\WEB-INF\classes". When i type in the address: "http://localhost:8080/jjolt/servlet/HelloWorld"; , i am supposed to see "Hello World" displayed on my browser, but instead i saw this: HTTP Status 404 - /jjolt/s

RE: Tomcat connector receives 404, IIS logs 200

2008-09-02 Thread Karim Zaki
I checked and there's no custom error page. As for the browser, it shows Tomcat's 404 error page. However, the IIS logs still show a 200. From: Rainer Jung [EMAIL PROTECTED] Sent: Monday, September 01, 2008 04:43 To: Tomcat Users List Subject:

Re: Tomcat connector receives 404, IIS logs 200

2008-09-01 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Are you sure you don't have something like this in your Tomcat's web.xml: 404 /Failure.jsp What response do you get in browser when you try to access a resource that does not exist on TC, after by-passing IIS i.e. http://:/? And what result do you g

Re: Tomcat connector receives 404, IIS logs 200

2008-08-31 Thread bhooshanpandit
Are you sure you don't have something like this in your Tomcat's web.xml: 404 /Failure.jsp What response do you get in browser when you try to access a resource that does not exist on TC, after by-passing IIS i.e. http://:/? -Original Message- From: Karim Zaki <[EM

Tomcat connector receives 404, IIS logs 200

2008-08-29 Thread Karim Zaki
Hi all, I'm running a Windows Server 2003 machine with IIS 6 and version 1.2.26.0 of the connector. The back-end server is running Tomcat 5.0.28. When making a request to a URL that doesn't exist on the back-end, I see the following behavior: 1. The Tomcat access log shows a 40

Tomcat Connector receiving 404, logging 200

2008-08-12 Thread Karim Zaki
order to check its health as well. Right now, Tomcat's ROOT webapp does not have this file, so what happens is the Tomcat connector forwards th request and receives a 404 back from Tomcat. However, the IIS log shows a 200 response. The Tomcat connector log shows: [Tue Aug 12 15:51:08.122 2

Re: HTTP 404 with a %22 at the end of the URL, what does it mean ?

2008-07-31 Thread Hassan Schroeder
On Thu, Jul 31, 2008 at 3:43 PM, Adam Posner <[EMAIL PROTECTED]> wrote: > /project-1c/trailReview.jsp%22 The requested resource is not available. > The %22 is probably what's causing that, but I'm not sure what > the %22 means in the first place. It's an escaped quote (") mark. Look at where you

HTTP 404 with a %22 at the end of the URL, what does it mean ?

2008-07-31 Thread Adam Posner
?. Everything's fine so far. Then, I have a button to enter a new review, which would go to another jsp page titled trailReviewNew.jsp . But when I click on that button to go to the page to enter a new review, instead I get HTTP Status 404 /project-1c/trailReview.jsp%22 The requested resource i

RE: receiving 404 page not found from godaddy.com

2008-07-30 Thread Patrick Markiewicz
jim stone [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 9:45 AM To: users@tomcat.apache.org Subject: receiving 404 page not found from godaddy.com I have a small jsp application which I packaged as a war file and deployed to my godaddy user account. The war exploded as expected. In

Re: receiving 404 page not found from godaddy.com

2008-07-30 Thread Ravi Sharma
> my godaddy user account. The war exploded as expected. In my webapp, under > the newly exploded context root, I am able to hit the html files, however, > the jsp's are giving me a 404 not found. I have tested this locally using > tomcat 5.5 and it works like a charm. I'

receiving 404 page not found from godaddy.com

2008-07-29 Thread jim stone
I have a small jsp application which I packaged as a war file and deployed to my godaddy user account. The war exploded as expected. In my webapp, under the newly exploded context root, I am able to hit the html files, however, the jsp's are giving me a 404 not found. I have tested this lo

Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404

2008-07-20 Thread David Smith
ebapp named "examples" from tomcat, the JkMount would be: JkMount/examples/* ajp13 Restarted whole thing. Still I can not go to follwoing web page. http://localhost/examples/jsp/index.html BTW, what exactly do you get instead of the page? A 404 error? Is it from Httpd or T

Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404

2008-07-19 Thread rangeli nepal
Thank you Rainer for your reply. Based on your suggestion I did following 0. removed the auto from Include directive. 1. There was log entry specified in mod_jk.conf. It was pointing to the log file in tomcat directory I changed in point to the log file in apache directory. restarted things. 2.

Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404

2008-07-19 Thread Rainer Jung
rangeli nepal schrieb: Recently I installed apache and tomcat. Environment is depicted int subject line. They both work nice and fine independently. I am trying to integrate them with mod_jk. I belive I followed all the steps suggested by document. 1. I downloaded mod_jk ( 1.2.26) kept it as m

Apache 2.2.8+tomcat 6.0.16+Window vista & http 404

2008-07-18 Thread rangeli nepal
Recently I installed apache and tomcat. Environment is depicted int subject line. They both work nice and fine independently. I am trying to integrate them with mod_jk. I belive I followed all the steps suggested by document. 1. I downloaded mod_jk ( 1.2.26) kept it as mod_jk.so in modules direc

http status 404

2008-07-16 Thread przytula_guy
files, but when selecting a specific file, we get http status 404 : resource not found this for all files in subfolders the question : is the context enough to point to this top directory - are all files in subdirectories included with this or do we have to define more ? I defined the context from the

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
> > >> > >> > -Steve O. >> > >> > >> > >> > >> >> >> >> Thanks again, >> >> Ljuba >> >> >> >> On Tue, Jul 8, 2008 at 5:23 PM, Steve Ochani <[EMAIL PROTECTED]> >> &g

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Steve Ochani
Date sent: Tue, 08 Jul 2008 18:22:21 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample To: Tomcat Users List Send reply to: Tomcat User

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
On Tue, Jul 8, 2008 at 5:47 PM, Steve Ochani <[EMAIL PROTECTED]> wrote: > Date sent: Tue, 08 Jul 2008 17:41:18 +0200 > From: Ljuba Veselinova <[EMAIL PROTECTED]> > Subject: Re: HTTP Status 404 - > /examples/servlets/servle

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Steve Ochani
Date sent: Tue, 08 Jul 2008 17:41:18 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample To: Tomcat Users List Send reply to: Tomcat User

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
Tue, 08 Jul 2008 16:45:35 +0200 > From: Ljuba Veselinova <[EMAIL PROTECTED]> > Subject: HTTP Status 404 - > /examples/servlets/servlet/HelloWorldExample > To: Tomcat Users List > Send reply to: Tomcat Users Lis

Re: HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Steve Ochani
Date sent: Tue, 08 Jul 2008 16:45:35 +0200 From: Ljuba Veselinova <[EMAIL PROTECTED]> Subject:HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample To: Tomcat Users List Send reply to: Tomcat Users List

HTTP Status 404 - /examples/servlets/servlet/HelloWorldExample

2008-07-08 Thread Ljuba Veselinova
i.com/index.cfm?fa=knowledgebase.techArticles.articleShow&d=31524 The Apache seems to be succesfully installed but when I try to run the HelloWorldExample, I get the following error ===Error Screen Starts Here HTTP Status 404 - /examples/servlets/servlet/HelloWor

Re: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Assaf, exkor wrote: | The problem im having right now (which i believe is relatively simple) | is that my app doesn't connect to the DB. I configured server.xml back | to use MemoryRealm because i want only the app to use the DB. Then | I've changed

Re: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-14 Thread exkor
registered user functions and pages admin manager I don't see any attempt for a connection in the mysql logs... very weird... Do I need to define some global naming for the DB connection? Thanks -Assaf On Sat, Jun 14, 2008 at 7:55 AM, Caldarale, Ch

RE: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-14 Thread Caldarale, Charles R
> From: exkor [mailto:[EMAIL PROTECTED] > Subject: Re: URL is "null" and HTTP 404 error when using FROM > authentication It's good that you're starting from a clean install. > MySQL logs indicate the the connector has connected to the database > and querin

Re: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-13 Thread exkor
0] "GET /hamula/ HTTP/1.1" 200 > 2250 "http://127.0.0.1:8080/manager/html/start?path=/hamula"; > "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) > Gecko/20080404 Firefox/2.0.0.14" > 127.0.0.1 - - [13/Jun/2008:16:18:00 -0400] "GET >

Re: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-13 Thread exkor
- [13/Jun/2008:16:18:00 -0400] "GET /hamula/images/kubrickbgcolor.jpg HTTP/1.1" 404 1051 "http://127.0.0.1:8080/hamula/style.css"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 127.0.0.1 - - [13/Jun/2008:16:18:04 -0400]

RE: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-12 Thread Caldarale, Charles R
> From: exkor [mailto:[EMAIL PROTECTED] > Subject: URL is "null" and HTTP 404 error when using FROM > authentication You have some weirdness in your web.xml and context.xml that should be straightened out before attempting any further analysis. > > >

URL is "null" and HTTP 404 error when using FROM authentication

2008-06-12 Thread exkor
- [13/Jun/2008:00:32:45 -0400] "GET /hamula/home.jsp HTTP/1.1" 200 2250 "null" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)" 127.0.0.1 - - [13/Jun/2008:00:32:45 -0400] "GET /hamula

IIS+Tomcat connector 404 issues

2008-06-10 Thread Iain Smith
Hi, I'm currently attempting to configure IIS+Tomcat via the IIS connector as per instructions at: http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html So far I've been having no luck at all, browsing /examples/jsp/index.html just returns a 404: IIS Log: 3131-08-0

HTTP Status 404 - /logon/logon.jsp

2008-05-29 Thread feroz
l (incomplete) http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> -- View this message in context: http://www.nabble.com/HTTP-Status-404logon-logon.jsp-tp17547537p17547537.html Sent from the Tomcat - User mailing list archive at Nabble.com. -

RE: Status and Tomcat Manager links result in 404's

2008-05-28 Thread Caldarale, Charles R
> From: Ryan Steele [mailto:[EMAIL PROTECTED] > Subject: Re: Status and Tomcat Manager links result in 404's > > I hope that continuing to use the Fedora packaged version > doesn't preclude any further advice. It pretty much does, since those repackaged things are horribl

Re: Status and Tomcat Manager links result in 404's

2008-05-28 Thread Ryan Steele
Caldarale, Charles R wrote: From: Ryan Steele [mailto:[EMAIL PROTECTED] Subject: Status and Tomcat Manager links result in 404's I've got a Tomcat 5.5.25 installation up and running for the most part. Platform? JRE/JDK version? FC6 and 1.4.2, respectively. They are outda

RE: Status and Tomcat Manager links result in 404's

2008-05-28 Thread Caldarale, Charles R
> From: Ryan Steele [mailto:[EMAIL PROTECTED] > Subject: Status and Tomcat Manager links result in 404's > > I've got a Tomcat 5.5.25 installation up and running for the > most part. Platform? JRE/JDK version? Do you have a real Tomcat installed, or a 3rd-party repackage

Status and Tomcat Manager links result in 404's

2008-05-28 Thread Ryan Steele
Hey list, I've got a Tomcat 5.5.25 installation up and running for the most part. However, on the index.jsp on the main page (http://example.com:8080), the "Status" and "Tomcat Manager" links both result in 404's. My Tomcat/Catalina home is /usr/share/tomcat5.

Tomcat 5.0.28 - Randomly gets 404 error

2008-03-25 Thread foo shyn
Hi, I am using Tomcat 5.0.28 on Windows 2003. The problem I face is that, for the same servlet, it work fine most of the time, but it randomly give error of 404 - " The requested resource (/bgmProv/provServlet) is not available." Below is the error message

RE: 404 returned trying to find Perl script

2008-03-07 Thread Doug.Thomas
That worked. Thanks! -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 1:33 PM To: Tomcat Users List Subject: Re: 404 returned trying to find Perl script [EMAIL PROTECTED] wrote: > I have a form that sends its data to a Perl script under Tom

Re: 404 returned trying to find Perl script

2008-03-07 Thread Mark Thomas
[EMAIL PROTECTED] wrote: I have a form that sends its data to a Perl script under Tomcat 6.0.16. I get an error message "The requested resource (/perlTest/WEB-INF/cgi-bin/form.pl) is not available." The form.pl file is, in fact, in that folder. I'm running Windows XP. Permissions have been set pr

404 returned trying to find Perl script

2008-03-07 Thread Doug.Thomas
I have a form that sends its data to a Perl script under Tomcat 6.0.16. I get an error message "The requested resource (/perlTest/WEB-INF/cgi-bin/form.pl) is not available." The form.pl file is, in fact, in that folder. I'm running Windows XP. Permissions have been set properly (using Cygwin chmod)

RE: Custom 404 for non-existant contexts?

2008-02-06 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. > Subject: Re: Custom 404 for non-existant contexts? > > Would just modifying the ROOT/WEB-INF/web.xml work? It should, since any unmatched context paths are given to the default app for processing (and usually a 40

Re: Custom 404 for non-existant contexts?

2008-02-06 Thread Eric B.
> |>> > |>> Is there a way to create a custom 404 error page for Tomcat > |>> for non-existant context paths? > | > |> What happens if you declare a custom error page for the ROOT (default) > |> webapp? > | > | Yeah - that's pretty much the onl

Re: Custom 404 for non-existant contexts?

2008-02-06 Thread Filip Hanik - Dev Lists
you;d have to custom do it http://people.apache.org/~fhanik/covalent-error-report-valve.jar Filip Eric B. wrote: Is there a way to create a custom 404 error page for Tomcat for non-existant context paths? I know how to create a custom 404 error page within my application, but am running

Re: Custom 404 for non-existant contexts?

2008-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: | "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message | news:[EMAIL PROTECTED] |>> Subject: Custom 404 for non-existant contexts? |>> |>> Is there a way to create a custom 404 error pa

Re: Custom 404 for non-existant contexts?

2008-02-06 Thread Eric B.
"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> Subject: Custom 404 for non-existant contexts? >> >> Is there a way to create a custom 404 error page for Tomcat >> for non-existant context paths? >What happens if y

RE: Custom 404 for non-existant contexts?

2008-02-06 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. > Subject: Custom 404 for non-existant contexts? > > Is there a way to create a custom 404 error page for Tomcat > for non-existant context paths? What happens if you declare a custom error page for the ROOT (default) we

Custom 404 for non-existant contexts?

2008-02-06 Thread Eric B.
Is there a way to create a custom 404 error page for Tomcat for non-existant context paths? I know how to create a custom 404 error page within my application, but am running into an issue while I am redeploying my application. The users are able to access Tomcat, but since my application

Re: Status 404 in tomcat

2008-02-02 Thread mgainty
is your manager's version of index.jsp located at $TOMCAT_HOME\server\webapps\manager ? M- - Original Message - Wrom: KPNKMBIPBARHDMNNSKVFVWRKJVZCMH To: Sent: Saturday, February 02, 2008 12:54 AM Subject: Fwd: Status 404 in tomcat > Hello, > I have installed tomcat in

Fwd: Status 404 in tomcat

2008-02-01 Thread 美国空间
Hello, I have installed tomcat in my WHM (WHM -> cPanel -> Manage plugins -> click on Addon Modules tomcat ). The tomcat work.. When I tried the "nmap 209.62.89.18" command line, the output is: …… 80/tcp open http 8009/tcp open ajp13 8080/tcp open http-proxy …… And it can run jsp pages with http:

RE: web.xml configured correctly, but stillgetting'404...resourcenot found'

2008-01-10 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: web.xml configured correctly, but > stillgetting'404...resourcenot found' > > if you want Tomcat to behave a certain way for a particular > webapp, you could edit context.xml files to get something > diffe

RE: web.xml configured correctly, but still getting'404...resourcenot found'

2008-01-10 Thread cuco2772
2772 [mailto:[EMAIL PROTECTED] >> Subject: RE: web.xml configured correctly, but still >> getting'404...resourcenot found' >> >> This context.xml was the one in conf. > > That explains why you had problems. The one in conf contains attributes > to be

RE: web.xml configured correctly, but still getting'404...resourcenot found'

2008-01-09 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: RE: web.xml configured correctly, but still > getting'404...resourcenot found' > > This context.xml was the one in conf. That explains why you had problems. The one in conf contains attributes to be shared b

RE: web.xml configured correctly, but still getting '404...resourcenot found'

2008-01-09 Thread cuco2772
g of it. Thanks for your help. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: Re: web.xml configured correctly, but still getting >> '404...resourcenot found' >> >> There was a parse error at context.xml,

RE: web.xml configured correctly, but still getting '404...resourcenot found'

2008-01-09 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: Re: web.xml configured correctly, but still getting > '404...resourcenot found' > > There was a parse error at context.xml, line 20, column 2. Which context.xml? If it's in the webapp's META-INF d

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
Fixed. There was a parse error at context.xml, line 20, column 2. The offending line: crossContext="true"> > I read somewhere that you were supposed to do this. Evidently bad info or old info. Thanks for all the replies. cuco2772 wrote: > > Check this out, I did 'touch web.xml' then hit r

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
Check this out, I did 'touch web.xml' then hit reload in the browser window and it worked. If I restart tomcat though, it probably wont work as before. Here's what my catalina.out looked like after that: [EMAIL PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/logs# tail -f catalina.outJan 9, 2

RE: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
gured correctly, but still getting >> '404...resource not found' > > What's in the logs? > >> Then I shutdown tomcat and restarted it. > > Are you using a real Tomcat, or some 3rd-party repackaged (i.e., broken) > version? > >> Would add

RE: web.xml configured correctly, but still getting '404...resourcenot found'

2008-01-09 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: Re: web.xml configured correctly, but still getting > '404...resourcenot found' > > The guide I've been using for trying to set this up is the > coreservlets book by Marty Hall. He says set the classpath >

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread David Smith
The tomcat startup script set's it's own classpath, ignoring the environment set classpath. This has been the case since tomcat 4. Tomcat 3 used to be a real headache because of the need to set a classpath. If I remember correctly, tomcat 3.3 was the first version to start offering a classl

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
The guide I've been using for trying to set this up is the coreservlets book by Marty Hall. He says set the classpath but the info there is for tomcat 4. Are you saying I could just get rid of the classpath environment variable entirely and it wouldn't make any difference ? (I did set it to whe

RE: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: web.xml configured correctly, but still getting > '404...resource not found' What's in the logs? > Then I shutdown tomcat and restarted it. Are you using a real Tomcat, or some 3rd-party repackaged (i.e., broke

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread David Smith
Messing with the classpath will bring you nothing but pain and misery. I would strongly recommend you leave it alone. Also the servlet mappings are relative to the context so your good on that front as well. Are there any messages in your tomcat logs regarding the request? Are you sure the

web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
error from tomcat. Here is my web.xml: HelloServlet HelloServlet HelloServlet2 coreservlets.HelloServlet2 HelloServlet /classes/HelloServlet HelloServlet2 /classes/coreservlets.HelloServlet2 when I went to the following urls after I had edited web.xml to the above, http://localhos

Re: Stack Trace instead of 404

2007-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aaron, Aaron Brown wrote: > When a user requests a struts action that doesn¹t exist (i.e. > http://mysite.com/foo/doesntexist.do), Tomcat throws an exception and stack > trace instead of a 404 error. Any idea how to configure Tomcat (

Stack Trace instead of 404

2007-12-10 Thread Aaron Brown
When a user requests a struts action that doesn¹t exist (i.e. http://mysite.com/foo/doesntexist.do), Tomcat throws an exception and stack trace instead of a 404 error. Any idea how to configure Tomcat (or struts?) to turn this into a 404 so our errors inbox doesn¹t get overrun by crawlers that do

Re: Newbie mod_jk question - Getting HTTP 404 error for existing servlets-examples directory

2007-11-20 Thread Rainer Jung
K S wrote: Thanks a lot Rainer! The problem as you guessed was with the Vhost. After putting the JkMounts in the global server configuration, it worked. I started using the VHost (though now I have realised I don't need them at all since I am not hosting more than one website on a single server)

Re: Newbie mod_jk question - Getting HTTP 404 error for existing servlets-examples directory

2007-11-20 Thread K S
Thanks a lot Rainer! The problem as you guessed was with the Vhost. After putting the JkMounts in the global server configuration, it worked. I started using the VHost (though now I have realised I don't need them at all since I am not hosting more than one website on a single server) because the

Re: Newbie mod_jk question - Getting HTTP 404 error for existing servlets-examples directory

2007-11-20 Thread Rainer Jung
jk_uri_worker_map.c (645): exit Apache's access.log my.machine.name my.machine.name 10.5.X.X - - [19/Nov/2007:16:17:01 -0500] "GET /servlets-examples HTTP/1.1" 404 337 status-404 port-80 filename-/var/www/servlets-examples reqMethod GET "-" "Mozilla/5.0 (X11; U; Linu

Newbie mod_jk question - Getting HTTP 404 error for existing servlets-examples directory

2007-11-19 Thread K S
ory for child 7 [Mon Nov 19 16:17:01 2007] [4080:3080226480] [trace] do_shm_open_lock::jk_shm.c (248): enter [Mon Nov 19 16:17:01 2007] [4080:3080226480] [debug] do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock /XXX/apache- tomcat-5.5.25/conf/jk/mod_jk.shm.4068.lock [Mon Nov 19 16:1

RE: Error HTTP STATUS 404

2007-11-07 Thread Caldarale, Charles R
> From: Prashant [mailto:[EMAIL PROTECTED] > Subject: Error HTTP STATUS 404 > > polglass.com.au.tmp.anchor.net.au ( Temp server ) > Username : vipul > password : vipul It's difficult to help when you provide so little information. At least include the version of Tom

Re: Error HTTP STATUS 404

2007-11-07 Thread Martin Gainty
: "Prashant" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 07, 2007 7:50 PM Subject: Error HTTP STATUS 404 > Hello > > I am totally new here ,this is my first project and i am trying to learn a > lot of new things so pls be patience . > > Would really app

Error HTTP STATUS 404

2007-11-07 Thread Prashant
username and password on the log in page and hit Go , i get an error "HTTP STATUS 404".Same error comes in the when i submit the registration page. Thanking you Kind Regards Prashu -- Regards Prashant Doshi B.E(Computers),MIS,DBA

Re: Generating a 404 response

2007-09-09 Thread Paul Singleton
dispatcher = getServletContext().getRequestDispatcher("/displayArticle.jsp"); } else response.sendError(404, ""); // dispatcher = getServletContext().getRequestDispatcher("/404.jsp"); Notice I commented out the

Re: Generating a 404 response

2007-09-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=12338 Posted on behalf of a User OK. My fault. This works: else { response.sendError(404, ""); return; } Now when I look in my http server log I see a status of 404 with the original URL. Thanks for your help. I

Re: Generating a 404 response

2007-09-09 Thread samk
= getServletContext().getRequestDispatcher("/displayArticle.jsp"); } else response.sendError(404, ""); // dispatcher = getServletContext().getRequestDispatcher("/404.jsp"); Notice I commented out the code that would later dispatch to

Re: Generating a 404 response

2007-09-09 Thread samk
application residing on Tomcat. The pages are dynamically > generated. If a use enters an invalid request I redirect him to a generic > error page (which isn't really an error page but just a jsp that display a > message and allows a redirect back to the site's main page). I would li

Re: Generating a 404 response

2007-09-09 Thread Paul Singleton
ly an error page but just a jsp that display a message and allows a redirect back to the site's main page). I would like to return a status of 404 from this page but because the page gets served properly I am returning a status of 200. The problem with this is that my error page than gets

Re: Generating a 404 response

2007-09-09 Thread samk
nt page we redirect to our custom error page 404.jsp, which displays a nice error. What's happening is that if a spider (googlebot) has a reference to a page that's now non-existent it will come to that page and get sent to 404.jsp, which it will happily index since it gets a HTTP

Re: Generating a 404 response

2007-09-09 Thread Martin Gainty
immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Sunday, September 09, 2007 3:15 PM Subject: Generating a 404 response See Thread at: http://www.techienuggets.com/Detail?tx

Generating a 404 response

2007-09-09 Thread samk
a jsp that display a message and allows a redirect back to the site's main page). I would like to return a status of 404 from this page but because the page gets served properly I am returning a status of 200. The problem with this is that my error page than gets indexed by search engines.

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
> > I don't have a WEB-INF directory created yet - it does get auto-created, > > right? > > No. Ooops. :$ I created WEB-INF, chmod-ed, and it starts working now. (Well, the CFMLServlet works, the JSP servlet doesn't, but I don't really need that so I'm content to leave it.) Thanks to everyone

Re: full path of 404 file

2007-09-02 Thread Hassan Schroeder
On 9/2/07, Peter Boughton <[EMAIL PROTECTED]> wrote: > I don't have a WEB-INF directory created yet - it does get auto-created, > right? No. > Anyway, here's /usr/local/jakarta/tomcat/conf/web.xml You shouldn't have to touch this at all, and I certainly wouldn't make any changes there until you

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
/usr/local/jakarta/tomcat/webapps JkMount /* ajp13 JkUnMount /*.html ajp13 JkUnMount /*.jpg ajp13 JkUnMount /*.gif ajp13 JkUnMount /*.png ajp13 JkUnMount /*.php ajp13 Thanks, Peter On 9/2/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Peter Boughton

RE: full path of 404 file

2007-09-02 Thread Caldarale, Charles R
> From: Peter Boughton [mailto:[EMAIL PROTECTED] > Subject: Re: full path of 404 file > > Does the fact that it is apparently reaching the right > directory now mean that this is more likely to be a new > problem with web.xml rather than server.xml? Sounds like you really

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
Ok, tried using that configuration, but I'm still getting the 405 method not supported error for any jsp file. Does the fact that it is apparently reaching the right directory now mean that this is more likely to be a new problem with web.xml rather than server.xml? Thanks, Peter On 9/2/07, Ma

Re: full path of 404 file

2007-09-02 Thread Mark Thomas
Peter Boughton wrote: > Ooops. > This is what I currently have: > > > www.mydomain.com > > > > What do I need to change so that mydomain.com/whatever will load > /home/user0/public_html/whatever ? I would use: www.mydomain.com and not define any contexts in server.xml Content

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
Ooops. This is what I currently have: www.mydomain.com What do I need to change so that mydomain.com/whatever will load /home/user0/public_html/whatever ? On 9/2/07, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Peter Boughton wrote: > > As far as I can tell, the appBase and docBase are

Re: full path of 404 file

2007-09-02 Thread Peter Boughton
I'm not really trying to use webapps at all - I want each Host to be associated with a user account, like this: ... ... ... On 9/2/07, Bill Barker <[EMAIL PROTECTED]> wrote: > > > "Peter Boughton" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >I mean full system path. (eg: /usr/

Re: full path of 404 file

2007-09-01 Thread Mark Thomas
Peter Boughton wrote: > As far as I can tell, the appBase and docBase are correctly pointing to the > webroot dir, and there is the problem. appBase == docBase will result in all sorts of pain and grief. The appBase should never point to the root of any web application. Mark ---

Re: full path of 404 file

2007-09-01 Thread Bill Barker
"Peter Boughton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp >or > /home/user/domain/public_html/index.jsp or whatever) > As far as I can tell, the appBase and docBase are correctly pointing to > the > we

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
Only error/warning I can see in catalina.out is this: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed Dunno what that means, but a quick google suggests it can be ignored. On 9/1/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > > On 9/1/07, Peter

Re: full path of 404 file

2007-09-01 Thread Hassan Schroeder
On 9/1/07, Peter Boughton <[EMAIL PROTECTED]> wrote: > I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp or > /home/user/domain/public_html/index.jsp or whatever) > As far as I can tell, the appBase and docBase are correctly pointing to the > webroot dir, but cPanel/WHM auto

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
I mean full system path. (eg: /usr/local/jakarta/tomcat/webapps/index.jsp or /home/user/domain/public_html/index.jsp or whatever) As far as I can tell, the appBase and docBase are correctly pointing to the webroot dir, but cPanel/WHM auto-configured server.xml/etc so it could be doing anything. I'

Re: full path of 404 file

2007-09-01 Thread Hassan Schroeder
On 9/1/07, Peter Boughton <[EMAIL PROTECTED]> wrote: > Thanks for the suggestion. I tried access logging, but it's only listing the > "/index.jsp", not the full path. Uh, then that *is* the full path; sounds like you need to double-check your Tomcat appBase/docBase/etc. configuration... -- Hassa

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
xml Are there any other patterns that I'm missing? I'll see if I can get a custom 404 working. Thanks, Peter On 9/1/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > > On 9/1/07, Peter Boughton <[EMAIL PROTECTED]> wrote: > > > How do I find the full filen

<    3   4   5   6   7   8   9   10   11   >