You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tulan W. Hu" <tw...@lucent.com> on 2002/05/07 21:35:23 UTC
jakarta-tomcat-connectors-4.0.2
I managed to build mod_webapp.so for apache 2.0.36.
it installed fine too.
however, I got the following problem:
enter http://myweb.com/myapp/myexample.jsp works ok
it correctly displays my example.jsp page .
enter http://myweb.com/myapp gives me an error said that
the index.html is not found.
(I do have an index.html in the webapp/myapp directory)
My tomcat 4.0.3 works fine with apache 1.3.23 and mod_webapp.so
One problem is that it forces me to enter the trailing '/'
http://myweb.com/myapp is not working, but
http://myweb.com/myapp/ works fine.
Any ideas? Any Suggestions? Bugs?
========
The following messages were extracted from my apache error log.
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:337) Req. server 135.3.167.142:2019
(135.3.167.142)
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:132) WARP >>> TYP=15 LEN=38
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:353) Req. client myweb.com(135.17.194.36)
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:132) WARP >>> TYP=1F LEN=0
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:97) WARP <<< TYP=20 LEN=21
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:376) === 302 Moved Temporarily
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:97) WARP <<< TYP=21 LEN=25
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:388) === Content-Type: text/html
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:97) WARP <<< TYP=21 LEN=60
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:388) === Location: http://myweb.com/myapp/index.html
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:97) WARP <<< TYP=2F LEN=0
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:393) ===
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:97) WARP <<< TYP=30 LEN=647
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:400) Response body bytes: 647
[Tue May 07 11:36:18 2002] 23593 (pr_warp_network.c:97) WARP <<< TYP=3F LEN=0
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:404) === DONE ===
[Tue May 07 11:36:18 2002] [error] [client 135.3.167.142] File does not exist: index.html
The following message were extracted from my tomcat log:
[Tue May 07 11:36:18 2002] 23593 (pr_warp.c:388) === Location: http://myweb.com/myapp/index.html
2002-05-07 13:53:38 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket
java.io.IOException: Premature packet header end
at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:237)
at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:112)
at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
at java.lang.Thread.run(Thread.java:536)
Re: jakarta-tomcat-connectors-4.0.2
Posted by Ken Anderson <ka...@pacific.net>.
You can of course, use an apache 'Redirect', or mod_rewrite if you are
so inclined, to forward the requests, but I agree, the web_app deploy
statement should work more like apache Alias directive, and _not_
require the trailing slash.
Ken
Tulan W. Hu wrote:
> At least, I got two major problems.
> 1) with apache 1.3.x is the trailing '/' for a directory.
> 2) with apache 2.0.36 tells me the index.html not found under the
> tomcat directory.
> Both problems are not acceptable for a released product.
> I cannot ask my users to add a trailing '/' for a directory url because
> it just is not a normal behavior for apache. The problem with
> apache 2.0 is even worse.
>
> Tulan
> ----- Original Message -----
> From: "Ken Anderson"
>
>
>>I wouldn't say it has "so many problems", I was just pointing out that
>>this issue isn't specific to any particular apache version.
>>Ken
>>
>>
>>Tulan W. Hu wrote:
>>
>>>Shall I use mod_jk as the connector for Apache and Tomcat instead of
>>>mod_webapp if it has so many problems?
>>>Any comments about mod_jk?
>>>
>>>----- Original Message -----
>>>From: "Ken Anderson"
>>>
>>>
>>>>No fix that I know of, but this is an issue with mod_webapp and 1.3x
>>>>apache as well.
>>>>Ken
>>>>
>>>>Tulan W. Hu wrote:
>>>>
>>>>
>>>>>I managed to build mod_webapp.so for apache 2.0.36.
>>>>>it installed fine too.
>>>>>however, I got the following problem:
>>>>>enter http://myweb.com/myapp/myexample.jsp works ok
>>>>> it correctly displays my example.jsp page .
>>>>>enter http://myweb.com/myapp gives me an error said that
>>>>> the index.html is not found.
>>>>> (I do have an index.html in the webapp/myapp directory)
>>>>>
>>>>>My tomcat 4.0.3 works fine with apache 1.3.23 and mod_webapp.so
>>>>>One problem is that it forces me to enter the trailing '/'
>>>>>http://myweb.com/myapp is not working, but
>>>>>http://myweb.com/myapp/ works fine.
>>>>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: jakarta-tomcat-connectors-4.0.2
Posted by "Tulan W. Hu" <tw...@lucent.com>.
At least, I got two major problems.
1) with apache 1.3.x is the trailing '/' for a directory.
2) with apache 2.0.36 tells me the index.html not found under the
tomcat directory.
Both problems are not acceptable for a released product.
I cannot ask my users to add a trailing '/' for a directory url because
it just is not a normal behavior for apache. The problem with
apache 2.0 is even worse.
Tulan
----- Original Message -----
From: "Ken Anderson"
> I wouldn't say it has "so many problems", I was just pointing out that
> this issue isn't specific to any particular apache version.
> Ken
>
>
> Tulan W. Hu wrote:
> > Shall I use mod_jk as the connector for Apache and Tomcat instead of
> > mod_webapp if it has so many problems?
> > Any comments about mod_jk?
> >
> > ----- Original Message -----
> > From: "Ken Anderson"
> >
> >>No fix that I know of, but this is an issue with mod_webapp and 1.3x
> >>apache as well.
> >>Ken
> >>
> >>Tulan W. Hu wrote:
> >>
> >>>I managed to build mod_webapp.so for apache 2.0.36.
> >>>it installed fine too.
> >>>however, I got the following problem:
> >>>enter http://myweb.com/myapp/myexample.jsp works ok
> >>> it correctly displays my example.jsp page .
> >>>enter http://myweb.com/myapp gives me an error said that
> >>> the index.html is not found.
> >>> (I do have an index.html in the webapp/myapp directory)
> >>>
> >>>My tomcat 4.0.3 works fine with apache 1.3.23 and mod_webapp.so
> >>>One problem is that it forces me to enter the trailing '/'
> >>>http://myweb.com/myapp is not working, but
> >>>http://myweb.com/myapp/ works fine.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: jakarta-tomcat-connectors-4.0.2
Posted by Ken Anderson <ka...@pacific.net>.
I wouldn't say it has "so many problems", I was just pointing out that
this issue isn't specific to any particular apache version.
Ken
Tulan W. Hu wrote:
> Shall I use mod_jk as the connector for Apache and Tomcat instead of
> mod_webapp if it has so many problems?
> Any comments about mod_jk?
>
> ----- Original Message -----
> From: "Ken Anderson"
>
>>No fix that I know of, but this is an issue with mod_webapp and 1.3x
>>apache as well.
>>Ken
>>
>>Tulan W. Hu wrote:
>>
>>>I managed to build mod_webapp.so for apache 2.0.36.
>>>it installed fine too.
>>>however, I got the following problem:
>>>enter http://myweb.com/myapp/myexample.jsp works ok
>>> it correctly displays my example.jsp page .
>>>enter http://myweb.com/myapp gives me an error said that
>>> the index.html is not found.
>>> (I do have an index.html in the webapp/myapp directory)
>>>
>>>My tomcat 4.0.3 works fine with apache 1.3.23 and mod_webapp.so
>>>One problem is that it forces me to enter the trailing '/'
>>>http://myweb.com/myapp is not working, but
>>>http://myweb.com/myapp/ works fine.
>>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: jakarta-tomcat-connectors-4.0.2
Posted by "Tulan W. Hu" <tw...@lucent.com>.
Shall I use mod_jk as the connector for Apache and Tomcat instead of
mod_webapp if it has so many problems?
Any comments about mod_jk?
----- Original Message -----
From: "Ken Anderson"
> No fix that I know of, but this is an issue with mod_webapp and 1.3x
> apache as well.
> Ken
>
> Tulan W. Hu wrote:
> > I managed to build mod_webapp.so for apache 2.0.36.
> > it installed fine too.
> > however, I got the following problem:
> > enter http://myweb.com/myapp/myexample.jsp works ok
> > it correctly displays my example.jsp page .
> > enter http://myweb.com/myapp gives me an error said that
> > the index.html is not found.
> > (I do have an index.html in the webapp/myapp directory)
> >
> > My tomcat 4.0.3 works fine with apache 1.3.23 and mod_webapp.so
> > One problem is that it forces me to enter the trailing '/'
> > http://myweb.com/myapp is not working, but
> > http://myweb.com/myapp/ works fine.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: jakarta-tomcat-connectors-4.0.2
Posted by Ken Anderson <ka...@pacific.net>.
No fix that I know of, but this is an issue with mod_webapp and 1.3x
apache as well.
Ken
Tulan W. Hu wrote:
> I managed to build mod_webapp.so for apache 2.0.36.
> it installed fine too.
> however, I got the following problem:
> enter http://myweb.com/myapp/myexample.jsp works ok
> it correctly displays my example.jsp page .
> enter http://myweb.com/myapp gives me an error said that
> the index.html is not found.
> (I do have an index.html in the webapp/myapp directory)
>
> My tomcat 4.0.3 works fine with apache 1.3.23 and mod_webapp.so
> One problem is that it forces me to enter the trailing '/'
> http://myweb.com/myapp is not working, but
> http://myweb.com/myapp/ works fine.
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>