error 404 when calling servlet

2003-01-24 Thread Syukri Jamaluddin
hi,
i'm new tomcat user (using 4.1.18 in windows 98), got a problem with my
servlet.

-i've constructed my webapp class dir \webapp\mysystem\WEB-INF\classes
and i'd put a sevlet there named MyServlet.class (this servlet works in
another web app server)

-i've tried to call directly from browser
http://127.0.0.1:8080/mysystem/servlet/MyServlet; and got response:

HTTP Status 404 - /mysystem/servlet/MyServlet
type: Status report
message: /mysystem/servlet/MyServlet
description: The requested resource (/mysystem/servlet/MyServlet) is not
available.

-i've checked the server.xml file, it's all there (the Context element)
and i've follow all the App Developer Guide.

-is there anything that i've missed to configure or any suggestion to
make this thing works, please.

thank you.




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




RE: error 404 when calling servlet

2003-01-24 Thread Turner, John

Do you have your servlet mapped in web.xml?  The default Invoker servlet is
disabled by default in 4.1.18 for security reasons.

John


 -Original Message-
 From: Syukri Jamaluddin [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 23, 2003 11:26 PM
 To: [EMAIL PROTECTED]
 Subject: error 404 when calling servlet
 
 
 hi,
 i'm new tomcat user (using 4.1.18 in windows 98), got a 
 problem with my
 servlet.
 
 -i've constructed my webapp class dir 
 \webapp\mysystem\WEB-INF\classes
 and i'd put a sevlet there named MyServlet.class (this 
 servlet works in
 another web app server)
 
 -i've tried to call directly from browser
 http://127.0.0.1:8080/mysystem/servlet/MyServlet; and got response:
 
 HTTP Status 404 - /mysystem/servlet/MyServlet
 type: Status report
 message: /mysystem/servlet/MyServlet
 description: The requested resource 
 (/mysystem/servlet/MyServlet) is not
 available.
 
 -i've checked the server.xml file, it's all there (the 
 Context element)
 and i've follow all the App Developer Guide.
 
 -is there anything that i've missed to configure or any suggestion to
 make this thing works, please.
 
 thank you.
 
 
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




RE: error 404 when calling servlet

2003-01-24 Thread Shapira, Yoav
Howdy,
You have two choices:

1. Comment in the servlet-mapping element for the invoker servlet in
$CATALINA_HOME/conf/web.xml.  This is commented out by default in tomcat
4.1.18 for security reasons.

2. Add a servlet and servlet-mapping element for your servlet class
into your web.xml.  (/mysystem/WEB-INF/web.xml).

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Syukri Jamaluddin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 11:26 PM
To: [EMAIL PROTECTED]
Subject: error 404 when calling servlet

hi,
i'm new tomcat user (using 4.1.18 in windows 98), got a problem with my
servlet.

-i've constructed my webapp class dir
\webapp\mysystem\WEB-INF\classes
and i'd put a sevlet there named MyServlet.class (this servlet works in
another web app server)

-i've tried to call directly from browser
http://127.0.0.1:8080/mysystem/servlet/MyServlet; and got response:

HTTP Status 404 - /mysystem/servlet/MyServlet
type: Status report
message: /mysystem/servlet/MyServlet
description: The requested resource (/mysystem/servlet/MyServlet) is
not
available.

-i've checked the server.xml file, it's all there (the Context element)
and i've follow all the App Developer Guide.

-is there anything that i've missed to configure or any suggestion to
make this thing works, please.

thank you.




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


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




RE: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-13 Thread Turner, John

The error message in this case is correct, as was the previous post.

The correct lines would be:

