Tomcat is listening on port 8080 and the standard port for HTTP is port 80.
If you only call a page like http://ip-address/examples then the
webserver looks for a directory called examples. The http-server has
no knowledge that the resource is managed by a servlet engine. Therefore you
must
That sound like
https://intra.home.de/examples/servlets/
is redirected to
http://intra.home.de:443/examples/servlets/index.html
To me this looks like a bug in the part of tomcat that is
responsible for the redirection to the 'welcome file'.
(The welcome file is implemented in tomcat as a
:05
An: Tomcat Users List
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
That sound like
https://intra.home.de/examples/servlets/
is redirected to
http://intra.home.de:443/examples/servlets/index.html
To me this looks like a bug in the part of tomcat
Did you try my apache work around ?
-Ursprüngliche Nachricht-
Von: Schulze Christian [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 27. März 2002 13:43
An: 'Tomcat Users List'
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
(or any workaround) please let me
as with mod_dir
Christian
-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 27. März 2002 15:33
An: Tomcat Users List
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
Did you try my apache work around
-
Von: Schulze Christian [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 27. März 2002 16:42
An: 'Tomcat Users List'
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
snip/
No mod_dir does not work, because mod_webapp first finds a
match for /myapp
, further processing
http://intra.home.de:443/examples/servlets/index.html
Tomcat (or apache) doesn't switch to https you told the
browser to do it :)
The port 443 is the port for https. But as you tell
the browser to use http it's trying to talk http
to the https port. (Have a close look at the leading
http://)
... ???
-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März 2002 15:58
An: Tomcat Users List
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
http://intra.home.de:443/examples/servlets/index.html
Tomcat (or apache) doesn't
2002 16:07
An: 'Tomcat Users List'
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
I noticed this, but if i view the source of this page
(obviously generated
by Tomcat) the links just looks this way a
href=/examples/servlets/
so the Adress should be right
Hi, thanks for your quick reply
-Ursprüngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März 2002 17:42
An: Tomcat Users List
Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
Just to verify that I understood
For TC 4 the is an example for virtual hosts with mod_jk:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
For TC 3.2 there is a how-to for virtual hosts with mod_jk:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html
#virtual_hosting
Depends on the architecture of your infrastructure:
apache - tomcat
Loadbalacer
apache - tomcat
In this scenario you don't need the loadbalancing
feature of mod_jk but the loadbalancer must honor
the sessions.
apache tomcat
Loadbalacer X
Do you mean with 'my directories' and 'WEB-INF'
directories that are in the examples directory ?
If not you must define the Directory and the
Location tag for your base directory.
-Ursprüngliche Nachricht-
Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002
To see the some configuration of apache at runtime include the
following in httpd.conf (If not already there):
LoadModule info_module /apache dir/lib/mod_info.so
IfModule mod_info.c
Location /server-info
SetHandler server-info
/Location
/IfModule
Hit the Url
AFAIK tomcat 4.* currently doesn't support loadbalancing
with any connector.
Solutions:
- Drop back to 3.2/3.3 and mod_jk
- use a external loadbalancer that supports sticky
sessions with cookies and urls's.
-Ursprüngliche Nachricht-
Von: Martin Kerstein [mailto:[EMAIL PROTECTED]]
-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 10:46 AM
To: Tomcat Users List
Subject: AW: Tomcat 4.0.1, Apache 1.3.22, Warp Connector and
Loadbalancing
AFAIK tomcat 4.* currently doesn't support loadbalancing
with any connector.
Solutions:
- Drop back to 3.2
I looked on the mod_jk.log file. Here is two lines I am getting quite a lot
and I don't really know what it means.
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL
parameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters
Mel,
ok - so its getting to mod_jk ok... (not 100% sure what those lines mean
specifically, but I get them too). I suppose the next thing to look at is
the tomcat logs. open up server.xml and crank up all the debug levels and
see what happens in the logs when the request comes in
btw -
Hi Dmitri,
I can't find anything useful in the logs:-(
As I was reading the documentation from my colleague, I remembered something
about RequestInterceptor. I read somewhere on the documentation for ajp13
connection to add in the server.xml :
RequestInterceptor
Mel,
hmmm... yep - think you might be onto it there (o: ok... just been
re-reading the docs, and to be honest I'm not sure what the
RequestInterceptor
className=org.apache.tomcat.modules.server.Ajp13Interceptor
port=8009/
block is about, because I cant find that class
of the
application jserv-servlet, which I guess must be defined in order for this
rule to work. Are you running Tomcat with Apache ??
-Ursprngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 18. April 2001 07:41
An: '[EMAIL PROTECTED]'
Betreff: AW: Tomcat with Apache
Sorry I'm not even using tomcat.
Still using jserv 1.1.*.
-Ursprngliche Nachricht-
Von: Tassilo Pilati [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 18. April 2001 10:49
An: [EMAIL PROTECTED]
Betreff: AW: Tomcat with Apache/URLRewritting and mod_rewrite
The mod_rewrite gets
Do you know if the mod_jserv can be used with tomcat ?
-Ursprngliche Nachricht-
Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 18. April 2001 11:47
An: '[EMAIL PROTECTED]'
Betreff: AW: Tomcat with Apache/URLRewritting and mod_rewrite
Sorry I'm not even using tomcat
of using JServ as
it
has less bugs, is faster, and I believe is also better maintained.
sam
- Original Message -
From: "Tassilo Pilati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 11:03 AM
Subject: AW: Tomcat with Apache/URLRewritting and mod_rewrite
April 2001 15:33
An: [EMAIL PROTECTED]
Betreff: Re: Tomcat with Apache/URLRewritting and mod_rewrite
- Original Message -
From: "Tassilo Pilati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 1:27 PM
Subject: AW: Tomcat with
For the remarks see below:
-Ursprngliche Nachricht-
Von: Tassilo Pilati [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 17. April 2001 17:47
An: [EMAIL PROTECTED]
Betreff: Tomcat with Apache/URLRewritting and mod_rewrite
snip/
IfModule mod_rewrite.c
RewriteEngine On
26 matches
Mail list logo