JkMount /*.jsp ajp13
JkMount /examples/* ajp13 

Note the leading / in the first line that was missing previously.

Also, in the original post, the error message specifically said done
without a match on /webapps/examples/jsp which was also true based on
your original config files.  There was no JkMount that matched that URL.

John


 -Original Message-
 From: Randall Perry [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, January 12, 2003 8:08 PM
 To: [EMAIL PROTECTED]
 Subject: Re: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18
 
 
 I discovered that the URL I was using to access the pages was wrong.
 
 Never mind. It's working fine. :)
 
 
  That's not it. I get the following error from 'apachectl 
 configtest' :
Context should start with /
  
  Use:
  JkMount *.jsp ajp13
  JkMount /examples/* ajp13
 
 -- 
 Randall Perry
 sysTame
 
 Xserve Web Hosting/Co-location
 Website Development/Promotion
 Mac Consulting/Sales
 
 http://www.systame.com/
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-13 Thread mech
Well actually *.jsp without leading / works for me, too. And I've seen
it also in some tutorials ;-)

By the way, it might by useful to add 

JkMount /examples ajp13

I experienced that http://localhost/examples was not transfered (only
http://localhost/examples/ )to the corresponding examples/index.jsp
until I added above JkMount. But IMHO this small issue might depend also
on Apache's config with respect to trailing slashes. Could be worth a
try in case, but might not be necessary...

mech

 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]] 
 Sent: Montag, 13. Januar 2003 13:57
 To: 'Tomcat Users List'
 Subject: RE: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18
 
 
 
 The error message in this case is correct, as was the previous post.
 
 The correct lines would be:
 
 JkMount /*.jsp ajp13
 JkMount /examples/* ajp13 
 
 Note the leading / in the first line that was missing previously.
 
 Also, in the original post, the error message specifically 
 said done without a match on /webapps/examples/jsp which 
 was also true based on your original config files.  There was 
 no JkMount that matched that URL.
 
 John
 
 
  -Original Message-
  From: Randall Perry [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, January 12, 2003 8:08 PM
  To: [EMAIL PROTECTED]
  Subject: Re: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18
  
  
  I discovered that the URL I was using to access the pages was wrong.
  
  Never mind. It's working fine. :)
  
  
   That's not it. I get the following error from 'apachectl
  configtest' :
 Context should start with /
   
   Use:
   JkMount *.jsp ajp13
   JkMount /examples/* ajp13
  
  --
  Randall Perry
  sysTame
  
  Xserve Web Hosting/Co-location
  Website Development/Promotion
  Mac Consulting/Sales
  
  http://www.systame.com/
  
  
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 


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




mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread Randall Perry
Successfully installed tomcat 4.1.18 and can access it on port 8080. Jsp 
servlets run ok.

Installed mod_jk.so v1.2.2, configured apache and get no errors on startup.

But, though I can access the directory pointed to by JKMount, and can load
static .html, no .jsp or servlet examples will run.

My machine is a Mac Xserve running OS 10.2.3 server.

Relevant configs appear below.

Any help is appreciated.


workers.properties

# Setup for Mac OS X
workers.tomcat_home=/usr/local/jakarta-tomcat-4.1.18
workers.java_home=/System/Library/Frameworks/JavaVM.framework/Home
worker.list=ajp13

#Definition for Ajp13 worker
worker.ajp13.port=8009
worker.ajp13.host=127.0.0.1
worker.ajp13.type=ajp13


httpd.conf

LoadModule jk_module/usr/libexec/httpd/mod_jk.so
AddModule mod_jk.c

VirtualHost 127.0.0.1
DocumentRoot /usr/local/jakarta-tomcat-4.1.18
JKMount /*.jsp ajp13
JKMount /webapps/examples/servlet/* ajp13
/VirtualHost

JkWorkersFile /usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log
JkLogLevel debug


mod_jk.log

[Sun Jan 12 13:36:49 2003]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (171)]: wc_create_worker, about to
validate and init ajp13
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1219)]: Into
jk_worker_t::validate
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1239)]: In
jk_worker_t::validate for worker ajp13 contact is 127.0.0.1:8009
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1267)]: Into jk_worker_t::init
[Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1287)]: In jk_worker_t::init,
setting socket timeout to 0
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (187)]: wc_create_worker, done
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (238)]: build_worker_map, removing
old ajp13 worker 
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (250)]: build_worker_map, done
[Sun Jan 12 13:36:49 2003]  [jk_worker.c (111)]: wc_open, done 1
[Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp'
[Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/'
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/index.html'
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/index.html'
[Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/webapps/examples/jsp/num/numguess.jsp'
[Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
[Sun Jan 12 13:37:07 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Sun Jan 12 13:37:07 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb -
Done
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (158)]: Into jk_open_socket
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (165)]: jk_open_socket, try to
connect socket = 6
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (174)]: jk_open_socket, after
connect ret = 0
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (183)]: jk_open_socket, set
TCP_NODELAY to on
[Sun Jan 12 13:37:07 2003]  [jk_connect.c (200)]: jk_open_socket, return, sd
= 6
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (614)]: In
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 6
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (642)]: sending to ajp13 #263
[Sun Jan 12 13:37:07 2003]  [jk_ajp_common.c (884)]: ajp_send_request 2:
request body to send 0 - 

RE: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread mech
Use:

JkMount *.jsp ajp13
JkMount /examples/* ajp13

 -Original Message-
 From: Randall Perry [mailto:[EMAIL PROTECTED]] 
 Sent: Sonntag, 12. Januar 2003 19:52
 To: [EMAIL PROTECTED]
 Subject: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18
 
 
 Successfully installed tomcat 4.1.18 and can access it on 
 port 8080. Jsp  servlets run ok.
 
 Installed mod_jk.so v1.2.2, configured apache and get no 
 errors on startup.
 
 But, though I can access the directory pointed to by JKMount, 
 and can load static .html, no .jsp or servlet examples will run.
 
 My machine is a Mac Xserve running OS 10.2.3 server.
 
 Relevant configs appear below.
 
 Any help is appreciated.
 
 
 workers.properties
 
 # Setup for Mac OS X 
 workers.tomcat_home=/usr/local/jakarta-tomcat-4.1.18
 workers.java_home=/System/Library/Frameworks/JavaVM.framework/Home
 worker.list=ajp13
 
 #Definition for Ajp13 worker
 worker.ajp13.port=8009
 worker.ajp13.host=127.0.0.1
 worker.ajp13.type=ajp13
 
 
 httpd.conf
 
 LoadModule jk_module/usr/libexec/httpd/mod_jk.so
 AddModule mod_jk.c
 
 VirtualHost 127.0.0.1
 DocumentRoot /usr/local/jakarta-tomcat-4.1.18
 JKMount /*.jsp ajp13
 JKMount /webapps/examples/servlet/* ajp13
 /VirtualHost
 
 JkWorkersFile 
 /usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
 JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log
 JkLogLevel debug
 
 
 mod_jk.log
 
 [Sun Jan 12 13:36:49 2003]  [jk_ajp13_worker.c (108)]: Into 
 ajp13_worker_factory [Sun Jan 12 13:36:49 2003]  [jk_worker.c 
 (171)]: wc_create_worker, about to validate and init ajp13 
 [Sun Jan 12 13:36:49 2003]  [jk_ajp_common.c (1219)]: Into 
 jk_worker_t::validate [Sun Jan 12 13:36:49 2003]  
 [jk_ajp_common.c (1239)]: In jk_worker_t::validate for worker 
 ajp13 contact is 127.0.0.1:8009 [Sun Jan 12 13:36:49 2003]  
 [jk_ajp_common.c (1267)]: Into jk_worker_t::init [Sun Jan 12 
 13:36:49 2003]  [jk_ajp_common.c (1287)]: In 
 jk_worker_t::init, setting socket timeout to 0 [Sun Jan 12 
 13:36:49 2003]  [jk_worker.c (187)]: wc_create_worker, done 
 [Sun Jan 12 13:36:49 2003]  [jk_worker.c (238)]: 
 build_worker_map, removing old ajp13 worker 
 [Sun Jan 12 13:36:49 2003]  [jk_worker.c (250)]: 
 build_worker_map, done [Sun Jan 12 13:36:49 2003]  
 [jk_worker.c (111)]: wc_open, done 1 [Sun Jan 12 13:36:59 
 2003]  [jk_uri_worker_map.c (460)]: Into 
 jk_uri_worker_map_t::map_uri_to_worker
 [Sun Jan 12 13:36:59 2003]  [jk_uri_worker_map.c (477)]: 
 Attempting to map URI '/webapps/examples/jsp' [Sun Jan 12 
 13:36:59 2003]  [jk_uri_worker_map.c (599)]: 
 jk_uri_worker_map_t::map_uri_to_worker, done without a match 
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into 
 jk_uri_worker_map_t::map_uri_to_worker
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: 
 Attempting to map URI '/webapps/examples/jsp/' [Sun Jan 12 
 13:37:00 2003]  [jk_uri_worker_map.c (599)]: 
 jk_uri_worker_map_t::map_uri_to_worker, done without a match 
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into 
 jk_uri_worker_map_t::map_uri_to_worker
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: 
 Attempting to map URI '/webapps/examples/jsp/index.html'
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]: 
 jk_uri_worker_map_t::map_uri_to_worker, done without a match 
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (460)]: Into 
 jk_uri_worker_map_t::map_uri_to_worker
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (477)]: 
 Attempting to map URI '/webapps/examples/jsp/index.html'
 [Sun Jan 12 13:37:00 2003]  [jk_uri_worker_map.c (599)]: 
 jk_uri_worker_map_t::map_uri_to_worker, done without a match 
 [Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (460)]: Into 
 jk_uri_worker_map_t::map_uri_to_worker
 [Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (477)]: 
 Attempting to map URI '/webapps/examples/jsp/num/numguess.jsp'
 [Sun Jan 12 13:37:07 2003]  [jk_uri_worker_map.c (558)]: 
 jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match 
 ajp13 - *.jsp [Sun Jan 12 13:37:07 2003]  [jk_worker.c 
 (132)]: Into wc_get_worker_for_name ajp13 [Sun Jan 12 
 13:37:07 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, 
 done  found a worker [Sun Jan 12 13:37:07 2003]  
 [jk_ajp_common.c (1404)]: Into jk_worker_t::get_endpoint [Sun 
 Jan 12 13:37:07 2003]  [jk_ajp_common.c (1116)]: Into 
 jk_endpoint_t::service [Sun Jan 12 13:37:07 2003]  
 [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb [Sun Jan 
 12 13:37:07 2003]  [jk_ajp_common.c (432)]: 
 ajp_marshal_into_msgb - Done [Sun Jan 12 13:37:07 2003]  
 [jk_connect.c (158)]: Into jk_open_socket [Sun Jan 12 
 13:37:07 2003]  [jk_connect.c (165)]: jk_open_socket, try to 
 connect socket = 6 [Sun Jan 12 13:37:07 2003]  [jk_connect.c 
 (174)]: jk_open_socket, after connect ret = 0 [Sun Jan 12 
 13:37:07 2003

Re: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread Randall Perry
That's not it. I get the following error from 'apachectl configtest' :
Context should start with /

 Use:
 JkMount *.jsp ajp13
 JkMount /examples/* ajp13

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/



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




Re: mod_jk error 404 with Apache 1.3.27, Tomcat 4.1.18

2003-01-12 Thread Randall Perry
I discovered that the URL I was using to access the pages was wrong.

Never mind. It's working fine. :)


 That's not it. I get the following error from 'apachectl configtest' :
   Context should start with /
 
 Use:
 JkMount *.jsp ajp13
 JkMount /examples/* ajp13

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/



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




HTTP Error 404 with Tomcat 4.1.18

2003-01-10 Thread Nihita Goel
Hi,

Would be grateful if anyone could help.

It is something basic  but I have been trying and there's no help ...

I have installed TomCat 4.1.18 over RH Linux and am able to run
succesfully but for a problem I am facing in deploying my own
application.

As given in the documentation I have created a directory myapp under
$CATALINA_HOME/web-apps/

With-in myapps is WEB-INF/classes where I have copied by
HelloServlet.class file. According to the documentation on giving
http://localhost:8080/myapp/servlet/HelloServlet in browser I should be
able to run my servlet but I get the error HTTP Error 404 : cannot find
resource.  If I copy the same to example/WEB-INF/classes it works.. What
is the problem? I also tried creating web.xml in WEB-INF directory but
still I get the same error..

Do I need to add /change anything in server.xml file ?

Also I tried copying the index.jsp from ROOT to myapps and then if I
give localhost:8080/myapps/index.jsp it runs ...

Pl help

N.G



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




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




Error 404, but it exists.

2002-10-01 Thread Nathan Coraor

Hi all,

I'm getting a 404 (using builtin webserver on port 8080) when trying to
open a dir containing an application.  Here's my Host container:

Host name=www.cse.psu.edu debug=0 appBase=/home/www
 unpackWARs=true autoDeploy=true

And Context container:

Context path=/cse411 docBase=/home/users1/cg411/www/disk
 debug=0 reloadable=true /

The dir exists and permissions are right (on the subdirs too)

 lla /home/users1/cg411/www/disk
drwxr-xr-x   4 cg411cg411 512 Oct  1 09:27 ./
drwxr-xr-x   8 cg411cg411 512 Oct  1 15:24 ../
-rw---   1 cg411cg411 2852002 Oct  1 09:26 DataProcessor.zip
-rw---   1 cg411cg411 709 Sep 10 11:36 README.txt
drwxr-xr-x   3 cg411cg411 512 Oct  1 15:23 WEB-INF/
drwxr-xr-x   3 cg411cg411 512 Oct  1 15:23 jsp/

If I set docBase to /home/users1/cg411/www, it works and I can even
browse into the disk subdir, but the JSP
(disk/jsp/dataproc/DiskDrive.jsp) doesn't function (I'm assuming
because Tomcat doesn't know to look for the classes in disk/WEB-INF).

The answer is probably staring me in the face, but I just can't figure
it out.

Thanks,
--nate

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




I got error 404 when retrieving jsp files...

2002-07-09 Thread El JC

I think it is a configuration probleme, but i don't' know how to resolve 
it..

I use Apache 1.3.23 with mod_jk and tomcat 3.3
OS os linux RedHat 7.3

everything work (html, php) but jsp send me error 404...

Thanks anybody

@+

- JaySee -

_
Discutez en ligne avec vos amis ! http://messenger.msn.fr


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




fyi: tomcat 4.0.1 examples on MacOS X (error 404)

2002-06-12 Thread Robert . Parker


I recently downloaded
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
ta-tomcat-4.0.1.tar.gz but the servlet examples did not work (error 404).

Looking at the files in the logs/ folder showed there was a problem with
loading SetCharacterEncodingFilter class. I then came across a file called
SetCharacterEncodingFilter.clas in webapps/examples/WEB-INF/classes/filters/
folder.

When I renamed this file to SetCharacterEncodingFilter.class the examples
were accessible!

It's probably something to do with my OS X being on a Mac compatible partition
and so filenames longer than 32 are truncated (?)

Hope this helps someone

Robert



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




Re: fyi: tomcat 4.0.1 examples on MacOS X (error 404)

2002-06-12 Thread Martin Jacobson

[EMAIL PROTECTED] wrote:

 I recently downloaded
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar
 ta-tomcat-4.0.1.tar.gz but the servlet examples did not work (error 404).
 
 Looking at the files in the logs/ folder showed there was a problem with
 loading SetCharacterEncodingFilter class. I then came across a file called
 SetCharacterEncodingFilter.clas in webapps/examples/WEB-INF/classes/filters/
 folder.
 
 When I renamed this file to SetCharacterEncodingFilter.class the examples
 were accessible!
 
 It's probably something to do with my OS X being on a Mac compatible partition
 and so filenames longer than 32 are truncated (?)
 


IIRR, the problem is either in Stuffit, or std Mac OS X tar - I 
downloaded GNU tar, and have had no problems since.

Hope this helps
Martin.



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




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]




error 404

2002-04-03 Thread Yunce Gunawan


hi all,

i have added this charakters to my configuration on httpd.conf
IfModule mod_webapp.c
 WebAppConnection conn warp picard:8080
 WebAppDeploy tomcat conn /
 WebAppDeploy cocoon conn /cocoon
 WebAppInfo /webapp-info
/IfModule

and than on my browser i always see this error.

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

can anybody help me ?




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




RE: error 404

2002-04-03 Thread John Burgess

If 8080 is what you actually put in httpd.conf, are you sure that is the
port the warp connector is on. 8008 is more usual, with 8080 being the http
port for standalone tomcat.

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Yunce Gunawan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:22 PM
To: Tomcat Users List
Subject: error 404



hi all,

i have added this charakters to my configuration on httpd.conf
IfModule mod_webapp.c
 WebAppConnection conn warp picard:8080
 WebAppDeploy tomcat conn /
 WebAppDeploy cocoon conn /cocoon
 WebAppInfo /webapp-info
/IfModule

and than on my browser i always see this error.

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

can anybody help me ?




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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02
 

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




Re: error 404

2002-04-03 Thread Yunce Gunawan

i'm not sure ...
where can i check this warp connector ?

-- if i use 8008, i see the same error


On Wednesday 03 April 2002 14:29, you wrote:
 If 8080 is what you actually put in httpd.conf, are you sure that is the
 port the warp connector is on. 8008 is more usual, with 8080 being the http
 port for standalone tomcat.

 Best Wishes
 John Burgess
 [EMAIL PROTECTED]
 Tel: 01865 718666
 Fax: 01865 718600


 -Original Message-
 From: Yunce Gunawan [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 03, 2002 1:22 PM
 To: Tomcat Users List
 Subject: error 404



 hi all,

 i have added this charakters to my configuration on httpd.conf
 IfModule mod_webapp.c
  WebAppConnection conn warp picard:8080
  WebAppDeploy tomcat conn /
  WebAppDeploy cocoon conn /cocoon
  WebAppInfo /webapp-info
 /IfModule

 and than on my browser i always see this error.

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

 can anybody help me ?

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




RE: error 404

2002-04-03 Thread Chris Newland

Hi,

Did you restart Apache after you started Tomcat?

Regards,

Chris

 -Original Message-
 From: Yunce Gunawan [mailto:[EMAIL PROTECTED]]
 Sent: 03 April 2002 13:22
 To: Tomcat Users List
 Subject: error 404
 
 
 
 hi all,
 
 i have added this charakters to my configuration on httpd.conf
 IfModule mod_webapp.c
  WebAppConnection conn warp picard:8080
  WebAppDeploy tomcat conn /
  WebAppDeploy cocoon conn /cocoon
  WebAppInfo /webapp-info
 /IfModule
 
 and than on my browser i always see this error.
 
 WebApp: Error 404
 (File: wa_request.c Line: 205)
 Web-application not yet deployed 
 
 can anybody help me ?
 
 
 
 
 --
 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: error 404

2002-04-03 Thread Yunce Gunawan

of course


On Wednesday 03 April 2002 14:30, you wrote:
 Hi,

 Did you restart Apache after you started Tomcat?

 Regards,

 Chris

  -Original Message-
  From: Yunce Gunawan [mailto:[EMAIL PROTECTED]]
  Sent: 03 April 2002 13:22
  To: Tomcat Users List
  Subject: error 404
 
 
 
  hi all,
 
  i have added this charakters to my configuration on httpd.conf
  IfModule mod_webapp.c
   WebAppConnection conn warp picard:8080
   WebAppDeploy tomcat conn /
   WebAppDeploy cocoon conn /cocoon
   WebAppInfo /webapp-info
  /IfModule
 
  and than on my browser i always see this error.
 
  WebApp: Error 404
  (File: wa_request.c Line: 205)
  Web-application not yet deployed
 
  can anybody help me ?
 
 
 
 
  --
  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: error 404

2002-04-03 Thread rsequeira


1) What's the URL you are using?
2) check the tomcat logs to see if there were any errors when deploying the
cocoon and tomcat web applications.
3) The port in your WebAppConnection line should match port defined in
server.xml. By default the WarpConnector listens on port 8008. See
server.xml
snip
Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008/
/snip
4) And again as others have already said, start Tomcat first and once you
know that Tomcat has started, start Apache.

Thanks.
RS





Yunce Gunawan [EMAIL PROTECTED] on 04/03/2002 06:35:57 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: error 404

of course


On Wednesday 03 April 2002 14:30, you wrote:
 Hi,

 Did you restart Apache after you started Tomcat?

 Regards,

 Chris

  -Original Message-
  From: Yunce Gunawan [mailto:[EMAIL PROTECTED]]
  Sent: 03 April 2002 13:22
  To: Tomcat Users List
  Subject: error 404
 
 
 
  hi all,
 
  i have added this charakters to my configuration on httpd.conf
  IfModule mod_webapp.c
   WebAppConnection conn warp picard:8080
   WebAppDeploy tomcat conn /
   WebAppDeploy cocoon conn /cocoon
   WebAppInfo /webapp-info
  /IfModule
 
  and than on my browser i always see this error.
 
  WebApp: Error 404
  (File: wa_request.c Line: 205)
  Web-application not yet deployed
 
  can anybody help me ?
 
 
 
 
  --
  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: error 404

2002-04-03 Thread Yunce Gunawan

On Wednesday 03 April 2002 15:23, you wrote:
 1) What's the URL you are using?

i use picard.rz.hu-berlin.de

 2) check the tomcat logs to see if there were any errors when deploying the
 cocoon and tomcat web applications.

i don't see any errors 
just this .

..
2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:597   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category sitemap.serializer.html not defined in configuration. 
New Logger created and returne
d

2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:604   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category sitemap.serializer.html not defined in configuration. 
New Logger created and returne
d

2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:608   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category sitemap.serializer.html not defined in configuration. 
New Logger created and returne
d

2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:621   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category core.xscript not defined in configuration. New Logger 
created and returned

2002-04-03 15:46:33 StandardWrapper[/cocoon:default]: Loading container 
servlet default
2002-04-03 15:46:33 default: init
2002-04-03 15:46:33 StandardWrapper[/cocoon:invoker]: Loading container 
servlet invoker
2002-04-03 15:46:33 invoker: init
2002-04-03 15:46:33 jsp: init

i don't understand, whats mean  Unknown-URI) Unknown-thread/LogKitLogger  , 
may u can help me...

 3) The port in your WebAppConnection line should match port defined in
 server.xml. By default the WarpConnector listens on port 8008. See
 server.xml
 snip
 Connector className=org.apache.catalina.connector.warp.WarpConnector
  port=8008/
 /snip

i have done


 4) And again as others have already said, start Tomcat first and once you
 know that Tomcat has started, start Apache.

i have done too...
but  this error always come :(

i don't know now, what must i do  
thanks anyway...

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




RE: error 404

2002-04-03 Thread John Burgess

Yunce

Assuming a default tomcat setup-
can you connect to http://localhost:8080/tomcat/your_file.jsp_here or
http://localhost:8080/cocoon/your_file.jsp_here
or http://picard.rz.hu-berlin.de:8080/tomcat/your_file.jsp_here

If you first get tomcat standalone working then you have a firm foundation
for getting apache/tomcat integration going

Best Wishes
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-Original Message-
From: Yunce Gunawan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 3:08 PM
To: Tomcat Users List
Subject: Re: error 404


On Wednesday 03 April 2002 15:23, you wrote:
 1) What's the URL you are using?

i use picard.rz.hu-berlin.de

 2) check the tomcat logs to see if there were any errors when deploying
the
 cocoon and tomcat web applications.

i don't see any errors 
just this .

..
2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:597   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category sitemap.serializer.html not defined in configuration.

New Logger created and returne
d

2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:604   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category sitemap.serializer.html not defined in configuration.

New Logger created and returne
d

2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:608   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category sitemap.serializer.html not defined in configuration.

New Logger created and returne
d

2002-04-03 15:46:33 DEBUG   (2002-04-03) 15:46.33:621   [] 
(Unknown-URI) Unknown-thread/LogKitLogge
r: Logger for category core.xscript not defined in configuration. New Logger

created and returned

2002-04-03 15:46:33 StandardWrapper[/cocoon:default]: Loading container 
servlet default
2002-04-03 15:46:33 default: init
2002-04-03 15:46:33 StandardWrapper[/cocoon:invoker]: Loading container 
servlet invoker
2002-04-03 15:46:33 invoker: init
2002-04-03 15:46:33 jsp: init

i don't understand, whats mean  Unknown-URI) Unknown-thread/LogKitLogger
, 
may u can help me...

 3) The port in your WebAppConnection line should match port defined in
 server.xml. By default the WarpConnector listens on port 8008. See
 server.xml
 snip
 Connector className=org.apache.catalina.connector.warp.WarpConnector
  port=8008/
 /snip

i have done


 4) And again as others have already said, start Tomcat first and once you
 know that Tomcat has started, start Apache.

i have done too...
but  this error always come :(

i don't know now, what must i do  
thanks anyway...

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 22/03/02
 

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




Re: error 404

2002-04-03 Thread Joseph Molnar

Hi Yunce.

If this two work one of two things needs to happen

a) The module needs to be statically link to Apache.

You can check this by doing httpd -l, it will list all modules
(this is most likely what you need to do unless you built apache
yourself)

b) You need to specifically load the module

To do this, I am using the following lines:

LoadModule webapp_module  libexec/mod_webapp.so
AddModule  mod_webapp.c


I am guessing you will need to do the later.

Joe

- Original Message -
From: Yunce Gunawan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 4:21 AM
Subject: error 404



 hi all,

 i have added this charakters to my configuration on httpd.conf
 IfModule mod_webapp.c
  WebAppConnection conn warp picard:8080
  WebAppDeploy tomcat conn /
  WebAppDeploy cocoon conn /cocoon
  WebAppInfo /webapp-info
 /IfModule

 and than on my browser i always see this error.

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

 can anybody help me ?




 --
 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]




basic authentication with IIS - error 404 - tomcat 3.2.3

2001-11-22 Thread Samuel Rochas

Hello Ingo, 

Now I can use the BASIC authentication too, but only within tomcat.
The dialog poped up while trying to log the protected area is slightly
different, depending if I use tomcat (localhost:8080) or IIS
(localhost). The dialog shown in the first case is generated from
tomcat, this one show the information 'realm'. In the second case,  the
dialog is, as you indicated, generated from the IIS itself.

Unfortunatly, even I've defined a user on the IIS machine as you
proposed, no login is allowed.

BUT:
Using tomcat for the authentication is not working completely: the
authentication is going well, but the result of it is not the jsp page I
wanted to see, but a 404 error, saying the page does not exist.
If I switch off the authentication, the page can be displayed very well.
Any hint?

Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

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




Re: basic authentication with IIS - error 404 - tomcat 3.2.3

2001-11-22 Thread Samuel Rochas

Hello, 

Well, I just write a response to myself ;)

The following problem is not there with NT4/IIS 4. I have it only with
W2K/IIS 5.

 Using tomcat for the authentication is not working completely: the
 authentication is going well, but the result of it is not the jsp page I
 wanted to see, but a 404 error, saying the page does not exist.
 If I switch off the authentication, the page can be displayed very well.
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
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]




error 404 with a GET request

2001-09-13 Thread Judith NATAF

I've just installed the jakarta-tomcat-3.2.3 web server.

hen I try to send my http GET request:

 GET http://localhost/index.vxml HTTP/1.0
 Accept: */*
 User-Agent: myClientHttp
 Connection: close

The tomcat web server answers : error 404

When I use Internet Explorer the url works and I get
the page I want.

Is there something missing in my request ?
Do I have missed to configure Tomcat with my proxy address for example ?

Thank you for your help.

Judith.



RE: error 404 with a GET request

2001-09-13 Thread Tony Vinayak

Are you using telnet to do the GET? If so, try something like:

telnet localhost 8080
GET /index.vxml HTTP/1.0
Press ENTER

- Tony
-Original Message-
From: Judith NATAF [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:28 PM
To: [EMAIL PROTECTED]
Subject: error 404 with a GET request 


I've just installed the jakarta-tomcat-3.2.3 web server.

hen I try to send my http GET request:

 GET http://localhost/index.vxml HTTP/1.0
 Accept: */*
 User-Agent: myClientHttp
 Connection: close

The tomcat web server answers : error 404

When I use Internet Explorer the url works and I get
the page I want.

Is there something missing in my request ?
Do I have missed to configure Tomcat with my proxy address for example ?

Thank you for your help.

Judith.




Re: error 404 with a GET request

2001-09-13 Thread David Wall

  GET http://localhost/index.vxml HTTP/1.0
  Accept: */*
  User-Agent: myClientHttp
  Connection: close

 The tomcat web server answers : error 404

The GET should not include the HTTP URL part.  You should connect to port 80
(the http:// part) of 'localhost''s IP address and do a get on just
'/index.vxml'

David




error 404 R

2001-07-17 Thread Fredrik Liden

Hello, does anyone know why I keep getting the following messages?
I can't find any path in my files that looks like the ones below.
can it bring down the server?
 
I'm using tomcat standalone.
Any feedback would be appreciated
 
2001-07-03 09:48:31 - Ctx( /examples ): 404 R( /examples +
/html/html/Images/RWS
LOGO.gif + null) null
2001-07-03 09:48:38 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null
2001-07-03 09:48:55 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null  



RE: error 404 R

2001-07-17 Thread Saritha Pula

look into tomcat\conf\server.xml..
--Pula

-Original Message-
From: Fredrik Liden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 1:49 PM
To: '[EMAIL PROTECTED]'
Subject: error 404 R


Hello, does anyone know why I keep getting the following messages?
I can't find any path in my files that looks like the ones below.
can it bring down the server?
 
I'm using tomcat standalone.
Any feedback would be appreciated
 
2001-07-03 09:48:31 - Ctx( /examples ): 404 R( /examples +
/html/html/Images/RWS
LOGO.gif + null) null
2001-07-03 09:48:38 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null
2001-07-03 09:48:55 - Ctx( /examples ): 404 R( /examples +
/html/Images/RWSLOGO.
gif + null) null  



Re: error 404 not found

2001-07-09 Thread Matt Goodall

You probably haven't told the isapi plugin what URLs to match. You need to
put them in (I think) $TOMCAT_HOME/conf/uriworkermap.properties. Sorry,
can't remember more than that but it is documented in the Tomcat-IIS HOWTO.

Cheers, Matt
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 5:08 PM
Subject: error 404 not found



 hi all,


 i'm running Win2K  using IIS (i can't use apache). tomcat is setup
 correctly. i can use tomcat's server to go to a jsp page, but if i go
 through IIS i get a 404 no found error.
  for example, i can go to localhost:8080/examples/myexample.jsp but i
CAN'T
 go to localhost/examples/myexample.jsp
 does anyone have any ideas why i can't go through IIS? my green arrow is
 'up', my logs are running, i have a jakarta virtual directory (with
execute
 access), my registry appears ok, my tomcat_home  java_home env vars are
ok.

 The Tomcat 3.2.1 shell window shows the following message:

   2001-07-09 09:00:58 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll = +
 null) null

  The server.log of the IIS 5 has the following entries:

 #Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port
 cs-method cs-uri-stem cs-uri-query sc-status cs-version cs-host
 cs(User-Agent)
 2001-07-09 09:00:58 127.0.0.1 - W3SVC1 GALILEE 127.0.0.1 80 GET
 /jakarta/isapi_redirect.dll - 200 HTTP/1.1 localhost
 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)

 and the isapi.log is:

  [jk_isapi_plugin.c (408)]: HttpFilterProc started
  [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
  /jakarta/isapi_redirect.dll
  [jk_uri_worker_map.c (344)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [jk_uri_worker_map.c (434)]:
  jk_uri_worker_map_t::map_uri_to_worker, done
  without a match
  [jk_isapi_plugin.c (452)]: HttpFilterProc
  [/jakarta/isapi_redirect.dll] is
  not a servlet url
  [jk_isapi_plugin.c (461)]: HttpFilterProc check if
  [/jakarta/isapi_redirect.dll] is points to the web-inf directory
  [jk_isapi_plugin.c (517)]: HttpExtensionProc started
  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
  [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for
  name ajp12
  [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
  [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
  [jk_connect.c (108)]: Into jk_open_socket
  [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2020
  [jk_connect.c (124)]: jk_open_socket, after connect ret = 0
  [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
  [jk_connect.c (140)]: jk_open_socket, return, sd = 2020
  [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2020
  [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
  [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the
  ajp12 start
  sequence
  [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the
 headers
  [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the
  terminating
  mark
  [jk_ajp12_worker.c (472)]: ajpv12_handle_request done
  [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
  [jk_ajp12_worker.c (488)]: Into ajpv12_handle_response
  [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
  Status: 404 Not
  Found
  [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
  Status=404 Not Found
  [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
 Content-Type:
  text/html
  [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
  Content-Type=text/html
  [jk_ajp12_worker.c (542)]: ajpv12_handle_response, allocating
  header arrays
  [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
  Content-Length: 201
  [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
  Content-Length=201
  [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
  Servlet-Engine:
  Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0;
  Windows 2000 5.0
  x86; java.vendor=Sun Microsystems Inc.)
  [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
  Servlet-Engine=Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2;
  Java 1.3.0;
  Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
  [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
  [jk_ajp12_worker.c (504)]: ajpv12_handle_response, headers are
 done
  [jk_ajp12_worker.c (563)]: ajpv12_handle_response, starting
 response
  [jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response
  [jk_ajp12_worker.c (574)]: ajpv12_handle_response, reading
  response body
  [jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write
  [jk_ajp12_worker.c (590)]: ajpv12_handle_response, response
  body is done
  [jk_ajp12_worker.c (602)]: ajpv12_handle_response done
  [jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK
  [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

  Have you got an idea what the problem could be and do you need more
 Thanks any help you can offer, I'm stuck!

 Herv..






Error 404

2001-06-21 Thread Wohlfahrt, Guenther
Title: Error 404





Hi all,


I would need help because the redirector does not work in my particular environment.
I have Win2000/PWS and Tomcat 3.2.2 installed. The servlet engine works fine without collaboration with the IIS/PWS.


I checked each step of the configuration several times but ever I try to execute http://localhost/examples/jsp/index.html

I receive the 404 error.


The Tomcat 3.2 shell window shows the following message:
2001-06-21 02:52:20 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null


The server.log of the IIS/PWS has the following entries:
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2001-06-21 11:09:37
#Fields: time c-ip cs-method cs-uri-stem sc-status 
11:09:37 127.0.0.1 GET /jakarta/examples/jsp/index.html 404
11:12:04 127.0.0.1 GET /examples/jsp/index.html 200
11:12:10 127.0.0.1 GET /examples/jsp/index.html 200
11:12:12 127.0.0.1 GET /examples/jsp/index.html 200


Have you got an idea what the problem could be and do you need more information ?


Many thanks in advance


Günther Wohlfahrt





AW: Error 404

2001-06-21 Thread Ralph Einfeldt

If you are using tomcat behind a web server, by default 
only the request that match *.jsp are forwarded to tomcat. 

The solution depends on what you want, if you want this 
page to be delivered by tomcat rename it to index.jsp, 
otherwise place it in the document root of the web server 
as examples\jsp\index.html.

-Ursprüngliche Nachricht-
Von: Wohlfahrt, Guenther [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 21. Juni 2001 15:03
An: [EMAIL PROTECTED]
Betreff: Error 404
snip/
http://localhost/examples/jsp/index.html
snip/



error 404 tomcat/IIS

2001-03-22 Thread Lars Andersson

I use tomcat 3.2.1 and IIS 4.0 to execute my jsp pages and i receive the
error 404 when trying to connect to the IIS.

The strange thing is that a restart of the computer where the site is hosted
results in that i receive the first jsp page and then it's error 404.
And if i reload the first page again it's also error 404.

The IIS log-
GET /jakarta/isapi_redirect.dll 200
GET /examples/images/return.gif 404

The isapi log-
[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL
parameter
[jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters

Regards

Lars
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: error 404 tomcat/IIS

2001-03-22 Thread Leigh Dyer

I'm having exactly the same problem trying to run servlets in Tomcat 3.2
on IIS 4.0 - IIS successfully passes the first request back to Tomcat,
but after that the redirector seems to die and IIS tries to serve the
requests itself, resulting in the 404.

Has anyone ever seen anything like this?

Thanks
Leigh

On 22 Mar 2001 15:55:53 +0100, Lars Andersson wrote:
 I use tomcat 3.2.1 and IIS 4.0 to execute my jsp pages and i receive the
 error 404 when trying to connect to the IIS.
 
 The strange thing is that a restart of the computer where the site is hosted
 results in that i receive the first jsp page and then it's error 404.
 And if i reload the first page again it's also error 404.
 
 The IIS log-
 GET /jakarta/isapi_redirect.dll 200
 GET /examples/images/return.gif 404
 
 The isapi log-
 [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL
 parameter
 [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free,
 NULL parameters
 
 Regards
 
 Lars
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 




error 404 in tomcat 4.01b (fwd)

2001-03-05 Thread Mason Nakadomari




-- Forwarded message --
Date: Mon, 5 Mar 2001 10:54:23 -1000 (HST)
From: Mason Nakadomari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: error 404 in tomcat 4.01b

Hi, I was wondering if anyone encountered an error 404 when trying to load
their webpages to webapps.  I put in a folder called tutorial01 with the
appropriate web.xml and index.html to test the server.  I am running
windows98 with ie5.5 yeah i know I should go to window2000 but that is in
progress. 




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




Error 404 running isapi with PWS 4.0 and Tomcat 3.2

2001-02-27 Thread Ralf Weiss




Hi all ,

Im trying to let PWS 4.0 work together with Tomcat 3.2 under NT 4.0.

I think the isapi_redirect.dll is properly configured but I alway get the
error 404 and dont know why. I also studied the several How-Tos
but I didnt find any new hint.

The isapi.log looks like this when Im trying to acces the url
"http://localhost/examples/jsp/index.html":

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/index.html] is
 points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll ] is not
a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll
] is points to the web-inf directory


Any idea?

Thanks in advance

Ralf



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




RE: Tomcat, IIS and error 404

2001-02-21 Thread Alberto Vezzoso




From: Randy Layman [EMAIL PROTECTED]
To: Alberto Vezzoso [EMAIL PROTECTED]
Subject: RE: Tomcat, IIS and error 404
Date: Mon, 19 Feb 2001 11:49:37 -0500


   NULL parameters means that it either can't find your
uriworkermap.properties file or that it doesn't contain any mapping entries
(lines of the form x=y where x is a URL parameter that might contain a * 
and
y is a protocol defined in workers.properties).

   Make sure that there are not any trailing spaces on the ends of your
Registry entry keys and values.  One good way to check this is to look in
conf\isapi_redirect.reg-auto (or some similar file name).  This will list
the registry entries that isapi_redirect.dll sees.  If the
uriworkermap.properties isn't listed there its because of an error in the
registry path.  I believe that this file is generated for all debugging
levels, but it might just be for DEBUG.

   Randy

RANDY AND OTHERS,
MAY BE I FIND THE PROBLEM.

THE conf\isapi_redirect.reg-auto is named in my computer 
conf\iis_redirect.reg-auto.

INSIDE IT THE FOLLOWING:

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\Program Files\\jakarta-tomcat-3.2.1\\logs\\iis_redirect.log"
"log_level"="debug"
"worker_file"="C:\\Program 
Files\\jakarta-tomcat-3.2.1\\conf\\workers.properties"
"worker_mount_file"="C:\\Program 
Files\\jakarta-tomcat-3.2.1\\conf\\uriworkermap.properties"

IT IS ALL THE SAME AS IN THE REGISTRY EXCEPT FOR THE "log_file" (IT IS 
WRITTEN iis_redirect.log INSTEAD OF isapi_redirect.log AT THE END)

IS IT A PROBLEM OR IS IT NORMAL? IS IT A POSSIBLE SOURCE OF MISTAKE? IF YES 
HOW CAN I SOLVE IT?

REGARDS,

ALBERTO





-Original Message-
From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 12:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat, IIS and error 404





 From: Randy Layman [EMAIL PROTECTED]
 To: Alberto Vezzoso [EMAIL PROTECTED]
 Subject: RE: Tomcat, IIS and error 404
 Date: Mon, 19 Feb 2001 09:15:09 -0500
 
 
  You're getting a 404 error trying to load a *.html file.  Your
 uriworkermap.properties file indicates that ISAPI_REDIRECT.dll should 
grab
 all the urls that match /examples/*.jsp or /examples/servlet/* -
 /examples/*.html does not match so the filter doesn't handle the URL and
 IIS
 can't find the file on its own.  If you comment out the two lines you 
have
 and uncomment the line thats three above those it will work.  (You need a
 line that explictly says:
 /examples/*=ajp12
 for ISAPI_REDIRECT.dll to load your html.)

UNFORTUNATELLY IT IS NOT THE PROBLEM. I'VE CHANGED AGAIN THE
URIWORKERMAP.PROPERTIES AND THE REDIRECTION DOESEN'T WORK.

THE MESSAGE FROM THE ISAPI.LOG FILE ARE:
[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, 
NULL

parameter
[jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters

ISN'T THERE ANOTHER POSSIBLE SOLUTIONS TO THIS PROBLEM?

REGARDS,

ALBERTO




 
  Randy
 
 -Original Message-
 From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 19, 2001 9:41 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Tomcat, IIS and error 404
 
 
 
 
  From: Randy Layman [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: RE: Tomcat, IIS and error 404
  Date: Mon, 19 Feb 2001 08:18:35 -0500
  
  
 Make sure that your uriworkermap.properties file contains a maping
  for /examples/*=ajp12 and check the registry entry for
  uriworkermap.properties to make sure that it points to the correct file
  path.
  
 Randy
 
 
 Thanks for your answer. I've checked the registry entries and it is
 correct.
 
 As for my uriworkermap.properties it is like that
 
 #
 # Simple worker configuration file
 #
 
 # Mount the servlet context to the ajp12 worker
 /servlet/*=ajp12
 
 # Mount the examples context to the ajp12 worker
 #/examples/*=ajp12
 
 # Advanced mount of the examples context
 /examples/*.jsp=ajp12
 /examples/servlet/*=ajp12
 
 
 Probably it is incorrect but I don't know what change should I do. What 
do
 you mean with "Make sure that your uriworkermap.properties file contains 
a
 maping for /examples/*=ajp12"
 
 Thanks a lot,
 
 Alberto
 
 
  
 
 
  
  -Original Message-
  From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 19, 2001 8:32 AM
  To: [EMAIL PROTECTED]
  Subject: Tomcat, IIS and error 404
  
  
  Hi, I'm trying to install Tomcat over IIS
  
  I've read the tutorial and I followed all the instructions.
  
  Tomcat works correctly on port 8080. The url:
  http://localhost:8080/examples/jsp/index.html works correctly while the
  url:
  
  http://localhost/examples/jsp/index.html returns an error 404.
  
  These are the messages that I get from the isapi.log file:
  [

RE: Tomcat, IIS and error 404

2001-02-21 Thread Randy Layman


I believe that the source of your problem is the double back
slashes.  In the registry you don't need to specify them.

Randy

-Original Message-
From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 3:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat, IIS and error 404





From: Randy Layman [EMAIL PROTECTED]
To: Alberto Vezzoso [EMAIL PROTECTED]
Subject: RE: Tomcat, IIS and error 404
Date: Mon, 19 Feb 2001 11:49:37 -0500


   NULL parameters means that it either can't find your
uriworkermap.properties file or that it doesn't contain any mapping
entries
(lines of the form x=y where x is a URL parameter that might contain a
* 
and
y is a protocol defined in workers.properties).

   Make sure that there are not any trailing spaces on the ends of
your
Registry entry keys and values.  One good way to check this is to look
in
conf\isapi_redirect.reg-auto (or some similar file name).  This will
list
the registry entries that isapi_redirect.dll sees.  If the
uriworkermap.properties isn't listed there its because of an error in
the
registry path.  I believe that this file is generated for all debugging
levels, but it might just be for DEBUG.

   Randy

RANDY AND OTHERS,
MAY BE I FIND THE PROBLEM.

THE conf\isapi_redirect.reg-auto is named in my computer 
conf\iis_redirect.reg-auto.

INSIDE IT THE FOLLOWING:

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\Program
Files\\jakarta-tomcat-3.2.1\\logs\\iis_redirect.log"
"log_level"="debug"
"worker_file"="C:\\Program 
Files\\jakarta-tomcat-3.2.1\\conf\\workers.properties"
"worker_mount_file"="C:\\Program 
Files\\jakarta-tomcat-3.2.1\\conf\\uriworkermap.properties"

IT IS ALL THE SAME AS IN THE REGISTRY EXCEPT FOR THE "log_file" (IT IS 
WRITTEN iis_redirect.log INSTEAD OF isapi_redirect.log AT THE END)

IS IT A PROBLEM OR IS IT NORMAL? IS IT A POSSIBLE SOURCE OF MISTAKE? IF
YES 
HOW CAN I SOLVE IT?

REGARDS,

ALBERTO





-Original Message-
From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 12:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat, IIS and error 404





 From: Randy Layman [EMAIL PROTECTED]
 To: Alberto Vezzoso [EMAIL PROTECTED]
 Subject: RE: Tomcat, IIS and error 404
 Date: Mon, 19 Feb 2001 09:15:09 -0500
 
 
  You're getting a 404 error trying to load a *.html file.  Your
 uriworkermap.properties file indicates that ISAPI_REDIRECT.dll should

grab
 all the urls that match /examples/*.jsp or /examples/servlet/* -
 /examples/*.html does not match so the filter doesn't handle the URL
and
 IIS
 can't find the file on its own.  If you comment out the two lines you

have
 and uncomment the line thats three above those it will work.  (You
need a
 line that explictly says:
 /examples/*=ajp12
 for ISAPI_REDIRECT.dll to load your html.)

UNFORTUNATELLY IT IS NOT THE PROBLEM. I'VE CHANGED AGAIN THE
URIWORKERMAP.PROPERTIES AND THE REDIRECTION DOESEN'T WORK.

THE MESSAGE FROM THE ISAPI.LOG FILE ARE:
[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close,

NULL

parameter
[jk_uri_worker_map.c (184)]: In
jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters

ISN'T THERE ANOTHER POSSIBLE SOLUTIONS TO THIS PROBLEM?

REGARDS,

ALBERTO




 
  Randy
 
 -Original Message-
 From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 19, 2001 9:41 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Tomcat, IIS and error 404
 
 
 
 
  From: Randy Layman [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: RE: Tomcat, IIS and error 404
  Date: Mon, 19 Feb 2001 08:18:35 -0500
  
  
 Make sure that your uriworkermap.properties file contains a
maping
  for /examples/*=ajp12 and check the registry entry for
  uriworkermap.properties to make sure that it points to the correct
file
  path.
  
 Randy
 
 
 Thanks for your answer. I've checked the registry entries and it is
 correct.
 
 As for my uriworkermap.properties it is like that
 
 #
 # Simple worker configuration file
 #
 
 # Mount the servlet context to the ajp12 worker
 /servlet/*=ajp12
 
 # Mount the examples context to the ajp12 worker
 #/examples/*=ajp12
 
 # Advanced mount of the examples context
 /examples/*.jsp=ajp12
 /examples/servlet/*=ajp12
 
 
 Probably it is incorrect but I don't know what change should I do.
What 
do
 you mean with "Make sure that your uriworkermap.properties file
contains 
a
 maping for /examples/*=ajp12"
 
 Thanks a lot,
 
 Alberto
 
 
  
 
 
  
  -Original Message-
  From: Alberto Vezzoso [mailto:[EMAIL PROTECTED]]
  Sent: Monday, February 19, 2001 8:32 AM
  To: [EMAIL PROTECTED]
  Subject: Tomcat, IIS and error 404
  
  
  Hi, I'm trying to install Tomcat over IIS
  
  I've read the tutorial 

Tomcat, IIS and error 404

2001-02-19 Thread Alberto Vezzoso

Hi, I'm trying to install Tomcat over IIS

I've read the tutorial and I followed all the instructions.

Tomcat works correctly on port 8080. The url:
http://localhost:8080/examples/jsp/index.html works correctly while the url: 
http://localhost/examples/jsp/index.html returns an error 404.

These are the messages that I get from the isapi.log file:
[jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL 
parameter
[jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free, 
NULL parameters


I've checked all the trouble sections of the HowTo but I didn't find any 
solutions.

Do you have any suggestions? If it is possible for you, help me!!

Bye and thanks
Alberto
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




RE: Error 404

2001-02-12 Thread Matt Campbell

Hi Harry,

I am also having the same problem, and I'm running redhat 6.2 as well.  I 
haven't been able to locate a solution, although someone did recomend that I 
clear out the $TOMCAT_HOME/work dir and see if that solves the problem.  I am 
going to try that tonight, I'll let you know.

If that doesn't work then we're stuck, unless someone else knows what is going 
on here - anyone??

Lets keep each other informed if a solution is found.

Thanks

Matt

 I just recently installed tomcat to work with my apache server 1.3.12 on
 Linux RH6.2.  I used the mod_jk module.  I am getting an error 404 when I
 try to run my .jsp file.  I know the file does exist.
 
 Is there any documentation for tomcat.  I find the information on the web
 site to be cryptic at best. 
 
 Harry Peirson
 
  winmail.dat  


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




Error 404

2001-02-11 Thread Harry Peirson

I just recently installed tomcat to work with my apache server 1.3.12 on
Linux RH6.2.  I used the mod_jk module.  I am getting an error 404 when I
try to run my .jsp file.  I know the file does exist.

Is there any documentation for tomcat.  I find the information on the web
site to be cryptic at best. 

Harry Peirson


 winmail.dat

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


Error 404

2000-12-05 Thread nitin mundada

Hi all
I am facing a strange problem. I am getting error 404:
File not Found, though file is there.
I'll explain -- I want to connect to new.jsp, and
alter.jsp through start.html. when i click on link for
new.jsp, it works perfectly, but when i link on link
for alter.jsp, it shows Error 404.
alter.jsp is there in on the server.

I tried with other combinations also, like uploading
new.jsp(as this link was working properly) by other
name like new1.jsp, and trying to access it, it again
fails.

i.e. i am able to access only new.jsp and no other
file


Thank u in advance
Nitin  


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie



Re: Error 404

2000-12-05 Thread Adrian Stabiszewski

Hi!

Could you send your server.xml file? Are you using tomcat directly or in combination 
with
another web server (apache)?
Where are your files located?

 alter.jsp is there in on the server.
is alter.jsp in the same directory as new.jsp??

send your start.html file too!

bye, adrian.


- Original Message -
From: "nitin mundada" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 11:39 AM
Subject: Error 404


 Hi all
 I am facing a strange problem. I am getting error 404:
 File not Found, though file is there.
 I'll explain -- I want to connect to new.jsp, and
 alter.jsp through start.html. when i click on link for
 new.jsp, it works perfectly, but when i link on link
 for alter.jsp, it shows Error 404.

 I tried with other combinations also, like uploading
 new.jsp(as this link was working properly) by other
 name like new1.jsp, and trying to access it, it again
 fails.

 i.e. i am able to access only new.jsp and no other
 file


 Thank u in advance
 Nitin

 
 Do You Yahoo!?
 Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
 or your free @yahoo.ie address at http://mail.yahoo.ie




Re: Error 404

2000-12-05 Thread Kedar Choudary

Hi,

There seems to be bug in Tomcat 3.2. It sends 404 on ANY
FileNotFoundException.
So if the precessing in you alter.jsp involves accessing certain file, which
is not present, it will throw FileNotFoundException. The exception will be
caught by Tomcat and it will send 404.
Try putting whole of your jsp code with try/catch block, catch the
exceptions and do printStackTrace to locate real problem

Kedar.

- Original Message -
From: nitin mundada [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 05, 2000 4:09 PM
Subject: Error 404


 Hi all
 I am facing a strange problem. I am getting error 404:
 File not Found, though file is there.
 I'll explain -- I want to connect to new.jsp, and
 alter.jsp through start.html. when i click on link for
 new.jsp, it works perfectly, but when i link on link
 for alter.jsp, it shows Error 404.
 alter.jsp is there in on the server.

 I tried with other combinations also, like uploading
 new.jsp(as this link was working properly) by other
 name like new1.jsp, and trying to access it, it again
 fails.

 i.e. i am able to access only new.jsp and no other
 file


 Thank u in advance
 Nitin

 
 Do You Yahoo!?
 Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
 or your free @yahoo.ie address at http://mail.yahoo.ie




RE: strange Error 404

2000-10-31 Thread Wyn Easton

I would remove the original WebAppA's work
(%TOMCAT_HOME%\work\yourWebAppA)directory to be sure you are not
picking-up anything from there. Do this before you restart Tomcat after
you have done your directory renames.

--- Wolfgang Egger [EMAIL PROTECTED] wrote:
 Servus Wyn,
 
 first thanx for your answer.
 
  -Original Message-
  I'm sure the problem is with the URL used to access the servlet of
  WebAppB.
 
 I don't think so, because of the following behaviour:
 
 Our WebServerDirStructure looks like this
 
 /websites/WebAppA
 /websites/WebAppA/WEB-INF
 /websites/WebAppA/WEB-INF/classes
 ...
 /websites/WebAppB
 /websites/WebAppB/WEB-INF
 /websites/WebAppB/WEB-INF/classes
 ...
 
 as written in my first mail the whole site WebAppA is working as
 expected,
 the WebAppB only shows Error 404
 If I remove /websites/WebAppA
 
 and rename /websites/WebAppB with /websites/WebAppA,
 the whole WebAppB is working (with the URR bla/WebAppA/fasel)
 
 Because of this I assume, that something in the configuration of
 tomcat
 doesn't like WebAppB.
 I have done a grep "WebAppA tomcat/conf/*" and a "grep WebAppB
 tomcat/conf/*".
 The result is, that all entries for WebAppA are the same as the
 entries for
 WebAppB. Near the same, because the string WebAppA is replaced by
 WebAppB in
 each entry.
 
 Are there any other locations apart from tomcat/conf, where I have to
 do
 some configuration respectively WebAppB.
 
 Greetings from Berlin
 
   Wolfgang
 


=
Wyn Easton
[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



RE: strange Error 404

2000-10-30 Thread Wolfgang Egger

Servus Wyn,

first thanx for your answer.

 -Original Message-
 I'm sure the problem is with the URL used to access the servlet of
 WebAppB.

I don't think so, because of the following behaviour:

Our WebServerDirStructure looks like this

/websites/WebAppA
/websites/WebAppA/WEB-INF
/websites/WebAppA/WEB-INF/classes
...
/websites/WebAppB
/websites/WebAppB/WEB-INF
/websites/WebAppB/WEB-INF/classes
...

as written in my first mail the whole site WebAppA is working as expected,
the WebAppB only shows Error 404
If I remove /websites/WebAppA

and rename /websites/WebAppB with /websites/WebAppA,
the whole WebAppB is working (with the URR bla/WebAppA/fasel)

Because of this I assume, that something in the configuration of tomcat
doesn't like WebAppB.
I have done a grep "WebAppA tomcat/conf/*" and a "grep WebAppB
tomcat/conf/*".
The result is, that all entries for WebAppA are the same as the entries for
WebAppB. Near the same, because the string WebAppA is replaced by WebAppB in
each entry.

Are there any other locations apart from tomcat/conf, where I have to do
some configuration respectively WebAppB.

Greetings from Berlin

  Wolfgang